1st time authentication of a supplicant loops

Axel Rau Axel.Rau at chaos1.de
Sun Nov 29 20:08:36 CET 2020


Hi all,

I’m new to FreeRadius and working on a WLAN application with MikroTik NAS and dynamic VLANs.
My supplicants are Apple devices (recent OS version on iMac and iPhone, 10.13 on a MacBook).
When such a supplicant switches the WLAN to my test-WLAN and authenticates 1st time the authentication process loops and takes very long and fails sometimes totally.
When I add a MAC-based entry of the device being tested to the username/password entry like so
	"D6:B5:E4:2A:3A:1C" Cleartext-Password := "D6:B5:E4:2A:3A:1C"
it succeeds immediately (example appended).

This requirement makes it impossible for me to have a guest account, where the mac addresses are unknown.

I could provide a trace of such an unsuccessful authentication attempt, but I would prefer to provide it as attachment, because it will be very long.

Any help greatly appreciated,
Axel
ps: the trace follows:
- - -
FreeRADIUS Version 3.0.21
Copyright (C) 1999-2019 The FreeRADIUS server project and contributors
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE
You may redistribute copies of FreeRADIUS under the terms of the
GNU General Public License
For more information about these matters, see the file named COPYRIGHT
Starting - reading configuration files ...
including dictionary file /usr/local/share/freeradius/dictionary
including dictionary file /usr/local/share/freeradius/dictionary.dhcp
including dictionary file /usr/local/share/freeradius/dictionary.vqp
including dictionary file /etc/raddb/dictionary
including configuration file /etc/raddb/radiusd.conf
including configuration file /etc/raddb/proxy.conf
including configuration file /etc/raddb/clients.conf
including files in directory /etc/raddb/mods-enabled/
including configuration file /etc/raddb/mods-enabled/always
including configuration file /etc/raddb/mods-enabled/attr_filter
including configuration file /etc/raddb/mods-enabled/cache_eap
including configuration file /etc/raddb/mods-enabled/chap
including configuration file /etc/raddb/mods-enabled/date
including configuration file /etc/raddb/mods-enabled/detail
including configuration file /etc/raddb/mods-enabled/detail.log
including configuration file /etc/raddb/mods-enabled/digest
including configuration file /etc/raddb/mods-enabled/dynamic_clients
including configuration file /etc/raddb/mods-enabled/eap
including configuration file /etc/raddb/mods-enabled/echo
including configuration file /etc/raddb/mods-enabled/exec
including configuration file /etc/raddb/mods-enabled/expiration
including configuration file /etc/raddb/mods-enabled/expr
including configuration file /etc/raddb/mods-enabled/files
including configuration file /etc/raddb/mods-enabled/linelog
including configuration file /etc/raddb/mods-enabled/logintime
including configuration file /etc/raddb/mods-enabled/mschap
including configuration file /etc/raddb/mods-enabled/ntlm_auth
including configuration file /etc/raddb/mods-enabled/pap
including configuration file /etc/raddb/mods-enabled/passwd
including configuration file /etc/raddb/mods-enabled/preprocess
including configuration file /etc/raddb/mods-enabled/radutmp
including configuration file /etc/raddb/mods-enabled/realm
including configuration file /etc/raddb/mods-enabled/replicate
including configuration file /etc/raddb/mods-enabled/soh
including configuration file /etc/raddb/mods-enabled/sradutmp
including configuration file /etc/raddb/mods-enabled/unix
including configuration file /etc/raddb/mods-enabled/unpack
including configuration file /etc/raddb/mods-enabled/utf8
including files in directory /etc/raddb/policy.d/
including configuration file /etc/raddb/policy.d/abfab-tr
including configuration file /etc/raddb/policy.d/accounting
including configuration file /etc/raddb/policy.d/canonicalization
including configuration file /etc/raddb/policy.d/control
including configuration file /etc/raddb/policy.d/cui
including configuration file /etc/raddb/policy.d/debug
including configuration file /etc/raddb/policy.d/dhcp
including configuration file /etc/raddb/policy.d/eap
including configuration file /etc/raddb/policy.d/filter
including configuration file /etc/raddb/policy.d/moonshot-targeted-ids
including configuration file /etc/raddb/policy.d/operator-name
including configuration file /etc/raddb/policy.d/rfc7542
including files in directory /etc/raddb/sites-enabled/
including configuration file /etc/raddb/sites-enabled/default
including configuration file /etc/raddb/sites-enabled/inner-tunnel
main {
 security {
 	user = "_freeradius"
 	group = "_freeradius"
 	allow_core_dumps = no
 }
	name = "radiusd"
	prefix = "/usr/local"
	localstatedir = "/var"
	logdir = "/var/log/radius"
	run_dir = "/var/run/radiusd"
}
main {
	name = "radiusd"
	prefix = "/usr/local"
	localstatedir = "/var"
	sbindir = "/usr/local/sbin"
	logdir = "/var/log/radius"
	run_dir = "/var/run/radiusd"
	libdir = "/usr/local/lib/freeradius/freeradius"
	radacctdir = "/var/log/radius/radacct"
	hostname_lookups = no
	max_request_time = 30
	cleanup_delay = 5
	max_requests = 16384
	pidfile = "/var/run/radiusd/radiusd.pid"
	checkrad = "/usr/local/sbin/checkrad"
	debug_level = 0
	proxy_requests = yes
 log {
 	stripped_names = no
 	auth = no
 	auth_badpass = no
 	auth_goodpass = no
 	colourise = yes
 	msg_denied = "You are already logged in - access denied"
 }
 resources {
 }
 security {
 	max_attributes = 200
 	reject_delay = 1.000000
 	status_server = yes
 	allow_vulnerable_openssl = "no"
 }
}
radiusd: #### Loading Realms and Home Servers ####
 proxy server {
 	retry_delay = 5
 	retry_count = 3
 	default_fallback = no
 	dead_time = 120
 	wake_all_if_all_dead = no
 }
 home_server localhost {
 	ipaddr = 127.0.0.1
 	port = 1812
 	type = "auth"
 	secret = <<< secret >>>
 	response_window = 20.000000
 	response_timeouts = 1
 	max_outstanding = 65536
 	zombie_period = 40
 	status_check = "status-server"
 	ping_interval = 30
 	check_interval = 30
 	check_timeout = 4
 	num_answers_to_alive = 3
 	revive_interval = 120
  limit {
  	max_connections = 16
  	max_requests = 0
  	lifetime = 0
  	idle_timeout = 0
  }
  coa {
  	irt = 2
  	mrt = 16
  	mrc = 5
  	mrd = 30
  }
 }
 home_server_pool my_auth_failover {
	type = fail-over
	home_server = localhost
 }
 realm example.com {
	auth_pool = my_auth_failover
 }
 realm LOCAL {
 }
radiusd: #### Loading Clients ####
 client wlan.chaos1.de {
 	ipaddr = cap01.wlan.chaos1.de IPv4 address [172.16.63.11]
 	require_message_authenticator = no
 	secret = <<< secret >>>
  limit {
  	max_connections = 16
  	lifetime = 0
  	idle_timeout = 30
  }
 }
 client localhost {
 	ipaddr = 127.0.0.1
 	require_message_authenticator = no
 	secret = <<< secret >>>
 	nas_type = "other"
 	proto = "*"
  limit {
  	max_connections = 16
  	lifetime = 0
  	idle_timeout = 30
  }
 }
 client localhost_ipv6 {
 	ipv6addr = ::1
 	require_message_authenticator = no
 	secret = <<< secret >>>
  limit {
  	max_connections = 16
  	lifetime = 0
  	idle_timeout = 30
  }
 }
Found debugger attached
 # Creating Auth-Type = mschap
 # Creating Auth-Type = digest
 # Creating Auth-Type = eap
 # Creating Auth-Type = PAP
 # Creating Auth-Type = CHAP
 # Creating Auth-Type = MS-CHAP
radiusd: #### Instantiating modules ####
 modules {
  # Loaded module rlm_always
  # Loading module "reject" from file /etc/raddb/mods-enabled/always
  always reject {
  	rcode = "reject"
  	simulcount = 0
  	mpp = no
  }
  # Loading module "fail" from file /etc/raddb/mods-enabled/always
  always fail {
  	rcode = "fail"
  	simulcount = 0
  	mpp = no
  }
  # Loading module "ok" from file /etc/raddb/mods-enabled/always
  always ok {
  	rcode = "ok"
  	simulcount = 0
  	mpp = no
  }
  # Loading module "handled" from file /etc/raddb/mods-enabled/always
  always handled {
  	rcode = "handled"
  	simulcount = 0
  	mpp = no
  }
  # Loading module "invalid" from file /etc/raddb/mods-enabled/always
  always invalid {
  	rcode = "invalid"
  	simulcount = 0
  	mpp = no
  }
  # Loading module "userlock" from file /etc/raddb/mods-enabled/always
  always userlock {
  	rcode = "userlock"
  	simulcount = 0
  	mpp = no
  }
  # Loading module "notfound" from file /etc/raddb/mods-enabled/always
  always notfound {
  	rcode = "notfound"
  	simulcount = 0
  	mpp = no
  }
  # Loading module "noop" from file /etc/raddb/mods-enabled/always
  always noop {
  	rcode = "noop"
  	simulcount = 0
  	mpp = no
  }
  # Loading module "updated" from file /etc/raddb/mods-enabled/always
  always updated {
  	rcode = "updated"
  	simulcount = 0
  	mpp = no
  }
  # Loaded module rlm_attr_filter
  # Loading module "attr_filter.post-proxy" from file /etc/raddb/mods-enabled/attr_filter
  attr_filter attr_filter.post-proxy {
  	filename = "/etc/raddb/mods-config/attr_filter/post-proxy"
  	key = "%{Realm}"
  	relaxed = no
  }
  # Loading module "attr_filter.pre-proxy" from file /etc/raddb/mods-enabled/attr_filter
  attr_filter attr_filter.pre-proxy {
  	filename = "/etc/raddb/mods-config/attr_filter/pre-proxy"
  	key = "%{Realm}"
  	relaxed = no
  }
  # Loading module "attr_filter.access_reject" from file /etc/raddb/mods-enabled/attr_filter
  attr_filter attr_filter.access_reject {
  	filename = "/etc/raddb/mods-config/attr_filter/access_reject"
  	key = "%{User-Name}"
  	relaxed = no
  }
  # Loading module "attr_filter.access_challenge" from file /etc/raddb/mods-enabled/attr_filter
  attr_filter attr_filter.access_challenge {
  	filename = "/etc/raddb/mods-config/attr_filter/access_challenge"
  	key = "%{User-Name}"
  	relaxed = no
  }
  # Loading module "attr_filter.accounting_response" from file /etc/raddb/mods-enabled/attr_filter
  attr_filter attr_filter.accounting_response {
  	filename = "/etc/raddb/mods-config/attr_filter/accounting_response"
  	key = "%{User-Name}"
  	relaxed = no
  }
  # Loaded module rlm_cache
  # Loading module "cache_eap" from file /etc/raddb/mods-enabled/cache_eap
  cache cache_eap {
  	driver = "rlm_cache_rbtree"
  	key = "%{%{control:State}:-%{%{reply:State}:-%{State}}}"
  	ttl = 15
  	max_entries = 0
  	epoch = 0
  	add_stats = no
  }
  # Loaded module rlm_chap
  # Loading module "chap" from file /etc/raddb/mods-enabled/chap
  # Loaded module rlm_date
  # Loading module "date" from file /etc/raddb/mods-enabled/date
  date {
  	format = "%b %e %Y %H:%M:%S %Z"
  	utc = no
  }
  # Loading module "wispr2date" from file /etc/raddb/mods-enabled/date
  date wispr2date {
  	format = "%Y-%m-%dT%H:%M:%S"
  	utc = no
  }
  # Loaded module rlm_detail
  # Loading module "detail" from file /etc/raddb/mods-enabled/detail
  detail {
  	filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d"
  	header = "%t"
  	permissions = 384
  	locking = no
  	escape_filenames = no
  	log_packet_header = no
  }
  # Loading module "auth_log" from file /etc/raddb/mods-enabled/detail.log
  detail auth_log {
  	filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d"
  	header = "%t"
  	permissions = 384
  	locking = no
  	escape_filenames = no
  	log_packet_header = no
  }
  # Loading module "reply_log" from file /etc/raddb/mods-enabled/detail.log
  detail reply_log {
  	filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/reply-detail-%Y%m%d"
  	header = "%t"
  	permissions = 384
  	locking = no
  	escape_filenames = no
  	log_packet_header = no
  }
  # Loading module "pre_proxy_log" from file /etc/raddb/mods-enabled/detail.log
  detail pre_proxy_log {
  	filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/pre-proxy-detail-%Y%m%d"
  	header = "%t"
  	permissions = 384
  	locking = no
  	escape_filenames = no
  	log_packet_header = no
  }
  # Loading module "post_proxy_log" from file /etc/raddb/mods-enabled/detail.log
  detail post_proxy_log {
  	filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/post-proxy-detail-%Y%m%d"
  	header = "%t"
  	permissions = 384
  	locking = no
  	escape_filenames = no
  	log_packet_header = no
  }
  # Loaded module rlm_digest
  # Loading module "digest" from file /etc/raddb/mods-enabled/digest
  # Loaded module rlm_dynamic_clients
  # Loading module "dynamic_clients" from file /etc/raddb/mods-enabled/dynamic_clients
  # Loaded module rlm_eap
  # Loading module "eap" from file /etc/raddb/mods-enabled/eap
  eap {
  	default_eap_type = "md5"
  	timer_expire = 60
  	ignore_unknown_eap_types = no
  	cisco_accounting_username_bug = no
  	max_sessions = 16384
  }
  # Loaded module rlm_exec
  # Loading module "echo" from file /etc/raddb/mods-enabled/echo
  exec echo {
  	wait = yes
  	program = "/bin/echo %{User-Name}"
  	input_pairs = "request"
  	output_pairs = "reply"
  	shell_escape = yes
  }
  # Loading module "exec" from file /etc/raddb/mods-enabled/exec
  exec {
  	wait = no
  	input_pairs = "request"
  	shell_escape = yes
  	timeout = 10
  }
  # Loaded module rlm_expiration
  # Loading module "expiration" from file /etc/raddb/mods-enabled/expiration
  # Loaded module rlm_expr
  # Loading module "expr" from file /etc/raddb/mods-enabled/expr
  expr {
  	safe_characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /äéöüàâæçèéêëîïôœùûüaÿÄÉÖÜßÀÂÆÇÈÉÊËÎÏÔŒÙÛÜŸ"
  }
  # Loaded module rlm_files
  # Loading module "files" from file /etc/raddb/mods-enabled/files
  files {
  	filename = "/etc/raddb/mods-config/files/authorize"
  	acctusersfile = "/etc/raddb/mods-config/files/accounting"
  	preproxy_usersfile = "/etc/raddb/mods-config/files/pre-proxy"
  }
  # Loaded module rlm_linelog
  # Loading module "linelog" from file /etc/raddb/mods-enabled/linelog
  linelog {
  	filename = "/var/log/radius/linelog"
  	escape_filenames = no
  	syslog_severity = "info"
  	permissions = 384
  	format = "This is a log message for %{User-Name}"
  	reference = "messages.%{%{reply:Packet-Type}:-default}"
  }
  # Loading module "log_accounting" from file /etc/raddb/mods-enabled/linelog
  linelog log_accounting {
  	filename = "/var/log/radius/linelog-accounting"
  	escape_filenames = no
  	syslog_severity = "info"
  	permissions = 384
  	format = ""
  	reference = "Accounting-Request.%{%{Acct-Status-Type}:-unknown}"
  }
  # Loaded module rlm_logintime
  # Loading module "logintime" from file /etc/raddb/mods-enabled/logintime
  logintime {
  	minimum_timeout = 60
  }
  # Loaded module rlm_mschap
  # Loading module "mschap" from file /etc/raddb/mods-enabled/mschap
  mschap {
  	use_mppe = yes
  	require_encryption = no
  	require_strong = no
  	with_ntdomain_hack = yes
   passchange {
   }
  	allow_retry = yes
  	winbind_retry_with_normalised_username = no
  }
  # Loading module "ntlm_auth" from file /etc/raddb/mods-enabled/ntlm_auth
  exec ntlm_auth {
  	wait = yes
  	program = "/path/to/ntlm_auth --request-nt-key --domain=MYDOMAIN --username=%{mschap:User-Name} --password=%{User-Password}"
  	shell_escape = yes
  }
  # Loaded module rlm_pap
  # Loading module "pap" from file /etc/raddb/mods-enabled/pap
  pap {
  	normalise = yes
  }
  # Loaded module rlm_passwd
  # Loading module "etc_passwd" from file /etc/raddb/mods-enabled/passwd
  passwd etc_passwd {
  	filename = "/etc/passwd"
  	format = "*User-Name:Crypt-Password:"
  	delimiter = ":"
  	ignore_nislike = no
  	ignore_empty = yes
  	allow_multiple_keys = no
  	hash_size = 100
  }
  # Loaded module rlm_preprocess
  # Loading module "preprocess" from file /etc/raddb/mods-enabled/preprocess
  preprocess {
  	huntgroups = "/etc/raddb/mods-config/preprocess/huntgroups"
  	hints = "/etc/raddb/mods-config/preprocess/hints"
  	with_ascend_hack = no
  	ascend_channels_per_line = 23
  	with_ntdomain_hack = no
  	with_specialix_jetstream_hack = no
  	with_cisco_vsa_hack = no
  	with_alvarion_vsa_hack = no
  }
  # Loaded module rlm_radutmp
  # Loading module "radutmp" from file /etc/raddb/mods-enabled/radutmp
  radutmp {
  	filename = "/var/log/radius/radutmp"
  	username = "%{User-Name}"
  	case_sensitive = yes
  	check_with_nas = yes
  	permissions = 384
  	caller_id = yes
  }
  # Loaded module rlm_realm
  # Loading module "IPASS" from file /etc/raddb/mods-enabled/realm
  realm IPASS {
  	format = "prefix"
  	delimiter = "/"
  	ignore_default = no
  	ignore_null = no
  }
  # Loading module "suffix" from file /etc/raddb/mods-enabled/realm
  realm suffix {
  	format = "suffix"
  	delimiter = "@"
  	ignore_default = no
  	ignore_null = no
  }
  # Loading module "bangpath" from file /etc/raddb/mods-enabled/realm
  realm bangpath {
  	format = "prefix"
  	delimiter = "!"
  	ignore_default = no
  	ignore_null = no
  }
  # Loading module "realmpercent" from file /etc/raddb/mods-enabled/realm
  realm realmpercent {
  	format = "suffix"
  	delimiter = "%"
  	ignore_default = no
  	ignore_null = no
  }
  # Loading module "ntdomain" from file /etc/raddb/mods-enabled/realm
  realm ntdomain {
  	format = "prefix"
  	delimiter = "\\"
  	ignore_default = no
  	ignore_null = no
  }
  # Loaded module rlm_replicate
  # Loading module "replicate" from file /etc/raddb/mods-enabled/replicate
  # Loaded module rlm_soh
  # Loading module "soh" from file /etc/raddb/mods-enabled/soh
  soh {
  	dhcp = yes
  }
  # Loading module "sradutmp" from file /etc/raddb/mods-enabled/sradutmp
  radutmp sradutmp {
  	filename = "/var/log/radius/sradutmp"
  	username = "%{User-Name}"
  	case_sensitive = yes
  	check_with_nas = yes
  	permissions = 420
  	caller_id = no
  }
  # Loaded module rlm_unix
  # Loading module "unix" from file /etc/raddb/mods-enabled/unix
  unix {
  	radwtmp = "/var/log/radius/radwtmp"
  }
Creating attribute Unix-Group
  # Loaded module rlm_unpack
  # Loading module "unpack" from file /etc/raddb/mods-enabled/unpack
  # Loaded module rlm_utf8
  # Loading module "utf8" from file /etc/raddb/mods-enabled/utf8
  instantiate {
  }
  # Instantiating module "reject" from file /etc/raddb/mods-enabled/always
  # Instantiating module "fail" from file /etc/raddb/mods-enabled/always
  # Instantiating module "ok" from file /etc/raddb/mods-enabled/always
  # Instantiating module "handled" from file /etc/raddb/mods-enabled/always
  # Instantiating module "invalid" from file /etc/raddb/mods-enabled/always
  # Instantiating module "userlock" from file /etc/raddb/mods-enabled/always
  # Instantiating module "notfound" from file /etc/raddb/mods-enabled/always
  # Instantiating module "noop" from file /etc/raddb/mods-enabled/always
  # Instantiating module "updated" from file /etc/raddb/mods-enabled/always
  # Instantiating module "attr_filter.post-proxy" from file /etc/raddb/mods-enabled/attr_filter
reading pairlist file /etc/raddb/mods-config/attr_filter/post-proxy
  # Instantiating module "attr_filter.pre-proxy" from file /etc/raddb/mods-enabled/attr_filter
reading pairlist file /etc/raddb/mods-config/attr_filter/pre-proxy
  # Instantiating module "attr_filter.access_reject" from file /etc/raddb/mods-enabled/attr_filter
reading pairlist file /etc/raddb/mods-config/attr_filter/access_reject
  # Instantiating module "attr_filter.access_challenge" from file /etc/raddb/mods-enabled/attr_filter
reading pairlist file /etc/raddb/mods-config/attr_filter/access_challenge
  # Instantiating module "attr_filter.accounting_response" from file /etc/raddb/mods-enabled/attr_filter
reading pairlist file /etc/raddb/mods-config/attr_filter/accounting_response
  # Instantiating module "cache_eap" from file /etc/raddb/mods-enabled/cache_eap
rlm_cache (cache_eap): Driver rlm_cache_rbtree (module rlm_cache_rbtree) loaded and linked
  # Instantiating module "detail" from file /etc/raddb/mods-enabled/detail
  # Instantiating module "auth_log" from file /etc/raddb/mods-enabled/detail.log
rlm_detail (auth_log): 'User-Password' suppressed, will not appear in detail output
  # Instantiating module "reply_log" from file /etc/raddb/mods-enabled/detail.log
  # Instantiating module "pre_proxy_log" from file /etc/raddb/mods-enabled/detail.log
  # Instantiating module "post_proxy_log" from file /etc/raddb/mods-enabled/detail.log
  # Instantiating module "eap" from file /etc/raddb/mods-enabled/eap
   # Linked to sub-module rlm_eap_md5
   # Linked to sub-module rlm_eap_leap
   # Linked to sub-module rlm_eap_gtc
   gtc {
   	challenge = "Password: "
   	auth_type = "PAP"
   }
   # Linked to sub-module rlm_eap_tls
   tls {
   	tls = "tls-common"
   }
   tls-config tls-common {
   	verify_depth = 0
   	ca_path = "/etc/raddb/certs"
   	pem_file_type = yes
   	private_key_file = "/etc/raddb/certs/server.key"
   	certificate_file = "/etc/raddb/certs/server.pem"
   	ca_file = "/etc/raddb/certs/ca.pem"
   	private_key_password = <<< secret >>>
   	dh_file = "/etc/raddb/certs/dh"
   	fragment_size = 1024
   	include_length = yes
   	auto_chain = yes
   	check_crl = no
   	check_all_crl = no
   	cipher_list = "DEFAULT"
   	cipher_server_preference = no
   	ecdh_curve = "prime256v1"
   	tls_max_version = "1.2"
   	tls_min_version = "1.2"
    cache {
    	enable = no
    	lifetime = 24
    	max_entries = 255
    }
    verify {
    	skip_if_ocsp_ok = no
    }
    ocsp {
    	enable = no
    	override_cert_url = yes
    	url = "http://127.0.0.1/ocsp/"
    	use_nonce = yes
    	timeout = 0
    	softfail = no
    }
   }
   # Linked to sub-module rlm_eap_ttls
   ttls {
   	tls = "tls-common"
   	default_eap_type = "md5"
   	copy_request_to_tunnel = no
   	use_tunneled_reply = no
   	virtual_server = "inner-tunnel"
   	include_length = yes
   	require_client_cert = no
   }
tls: Using cached TLS configuration from previous invocation
   # Linked to sub-module rlm_eap_peap
   peap {
   	tls = "tls-common"
   	default_eap_type = "mschapv2"
   	copy_request_to_tunnel = no
   	use_tunneled_reply = yes
   	proxy_tunneled_request_as_eap = yes
   	virtual_server = "inner-tunnel"
   	soh = no
   	require_client_cert = no
   }
tls: Using cached TLS configuration from previous invocation
   # Linked to sub-module rlm_eap_mschapv2
   mschapv2 {
   	with_ntdomain_hack = no
   	send_error = no
   }
  # Instantiating module "expiration" from file /etc/raddb/mods-enabled/expiration
  # Instantiating module "files" from file /etc/raddb/mods-enabled/files
reading pairlist file /etc/raddb/mods-config/files/authorize
reading pairlist file /etc/raddb/mods-config/files/accounting
reading pairlist file /etc/raddb/mods-config/files/pre-proxy
  # Instantiating module "linelog" from file /etc/raddb/mods-enabled/linelog
  # Instantiating module "log_accounting" from file /etc/raddb/mods-enabled/linelog
  # Instantiating module "logintime" from file /etc/raddb/mods-enabled/logintime
  # Instantiating module "mschap" from file /etc/raddb/mods-enabled/mschap
rlm_mschap (mschap): using internal authentication
  # Instantiating module "pap" from file /etc/raddb/mods-enabled/pap
  # Instantiating module "etc_passwd" from file /etc/raddb/mods-enabled/passwd
rlm_passwd: nfields: 3 keyfield 0(User-Name) listable: no
  # Instantiating module "preprocess" from file /etc/raddb/mods-enabled/preprocess
reading pairlist file /etc/raddb/mods-config/preprocess/huntgroups
reading pairlist file /etc/raddb/mods-config/preprocess/hints
  # Instantiating module "IPASS" from file /etc/raddb/mods-enabled/realm
  # Instantiating module "suffix" from file /etc/raddb/mods-enabled/realm
  # Instantiating module "bangpath" from file /etc/raddb/mods-enabled/realm
  # Instantiating module "realmpercent" from file /etc/raddb/mods-enabled/realm
  # Instantiating module "ntdomain" from file /etc/raddb/mods-enabled/realm
 } # modules
radiusd: #### Loading Virtual Servers ####
server { # from file /etc/raddb/radiusd.conf
} # server
server default { # from file /etc/raddb/sites-enabled/default
 # Loading authenticate {...}
 # Loading authorize {...}
Ignoring "sql" (see raddb/mods-available/README.rst)
Ignoring "ldap" (see raddb/mods-available/README.rst)
 # Loading preacct {...}
 # Loading accounting {...}
 # Loading post-proxy {...}
 # Loading post-auth {...}
} # server default
server inner-tunnel { # from file /etc/raddb/sites-enabled/inner-tunnel
 # Loading authenticate {...}
 # Loading authorize {...}
 # Loading session {...}
 # Loading post-proxy {...}
 # Loading post-auth {...}
 # Skipping contents of 'if' as it is always 'false' -- /etc/raddb/sites-enabled/inner-tunnel:336
} # server inner-tunnel
radiusd: #### Opening IP addresses and Ports ####
listen {
  	type = "auth"
  	ipaddr = *
  	port = 0
   limit {
   	max_connections = 16
   	lifetime = 0
   	idle_timeout = 30
   }
}
listen {
  	type = "acct"
  	ipaddr = *
  	port = 0
   limit {
   	max_connections = 16
   	lifetime = 0
   	idle_timeout = 30
   }
}
listen {
  	type = "auth"
  	ipv6addr = ::
  	port = 0
   limit {
   	max_connections = 16
   	lifetime = 0
   	idle_timeout = 30
   }
}
listen {
  	type = "acct"
  	ipv6addr = ::
  	port = 0
   limit {
   	max_connections = 16
   	lifetime = 0
   	idle_timeout = 30
   }
}
listen {
  	type = "auth"
  	ipaddr = 127.0.0.1
  	port = 18120
}
Listening on auth address * port 1812 bound to server default
Listening on acct address * port 1813 bound to server default
Listening on auth address :: port 1812 bound to server default
Listening on acct address :: port 1813 bound to server default
Listening on auth address 127.0.0.1 port 18120 bound to server inner-tunnel
Listening on proxy address * port 7024
Listening on proxy address :: port 15596
Ready to process requests
(0) Received Access-Request Id 162 from 172.16.63.11:59852 to 172.16.63.9:1812 length 170
(0)   Service-Type = Framed-User
(0)   NAS-Port-Id = "cap02_2"
(0)   NAS-Port-Type = Wireless-802.11
(0)   User-Name = "F8:1E:DF:E8:F6:A5"
(0)   User-Password = "F8:1E:DF:E8:F6:A5"
(0)   Acct-Session-Id = "8240030b"
(0)   Calling-Station-Id = "F8-1E-DF-E8-F6-A5"
(0)   Called-Station-Id = "C4-AD-34-F5-4D-1E"
(0)   NAS-Identifier = "cap01.wlan.chaos1.de"
(0)   NAS-IP-Address = 172.16.63.11
(0) # Executing section authorize from file /etc/raddb/sites-enabled/default
(0)   authorize {
(0)     policy filter_username {
(0)       if (&User-Name) {
(0)       if (&User-Name)  -> TRUE
(0)       if (&User-Name)  {
(0)         if (&User-Name =~ / /) {
(0)         if (&User-Name =~ / /)  -> FALSE
(0)         if (&User-Name =~ /@[^@]*@/ ) {
(0)         if (&User-Name =~ /@[^@]*@/ )  -> FALSE
(0)         if (&User-Name =~ /\.\./ ) {
(0)         if (&User-Name =~ /\.\./ )  -> FALSE
(0)         if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))  {
(0)         if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))   -> FALSE
(0)         if (&User-Name =~ /\.$/)  {
(0)         if (&User-Name =~ /\.$/)   -> FALSE
(0)         if (&User-Name =~ /@\./)  {
(0)         if (&User-Name =~ /@\./)   -> FALSE
(0)       } # if (&User-Name)  = notfound
(0)     } # policy filter_username = notfound
(0)     [preprocess] = ok
(0)     [chap] = noop
(0)     [mschap] = noop
(0)     [digest] = noop
(0) suffix: Checking for suffix after "@"
(0) suffix: No '@' in User-Name = "F8:1E:DF:E8:F6:A5", looking up realm NULL
(0) suffix: No such realm "NULL"
(0)     [suffix] = noop
(0) eap: No EAP-Message, not doing EAP
(0)     [eap] = noop
(0) files: users: Matched entry DEFAULT at line 101
(0)     [files] = ok
(0)     [expiration] = noop
(0)     [logintime] = noop
(0) pap: WARNING: Auth-Type already set.  Not setting to PAP
(0)     [pap] = noop
(0)   } # authorize = ok
(0) Found Auth-Type = Accept
(0) Auth-Type = Accept, accepting the user
(0) # Executing section post-auth from file /etc/raddb/sites-enabled/default
(0)   post-auth {
(0)     if (session-state:User-Name && reply:User-Name && request:User-Name && (reply:User-Name == request:User-Name)) {
(0)     if (session-state:User-Name && reply:User-Name && request:User-Name && (reply:User-Name == request:User-Name))  -> FALSE
(0)     update {
(0)       No attributes updated for RHS &session-state:
(0)     } # update = noop
(0)     [exec] = noop
(0)     policy remove_reply_message_if_eap {
(0)       if (&reply:EAP-Message && &reply:Reply-Message) {
(0)       if (&reply:EAP-Message && &reply:Reply-Message)  -> FALSE
(0)       else {
(0)         [noop] = noop
(0)       } # else = noop
(0)     } # policy remove_reply_message_if_eap = noop
(0)   } # post-auth = noop
(0) Sent Access-Accept Id 162 from 172.16.63.9:1812 to 172.16.63.11:59852 length 0
(0) Finished request
Waking up in 4.9 seconds.
(1) Received Access-Request Id 163 from 172.16.63.11:50616 to 172.16.63.9:1812 length 178
(1)   Service-Type = Framed-User
(1)   Framed-MTU = 1400
(1)   User-Name = "ajr_at_macbook"
(1)   NAS-Port-Id = "cap02_2"
(1)   NAS-Port-Type = Wireless-802.11
(1)   Acct-Session-Id = "8240030c"
(1)   Calling-Station-Id = "F8-1E-DF-E8-F6-A5"
(1)   Called-Station-Id = "C4-AD-34-F5-4D-1E"
(1)   EAP-Message = 0x0200001301616a725f61745f6d6163626f6f6b
(1)   Message-Authenticator = 0xed75742633a9ad4e33517281b61ea04a
(1)   NAS-Identifier = "cap01.wlan.chaos1.de"
(1)   NAS-IP-Address = 172.16.63.11
(1) # Executing section authorize from file /etc/raddb/sites-enabled/default
(1)   authorize {
(1)     policy filter_username {
(1)       if (&User-Name) {
(1)       if (&User-Name)  -> TRUE
(1)       if (&User-Name)  {
(1)         if (&User-Name =~ / /) {
(1)         if (&User-Name =~ / /)  -> FALSE
(1)         if (&User-Name =~ /@[^@]*@/ ) {
(1)         if (&User-Name =~ /@[^@]*@/ )  -> FALSE
(1)         if (&User-Name =~ /\.\./ ) {
(1)         if (&User-Name =~ /\.\./ )  -> FALSE
(1)         if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))  {
(1)         if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))   -> FALSE
(1)         if (&User-Name =~ /\.$/)  {
(1)         if (&User-Name =~ /\.$/)   -> FALSE
(1)         if (&User-Name =~ /@\./)  {
(1)         if (&User-Name =~ /@\./)   -> FALSE
(1)       } # if (&User-Name)  = notfound
(1)     } # policy filter_username = notfound
(1)     [preprocess] = ok
(1)     [chap] = noop
(1)     [mschap] = noop
(1)     [digest] = noop
(1) suffix: Checking for suffix after "@"
(1) suffix: No '@' in User-Name = "ajr_at_macbook", looking up realm NULL
(1) suffix: No such realm "NULL"
(1)     [suffix] = noop
(1) eap: Peer sent EAP Response (code 2) ID 0 length 19
(1) eap: EAP-Identity reply, returning 'ok' so we can short-circuit the rest of authorize
(1)     [eap] = ok
(1)   } # authorize = ok
(1) Found Auth-Type = eap
(1) # Executing group from file /etc/raddb/sites-enabled/default
(1)   authenticate {
(1) eap: Peer sent packet with method EAP Identity (1)
(1) eap: Calling submodule eap_md5 to process data
(1) eap_md5: Issuing MD5 Challenge
(1) eap: Sending EAP Request (code 1) ID 1 length 22
(1) eap: EAP session adding &reply:State = 0x5ccd2a915ccc2e5e
(1)     [eap] = handled
(1)   } # authenticate = handled
(1) Using Post-Auth-Type Challenge
(1) # Executing group from file /etc/raddb/sites-enabled/default
(1)   Challenge { ... } # empty sub-section is ignored
(1) Sent Access-Challenge Id 163 from 172.16.63.9:1812 to 172.16.63.11:50616 length 0
(1)   EAP-Message = 0x0101001604109b5a60831a39204ae1b6665c05386350
(1)   Message-Authenticator = 0x00000000000000000000000000000000
(1)   State = 0x5ccd2a915ccc2e5e8c2e845aad07e421
(1) Finished request
Waking up in 4.9 seconds.
(2) Received Access-Request Id 164 from 172.16.63.11:36308 to 172.16.63.9:1812 length 185
(2)   Service-Type = Framed-User
(2)   Framed-MTU = 1400
(2)   User-Name = "ajr_at_macbook"
(2)   State = 0x5ccd2a915ccc2e5e8c2e845aad07e421
(2)   NAS-Port-Id = "cap02_2"
(2)   NAS-Port-Type = Wireless-802.11
(2)   Acct-Session-Id = "8240030c"
(2)   Calling-Station-Id = "F8-1E-DF-E8-F6-A5"
(2)   Called-Station-Id = "C4-AD-34-F5-4D-1E"
(2)   EAP-Message = 0x020100080319152b
(2)   Message-Authenticator = 0xeb0369e55b64ffb2773ebae477160aa8
(2)   NAS-Identifier = "cap01.wlan.chaos1.de"
(2)   NAS-IP-Address = 172.16.63.11
(2) session-state: No cached attributes
(2) # Executing section authorize from file /etc/raddb/sites-enabled/default
(2)   authorize {
(2)     policy filter_username {
(2)       if (&User-Name) {
(2)       if (&User-Name)  -> TRUE
(2)       if (&User-Name)  {
(2)         if (&User-Name =~ / /) {
(2)         if (&User-Name =~ / /)  -> FALSE
(2)         if (&User-Name =~ /@[^@]*@/ ) {
(2)         if (&User-Name =~ /@[^@]*@/ )  -> FALSE
(2)         if (&User-Name =~ /\.\./ ) {
(2)         if (&User-Name =~ /\.\./ )  -> FALSE
(2)         if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))  {
(2)         if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))   -> FALSE
(2)         if (&User-Name =~ /\.$/)  {
(2)         if (&User-Name =~ /\.$/)   -> FALSE
(2)         if (&User-Name =~ /@\./)  {
(2)         if (&User-Name =~ /@\./)   -> FALSE
(2)       } # if (&User-Name)  = notfound
(2)     } # policy filter_username = notfound
(2)     [preprocess] = ok
(2)     [chap] = noop
(2)     [mschap] = noop
(2)     [digest] = noop
(2) suffix: Checking for suffix after "@"
(2) suffix: No '@' in User-Name = "ajr_at_macbook", looking up realm NULL
(2) suffix: No such realm "NULL"
(2)     [suffix] = noop
(2) eap: Peer sent EAP Response (code 2) ID 1 length 8
(2) eap: No EAP Start, assuming it's an on-going EAP conversation
(2)     [eap] = updated
(2) files: users: Matched entry ajr_at_macbook at line 30
(2)     [files] = ok
(2)     [expiration] = noop
(2)     [logintime] = noop
(2) pap: WARNING: Auth-Type already set.  Not setting to PAP
(2)     [pap] = noop
(2)   } # authorize = updated
(2) Found Auth-Type = eap
(2) # Executing group from file /etc/raddb/sites-enabled/default
(2)   authenticate {
(2) eap: Expiring EAP session with state 0x5ccd2a915ccc2e5e
(2) eap: Finished EAP session with state 0x5ccd2a915ccc2e5e
(2) eap: Previous EAP request found for state 0x5ccd2a915ccc2e5e, released from the list
(2) eap: Peer sent packet with method EAP NAK (3)
(2) eap: Found mutually acceptable type PEAP (25)
(2) eap: Calling submodule eap_peap to process data
(2) eap_peap: Initiating new TLS session
(2) eap_peap: [eaptls start] = request
(2) eap: Sending EAP Request (code 1) ID 2 length 6
(2) eap: EAP session adding &reply:State = 0x5ccd2a915dcf335e
(2)     [eap] = handled
(2)   } # authenticate = handled
(2) Using Post-Auth-Type Challenge
(2) # Executing group from file /etc/raddb/sites-enabled/default
(2)   Challenge { ... } # empty sub-section is ignored
(2) Sent Access-Challenge Id 164 from 172.16.63.9:1812 to 172.16.63.11:36308 length 0
(2)   Tunnel-Type = VLAN
(2)   Tunnel-Medium-Type = IEEE-802
(2)   Mikrotik-Wireless-VLANID = 13
(2)   Mikrotik-Wireless-VLANID-Type = 0
(2)   Mikrotik-Wireless-Comment = "Axel Rau @ MacBook"
(2)   EAP-Message = 0x010200061920
(2)   Message-Authenticator = 0x00000000000000000000000000000000
(2)   State = 0x5ccd2a915dcf335e8c2e845aad07e421
(2) Finished request
Waking up in 4.8 seconds.
(3) Received Access-Request Id 165 from 172.16.63.11:56987 to 172.16.63.9:1812 length 338
(3)   Service-Type = Framed-User
(3)   Framed-MTU = 1400
(3)   User-Name = "ajr_at_macbook"
(3)   State = 0x5ccd2a915dcf335e8c2e845aad07e421
(3)   NAS-Port-Id = "cap02_2"
(3)   NAS-Port-Type = Wireless-802.11
(3)   Acct-Session-Id = "8240030c"
(3)   Calling-Station-Id = "F8-1E-DF-E8-F6-A5"
(3)   Called-Station-Id = "C4-AD-34-F5-4D-1E"
(3)   EAP-Message = 0x020200a119800000009716030100920100008e03035fc3ecb70b98ace80fd25b9733d4d44c45167b8638bdf4e4b67b5f721a899abe00002c00ffc02cc02bc024c023c00ac009c008c030c02fc028c027c014c013c012009d009c003d003c0035002f000a01000039000a00080006001700180019000b00020100000d00120010040102010501060104030203050306030005000501000000000012000000170000
(3)   Message-Authenticator = 0x030b890dacbe370cef8d1516e2648805
(3)   NAS-Identifier = "cap01.wlan.chaos1.de"
(3)   NAS-IP-Address = 172.16.63.11
(3) session-state: No cached attributes
(3) # Executing section authorize from file /etc/raddb/sites-enabled/default
(3)   authorize {
(3)     policy filter_username {
(3)       if (&User-Name) {
(3)       if (&User-Name)  -> TRUE
(3)       if (&User-Name)  {
(3)         if (&User-Name =~ / /) {
(3)         if (&User-Name =~ / /)  -> FALSE
(3)         if (&User-Name =~ /@[^@]*@/ ) {
(3)         if (&User-Name =~ /@[^@]*@/ )  -> FALSE
(3)         if (&User-Name =~ /\.\./ ) {
(3)         if (&User-Name =~ /\.\./ )  -> FALSE
(3)         if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))  {
(3)         if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))   -> FALSE
(3)         if (&User-Name =~ /\.$/)  {
(3)         if (&User-Name =~ /\.$/)   -> FALSE
(3)         if (&User-Name =~ /@\./)  {
(3)         if (&User-Name =~ /@\./)   -> FALSE
(3)       } # if (&User-Name)  = notfound
(3)     } # policy filter_username = notfound
(3)     [preprocess] = ok
(3)     [chap] = noop
(3)     [mschap] = noop
(3)     [digest] = noop
(3) suffix: Checking for suffix after "@"
(3) suffix: No '@' in User-Name = "ajr_at_macbook", looking up realm NULL
(3) suffix: No such realm "NULL"
(3)     [suffix] = noop
(3) eap: Peer sent EAP Response (code 2) ID 2 length 161
(3) eap: Continuing tunnel setup
(3)     [eap] = ok
(3)   } # authorize = ok
(3) Found Auth-Type = eap
(3) # Executing group from file /etc/raddb/sites-enabled/default
(3)   authenticate {
(3) eap: Expiring EAP session with state 0x5ccd2a915dcf335e
(3) eap: Finished EAP session with state 0x5ccd2a915dcf335e
(3) eap: Previous EAP request found for state 0x5ccd2a915dcf335e, released from the list
(3) eap: Peer sent packet with method EAP PEAP (25)
(3) eap: Calling submodule eap_peap to process data
(3) eap_peap: Continuing EAP-TLS
(3) eap_peap: Peer indicated complete TLS record size will be 151 bytes
(3) eap_peap: Got complete TLS record (151 bytes)
(3) eap_peap: [eaptls verify] = length included
(3) eap_peap: (other): before/accept initialization
(3) eap_peap: TLS_accept: before/accept initialization
(3) eap_peap: <<< recv TLS 1.2  [length 0092]
(3) eap_peap: TLS_accept: SSLv3 read client hello A
(3) eap_peap: >>> send TLS 1.2  [length 0037]
(3) eap_peap: TLS_accept: SSLv3 write server hello A
(3) eap_peap: >>> send TLS 1.2  [length 0c2d]
(3) eap_peap: TLS_accept: SSLv3 write certificate A
(3) eap_peap: >>> send TLS 1.2  [length 014d]
(3) eap_peap: TLS_accept: SSLv3 write key exchange A
(3) eap_peap: >>> send TLS 1.2  [length 0004]
(3) eap_peap: TLS_accept: SSLv3 write server done A
(3) eap_peap: TLS_accept: SSLv3 flush data
(3) eap_peap: TLS_accept: SSLv3 read client certificate A
(3) eap_peap: TLS_accept: Need to read more data: SSLv3 read client key exchange A
(3) eap_peap: TLS - In Handshake Phase
(3) eap_peap: TLS - got 3529 bytes of data
(3) eap_peap: [eaptls process] = handled
(3) eap: Sending EAP Request (code 1) ID 3 length 1004
(3) eap: EAP session adding &reply:State = 0x5ccd2a915ece335e
(3)     [eap] = handled
(3)   } # authenticate = handled
(3) Using Post-Auth-Type Challenge
(3) # Executing group from file /etc/raddb/sites-enabled/default
(3)   Challenge { ... } # empty sub-section is ignored
(3) Sent Access-Challenge Id 165 from 172.16.63.9:1812 to 172.16.63.11:56987 length 0
(3)   EAP-Message = 0x010303ec19c000000dc91603030037020000330303c60a90a11f21e7b21b3f362afeebedafc6f3046ff6a6f7c317c9c427e2b88d1700c03000000bff01000100000b000201001603030c2d0b000c29000c260005103082050c308202f4a003020102020101300d06092a864886f70d01010b050030819f310b3009060355040613024445310f300d06035504080c0648657373656e311a301806035504070c114672616e6b6675727420616d204d61696e31143012060355040a0c0b4c4543484e45522d5241553128302606092a864886f70d010901161973656375726974792d6d616e61676572406c7261752e6e65743123302106035504030c1a4c4543484e45522d52415520776c616e20726164697573204341301e170d3230303932373134353833335a170d3330303932353134353833335a308187310b3009060355040613024445310f300d06035504080c0648657373656e31143012060355040a0c0b4c4543484e45522d5241553127302506035504030c
(3)   Message-Authenticator = 0x00000000000000000000000000000000
(3)   State = 0x5ccd2a915ece335e8c2e845aad07e421
(3) Finished request
Waking up in 4.8 seconds.
(4) Received Access-Request Id 166 from 172.16.63.11:48403 to 172.16.63.9:1812 length 183
(4)   Service-Type = Framed-User
(4)   Framed-MTU = 1400
(4)   User-Name = "ajr_at_macbook"
(4)   State = 0x5ccd2a915ece335e8c2e845aad07e421
(4)   NAS-Port-Id = "cap02_2"
(4)   NAS-Port-Type = Wireless-802.11
(4)   Acct-Session-Id = "8240030c"
(4)   Calling-Station-Id = "F8-1E-DF-E8-F6-A5"
(4)   Called-Station-Id = "C4-AD-34-F5-4D-1E"
(4)   EAP-Message = 0x020300061900
(4)   Message-Authenticator = 0x20d68b7ad116e5f01c7b7861b323f3e0
(4)   NAS-Identifier = "cap01.wlan.chaos1.de"
(4)   NAS-IP-Address = 172.16.63.11
(4) session-state: No cached attributes
(4) # Executing section authorize from file /etc/raddb/sites-enabled/default
(4)   authorize {
(4)     policy filter_username {
(4)       if (&User-Name) {
(4)       if (&User-Name)  -> TRUE
(4)       if (&User-Name)  {
(4)         if (&User-Name =~ / /) {
(4)         if (&User-Name =~ / /)  -> FALSE
(4)         if (&User-Name =~ /@[^@]*@/ ) {
(4)         if (&User-Name =~ /@[^@]*@/ )  -> FALSE
(4)         if (&User-Name =~ /\.\./ ) {
(4)         if (&User-Name =~ /\.\./ )  -> FALSE
(4)         if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))  {
(4)         if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))   -> FALSE
(4)         if (&User-Name =~ /\.$/)  {
(4)         if (&User-Name =~ /\.$/)   -> FALSE
(4)         if (&User-Name =~ /@\./)  {
(4)         if (&User-Name =~ /@\./)   -> FALSE
(4)       } # if (&User-Name)  = notfound
(4)     } # policy filter_username = notfound
(4)     [preprocess] = ok
(4)     [chap] = noop
(4)     [mschap] = noop
(4)     [digest] = noop
(4) suffix: Checking for suffix after "@"
(4) suffix: No '@' in User-Name = "ajr_at_macbook", looking up realm NULL
(4) suffix: No such realm "NULL"
(4)     [suffix] = noop
(4) eap: Peer sent EAP Response (code 2) ID 3 length 6
(4) eap: Continuing tunnel setup
(4)     [eap] = ok
(4)   } # authorize = ok
(4) Found Auth-Type = eap
(4) # Executing group from file /etc/raddb/sites-enabled/default
(4)   authenticate {
(4) eap: Expiring EAP session with state 0x5ccd2a915ece335e
(4) eap: Finished EAP session with state 0x5ccd2a915ece335e
(4) eap: Previous EAP request found for state 0x5ccd2a915ece335e, released from the list
(4) eap: Peer sent packet with method EAP PEAP (25)
(4) eap: Calling submodule eap_peap to process data
(4) eap_peap: Continuing EAP-TLS
(4) eap_peap: Peer ACKed our handshake fragment
(4) eap_peap: [eaptls verify] = request
(4) eap_peap: [eaptls process] = handled
(4) eap: Sending EAP Request (code 1) ID 4 length 1000
(4) eap: EAP session adding &reply:State = 0x5ccd2a915fc9335e
(4)     [eap] = handled
(4)   } # authenticate = handled
(4) Using Post-Auth-Type Challenge
(4) # Executing group from file /etc/raddb/sites-enabled/default
(4)   Challenge { ... } # empty sub-section is ignored
(4) Sent Access-Challenge Id 166 from 172.16.63.9:1812 to 172.16.63.11:48403 length 0
(4)   EAP-Message = 0x010403e819406d530cb2c3200bbfcefccda7797a74f379e4a350d8def4af86964e89b956306cbbeee5dff78207b4650e7a957bcf643d7e5a3e9979f319cfc974a9ffe4e0db4cdaa61263c6111aa570317492c13ade3b1db3c3d6155e2a5ea8ab643655f63f8db57ae3cfd1a446241323bbb74a07192e95ddd1a6d38fb37a3102e69fabe19c677183729fb4caba84a7454d2e1d55f61b4620d80a17d599a227f7204fa9c613e062dd5a8c9d7f4e6359142cd74b750bdf073ff10e5714e6afc6ffff26e81699a1085bd00484d69116f24794a63216654b63a2a7cabe1112e55803b7a876b96920b50c0ddc34c388e9654cba7df0c18b072dc33e0bd049a8e4722522e7d8abd0a9cb6d26f141fdc9b3ace794473a2d7901244bd8ca9c99ce0a6bfededf0bcca7c77dac4ba162995ca384444627677b635042a8e20494db22dadfc057281a78cef14b7c961cf5065e135434879bc299a70a49d8f5dd8ff6ae56aeb0ec158c0f4c668c589822ddd804ebbb0ca5aa2097ce8047
(4)   Message-Authenticator = 0x00000000000000000000000000000000
(4)   State = 0x5ccd2a915fc9335e8c2e845aad07e421
(4) Finished request
Waking up in 4.8 seconds.
(5) Received Access-Request Id 167 from 172.16.63.11:43018 to 172.16.63.9:1812 length 183
(5)   Service-Type = Framed-User
(5)   Framed-MTU = 1400
(5)   User-Name = "ajr_at_macbook"
(5)   State = 0x5ccd2a915fc9335e8c2e845aad07e421
(5)   NAS-Port-Id = "cap02_2"
(5)   NAS-Port-Type = Wireless-802.11
(5)   Acct-Session-Id = "8240030c"
(5)   Calling-Station-Id = "F8-1E-DF-E8-F6-A5"
(5)   Called-Station-Id = "C4-AD-34-F5-4D-1E"
(5)   EAP-Message = 0x020400061900
(5)   Message-Authenticator = 0xa670404d1c9dea94c4621380d1e0629d
(5)   NAS-Identifier = "cap01.wlan.chaos1.de"
(5)   NAS-IP-Address = 172.16.63.11
(5) session-state: No cached attributes
(5) # Executing section authorize from file /etc/raddb/sites-enabled/default
(5)   authorize {
(5)     policy filter_username {
(5)       if (&User-Name) {
(5)       if (&User-Name)  -> TRUE
(5)       if (&User-Name)  {
(5)         if (&User-Name =~ / /) {
(5)         if (&User-Name =~ / /)  -> FALSE
(5)         if (&User-Name =~ /@[^@]*@/ ) {
(5)         if (&User-Name =~ /@[^@]*@/ )  -> FALSE
(5)         if (&User-Name =~ /\.\./ ) {
(5)         if (&User-Name =~ /\.\./ )  -> FALSE
(5)         if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))  {
(5)         if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))   -> FALSE
(5)         if (&User-Name =~ /\.$/)  {
(5)         if (&User-Name =~ /\.$/)   -> FALSE
(5)         if (&User-Name =~ /@\./)  {
(5)         if (&User-Name =~ /@\./)   -> FALSE
(5)       } # if (&User-Name)  = notfound
(5)     } # policy filter_username = notfound
(5)     [preprocess] = ok
(5)     [chap] = noop
(5)     [mschap] = noop
(5)     [digest] = noop
(5) suffix: Checking for suffix after "@"
(5) suffix: No '@' in User-Name = "ajr_at_macbook", looking up realm NULL
(5) suffix: No such realm "NULL"
(5)     [suffix] = noop
(5) eap: Peer sent EAP Response (code 2) ID 4 length 6
(5) eap: Continuing tunnel setup
(5)     [eap] = ok
(5)   } # authorize = ok
(5) Found Auth-Type = eap
(5) # Executing group from file /etc/raddb/sites-enabled/default
(5)   authenticate {
(5) eap: Expiring EAP session with state 0x5ccd2a915fc9335e
(5) eap: Finished EAP session with state 0x5ccd2a915fc9335e
(5) eap: Previous EAP request found for state 0x5ccd2a915fc9335e, released from the list
(5) eap: Peer sent packet with method EAP PEAP (25)
(5) eap: Calling submodule eap_peap to process data
(5) eap_peap: Continuing EAP-TLS
(5) eap_peap: Peer ACKed our handshake fragment
(5) eap_peap: [eaptls verify] = request
(5) eap_peap: [eaptls process] = handled
(5) eap: Sending EAP Request (code 1) ID 5 length 1000
(5) eap: EAP session adding &reply:State = 0x5ccd2a9158c8335e
(5)     [eap] = handled
(5)   } # authenticate = handled
(5) Using Post-Auth-Type Challenge
(5) # Executing group from file /etc/raddb/sites-enabled/default
(5)   Challenge { ... } # empty sub-section is ignored
(5) Sent Access-Challenge Id 167 from 172.16.63.9:1812 to 172.16.63.11:43018 length 0
(5)   EAP-Message = 0x010503e819406ccf772992770116a95adb0cf425a75200cf50a0b07f265c48d949df534820e057c1389129a65fda01e75fc9222d94a0d007af36a2baa9644b66adc80dee32a62bb9eaf9097281e828a5954c8b82e667db5df9e2ebac2e600e35b6edce13a505ab1fc2cdeb465795b59a0ce384ee72afd84f0bb1164dd776ea285aa6059c3c1ae8bc22bcd1a062ae3a77858685194fdec1f2a0c8cf6cdd98fe1b8687029eac5e95e1eb8a35eedf25bb889a8145ae8dbc2c0b67908b5833c25b0293a97a12fbb47c775e670da7e45f1fa506dd44f2748929fa560137d28c458f0bbd5cb618d554023c3289173047941eea82a3f02ab5a781258682f07134d4ad943306187d5dce7723cfaf06895dc8f163b4f5a50217eed82bd9370bbb774ce0d58e7047a1f6dfa4ee1d0773718c9e41ee252393cecc8c7cdb880bbf5a46e573221e7871e21d7f26fc00c96d150203010001a382014730820143301d0603551d0e0416041451d5ce7b81ff7c173da22a06e7019ecf1581af
(5)   Message-Authenticator = 0x00000000000000000000000000000000
(5)   State = 0x5ccd2a9158c8335e8c2e845aad07e421
(5) Finished request
Waking up in 4.7 seconds.
(6) Received Access-Request Id 168 from 172.16.63.11:54129 to 172.16.63.9:1812 length 183
(6)   Service-Type = Framed-User
(6)   Framed-MTU = 1400
(6)   User-Name = "ajr_at_macbook"
(6)   State = 0x5ccd2a9158c8335e8c2e845aad07e421
(6)   NAS-Port-Id = "cap02_2"
(6)   NAS-Port-Type = Wireless-802.11
(6)   Acct-Session-Id = "8240030c"
(6)   Calling-Station-Id = "F8-1E-DF-E8-F6-A5"
(6)   Called-Station-Id = "C4-AD-34-F5-4D-1E"
(6)   EAP-Message = 0x020500061900
(6)   Message-Authenticator = 0xe8d5d68f356567e50a524ca086ad69e8
(6)   NAS-Identifier = "cap01.wlan.chaos1.de"
(6)   NAS-IP-Address = 172.16.63.11
(6) session-state: No cached attributes
(6) # Executing section authorize from file /etc/raddb/sites-enabled/default
(6)   authorize {
(6)     policy filter_username {
(6)       if (&User-Name) {
(6)       if (&User-Name)  -> TRUE
(6)       if (&User-Name)  {
(6)         if (&User-Name =~ / /) {
(6)         if (&User-Name =~ / /)  -> FALSE
(6)         if (&User-Name =~ /@[^@]*@/ ) {
(6)         if (&User-Name =~ /@[^@]*@/ )  -> FALSE
(6)         if (&User-Name =~ /\.\./ ) {
(6)         if (&User-Name =~ /\.\./ )  -> FALSE
(6)         if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))  {
(6)         if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))   -> FALSE
(6)         if (&User-Name =~ /\.$/)  {
(6)         if (&User-Name =~ /\.$/)   -> FALSE
(6)         if (&User-Name =~ /@\./)  {
(6)         if (&User-Name =~ /@\./)   -> FALSE
(6)       } # if (&User-Name)  = notfound
(6)     } # policy filter_username = notfound
(6)     [preprocess] = ok
(6)     [chap] = noop
(6)     [mschap] = noop
(6)     [digest] = noop
(6) suffix: Checking for suffix after "@"
(6) suffix: No '@' in User-Name = "ajr_at_macbook", looking up realm NULL
(6) suffix: No such realm "NULL"
(6)     [suffix] = noop
(6) eap: Peer sent EAP Response (code 2) ID 5 length 6
(6) eap: Continuing tunnel setup
(6)     [eap] = ok
(6)   } # authorize = ok
(6) Found Auth-Type = eap
(6) # Executing group from file /etc/raddb/sites-enabled/default
(6)   authenticate {
(6) eap: Expiring EAP session with state 0x5ccd2a9158c8335e
(6) eap: Finished EAP session with state 0x5ccd2a9158c8335e
(6) eap: Previous EAP request found for state 0x5ccd2a9158c8335e, released from the list
(6) eap: Peer sent packet with method EAP PEAP (25)
(6) eap: Calling submodule eap_peap to process data
(6) eap_peap: Continuing EAP-TLS
(6) eap_peap: Peer ACKed our handshake fragment
(6) eap_peap: [eaptls verify] = request
(6) eap_peap: [eaptls process] = handled
(6) eap: Sending EAP Request (code 1) ID 6 length 553
(6) eap: EAP session adding &reply:State = 0x5ccd2a9159cb335e
(6)     [eap] = handled
(6)   } # authenticate = handled
(6) Using Post-Auth-Type Challenge
(6) # Executing group from file /etc/raddb/sites-enabled/default
(6)   Challenge { ... } # empty sub-section is ignored
(6) Sent Access-Challenge Id 168 from 172.16.63.9:1812 to 172.16.63.11:54129 length 0
(6)   EAP-Message = 0x0106022919002e04d51f9f8820e15cc76d2cf077e7272790f0e705bd98bb7e24965a916d1df2520658e985708346631c7a22db43efed1219d4234d8b2ac7df50cace9904e61b33180a436833391eda8b1b49f2337cb96af530f984d7293003e6e7a48167b9e04b887bdc7911611bfd1fb3b14368b881e3bd0c4dd05452a0a0d9235026c1e5bfcfb4d588b4eebc94d81ee03b7c10e1d9c28a27bfa2574e30ab5e0136c43e4ed4ae21b91357879cf80f00e6d8cc3d0dc81e97cb1eebd5c0e867a16a342235a793195b09499544e545160303014d0c0001490300174104ee4e3fc02fd8a815b0eed005feb27f3723019400cfc0013f6f4853d4e8815a42f5edc324c04ce2da1c7193b2e0f810cf7168cf8165823aace2441a7270de03970401010050604e61fb66f662b5d554841f253d9a836bc6d6727d4b61e2203104769f27bf1bb73f97a933e7622edeb76a9f8b66a24a4da88fefe590b05f2e9b5ee82940dcf00bba69a4f5c3e8e10a18661f28d7e614c58f542c92fb
(6)   Message-Authenticator = 0x00000000000000000000000000000000
(6)   State = 0x5ccd2a9159cb335e8c2e845aad07e421
(6) Finished request
Waking up in 4.7 seconds.
(7) Received Access-Request Id 169 from 172.16.63.11:36770 to 172.16.63.9:1812 length 313
(7)   Service-Type = Framed-User
(7)   Framed-MTU = 1400
(7)   User-Name = "ajr_at_macbook"
(7)   State = 0x5ccd2a9159cb335e8c2e845aad07e421
(7)   NAS-Port-Id = "cap02_2"
(7)   NAS-Port-Type = Wireless-802.11
(7)   Acct-Session-Id = "8240030c"
(7)   Calling-Station-Id = "F8-1E-DF-E8-F6-A5"
(7)   Called-Station-Id = "C4-AD-34-F5-4D-1E"
(7)   EAP-Message = 0x0206008819800000007e1603030046100000424104464cde0f6e8d923b7fd33de5af04291dce99283951644f277a9b5896ff89746f839388f580c4fa81c3519a72441b09787db73001ed17d42fe011bd887e12b6f31403030001011603030028ebaeed68d0719763393e9526f01d3aa2409a97526aa593376f9c4bbb20695f013a791614e52c426f
(7)   Message-Authenticator = 0x057a686cdacb1db961483095bc7cd077
(7)   NAS-Identifier = "cap01.wlan.chaos1.de"
(7)   NAS-IP-Address = 172.16.63.11
(7) session-state: No cached attributes
(7) # Executing section authorize from file /etc/raddb/sites-enabled/default
(7)   authorize {
(7)     policy filter_username {
(7)       if (&User-Name) {
(7)       if (&User-Name)  -> TRUE
(7)       if (&User-Name)  {
(7)         if (&User-Name =~ / /) {
(7)         if (&User-Name =~ / /)  -> FALSE
(7)         if (&User-Name =~ /@[^@]*@/ ) {
(7)         if (&User-Name =~ /@[^@]*@/ )  -> FALSE
(7)         if (&User-Name =~ /\.\./ ) {
(7)         if (&User-Name =~ /\.\./ )  -> FALSE
(7)         if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))  {
(7)         if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))   -> FALSE
(7)         if (&User-Name =~ /\.$/)  {
(7)         if (&User-Name =~ /\.$/)   -> FALSE
(7)         if (&User-Name =~ /@\./)  {
(7)         if (&User-Name =~ /@\./)   -> FALSE
(7)       } # if (&User-Name)  = notfound
(7)     } # policy filter_username = notfound
(7)     [preprocess] = ok
(7)     [chap] = noop
(7)     [mschap] = noop
(7)     [digest] = noop
(7) suffix: Checking for suffix after "@"
(7) suffix: No '@' in User-Name = "ajr_at_macbook", looking up realm NULL
(7) suffix: No such realm "NULL"
(7)     [suffix] = noop
(7) eap: Peer sent EAP Response (code 2) ID 6 length 136
(7) eap: Continuing tunnel setup
(7)     [eap] = ok
(7)   } # authorize = ok
(7) Found Auth-Type = eap
(7) # Executing group from file /etc/raddb/sites-enabled/default
(7)   authenticate {
(7) eap: Expiring EAP session with state 0x5ccd2a9159cb335e
(7) eap: Finished EAP session with state 0x5ccd2a9159cb335e
(7) eap: Previous EAP request found for state 0x5ccd2a9159cb335e, released from the list
(7) eap: Peer sent packet with method EAP PEAP (25)
(7) eap: Calling submodule eap_peap to process data
(7) eap_peap: Continuing EAP-TLS
(7) eap_peap: Peer indicated complete TLS record size will be 126 bytes
(7) eap_peap: Got complete TLS record (126 bytes)
(7) eap_peap: [eaptls verify] = length included
(7) eap_peap: <<< recv TLS 1.2  [length 0046]
(7) eap_peap: TLS_accept: SSLv3 read client key exchange A
(7) eap_peap: <<< recv TLS 1.2  [length 0001]
(7) eap_peap: <<< recv TLS 1.2  [length 0010]
(7) eap_peap: TLS_accept: SSLv3 read finished A
(7) eap_peap: >>> send TLS 1.2  [length 0001]
(7) eap_peap: TLS_accept: SSLv3 write change cipher spec A
(7) eap_peap: >>> send TLS 1.2  [length 0010]
(7) eap_peap: TLS_accept: SSLv3 write finished A
(7) eap_peap: TLS_accept: SSLv3 flush data
(7) eap_peap: (other): SSL negotiation finished successfully
(7) eap_peap: TLS - Connection Established
(7) eap_peap: TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(7) eap_peap: TLS-Session-Version = "TLS 1.2"
(7) eap_peap: TLS - got 51 bytes of data
(7) eap_peap: [eaptls process] = handled
(7) eap: Sending EAP Request (code 1) ID 7 length 57
(7) eap: EAP session adding &reply:State = 0x5ccd2a915aca335e
(7)     [eap] = handled
(7)   } # authenticate = handled
(7) Using Post-Auth-Type Challenge
(7) # Executing group from file /etc/raddb/sites-enabled/default
(7)   Challenge { ... } # empty sub-section is ignored
(7) session-state: Saving cached attributes
(7)   TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(7)   TLS-Session-Version = "TLS 1.2"
(7) Sent Access-Challenge Id 169 from 172.16.63.9:1812 to 172.16.63.11:36770 length 0
(7)   EAP-Message = 0x010700391900140303000101160303002800000000000000007f92a6ba369d6a0f6468886cded89ba3bc43763615f67ee2e0927b5a1ebd5156
(7)   Message-Authenticator = 0x00000000000000000000000000000000
(7)   State = 0x5ccd2a915aca335e8c2e845aad07e421
(7) Finished request
Waking up in 4.7 seconds.
(8) Received Access-Request Id 170 from 172.16.63.11:40417 to 172.16.63.9:1812 length 183
(8)   Service-Type = Framed-User
(8)   Framed-MTU = 1400
(8)   User-Name = "ajr_at_macbook"
(8)   State = 0x5ccd2a915aca335e8c2e845aad07e421
(8)   NAS-Port-Id = "cap02_2"
(8)   NAS-Port-Type = Wireless-802.11
(8)   Acct-Session-Id = "8240030c"
(8)   Calling-Station-Id = "F8-1E-DF-E8-F6-A5"
(8)   Called-Station-Id = "C4-AD-34-F5-4D-1E"
(8)   EAP-Message = 0x020700061900
(8)   Message-Authenticator = 0x68de1012ff5a634cf1b8a626bc1855e9
(8)   NAS-Identifier = "cap01.wlan.chaos1.de"
(8)   NAS-IP-Address = 172.16.63.11
(8) Restoring &session-state
(8)   &session-state:TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(8)   &session-state:TLS-Session-Version = "TLS 1.2"
(8) # Executing section authorize from file /etc/raddb/sites-enabled/default
(8)   authorize {
(8)     policy filter_username {
(8)       if (&User-Name) {
(8)       if (&User-Name)  -> TRUE
(8)       if (&User-Name)  {
(8)         if (&User-Name =~ / /) {
(8)         if (&User-Name =~ / /)  -> FALSE
(8)         if (&User-Name =~ /@[^@]*@/ ) {
(8)         if (&User-Name =~ /@[^@]*@/ )  -> FALSE
(8)         if (&User-Name =~ /\.\./ ) {
(8)         if (&User-Name =~ /\.\./ )  -> FALSE
(8)         if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))  {
(8)         if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))   -> FALSE
(8)         if (&User-Name =~ /\.$/)  {
(8)         if (&User-Name =~ /\.$/)   -> FALSE
(8)         if (&User-Name =~ /@\./)  {
(8)         if (&User-Name =~ /@\./)   -> FALSE
(8)       } # if (&User-Name)  = notfound
(8)     } # policy filter_username = notfound
(8)     [preprocess] = ok
(8)     [chap] = noop
(8)     [mschap] = noop
(8)     [digest] = noop
(8) suffix: Checking for suffix after "@"
(8) suffix: No '@' in User-Name = "ajr_at_macbook", looking up realm NULL
(8) suffix: No such realm "NULL"
(8)     [suffix] = noop
(8) eap: Peer sent EAP Response (code 2) ID 7 length 6
(8) eap: Continuing tunnel setup
(8)     [eap] = ok
(8)   } # authorize = ok
(8) Found Auth-Type = eap
(8) # Executing group from file /etc/raddb/sites-enabled/default
(8)   authenticate {
(8) eap: Expiring EAP session with state 0x5ccd2a915aca335e
(8) eap: Finished EAP session with state 0x5ccd2a915aca335e
(8) eap: Previous EAP request found for state 0x5ccd2a915aca335e, released from the list
(8) eap: Peer sent packet with method EAP PEAP (25)
(8) eap: Calling submodule eap_peap to process data
(8) eap_peap: Continuing EAP-TLS
(8) eap_peap: Peer ACKed our handshake fragment.  handshake is finished
(8) eap_peap: [eaptls verify] = success
(8) eap_peap: [eaptls process] = success
(8) eap_peap: Session established.  Decoding tunneled attributes
(8) eap_peap: PEAP state TUNNEL ESTABLISHED
(8) eap: Sending EAP Request (code 1) ID 8 length 40
(8) eap: EAP session adding &reply:State = 0x5ccd2a915bc5335e
(8)     [eap] = handled
(8)   } # authenticate = handled
(8) Using Post-Auth-Type Challenge
(8) # Executing group from file /etc/raddb/sites-enabled/default
(8)   Challenge { ... } # empty sub-section is ignored
(8) session-state: Saving cached attributes
(8)   TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(8)   TLS-Session-Version = "TLS 1.2"
(8) Sent Access-Challenge Id 170 from 172.16.63.9:1812 to 172.16.63.11:40417 length 0
(8)   EAP-Message = 0x010800281900170303001d0000000000000001a9bd52657f27db99c12d7d708b814c50355ee3ff4f
(8)   Message-Authenticator = 0x00000000000000000000000000000000
(8)   State = 0x5ccd2a915bc5335e8c2e845aad07e421
(8) Finished request
Waking up in 4.7 seconds.
(9) Received Access-Request Id 171 from 172.16.63.11:54871 to 172.16.63.9:1812 length 227
(9)   Service-Type = Framed-User
(9)   Framed-MTU = 1400
(9)   User-Name = "ajr_at_macbook"
(9)   State = 0x5ccd2a915bc5335e8c2e845aad07e421
(9)   NAS-Port-Id = "cap02_2"
(9)   NAS-Port-Type = Wireless-802.11
(9)   Acct-Session-Id = "8240030c"
(9)   Calling-Station-Id = "F8-1E-DF-E8-F6-A5"
(9)   Called-Station-Id = "C4-AD-34-F5-4D-1E"
(9)   EAP-Message = 0x0208003219001703030027ebaeed68d0719764292c296493f59a4689254d0b59d4e9723993e03afcfd8350440f4d6ec5104c
(9)   Message-Authenticator = 0x4d7ae6f016f661657fd6b19ec86e9c12
(9)   NAS-Identifier = "cap01.wlan.chaos1.de"
(9)   NAS-IP-Address = 172.16.63.11
(9) Restoring &session-state
(9)   &session-state:TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(9)   &session-state:TLS-Session-Version = "TLS 1.2"
(9) # Executing section authorize from file /etc/raddb/sites-enabled/default
(9)   authorize {
(9)     policy filter_username {
(9)       if (&User-Name) {
(9)       if (&User-Name)  -> TRUE
(9)       if (&User-Name)  {
(9)         if (&User-Name =~ / /) {
(9)         if (&User-Name =~ / /)  -> FALSE
(9)         if (&User-Name =~ /@[^@]*@/ ) {
(9)         if (&User-Name =~ /@[^@]*@/ )  -> FALSE
(9)         if (&User-Name =~ /\.\./ ) {
(9)         if (&User-Name =~ /\.\./ )  -> FALSE
(9)         if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))  {
(9)         if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))   -> FALSE
(9)         if (&User-Name =~ /\.$/)  {
(9)         if (&User-Name =~ /\.$/)   -> FALSE
(9)         if (&User-Name =~ /@\./)  {
(9)         if (&User-Name =~ /@\./)   -> FALSE
(9)       } # if (&User-Name)  = notfound
(9)     } # policy filter_username = notfound
(9)     [preprocess] = ok
(9)     [chap] = noop
(9)     [mschap] = noop
(9)     [digest] = noop
(9) suffix: Checking for suffix after "@"
(9) suffix: No '@' in User-Name = "ajr_at_macbook", looking up realm NULL
(9) suffix: No such realm "NULL"
(9)     [suffix] = noop
(9) eap: Peer sent EAP Response (code 2) ID 8 length 50
(9) eap: Continuing tunnel setup
(9)     [eap] = ok
(9)   } # authorize = ok
(9) Found Auth-Type = eap
(9) # Executing group from file /etc/raddb/sites-enabled/default
(9)   authenticate {
(9) eap: Expiring EAP session with state 0x5ccd2a915bc5335e
(9) eap: Finished EAP session with state 0x5ccd2a915bc5335e
(9) eap: Previous EAP request found for state 0x5ccd2a915bc5335e, released from the list
(9) eap: Peer sent packet with method EAP PEAP (25)
(9) eap: Calling submodule eap_peap to process data
(9) eap_peap: Continuing EAP-TLS
(9) eap_peap: [eaptls verify] = ok
(9) eap_peap: Done initial handshake
(9) eap_peap: [eaptls process] = ok
(9) eap_peap: Session established.  Decoding tunneled attributes
(9) eap_peap: PEAP state WAITING FOR INNER IDENTITY
(9) eap_peap: Identity - ajr_at_macbook
(9) eap_peap: Got inner identity 'ajr_at_macbook'
(9) eap_peap: Setting default EAP type for tunneled EAP session
(9) eap_peap: Got tunneled request
(9) eap_peap:   EAP-Message = 0x0208001301616a725f61745f6d6163626f6f6b
(9) eap_peap: Setting User-Name to ajr_at_macbook
(9) eap_peap: Sending tunneled request to inner-tunnel
(9) eap_peap:   EAP-Message = 0x0208001301616a725f61745f6d6163626f6f6b
(9) eap_peap:   FreeRADIUS-Proxied-To = 127.0.0.1
(9) eap_peap:   User-Name = "ajr_at_macbook"
(9) Virtual server inner-tunnel received request
(9)   EAP-Message = 0x0208001301616a725f61745f6d6163626f6f6b
(9)   FreeRADIUS-Proxied-To = 127.0.0.1
(9)   User-Name = "ajr_at_macbook"
(9) WARNING: Outer and inner identities are the same.  User privacy is compromised.
(9) server inner-tunnel {
(9)   # Executing section authorize from file /etc/raddb/sites-enabled/inner-tunnel
(9)     authorize {
(9)       policy filter_username {
(9)         if (&User-Name) {
(9)         if (&User-Name)  -> TRUE
(9)         if (&User-Name)  {
(9)           if (&User-Name =~ / /) {
(9)           if (&User-Name =~ / /)  -> FALSE
(9)           if (&User-Name =~ /@[^@]*@/ ) {
(9)           if (&User-Name =~ /@[^@]*@/ )  -> FALSE
(9)           if (&User-Name =~ /\.\./ ) {
(9)           if (&User-Name =~ /\.\./ )  -> FALSE
(9)           if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))  {
(9)           if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))   -> FALSE
(9)           if (&User-Name =~ /\.$/)  {
(9)           if (&User-Name =~ /\.$/)   -> FALSE
(9)           if (&User-Name =~ /@\./)  {
(9)           if (&User-Name =~ /@\./)   -> FALSE
(9)         } # if (&User-Name)  = notfound
(9)       } # policy filter_username = notfound
(9)       [chap] = noop
(9)       [mschap] = noop
(9) suffix: Checking for suffix after "@"
(9) suffix: No '@' in User-Name = "ajr_at_macbook", looking up realm NULL
(9) suffix: No such realm "NULL"
(9)       [suffix] = noop
(9)       update control {
(9)         &Proxy-To-Realm := LOCAL
(9)       } # update control = noop
(9) eap: Peer sent EAP Response (code 2) ID 8 length 19
(9) eap: EAP-Identity reply, returning 'ok' so we can short-circuit the rest of authorize
(9)       [eap] = ok
(9)     } # authorize = ok
(9)   Found Auth-Type = eap
(9)   # Executing group from file /etc/raddb/sites-enabled/inner-tunnel
(9)     authenticate {
(9) eap: Peer sent packet with method EAP Identity (1)
(9) eap: Calling submodule eap_mschapv2 to process data
(9) eap_mschapv2: Issuing Challenge
(9) eap: Sending EAP Request (code 1) ID 9 length 43
(9) eap: EAP session adding &reply:State = 0x287be8ee2872f246
(9)       [eap] = handled
(9)     } # authenticate = handled
(9) } # server inner-tunnel
(9) Virtual server sending reply
(9)   EAP-Message = 0x0109002b1a01090026104f1c4fbc5f3fcae7e030a11e6b5eaea8667265657261646975732d332e302e3231
(9)   Message-Authenticator = 0x00000000000000000000000000000000
(9)   State = 0x287be8ee2872f24656459491fa7b8c64
(9) eap_peap: Got tunneled reply code 11
(9) eap_peap:   EAP-Message = 0x0109002b1a01090026104f1c4fbc5f3fcae7e030a11e6b5eaea8667265657261646975732d332e302e3231
(9) eap_peap:   Message-Authenticator = 0x00000000000000000000000000000000
(9) eap_peap:   State = 0x287be8ee2872f24656459491fa7b8c64
(9) eap_peap: Got tunneled reply RADIUS code 11
(9) eap_peap:   EAP-Message = 0x0109002b1a01090026104f1c4fbc5f3fcae7e030a11e6b5eaea8667265657261646975732d332e302e3231
(9) eap_peap:   Message-Authenticator = 0x00000000000000000000000000000000
(9) eap_peap:   State = 0x287be8ee2872f24656459491fa7b8c64
(9) eap_peap: Got tunneled Access-Challenge
(9) eap: Sending EAP Request (code 1) ID 9 length 74
(9) eap: EAP session adding &reply:State = 0x5ccd2a9154c4335e
(9)     [eap] = handled
(9)   } # authenticate = handled
(9) Using Post-Auth-Type Challenge
(9) # Executing group from file /etc/raddb/sites-enabled/default
(9)   Challenge { ... } # empty sub-section is ignored
(9) session-state: Saving cached attributes
(9)   TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(9)   TLS-Session-Version = "TLS 1.2"
(9) Sent Access-Challenge Id 171 from 172.16.63.9:1812 to 172.16.63.11:54871 length 0
(9)   EAP-Message = 0x0109004a1900170303003f000000000000000293e69b2290e905927832c32c18e0342ab07fd1793ed19854d46535ebc3d7c97865c1aea3b04767e26863a2d63d2327da92077a0dde3e54
(9)   Message-Authenticator = 0x00000000000000000000000000000000
(9)   State = 0x5ccd2a9154c4335e8c2e845aad07e421
(9) Finished request
Waking up in 4.7 seconds.
(10) Received Access-Request Id 172 from 172.16.63.11:38409 to 172.16.63.9:1812 length 281
(10)   Service-Type = Framed-User
(10)   Framed-MTU = 1400
(10)   User-Name = "ajr_at_macbook"
(10)   State = 0x5ccd2a9154c4335e8c2e845aad07e421
(10)   NAS-Port-Id = "cap02_2"
(10)   NAS-Port-Type = Wireless-802.11
(10)   Acct-Session-Id = "8240030c"
(10)   Calling-Station-Id = "F8-1E-DF-E8-F6-A5"
(10)   Called-Station-Id = "C4-AD-34-F5-4D-1E"
(10)   EAP-Message = 0x020900681900170303005debaeed68d071976582446411710009b74077847b8932663bee78453334226e6b595114148c774bd35b5ec8cc9af6ecbccb3117c5062f1e318be465b2e493ed2b4e1d45f58893c913f71344560ef48c5504d211b150dd5ede4ae9cfde31
(10)   Message-Authenticator = 0xc11da8127cd74925532b01f790876e63
(10)   NAS-Identifier = "cap01.wlan.chaos1.de"
(10)   NAS-IP-Address = 172.16.63.11
(10) Restoring &session-state
(10)   &session-state:TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(10)   &session-state:TLS-Session-Version = "TLS 1.2"
(10) # Executing section authorize from file /etc/raddb/sites-enabled/default
(10)   authorize {
(10)     policy filter_username {
(10)       if (&User-Name) {
(10)       if (&User-Name)  -> TRUE
(10)       if (&User-Name)  {
(10)         if (&User-Name =~ / /) {
(10)         if (&User-Name =~ / /)  -> FALSE
(10)         if (&User-Name =~ /@[^@]*@/ ) {
(10)         if (&User-Name =~ /@[^@]*@/ )  -> FALSE
(10)         if (&User-Name =~ /\.\./ ) {
(10)         if (&User-Name =~ /\.\./ )  -> FALSE
(10)         if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))  {
(10)         if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))   -> FALSE
(10)         if (&User-Name =~ /\.$/)  {
(10)         if (&User-Name =~ /\.$/)   -> FALSE
(10)         if (&User-Name =~ /@\./)  {
(10)         if (&User-Name =~ /@\./)   -> FALSE
(10)       } # if (&User-Name)  = notfound
(10)     } # policy filter_username = notfound
(10)     [preprocess] = ok
(10)     [chap] = noop
(10)     [mschap] = noop
(10)     [digest] = noop
(10) suffix: Checking for suffix after "@"
(10) suffix: No '@' in User-Name = "ajr_at_macbook", looking up realm NULL
(10) suffix: No such realm "NULL"
(10)     [suffix] = noop
(10) eap: Peer sent EAP Response (code 2) ID 9 length 104
(10) eap: Continuing tunnel setup
(10)     [eap] = ok
(10)   } # authorize = ok
(10) Found Auth-Type = eap
(10) # Executing group from file /etc/raddb/sites-enabled/default
(10)   authenticate {
(10) eap: Expiring EAP session with state 0x287be8ee2872f246
(10) eap: Finished EAP session with state 0x5ccd2a9154c4335e
(10) eap: Previous EAP request found for state 0x5ccd2a9154c4335e, released from the list
(10) eap: Peer sent packet with method EAP PEAP (25)
(10) eap: Calling submodule eap_peap to process data
(10) eap_peap: Continuing EAP-TLS
(10) eap_peap: [eaptls verify] = ok
(10) eap_peap: Done initial handshake
(10) eap_peap: [eaptls process] = ok
(10) eap_peap: Session established.  Decoding tunneled attributes
(10) eap_peap: PEAP state phase2
(10) eap_peap: EAP method MSCHAPv2 (26)
(10) eap_peap: Got tunneled request
(10) eap_peap:   EAP-Message = 0x020900491a02090044310718db4dc9454966aebc7874449472950000000000000000b3858f6a34c7d630f8912a1c043120a9bede5319ce142add00616a725f61745f6d6163626f6f6b
(10) eap_peap: Setting User-Name to ajr_at_macbook
(10) eap_peap: Sending tunneled request to inner-tunnel
(10) eap_peap:   EAP-Message = 0x020900491a02090044310718db4dc9454966aebc7874449472950000000000000000b3858f6a34c7d630f8912a1c043120a9bede5319ce142add00616a725f61745f6d6163626f6f6b
(10) eap_peap:   FreeRADIUS-Proxied-To = 127.0.0.1
(10) eap_peap:   User-Name = "ajr_at_macbook"
(10) eap_peap:   State = 0x287be8ee2872f24656459491fa7b8c64
(10) Virtual server inner-tunnel received request
(10)   EAP-Message = 0x020900491a02090044310718db4dc9454966aebc7874449472950000000000000000b3858f6a34c7d630f8912a1c043120a9bede5319ce142add00616a725f61745f6d6163626f6f6b
(10)   FreeRADIUS-Proxied-To = 127.0.0.1
(10)   User-Name = "ajr_at_macbook"
(10)   State = 0x287be8ee2872f24656459491fa7b8c64
(10) WARNING: Outer and inner identities are the same.  User privacy is compromised.
(10) server inner-tunnel {
(10)   session-state: No cached attributes
(10)   # Executing section authorize from file /etc/raddb/sites-enabled/inner-tunnel
(10)     authorize {
(10)       policy filter_username {
(10)         if (&User-Name) {
(10)         if (&User-Name)  -> TRUE
(10)         if (&User-Name)  {
(10)           if (&User-Name =~ / /) {
(10)           if (&User-Name =~ / /)  -> FALSE
(10)           if (&User-Name =~ /@[^@]*@/ ) {
(10)           if (&User-Name =~ /@[^@]*@/ )  -> FALSE
(10)           if (&User-Name =~ /\.\./ ) {
(10)           if (&User-Name =~ /\.\./ )  -> FALSE
(10)           if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))  {
(10)           if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))   -> FALSE
(10)           if (&User-Name =~ /\.$/)  {
(10)           if (&User-Name =~ /\.$/)   -> FALSE
(10)           if (&User-Name =~ /@\./)  {
(10)           if (&User-Name =~ /@\./)   -> FALSE
(10)         } # if (&User-Name)  = notfound
(10)       } # policy filter_username = notfound
(10)       [chap] = noop
(10)       [mschap] = noop
(10) suffix: Checking for suffix after "@"
(10) suffix: No '@' in User-Name = "ajr_at_macbook", looking up realm NULL
(10) suffix: No such realm "NULL"
(10)       [suffix] = noop
(10)       update control {
(10)         &Proxy-To-Realm := LOCAL
(10)       } # update control = noop
(10) eap: Peer sent EAP Response (code 2) ID 9 length 73
(10) eap: No EAP Start, assuming it's an on-going EAP conversation
(10)       [eap] = updated
(10) files: users: Matched entry ajr_at_macbook at line 30
(10)       [files] = ok
(10)       [expiration] = noop
(10)       [logintime] = noop
(10) pap: WARNING: Auth-Type already set.  Not setting to PAP
(10)       [pap] = noop
(10)     } # authorize = updated
(10)   Found Auth-Type = eap
(10)   # Executing group from file /etc/raddb/sites-enabled/inner-tunnel
(10)     authenticate {
(10) eap: Expiring EAP session with state 0x287be8ee2872f246
(10) eap: Finished EAP session with state 0x287be8ee2872f246
(10) eap: Previous EAP request found for state 0x287be8ee2872f246, released from the list
(10) eap: Peer sent packet with method EAP MSCHAPv2 (26)
(10) eap: Calling submodule eap_mschapv2 to process data
(10) eap_mschapv2: # Executing group from file /etc/raddb/sites-enabled/inner-tunnel
(10) eap_mschapv2:   authenticate {
(10) mschap: Found Cleartext-Password, hashing to create NT-Password
(10) mschap: Creating challenge hash with username: ajr_at_macbook
(10) mschap: Client is using MS-CHAPv2
(10) mschap: Adding MS-CHAPv2 MPPE keys
(10) eap_mschapv2:     [mschap] = ok
(10) eap_mschapv2:   } # authenticate = ok
(10) eap_mschapv2: MSCHAP Success
(10) eap: Sending EAP Request (code 1) ID 10 length 51
(10) eap: EAP session adding &reply:State = 0x287be8ee2971f246
(10)       [eap] = handled
(10)     } # authenticate = handled
(10) } # server inner-tunnel
(10) Virtual server sending reply
(10)   Tunnel-Type = VLAN
(10)   Tunnel-Medium-Type = IEEE-802
(10)   Mikrotik-Wireless-VLANID = 13
(10)   Mikrotik-Wireless-VLANID-Type = 0
(10)   Mikrotik-Wireless-Comment = "Axel Rau @ MacBook"
(10)   EAP-Message = 0x010a00331a0309002e533d45384432423830324536424446353639443042353937384237453330314534364342373137353530
(10)   Message-Authenticator = 0x00000000000000000000000000000000
(10)   State = 0x287be8ee2971f24656459491fa7b8c64
(10) eap_peap: Got tunneled reply code 11
(10) eap_peap:   Tunnel-Type = VLAN
(10) eap_peap:   Tunnel-Medium-Type = IEEE-802
(10) eap_peap:   Mikrotik-Wireless-VLANID = 13
(10) eap_peap:   Mikrotik-Wireless-VLANID-Type = 0
(10) eap_peap:   Mikrotik-Wireless-Comment = "Axel Rau @ MacBook"
(10) eap_peap:   EAP-Message = 0x010a00331a0309002e533d45384432423830324536424446353639443042353937384237453330314534364342373137353530
(10) eap_peap:   Message-Authenticator = 0x00000000000000000000000000000000
(10) eap_peap:   State = 0x287be8ee2971f24656459491fa7b8c64
(10) eap_peap: Got tunneled reply RADIUS code 11
(10) eap_peap:   Tunnel-Type = VLAN
(10) eap_peap:   Tunnel-Medium-Type = IEEE-802
(10) eap_peap:   Mikrotik-Wireless-VLANID = 13
(10) eap_peap:   Mikrotik-Wireless-VLANID-Type = 0
(10) eap_peap:   Mikrotik-Wireless-Comment = "Axel Rau @ MacBook"
(10) eap_peap:   EAP-Message = 0x010a00331a0309002e533d45384432423830324536424446353639443042353937384237453330314534364342373137353530
(10) eap_peap:   Message-Authenticator = 0x00000000000000000000000000000000
(10) eap_peap:   State = 0x287be8ee2971f24656459491fa7b8c64
(10) eap_peap: Got tunneled Access-Challenge
(10) eap: Sending EAP Request (code 1) ID 10 length 82
(10) eap: EAP session adding &reply:State = 0x5ccd2a9155c7335e
(10)     [eap] = handled
(10)   } # authenticate = handled
(10) Using Post-Auth-Type Challenge
(10) # Executing group from file /etc/raddb/sites-enabled/default
(10)   Challenge { ... } # empty sub-section is ignored
(10) session-state: Saving cached attributes
(10)   TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(10)   TLS-Session-Version = "TLS 1.2"
(10) Sent Access-Challenge Id 172 from 172.16.63.9:1812 to 172.16.63.11:38409 length 0
(10)   EAP-Message = 0x010a0052190017030300470000000000000003dfc5ddef832faa31d785298471f5a5228c260ad5a33e5214aa890f65a52078ebca88b7a54eea55e5ed48b92d8b3d8a44864bd353a1b308e24ffeb41f04c5b4
(10)   Message-Authenticator = 0x00000000000000000000000000000000
(10)   State = 0x5ccd2a9155c7335e8c2e845aad07e421
(10) Finished request
Waking up in 4.7 seconds.
(11) Received Access-Request Id 173 from 172.16.63.11:57477 to 172.16.63.9:1812 length 214
(11)   Service-Type = Framed-User
(11)   Framed-MTU = 1400
(11)   User-Name = "ajr_at_macbook"
(11)   State = 0x5ccd2a9155c7335e8c2e845aad07e421
(11)   NAS-Port-Id = "cap02_2"
(11)   NAS-Port-Type = Wireless-802.11
(11)   Acct-Session-Id = "8240030c"
(11)   Calling-Station-Id = "F8-1E-DF-E8-F6-A5"
(11)   Called-Station-Id = "C4-AD-34-F5-4D-1E"
(11)   EAP-Message = 0x020a00251900170303001aebaeed68d07197660c82dc1897c5e8f16731b8ff544f93ed98bf
(11)   Message-Authenticator = 0x74ebfdc15d084aef6b02b71a638d657d
(11)   NAS-Identifier = "cap01.wlan.chaos1.de"
(11)   NAS-IP-Address = 172.16.63.11
(11) Restoring &session-state
(11)   &session-state:TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(11)   &session-state:TLS-Session-Version = "TLS 1.2"
(11) # Executing section authorize from file /etc/raddb/sites-enabled/default
(11)   authorize {
(11)     policy filter_username {
(11)       if (&User-Name) {
(11)       if (&User-Name)  -> TRUE
(11)       if (&User-Name)  {
(11)         if (&User-Name =~ / /) {
(11)         if (&User-Name =~ / /)  -> FALSE
(11)         if (&User-Name =~ /@[^@]*@/ ) {
(11)         if (&User-Name =~ /@[^@]*@/ )  -> FALSE
(11)         if (&User-Name =~ /\.\./ ) {
(11)         if (&User-Name =~ /\.\./ )  -> FALSE
(11)         if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))  {
(11)         if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))   -> FALSE
(11)         if (&User-Name =~ /\.$/)  {
(11)         if (&User-Name =~ /\.$/)   -> FALSE
(11)         if (&User-Name =~ /@\./)  {
(11)         if (&User-Name =~ /@\./)   -> FALSE
(11)       } # if (&User-Name)  = notfound
(11)     } # policy filter_username = notfound
(11)     [preprocess] = ok
(11)     [chap] = noop
(11)     [mschap] = noop
(11)     [digest] = noop
(11) suffix: Checking for suffix after "@"
(11) suffix: No '@' in User-Name = "ajr_at_macbook", looking up realm NULL
(11) suffix: No such realm "NULL"
(11)     [suffix] = noop
(11) eap: Peer sent EAP Response (code 2) ID 10 length 37
(11) eap: Continuing tunnel setup
(11)     [eap] = ok
(11)   } # authorize = ok
(11) Found Auth-Type = eap
(11) # Executing group from file /etc/raddb/sites-enabled/default
(11)   authenticate {
(11) eap: Expiring EAP session with state 0x287be8ee2971f246
(11) eap: Finished EAP session with state 0x5ccd2a9155c7335e
(11) eap: Previous EAP request found for state 0x5ccd2a9155c7335e, released from the list
(11) eap: Peer sent packet with method EAP PEAP (25)
(11) eap: Calling submodule eap_peap to process data
(11) eap_peap: Continuing EAP-TLS
(11) eap_peap: [eaptls verify] = ok
(11) eap_peap: Done initial handshake
(11) eap_peap: [eaptls process] = ok
(11) eap_peap: Session established.  Decoding tunneled attributes
(11) eap_peap: PEAP state phase2
(11) eap_peap: EAP method MSCHAPv2 (26)
(11) eap_peap: Got tunneled request
(11) eap_peap:   EAP-Message = 0x020a00061a03
(11) eap_peap: Setting User-Name to ajr_at_macbook
(11) eap_peap: Sending tunneled request to inner-tunnel
(11) eap_peap:   EAP-Message = 0x020a00061a03
(11) eap_peap:   FreeRADIUS-Proxied-To = 127.0.0.1
(11) eap_peap:   User-Name = "ajr_at_macbook"
(11) eap_peap:   State = 0x287be8ee2971f24656459491fa7b8c64
(11) Virtual server inner-tunnel received request
(11)   EAP-Message = 0x020a00061a03
(11)   FreeRADIUS-Proxied-To = 127.0.0.1
(11)   User-Name = "ajr_at_macbook"
(11)   State = 0x287be8ee2971f24656459491fa7b8c64
(11) WARNING: Outer and inner identities are the same.  User privacy is compromised.
(11) server inner-tunnel {
(11)   session-state: No cached attributes
(11)   # Executing section authorize from file /etc/raddb/sites-enabled/inner-tunnel
(11)     authorize {
(11)       policy filter_username {
(11)         if (&User-Name) {
(11)         if (&User-Name)  -> TRUE
(11)         if (&User-Name)  {
(11)           if (&User-Name =~ / /) {
(11)           if (&User-Name =~ / /)  -> FALSE
(11)           if (&User-Name =~ /@[^@]*@/ ) {
(11)           if (&User-Name =~ /@[^@]*@/ )  -> FALSE
(11)           if (&User-Name =~ /\.\./ ) {
(11)           if (&User-Name =~ /\.\./ )  -> FALSE
(11)           if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))  {
(11)           if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))   -> FALSE
(11)           if (&User-Name =~ /\.$/)  {
(11)           if (&User-Name =~ /\.$/)   -> FALSE
(11)           if (&User-Name =~ /@\./)  {
(11)           if (&User-Name =~ /@\./)   -> FALSE
(11)         } # if (&User-Name)  = notfound
(11)       } # policy filter_username = notfound
(11)       [chap] = noop
(11)       [mschap] = noop
(11) suffix: Checking for suffix after "@"
(11) suffix: No '@' in User-Name = "ajr_at_macbook", looking up realm NULL
(11) suffix: No such realm "NULL"
(11)       [suffix] = noop
(11)       update control {
(11)         &Proxy-To-Realm := LOCAL
(11)       } # update control = noop
(11) eap: Peer sent EAP Response (code 2) ID 10 length 6
(11) eap: No EAP Start, assuming it's an on-going EAP conversation
(11)       [eap] = updated
(11) files: users: Matched entry ajr_at_macbook at line 30
(11)       [files] = ok
(11)       [expiration] = noop
(11)       [logintime] = noop
(11) pap: WARNING: Auth-Type already set.  Not setting to PAP
(11)       [pap] = noop
(11)     } # authorize = updated
(11)   Found Auth-Type = eap
(11)   # Executing group from file /etc/raddb/sites-enabled/inner-tunnel
(11)     authenticate {
(11) eap: Expiring EAP session with state 0x287be8ee2971f246
(11) eap: Finished EAP session with state 0x287be8ee2971f246
(11) eap: Previous EAP request found for state 0x287be8ee2971f246, released from the list
(11) eap: Peer sent packet with method EAP MSCHAPv2 (26)
(11) eap: Calling submodule eap_mschapv2 to process data
(11) eap: Sending EAP Success (code 3) ID 10 length 4
(11) eap: Freeing handler
(11)       [eap] = ok
(11)     } # authenticate = ok
(11)   # Executing section post-auth from file /etc/raddb/sites-enabled/inner-tunnel
(11)     post-auth {
(11)       if (0) {
(11)       if (0)  -> FALSE
(11)     } # post-auth = noop
(11) } # server inner-tunnel
(11) Virtual server sending reply
(11)   Tunnel-Type = VLAN
(11)   Tunnel-Medium-Type = IEEE-802
(11)   Mikrotik-Wireless-VLANID = 13
(11)   Mikrotik-Wireless-VLANID-Type = 0
(11)   Mikrotik-Wireless-Comment = "Axel Rau @ MacBook"
(11)   MS-MPPE-Encryption-Policy = Encryption-Allowed
(11)   MS-MPPE-Encryption-Types = RC4-40or128-bit-Allowed
(11)   MS-MPPE-Send-Key = 0x82c6f586efcad91f1d506585e0b7d412
(11)   MS-MPPE-Recv-Key = 0x0f1dd32e5087e73c1979b7f28c046075
(11)   EAP-Message = 0x030a0004
(11)   Message-Authenticator = 0x00000000000000000000000000000000
(11)   User-Name = "ajr_at_macbook"
(11) eap_peap: Got tunneled reply code 2
(11) eap_peap:   Tunnel-Type = VLAN
(11) eap_peap:   Tunnel-Medium-Type = IEEE-802
(11) eap_peap:   Mikrotik-Wireless-VLANID = 13
(11) eap_peap:   Mikrotik-Wireless-VLANID-Type = 0
(11) eap_peap:   Mikrotik-Wireless-Comment = "Axel Rau @ MacBook"
(11) eap_peap:   MS-MPPE-Encryption-Policy = Encryption-Allowed
(11) eap_peap:   MS-MPPE-Encryption-Types = RC4-40or128-bit-Allowed
(11) eap_peap:   MS-MPPE-Send-Key = 0x82c6f586efcad91f1d506585e0b7d412
(11) eap_peap:   MS-MPPE-Recv-Key = 0x0f1dd32e5087e73c1979b7f28c046075
(11) eap_peap:   EAP-Message = 0x030a0004
(11) eap_peap:   Message-Authenticator = 0x00000000000000000000000000000000
(11) eap_peap:   User-Name = "ajr_at_macbook"
(11) eap_peap: Got tunneled reply RADIUS code 2
(11) eap_peap:   Tunnel-Type = VLAN
(11) eap_peap:   Tunnel-Medium-Type = IEEE-802
(11) eap_peap:   Mikrotik-Wireless-VLANID = 13
(11) eap_peap:   Mikrotik-Wireless-VLANID-Type = 0
(11) eap_peap:   Mikrotik-Wireless-Comment = "Axel Rau @ MacBook"
(11) eap_peap:   MS-MPPE-Encryption-Policy = Encryption-Allowed
(11) eap_peap:   MS-MPPE-Encryption-Types = RC4-40or128-bit-Allowed
(11) eap_peap:   MS-MPPE-Send-Key = 0x82c6f586efcad91f1d506585e0b7d412
(11) eap_peap:   MS-MPPE-Recv-Key = 0x0f1dd32e5087e73c1979b7f28c046075
(11) eap_peap:   EAP-Message = 0x030a0004
(11) eap_peap:   Message-Authenticator = 0x00000000000000000000000000000000
(11) eap_peap:   User-Name = "ajr_at_macbook"
(11) eap_peap: Tunneled authentication was successful
(11) eap_peap: SUCCESS
(11) eap_peap: Saving tunneled attributes for later
(11) eap: Sending EAP Request (code 1) ID 11 length 46
(11) eap: EAP session adding &reply:State = 0x5ccd2a9156c6335e
(11)     [eap] = handled
(11)   } # authenticate = handled
(11) Using Post-Auth-Type Challenge
(11) # Executing group from file /etc/raddb/sites-enabled/default
(11)   Challenge { ... } # empty sub-section is ignored
(11) session-state: Saving cached attributes
(11)   TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(11)   TLS-Session-Version = "TLS 1.2"
(11) Sent Access-Challenge Id 173 from 172.16.63.9:1812 to 172.16.63.11:57477 length 0
(11)   EAP-Message = 0x010b002e190017030300230000000000000004d9a7c123f3a2f6478f84b6f61cf982158d58b583a603eff1d88610
(11)   Message-Authenticator = 0x00000000000000000000000000000000
(11)   State = 0x5ccd2a9156c6335e8c2e845aad07e421
(11) Finished request
Waking up in 4.6 seconds.
(12) Received Access-Request Id 174 from 172.16.63.11:43616 to 172.16.63.9:1812 length 223
(12)   Service-Type = Framed-User
(12)   Framed-MTU = 1400
(12)   User-Name = "ajr_at_macbook"
(12)   State = 0x5ccd2a9156c6335e8c2e845aad07e421
(12)   NAS-Port-Id = "cap02_2"
(12)   NAS-Port-Type = Wireless-802.11
(12)   Acct-Session-Id = "8240030c"
(12)   Calling-Station-Id = "F8-1E-DF-E8-F6-A5"
(12)   Called-Station-Id = "C4-AD-34-F5-4D-1E"
(12)   EAP-Message = 0x020b002e19001703030023ebaeed68d0719767b2dcfa8289533dd316b36f354a3638797939d0c8fbc695a6b20bf6
(12)   Message-Authenticator = 0xf698daeecdbfd9523a00fb6d705813b8
(12)   NAS-Identifier = "cap01.wlan.chaos1.de"
(12)   NAS-IP-Address = 172.16.63.11
(12) Restoring &session-state
(12)   &session-state:TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(12)   &session-state:TLS-Session-Version = "TLS 1.2"
(12) # Executing section authorize from file /etc/raddb/sites-enabled/default
(12)   authorize {
(12)     policy filter_username {
(12)       if (&User-Name) {
(12)       if (&User-Name)  -> TRUE
(12)       if (&User-Name)  {
(12)         if (&User-Name =~ / /) {
(12)         if (&User-Name =~ / /)  -> FALSE
(12)         if (&User-Name =~ /@[^@]*@/ ) {
(12)         if (&User-Name =~ /@[^@]*@/ )  -> FALSE
(12)         if (&User-Name =~ /\.\./ ) {
(12)         if (&User-Name =~ /\.\./ )  -> FALSE
(12)         if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))  {
(12)         if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))   -> FALSE
(12)         if (&User-Name =~ /\.$/)  {
(12)         if (&User-Name =~ /\.$/)   -> FALSE
(12)         if (&User-Name =~ /@\./)  {
(12)         if (&User-Name =~ /@\./)   -> FALSE
(12)       } # if (&User-Name)  = notfound
(12)     } # policy filter_username = notfound
(12)     [preprocess] = ok
(12)     [chap] = noop
(12)     [mschap] = noop
(12)     [digest] = noop
(12) suffix: Checking for suffix after "@"
(12) suffix: No '@' in User-Name = "ajr_at_macbook", looking up realm NULL
(12) suffix: No such realm "NULL"
(12)     [suffix] = noop
(12) eap: Peer sent EAP Response (code 2) ID 11 length 46
(12) eap: Continuing tunnel setup
(12)     [eap] = ok
(12)   } # authorize = ok
(12) Found Auth-Type = eap
(12) # Executing group from file /etc/raddb/sites-enabled/default
(12)   authenticate {
(12) eap: Expiring EAP session with state 0x5ccd2a9156c6335e
(12) eap: Finished EAP session with state 0x5ccd2a9156c6335e
(12) eap: Previous EAP request found for state 0x5ccd2a9156c6335e, released from the list
(12) eap: Peer sent packet with method EAP PEAP (25)
(12) eap: Calling submodule eap_peap to process data
(12) eap_peap: Continuing EAP-TLS
(12) eap_peap: [eaptls verify] = ok
(12) eap_peap: Done initial handshake
(12) eap_peap: [eaptls process] = ok
(12) eap_peap: Session established.  Decoding tunneled attributes
(12) eap_peap: PEAP state send tlv success
(12) eap_peap: Received EAP-TLV response
(12) eap_peap: Success
(12) eap_peap: Using saved attributes from the original Access-Accept
(12) eap_peap:   Tunnel-Type = VLAN
(12) eap_peap:   Tunnel-Medium-Type = IEEE-802
(12) eap_peap:   Mikrotik-Wireless-VLANID = 13
(12) eap_peap:   Mikrotik-Wireless-VLANID-Type = 0
(12) eap_peap:   Mikrotik-Wireless-Comment = "Axel Rau @ MacBook"
(12) eap_peap:   User-Name = "ajr_at_macbook"
(12) eap: Sending EAP Success (code 3) ID 11 length 4
(12) eap: Freeing handler
(12)     [eap] = ok
(12)   } # authenticate = ok
(12) # Executing section post-auth from file /etc/raddb/sites-enabled/default
(12)   post-auth {
(12)     if (session-state:User-Name && reply:User-Name && request:User-Name && (reply:User-Name == request:User-Name)) {
(12)     if (session-state:User-Name && reply:User-Name && request:User-Name && (reply:User-Name == request:User-Name))  -> FALSE
(12)     update {
(12)       &reply::TLS-Session-Cipher-Suite += &session-state:TLS-Session-Cipher-Suite[*] -> 'ECDHE-RSA-AES256-GCM-SHA384'
(12)       &reply::TLS-Session-Version += &session-state:TLS-Session-Version[*] -> 'TLS 1.2'
(12)     } # update = noop
(12)     [exec] = noop
(12)     policy remove_reply_message_if_eap {
(12)       if (&reply:EAP-Message && &reply:Reply-Message) {
(12)       if (&reply:EAP-Message && &reply:Reply-Message)  -> FALSE
(12)       else {
(12)         [noop] = noop
(12)       } # else = noop
(12)     } # policy remove_reply_message_if_eap = noop
(12)   } # post-auth = noop
(12) Sent Access-Accept Id 174 from 172.16.63.9:1812 to 172.16.63.11:43616 length 0
(12)   Tunnel-Type = VLAN
(12)   Tunnel-Medium-Type = IEEE-802
(12)   Mikrotik-Wireless-VLANID = 13
(12)   Mikrotik-Wireless-VLANID-Type = 0
(12)   Mikrotik-Wireless-Comment = "Axel Rau @ MacBook"
(12)   User-Name = "ajr_at_macbook"
(12)   MS-MPPE-Recv-Key = 0xf6831ed3156b2faeac7d3335b228b44f75487a7a0698e8cce62be1540919de55
(12)   MS-MPPE-Send-Key = 0x444f74272814bacbdffe942a8300b1ab673db545865680a45b08560c74704edf
(12)   EAP-Message = 0x030b0004
(12)   Message-Authenticator = 0x00000000000000000000000000000000
(12) Finished request
Waking up in 4.6 seconds.
(0) Cleaning up request packet ID 162 with timestamp +80
(1) Cleaning up request packet ID 163 with timestamp +80
(2) Cleaning up request packet ID 164 with timestamp +80
(3) Cleaning up request packet ID 165 with timestamp +80
(4) Cleaning up request packet ID 166 with timestamp +80
(5) Cleaning up request packet ID 167 with timestamp +80
(6) Cleaning up request packet ID 168 with timestamp +80
(7) Cleaning up request packet ID 169 with timestamp +80
(8) Cleaning up request packet ID 170 with timestamp +80
(9) Cleaning up request packet ID 171 with timestamp +80
(10) Cleaning up request packet ID 172 with timestamp +80
(11) Cleaning up request packet ID 173 with timestamp +80
(12) Cleaning up request packet ID 174 with timestamp +80
Ready to process requests


---
PGP-Key: CDE74120  ☀  computing @ chaos claudius

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20201129/d8625404/attachment-0001.sig>


More information about the Freeradius-Users mailing list