question about google workspace with multiple domains

Wessel Louwris wessel at stutit.nl
Mon Mar 20 19:03:10 UTC 2023


Hello,

I hope we can get some advice regarding a google workspace environment with a lot (30+) of domain names in it (units/companies in our network each using their own domain name). 
We have a working test setup with a few domains, but I’m wondering if my configuration is right.
It’s a freeradius 3.2 environment based on the google sample files (mods-available/ldap_google + sites-available/google-ldap-auth) with the adviced cache settings etc. 
We are deploying the TTLS+PAP profiles + CA cert via our mdm platform and it all works with the different google email addresses as username, second lookup is cached etc so thats all very nice. 

For this setup we created a copy of the ldap_google module for each domain, because we need different base_dn’s. (that’s what I found when testing ldapsearch command’s, and I found a few guides setting up freeradius like this)
And then some logic in the default site + inner tunnel to use these specific ldap auth types based on Stripped-User-Domain

But now for each domain freeradius will create a connection pool with some binds to google (start pool=5).	
So my question is: will we run into issues for creating 5 * 30 connections to google in freeradius?

Maybe we are doing it all wrong and there's a much smarter configuration possible?
I included the debug log below (with a domain1.nl <http://domain1.nl/>, domain2.com <http://domain2.com/> after some replacements).

Slightly unrelated question: we now deploy the CA certificate via our mdm, as per the documentation as far as I understood, but the user still needs to approve the server certificate (which makes sense)
Is it safe to deploy the server certificate also to make it easier for our users, or is this a very bad idea.

thanks, Wessel


FreeRADIUS Version 3.2.2
Copyright (C) 1999-2022 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/share/freeradius/dictionary
including dictionary file /usr/share/freeradius/dictionary.dhcp
including dictionary file /usr/share/freeradius/dictionary.vqp
including dictionary file /etc/freeradius/dictionary
including configuration file /etc/freeradius/radiusd.conf
including configuration file /etc/freeradius/proxy.conf
including configuration file /etc/freeradius/clients.conf
including files in directory /etc/freeradius/mods-enabled/
including configuration file /etc/freeradius/mods-enabled/totp
including configuration file /etc/freeradius/mods-enabled/utf8
including configuration file /etc/freeradius/mods-enabled/expiration
including configuration file /etc/freeradius/mods-enabled/digest
including configuration file /etc/freeradius/mods-enabled/always
including configuration file /etc/freeradius/mods-enabled/cache_auth
including configuration file /etc/freeradius/mods-enabled/passwd
including configuration file /etc/freeradius/mods-enabled/realm
including configuration file /etc/freeradius/mods-enabled/linelog
including configuration file /etc/freeradius/mods-enabled/ntlm_auth
including configuration file /etc/freeradius/mods-enabled/replicate
including configuration file /etc/freeradius/mods-enabled/logintime
including configuration file /etc/freeradius/mods-enabled/sradutmp
including configuration file /etc/freeradius/mods-enabled/pap
including configuration file /etc/freeradius/mods-enabled/date
including configuration file /etc/freeradius/mods-enabled/eap
including configuration file /etc/freeradius/mods-enabled/domain2.com
including configuration file /etc/freeradius/mods-enabled/mschap
including configuration file /etc/freeradius/mods-enabled/detail
including configuration file /etc/freeradius/mods-enabled/soh
including configuration file /etc/freeradius/mods-enabled/chap
including configuration file /etc/freeradius/mods-enabled/files
including configuration file /etc/freeradius/mods-enabled/detail.log
including configuration file /etc/freeradius/mods-enabled/exec
including configuration file /etc/freeradius/mods-enabled/unpack
including configuration file /etc/freeradius/mods-enabled/dynamic_clients
including configuration file /etc/freeradius/mods-enabled/preprocess
including configuration file /etc/freeradius/mods-enabled/domain1.nl
including configuration file /etc/freeradius/mods-enabled/radutmp
including configuration file /etc/freeradius/mods-enabled/expr
including configuration file /etc/freeradius/mods-enabled/echo
including configuration file /etc/freeradius/mods-enabled/attr_filter
including configuration file /etc/freeradius/mods-enabled/unix
including files in directory /etc/freeradius/policy.d/
including configuration file /etc/freeradius/policy.d/abfab-tr
including configuration file /etc/freeradius/policy.d/operator-name
including configuration file /etc/freeradius/policy.d/canonicalization
including configuration file /etc/freeradius/policy.d/moonshot-targeted-ids
including configuration file /etc/freeradius/policy.d/debug
including configuration file /etc/freeradius/policy.d/eap
including configuration file /etc/freeradius/policy.d/accounting
including configuration file /etc/freeradius/policy.d/control
including configuration file /etc/freeradius/policy.d/cui
including configuration file /etc/freeradius/policy.d/rfc7542
including configuration file /etc/freeradius/policy.d/dhcp
including configuration file /etc/freeradius/policy.d/filter
including files in directory /etc/freeradius/sites-enabled/
including configuration file /etc/freeradius/sites-enabled/default
including configuration file /etc/freeradius/sites-enabled/google-ldap-auth
main {
 security {
 	user = "freerad"
 	group = "freerad"
 	allow_core_dumps = no
 }
	name = "freeradius"
	prefix = "/usr"
	localstatedir = "/var"
	logdir = "/var/log/freeradius"
	run_dir = "/var/run/freeradius"
}
main {
	name = "freeradius"
	prefix = "/usr"
	localstatedir = "/var"
	sbindir = "/usr/sbin"
	logdir = "/var/log/freeradius"
	run_dir = "/var/run/freeradius"
	libdir = "/usr/lib/freeradius"
	radacctdir = "/var/log/freeradius/radacct"
	hostname_lookups = no
	max_request_time = 30
	cleanup_delay = 5
	max_requests = 16384
	postauth_client_lost = no
	pidfile = "/var/run/freeradius/freeradius.pid"
	checkrad = "/usr/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
 }
}
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 {
 	nonblock = no
 	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
  }
  recv_coa {
  }
 }
 home_server_pool my_auth_failover {
	type = fail-over
	home_server = localhost
 }
 realm example.com {
	auth_pool = my_auth_failover
 }
 realm LOCAL {
 }
 realm domain2.com {
 }
radiusd: #### Loading Clients ####
 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
  }
 }
 client vpn {
 	ipaddr = 172.16.34.0/24
 	require_message_authenticator = no
 	secret = <<< secret >>>
  limit {
  	max_connections = 16
  	lifetime = 0
  	idle_timeout = 30
  }
 }
 client heli {
 	ipaddr = 172.16.210.0/24
 	require_message_authenticator = no
 	secret = <<< secret >>>
  limit {
  	max_connections = 16
  	lifetime = 0
  	idle_timeout = 30
  }
 }
Debugger not attached
systemd watchdog is disabled
 # 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
 # Creating Auth-Type = domain2.com
 # Creating Auth-Type = domain1.nl
 # Creating Autz-Type = New-TLS-Connection
radiusd: #### Instantiating modules ####
 modules {
  # Loaded module rlm_totp
  # Loading module "totp" from file /etc/freeradius/mods-enabled/totp
  # Loaded module rlm_utf8
  # Loading module "utf8" from file /etc/freeradius/mods-enabled/utf8
  # Loaded module rlm_expiration
  # Loading module "expiration" from file /etc/freeradius/mods-enabled/expiration
  # Loaded module rlm_digest
  # Loading module "digest" from file /etc/freeradius/mods-enabled/digest
  # Loaded module rlm_always
  # Loading module "reject" from file /etc/freeradius/mods-enabled/always
  always reject {
  	rcode = "reject"
  	simulcount = 0
  	mpp = no
  }
  # Loading module "fail" from file /etc/freeradius/mods-enabled/always
  always fail {
  	rcode = "fail"
  	simulcount = 0
  	mpp = no
  }
  # Loading module "ok" from file /etc/freeradius/mods-enabled/always
  always ok {
  	rcode = "ok"
  	simulcount = 0
  	mpp = no
  }
  # Loading module "handled" from file /etc/freeradius/mods-enabled/always
  always handled {
  	rcode = "handled"
  	simulcount = 0
  	mpp = no
  }
  # Loading module "invalid" from file /etc/freeradius/mods-enabled/always
  always invalid {
  	rcode = "invalid"
  	simulcount = 0
  	mpp = no
  }
  # Loading module "userlock" from file /etc/freeradius/mods-enabled/always
  always userlock {
  	rcode = "userlock"
  	simulcount = 0
  	mpp = no
  }
  # Loading module "notfound" from file /etc/freeradius/mods-enabled/always
  always notfound {
  	rcode = "notfound"
  	simulcount = 0
  	mpp = no
  }
  # Loading module "noop" from file /etc/freeradius/mods-enabled/always
  always noop {
  	rcode = "noop"
  	simulcount = 0
  	mpp = no
  }
  # Loading module "updated" from file /etc/freeradius/mods-enabled/always
  always updated {
  	rcode = "updated"
  	simulcount = 0
  	mpp = no
  }
  # Loaded module rlm_cache
  # Loading module "cache_auth_accept" from file /etc/freeradius/mods-enabled/cache_auth
  cache cache_auth_accept {
  	driver = "rlm_cache_rbtree"
  	key = "%{md5:%{%{Stripped-User-Name}:-%{User-Name}}%{User-Password}}"
  	ttl = 7200
  	max_entries = 0
  	epoch = 0
  	add_stats = no
  }
  # Loading module "cache_auth_reject" from file /etc/freeradius/mods-enabled/cache_auth
  cache cache_auth_reject {
  	driver = "rlm_cache_rbtree"
  	key = "%{md5:%{Calling-Station-Id}%{Stripped-User-Name}%{User-Password}}"
  	ttl = 3600
  	max_entries = 0
  	epoch = 0
  	add_stats = no
  }
  # Loading module "cache_ldap_user_dn" from file /etc/freeradius/mods-enabled/cache_auth
  cache cache_ldap_user_dn {
  	driver = "rlm_cache_rbtree"
  	key = "%{Stripped-User-Name}"
  	ttl = 86400
  	max_entries = 0
  	epoch = 0
  	add_stats = no
  }
  # Loaded module rlm_passwd
  # Loading module "etc_passwd" from file /etc/freeradius/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_realm
  # Loading module "IPASS" from file /etc/freeradius/mods-enabled/realm
  realm IPASS {
  	format = "prefix"
  	delimiter = "/"
  	ignore_default = no
  	ignore_null = no
  }
  # Loading module "suffix" from file /etc/freeradius/mods-enabled/realm
  realm suffix {
  	format = "suffix"
  	delimiter = "@"
  	ignore_default = no
  	ignore_null = no
  }
  # Loading module "bangpath" from file /etc/freeradius/mods-enabled/realm
  realm bangpath {
  	format = "prefix"
  	delimiter = "!"
  	ignore_default = no
  	ignore_null = no
  }
  # Loading module "realmpercent" from file /etc/freeradius/mods-enabled/realm
  realm realmpercent {
  	format = "suffix"
  	delimiter = "%"
  	ignore_default = no
  	ignore_null = no
  }
  # Loading module "ntdomain" from file /etc/freeradius/mods-enabled/realm
  realm ntdomain {
  	format = "prefix"
  	delimiter = "\\"
  	ignore_default = no
  	ignore_null = no
  }
  # Loaded module rlm_linelog
  # Loading module "linelog" from file /etc/freeradius/mods-enabled/linelog
  linelog {
  	filename = "/var/log/freeradius/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/freeradius/mods-enabled/linelog
  linelog log_accounting {
  	filename = "/var/log/freeradius/linelog-accounting"
  	escape_filenames = no
  	syslog_severity = "info"
  	permissions = 384
  	format = ""
  	reference = "Accounting-Request.%{%{Acct-Status-Type}:-unknown}"
  }
  # Loaded module rlm_exec
  # Loading module "ntlm_auth" from file /etc/freeradius/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_replicate
  # Loading module "replicate" from file /etc/freeradius/mods-enabled/replicate
  # Loaded module rlm_logintime
  # Loading module "logintime" from file /etc/freeradius/mods-enabled/logintime
  logintime {
  	minimum_timeout = 60
  }
  # Loaded module rlm_radutmp
  # Loading module "sradutmp" from file /etc/freeradius/mods-enabled/sradutmp
  radutmp sradutmp {
  	filename = "/var/log/freeradius/sradutmp"
  	username = "%{User-Name}"
  	case_sensitive = yes
  	check_with_nas = yes
  	permissions = 420
  	caller_id = no
  }
  # Loaded module rlm_pap
  # Loading module "pap" from file /etc/freeradius/mods-enabled/pap
  pap {
  	normalise = yes
  }
  # Loaded module rlm_date
  # Loading module "date" from file /etc/freeradius/mods-enabled/date
  date {
  	format = "%b %e %Y %H:%M:%S %Z"
  	utc = no
  }
  # Loading module "wispr2date" from file /etc/freeradius/mods-enabled/date
  date wispr2date {
  	format = "%Y-%m-%dT%H:%M:%S"
  	utc = no
  }
  # Loaded module rlm_eap
  # Loading module "eap" from file /etc/freeradius/mods-enabled/eap
  eap {
  	default_eap_type = "ttls"
  	timer_expire = 60
  	ignore_unknown_eap_types = no
  	cisco_accounting_username_bug = no
  	max_sessions = 16384
  }
  # Loaded module rlm_ldap
  # Loading module "domain2.com" from file /etc/freeradius/mods-enabled/domain2.com
  ldap domain2.com {
  	server = "ldaps://ldap.google.com:636/"
  	identity = "EnchantedC"
  	password = <<< secret >>>
   sasl {
   }
  	user_dn = "LDAP-UserDn"
   user {
   	scope = "sub"
   	access_positive = yes
    sasl {
    }
   }
   group {
   	filter = "(objectClass=posixGroup)"
   	scope = "sub"
   	name_attribute = "cn"
   	membership_attribute = "memberOf"
   	cacheable_name = no
   	cacheable_dn = no
   	allow_dangling_group_ref = no
   }
   client {
   	scope = "sub"
   	base_dn = ""
   }
   profile {
   }
   options {
   	ldap_debug = 0
   	chase_referrals = no
   	net_timeout = 3
   	res_timeout = 10
   	srv_timelimit = 3
   	idle = 60
   	probes = 3
   	interval = 3
   }
   tls {
   	certificate_file = "/etc/freeradius/certs/ldap-client.crt"
   	private_key_file = "/etc/freeradius/certs/ldap-client.key"
   	start_tls = no
   	require_cert = "allow"
   }
  }
Creating attribute domain2.com-LDAP-Group
  # Loaded module rlm_mschap
  # Loading module "mschap" from file /etc/freeradius/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
  }
  # Loaded module rlm_detail
  # Loading module "detail" from file /etc/freeradius/mods-enabled/detail
  detail {
  	filename = "/var/log/freeradius/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
  }
  # Loaded module rlm_soh
  # Loading module "soh" from file /etc/freeradius/mods-enabled/soh
  soh {
  	dhcp = yes
  }
  # Loaded module rlm_chap
  # Loading module "chap" from file /etc/freeradius/mods-enabled/chap
  # Loaded module rlm_files
  # Loading module "files" from file /etc/freeradius/mods-enabled/files
  files {
  	filename = "/etc/freeradius/mods-config/files/authorize"
  	acctusersfile = "/etc/freeradius/mods-config/files/accounting"
  	preproxy_usersfile = "/etc/freeradius/mods-config/files/pre-proxy"
  }
  # Loading module "auth_log" from file /etc/freeradius/mods-enabled/detail.log
  detail auth_log {
  	filename = "/var/log/freeradius/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/freeradius/mods-enabled/detail.log
  detail reply_log {
  	filename = "/var/log/freeradius/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/freeradius/mods-enabled/detail.log
  detail pre_proxy_log {
  	filename = "/var/log/freeradius/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/freeradius/mods-enabled/detail.log
  detail post_proxy_log {
  	filename = "/var/log/freeradius/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
  }
  # Loading module "exec" from file /etc/freeradius/mods-enabled/exec
  exec {
  	wait = no
  	input_pairs = "request"
  	shell_escape = yes
  	timeout = 10
  }
  # Loaded module rlm_unpack
  # Loading module "unpack" from file /etc/freeradius/mods-enabled/unpack
  # Loaded module rlm_dynamic_clients
  # Loading module "dynamic_clients" from file /etc/freeradius/mods-enabled/dynamic_clients
  # Loaded module rlm_preprocess
  # Loading module "preprocess" from file /etc/freeradius/mods-enabled/preprocess
  preprocess {
  	huntgroups = "/etc/freeradius/mods-config/preprocess/huntgroups"
  	hints = "/etc/freeradius/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
  }
  # Loading module "domain1.nl" from file /etc/freeradius/mods-enabled/domain1.nl
  ldap domain1.nl {
  	server = "ldaps://ldap.google.com:636/"
  	identity = "EnchantedC"
  	password = <<< secret >>>
   sasl {
   }
  	user_dn = "LDAP-UserDn"
   user {
   	scope = "sub"
   	access_positive = yes
    sasl {
    }
   }
   group {
   	filter = "(objectClass=posixGroup)"
   	scope = "sub"
   	name_attribute = "cn"
   	membership_attribute = "memberOf"
   	cacheable_name = no
   	cacheable_dn = no
   	allow_dangling_group_ref = no
   }
   client {
   	scope = "sub"
   	base_dn = ""
   }
   profile {
   }
   options {
   	ldap_debug = 0
   	chase_referrals = no
   	net_timeout = 3
   	res_timeout = 10
   	srv_timelimit = 3
   	idle = 60
   	probes = 3
   	interval = 3
   }
   tls {
   	certificate_file = "/etc/freeradius/certs/ldap-client.crt"
   	private_key_file = "/etc/freeradius/certs/ldap-client.key"
   	start_tls = no
   	require_cert = "allow"
   }
  }
Creating attribute domain1.nl-LDAP-Group
  # Loading module "radutmp" from file /etc/freeradius/mods-enabled/radutmp
  radutmp {
  	filename = "/var/log/freeradius/radutmp"
  	username = "%{User-Name}"
  	case_sensitive = yes
  	check_with_nas = yes
  	permissions = 384
  	caller_id = yes
  }
  # Loaded module rlm_expr
  # Loading module "expr" from file /etc/freeradius/mods-enabled/expr
  expr {
  	safe_characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /äéöüàâæçèéêëîïôœùûüaÿÄÉÖÜßÀÂÆÇÈÉÊËÎÏÔŒÙÛÜŸ"
  }
  # Loading module "echo" from file /etc/freeradius/mods-enabled/echo
  exec echo {
  	wait = yes
  	program = "/bin/echo %{User-Name}"
  	input_pairs = "request"
  	output_pairs = "reply"
  	shell_escape = yes
  }
  # Loaded module rlm_attr_filter
  # Loading module "attr_filter.post-proxy" from file /etc/freeradius/mods-enabled/attr_filter
  attr_filter attr_filter.post-proxy {
  	filename = "/etc/freeradius/mods-config/attr_filter/post-proxy"
  	key = "%{Realm}"
  	relaxed = no
  }
  # Loading module "attr_filter.pre-proxy" from file /etc/freeradius/mods-enabled/attr_filter
  attr_filter attr_filter.pre-proxy {
  	filename = "/etc/freeradius/mods-config/attr_filter/pre-proxy"
  	key = "%{Realm}"
  	relaxed = no
  }
  # Loading module "attr_filter.access_reject" from file /etc/freeradius/mods-enabled/attr_filter
  attr_filter attr_filter.access_reject {
  	filename = "/etc/freeradius/mods-config/attr_filter/access_reject"
  	key = "%{User-Name}"
  	relaxed = no
  }
  # Loading module "attr_filter.access_challenge" from file /etc/freeradius/mods-enabled/attr_filter
  attr_filter attr_filter.access_challenge {
  	filename = "/etc/freeradius/mods-config/attr_filter/access_challenge"
  	key = "%{User-Name}"
  	relaxed = no
  }
  # Loading module "attr_filter.accounting_response" from file /etc/freeradius/mods-enabled/attr_filter
  attr_filter attr_filter.accounting_response {
  	filename = "/etc/freeradius/mods-config/attr_filter/accounting_response"
  	key = "%{User-Name}"
  	relaxed = no
  }
  # Loading module "attr_filter.coa" from file /etc/freeradius/mods-enabled/attr_filter
  attr_filter attr_filter.coa {
  	filename = "/etc/freeradius/mods-config/attr_filter/coa"
  	key = "%{User-Name}"
  	relaxed = no
  }
  # Loaded module rlm_unix
  # Loading module "unix" from file /etc/freeradius/mods-enabled/unix
  unix {
  	radwtmp = "/var/log/freeradius/radwtmp"
  }
Creating attribute Unix-Group
  instantiate {
  }
  # Instantiating module "expiration" from file /etc/freeradius/mods-enabled/expiration
  # Instantiating module "reject" from file /etc/freeradius/mods-enabled/always
  # Instantiating module "fail" from file /etc/freeradius/mods-enabled/always
  # Instantiating module "ok" from file /etc/freeradius/mods-enabled/always
  # Instantiating module "handled" from file /etc/freeradius/mods-enabled/always
  # Instantiating module "invalid" from file /etc/freeradius/mods-enabled/always
  # Instantiating module "userlock" from file /etc/freeradius/mods-enabled/always
  # Instantiating module "notfound" from file /etc/freeradius/mods-enabled/always
  # Instantiating module "noop" from file /etc/freeradius/mods-enabled/always
  # Instantiating module "updated" from file /etc/freeradius/mods-enabled/always
  # Instantiating module "cache_auth_accept" from file /etc/freeradius/mods-enabled/cache_auth
rlm_cache (cache_auth_accept): Driver rlm_cache_rbtree (module rlm_cache_rbtree) loaded and linked
  # Instantiating module "cache_auth_reject" from file /etc/freeradius/mods-enabled/cache_auth
rlm_cache (cache_auth_reject): Driver rlm_cache_rbtree (module rlm_cache_rbtree) loaded and linked
  # Instantiating module "cache_ldap_user_dn" from file /etc/freeradius/mods-enabled/cache_auth
rlm_cache (cache_ldap_user_dn): Driver rlm_cache_rbtree (module rlm_cache_rbtree) loaded and linked
  # Instantiating module "etc_passwd" from file /etc/freeradius/mods-enabled/passwd
rlm_passwd: nfields: 3 keyfield 0(User-Name) listable: no
  # Instantiating module "IPASS" from file /etc/freeradius/mods-enabled/realm
  # Instantiating module "suffix" from file /etc/freeradius/mods-enabled/realm
  # Instantiating module "bangpath" from file /etc/freeradius/mods-enabled/realm
  # Instantiating module "realmpercent" from file /etc/freeradius/mods-enabled/realm
  # Instantiating module "ntdomain" from file /etc/freeradius/mods-enabled/realm
  # Instantiating module "linelog" from file /etc/freeradius/mods-enabled/linelog
  # Instantiating module "log_accounting" from file /etc/freeradius/mods-enabled/linelog
  # Instantiating module "logintime" from file /etc/freeradius/mods-enabled/logintime
  # Instantiating module "pap" from file /etc/freeradius/mods-enabled/pap
  # Instantiating module "eap" from file /etc/freeradius/mods-enabled/eap
   # Linked to sub-module rlm_eap_md5
   # 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/freeradius/certs"
   	pem_file_type = yes
   	private_key_file = "/etc/freeradius/certs/server.pem"
   	certificate_file = "/etc/freeradius/certs/server.pem"
   	ca_file = "/etc/freeradius/certs/ca.pem"
   	private_key_password = <<< secret >>>
   	fragment_size = 1024
   	include_length = yes
   	auto_chain = yes
   	check_crl = no
   	check_all_crl = no
   	ca_path_reload_interval = 0
   	cipher_list = "DEFAULT"
   	cipher_server_preference = no
   	reject_unknown_intermediate_ca = no
   	ecdh_curve = ""
   	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 = "gtc"
   	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 = no
   	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 "domain2.com" from file /etc/freeradius/mods-enabled/domain2.com
rlm_ldap: libldap vendor: OpenLDAP, version: 20513
rlm_ldap (domain2.com): Couldn't find configuration for accounting, will return NOOP for calls from this section
rlm_ldap (domain2.com): Couldn't find configuration for post-auth, will return NOOP for calls from this section
rlm_ldap (domain2.com): Initialising connection pool
   pool {
   	start = 5
   	min = 3
   	max = 32
   	spare = 10
   	uses = 0
   	lifetime = 0
   	cleanup_interval = 30
   	idle_timeout = 60
   	retry_delay = 30
   	spread = no
   }
rlm_ldap (domain2.com): Opening additional connection (0), 1 of 32 pending slots used
rlm_ldap (domain2.com): Connecting to ldaps://ldap.google.com:636
rlm_ldap (domain2.com): Waiting for bind result...
rlm_ldap (domain2.com): Bind successful
rlm_ldap (domain2.com): Opening additional connection (1), 1 of 31 pending slots used
rlm_ldap (domain2.com): Connecting to ldaps://ldap.google.com:636
rlm_ldap (domain2.com): Waiting for bind result...
rlm_ldap (domain2.com): Bind successful
rlm_ldap (domain2.com): Opening additional connection (2), 1 of 30 pending slots used
rlm_ldap (domain2.com): Connecting to ldaps://ldap.google.com:636
rlm_ldap (domain2.com): Waiting for bind result...
rlm_ldap (domain2.com): Bind successful
rlm_ldap (domain2.com): Opening additional connection (3), 1 of 29 pending slots used
rlm_ldap (domain2.com): Connecting to ldaps://ldap.google.com:636
rlm_ldap (domain2.com): Waiting for bind result...
rlm_ldap (domain2.com): Bind successful
rlm_ldap (domain2.com): Opening additional connection (4), 1 of 28 pending slots used
rlm_ldap (domain2.com): Connecting to ldaps://ldap.google.com:636
rlm_ldap (domain2.com): Waiting for bind result...
rlm_ldap (domain2.com): Bind successful
  # Instantiating module "mschap" from file /etc/freeradius/mods-enabled/mschap
rlm_mschap (mschap): using internal authentication
  # Instantiating module "detail" from file /etc/freeradius/mods-enabled/detail
  # Instantiating module "files" from file /etc/freeradius/mods-enabled/files
reading pairlist file /etc/freeradius/mods-config/files/authorize
reading pairlist file /etc/freeradius/mods-config/files/accounting
reading pairlist file /etc/freeradius/mods-config/files/pre-proxy
  # Instantiating module "auth_log" from file /etc/freeradius/mods-enabled/detail.log
rlm_detail (auth_log): 'User-Password' suppressed, will not appear in detail output
  # Instantiating module "reply_log" from file /etc/freeradius/mods-enabled/detail.log
  # Instantiating module "pre_proxy_log" from file /etc/freeradius/mods-enabled/detail.log
  # Instantiating module "post_proxy_log" from file /etc/freeradius/mods-enabled/detail.log
  # Instantiating module "preprocess" from file /etc/freeradius/mods-enabled/preprocess
reading pairlist file /etc/freeradius/mods-config/preprocess/huntgroups
reading pairlist file /etc/freeradius/mods-config/preprocess/hints
  # Instantiating module "domain1.nl" from file /etc/freeradius/mods-enabled/domain1.nl
rlm_ldap (domain1.nl): Couldn't find configuration for accounting, will return NOOP for calls from this section
rlm_ldap (domain1.nl): Couldn't find configuration for post-auth, will return NOOP for calls from this section
rlm_ldap (domain1.nl): Initialising connection pool
   pool {
   	start = 5
   	min = 3
   	max = 32
   	spare = 10
   	uses = 0
   	lifetime = 0
   	cleanup_interval = 30
   	idle_timeout = 60
   	retry_delay = 30
   	spread = no
   }
rlm_ldap (domain1.nl): Opening additional connection (0), 1 of 32 pending slots used
rlm_ldap (domain1.nl): Connecting to ldaps://ldap.google.com:636
rlm_ldap (domain1.nl): Waiting for bind result...
rlm_ldap (domain1.nl): Bind successful
rlm_ldap (domain1.nl): Opening additional connection (1), 1 of 31 pending slots used
rlm_ldap (domain1.nl): Connecting to ldaps://ldap.google.com:636
rlm_ldap (domain1.nl): Waiting for bind result...
rlm_ldap (domain1.nl): Bind successful
rlm_ldap (domain1.nl): Opening additional connection (2), 1 of 30 pending slots used
rlm_ldap (domain1.nl): Connecting to ldaps://ldap.google.com:636
rlm_ldap (domain1.nl): Waiting for bind result...
rlm_ldap (domain1.nl): Bind successful
rlm_ldap (domain1.nl): Opening additional connection (3), 1 of 29 pending slots used
rlm_ldap (domain1.nl): Connecting to ldaps://ldap.google.com:636
rlm_ldap (domain1.nl): Waiting for bind result...
rlm_ldap (domain1.nl): Bind successful
rlm_ldap (domain1.nl): Opening additional connection (4), 1 of 28 pending slots used
rlm_ldap (domain1.nl): Connecting to ldaps://ldap.google.com:636
rlm_ldap (domain1.nl): Waiting for bind result...
rlm_ldap (domain1.nl): Bind successful
  # Instantiating module "attr_filter.post-proxy" from file /etc/freeradius/mods-enabled/attr_filter
reading pairlist file /etc/freeradius/mods-config/attr_filter/post-proxy
  # Instantiating module "attr_filter.pre-proxy" from file /etc/freeradius/mods-enabled/attr_filter
reading pairlist file /etc/freeradius/mods-config/attr_filter/pre-proxy
  # Instantiating module "attr_filter.access_reject" from file /etc/freeradius/mods-enabled/attr_filter
reading pairlist file /etc/freeradius/mods-config/attr_filter/access_reject
  # Instantiating module "attr_filter.access_challenge" from file /etc/freeradius/mods-enabled/attr_filter
reading pairlist file /etc/freeradius/mods-config/attr_filter/access_challenge
  # Instantiating module "attr_filter.accounting_response" from file /etc/freeradius/mods-enabled/attr_filter
reading pairlist file /etc/freeradius/mods-config/attr_filter/accounting_response
  # Instantiating module "attr_filter.coa" from file /etc/freeradius/mods-enabled/attr_filter
reading pairlist file /etc/freeradius/mods-config/attr_filter/coa
 } # modules
radiusd: #### Loading Virtual Servers ####
server { # from file /etc/freeradius/radiusd.conf
} # server
server default { # from file /etc/freeradius/sites-enabled/default
 # Loading authenticate {...}
Compiling Auth-Type PAP for attr Auth-Type
Compiling Auth-Type CHAP for attr Auth-Type
Compiling Auth-Type MS-CHAP for attr Auth-Type
Compiling Auth-Type domain2.com for attr Auth-Type
Compiling Auth-Type domain1.nl for attr Auth-Type
 # Loading authorize {...}
Ignoring "sql" (see raddb/mods-available/README.rst)
Ignoring "ldap" (see raddb/mods-available/README.rst)
Compiling Autz-Type New-TLS-Connection for attr Autz-Type
 # Loading preacct {...}
 # Loading accounting {...}
 # Loading post-proxy {...}
 # Loading post-auth {...}
Compiling Post-Auth-Type REJECT for attr Post-Auth-Type
Compiling Post-Auth-Type Challenge for attr Post-Auth-Type
Compiling Post-Auth-Type Client-Lost for attr Post-Auth-Type
} # server default
server inner-tunnel { # from file /etc/freeradius/sites-enabled/google-ldap-auth
 # Loading authenticate {...}
Compiling Auth-Type domain2.com for attr Auth-Type
Compiling Auth-Type domain1.nl for attr Auth-Type
 # Loading authorize {...}
 # Loading post-auth {...}
Compiling Post-Auth-Type REJECT for attr Post-Auth-Type
} # 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 = 18123
}
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 18123 bound to server inner-tunnel
Listening on proxy address * port 54756
Listening on proxy address :: port 53532
Ready to process requests
(0) Received Access-Request Id 0 from 172.16.34.15:62720 to 172.16.30.16:1812 length 89
(0)   User-Name = "username1 at domain1.nl"
(0)   EAP-Message = 0x024d001a0162697477617264656e40656c656d656e74732e6e6c
(0)   Message-Authenticator = 0x924b31fbcdaf3368fb66154fdad66ddd
(0) # Executing section authorize from file /etc/freeradius/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: Looking up realm "domain1.nl" for User-Name = "username1 at domain1.nl"
(0) suffix: No such realm "domain1.nl"
(0)     [suffix] = noop
(0) eap: Peer sent EAP Response (code 2) ID 77 length 26
(0) eap: EAP-Identity reply, returning 'ok' so we can short-circuit the rest of authorize
(0)     [eap] = ok
(0)   } # authorize = ok
(0) Found Auth-Type = eap
(0) # Executing group from file /etc/freeradius/sites-enabled/default
(0)   authenticate {
(0) eap: Peer sent packet with method EAP Identity (1)
(0) eap: Calling submodule eap_ttls to process data
(0) eap_ttls: (TLS) Initiating new session
(0) eap: Sending EAP Request (code 1) ID 78 length 6
(0) eap: EAP session adding &reply:State = 0xc29460d5c2da7560
(0)     [eap] = handled
(0)   } # authenticate = handled
(0) Using Post-Auth-Type Challenge
(0) # Executing group from file /etc/freeradius/sites-enabled/default
(0)   Challenge { ... } # empty sub-section is ignored
(0) session-state: Saving cached attributes
(0)   Framed-MTU = 994
(0) Sent Access-Challenge Id 0 from 172.16.30.16:1812 to 172.16.34.15:62720 length 64
(0)   EAP-Message = 0x014e00061520
(0)   Message-Authenticator = 0x00000000000000000000000000000000
(0)   State = 0xc29460d5c2da7560815f75a5e2aa24d4
(0) Finished request
Waking up in 4.9 seconds.
(1) Received Access-Request Id 1 from 172.16.34.15:62720 to 172.16.30.16:1812 length 277
(1)   User-Name = "username1 at domain1.nl"
(1)   EAP-Message = 0x024e00c4150016030100b9010000b50303b28a30e920bf7d3cd03bbf9f7c06246044b881624778b27597f2c696fa9ba999000038c02cc030009fcca9cca8ccaac02bc02f009ec024c028006bc023c0270067c00ac0140039c009c0130033009d009c003d003c0035002f00ff01000054000b000403000102000a000c000a001d0017001e001900180016000000170000000d0030002e040305030603080708080809080a080b080408050806040105010601030302030301020103020202040205020602
(1)   State = 0xc29460d5c2da7560815f75a5e2aa24d4
(1)   Message-Authenticator = 0xc9a84bd82761e256c1c4dbf84cfb03e8
(1) Restoring &session-state
(1)   &session-state:Framed-MTU = 994
(1) # Executing section authorize from file /etc/freeradius/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: Looking up realm "domain1.nl" for User-Name = "username1 at domain1.nl"
(1) suffix: No such realm "domain1.nl"
(1)     [suffix] = noop
(1) eap: Peer sent EAP Response (code 2) ID 78 length 196
(1) eap: Continuing tunnel setup
(1)     [eap] = ok
(1)   } # authorize = ok
(1) Found Auth-Type = eap
(1) # Executing group from file /etc/freeradius/sites-enabled/default
(1)   authenticate {
(1) eap: Expiring EAP session with state 0xc29460d5c2da7560
(1) eap: Finished EAP session with state 0xc29460d5c2da7560
(1) eap: Previous EAP request found for state 0xc29460d5c2da7560, released from the list
(1) eap: Peer sent packet with method EAP TTLS (21)
(1) eap: Calling submodule eap_ttls to process data
(1) eap_ttls: Authenticate
(1) eap_ttls: (TLS) EAP Got final fragment (190 bytes)
(1) eap_ttls: WARNING: (TLS) EAP Total received record fragments (190 bytes), does not equal expected expected data length (0 bytes)
(1) eap_ttls: (TLS) EAP Done initial handshake
(1) eap_ttls: (TLS) Handshake state - before SSL initialization
(1) eap_ttls: (TLS) Handshake state - Server before SSL initialization
(1) eap_ttls: (TLS) Handshake state - Server before SSL initialization
(1) eap_ttls: (TLS) recv TLS 1.3 Handshake, ClientHello
(1) eap_ttls: (TLS) Handshake state - Server SSLv3/TLS read client hello
(1) eap_ttls: (TLS) send TLS 1.2 Handshake, ServerHello
(1) eap_ttls: (TLS) Handshake state - Server SSLv3/TLS write server hello
(1) eap_ttls: (TLS) send TLS 1.2 Handshake, Certificate
(1) eap_ttls: (TLS) Handshake state - Server SSLv3/TLS write certificate
(1) eap_ttls: (TLS) send TLS 1.2 Handshake, ServerKeyExchange
(1) eap_ttls: (TLS) Handshake state - Server SSLv3/TLS write key exchange
(1) eap_ttls: (TLS) send TLS 1.2 Handshake, ServerHelloDone
(1) eap_ttls: (TLS) Handshake state - Server SSLv3/TLS write server done
(1) eap_ttls: (TLS) Server : Need to read more data: SSLv3/TLS write server done
(1) eap_ttls: (TLS) In Handshake Phase
(1) eap: Sending EAP Request (code 1) ID 79 length 1004
(1) eap: EAP session adding &reply:State = 0xc29460d5c3db7560
(1)     [eap] = handled
(1)   } # authenticate = handled
(1) Using Post-Auth-Type Challenge
(1) # Executing group from file /etc/freeradius/sites-enabled/default
(1)   Challenge { ... } # empty sub-section is ignored
(1) session-state: Saving cached attributes
(1)   Framed-MTU = 994
(1)   TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(1)   TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(1)   TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(1)   TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(1)   TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(1) Sent Access-Challenge Id 1 from 172.16.30.16:1812 to 172.16.34.15:62720 length 1068
(1)   EAP-Message = 0x014f03ec15c000000adb160303003d020000390303e331f3b932f9f3bb775062d2f1c5f613b2b874d5a751d569c9d47bd952cbcf1200c030000011ff01000100000b00040300010200170000160303095a0b0009560009530004433082043f30820327a003020102020103300d06092a864886f70d01010b0500308197310b3009060355040613024e4c310b300906035504080c024e483112301006035504070c09416d7374657264616d31143012060355040a0c0b4d616b65727374726565743125302306092a864886f70d0109011616737570706f7274406d616b65727374726565742e6e6c312a302806035504030c214d616b657273747265657420436572746966696361746520417574686f72697479301e170d3233303232363232303334325a170d3333303232333232303334325a308180310b3009060355040613024e4c310b300906035504080c024e4831143012060355040a0c0b4d616b65727374726565743127302506035504030c1e4d616b6572
(1)   Message-Authenticator = 0x00000000000000000000000000000000
(1)   State = 0xc29460d5c3db7560815f75a5e2aa24d4
(1) Finished request
Waking up in 4.9 seconds.
(2) Received Access-Request Id 2 from 172.16.34.15:62720 to 172.16.30.16:1812 length 87
(2)   User-Name = "username1 at domain1.nl"
(2)   EAP-Message = 0x024f00061500
(2)   State = 0xc29460d5c3db7560815f75a5e2aa24d4
(2)   Message-Authenticator = 0x0bf05d1495d0e21733d2fac8185db98c
(2) Restoring &session-state
(2)   &session-state:Framed-MTU = 994
(2)   &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(2)   &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(2)   &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(2)   &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(2)   &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(2) # Executing section authorize from file /etc/freeradius/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: Looking up realm "domain1.nl" for User-Name = "username1 at domain1.nl"
(2) suffix: No such realm "domain1.nl"
(2)     [suffix] = noop
(2) eap: Peer sent EAP Response (code 2) ID 79 length 6
(2) eap: Continuing tunnel setup
(2)     [eap] = ok
(2)   } # authorize = ok
(2) Found Auth-Type = eap
(2) # Executing group from file /etc/freeradius/sites-enabled/default
(2)   authenticate {
(2) eap: Expiring EAP session with state 0xc29460d5c3db7560
(2) eap: Finished EAP session with state 0xc29460d5c3db7560
(2) eap: Previous EAP request found for state 0xc29460d5c3db7560, released from the list
(2) eap: Peer sent packet with method EAP TTLS (21)
(2) eap: Calling submodule eap_ttls to process data
(2) eap_ttls: Authenticate
(2) eap_ttls: (TLS) Peer ACKed our handshake fragment
(2) eap: Sending EAP Request (code 1) ID 80 length 1004
(2) eap: EAP session adding &reply:State = 0xc29460d5c0c47560
(2)     [eap] = handled
(2)   } # authenticate = handled
(2) Using Post-Auth-Type Challenge
(2) # Executing group from file /etc/freeradius/sites-enabled/default
(2)   Challenge { ... } # empty sub-section is ignored
(2) session-state: Saving cached attributes
(2)   Framed-MTU = 994
(2)   TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(2)   TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(2)   TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(2)   TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(2)   TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(2) Sent Access-Challenge Id 2 from 172.16.30.16:1812 to 172.16.34.15:62720 length 1068
(2)   EAP-Message = 0x015003ec15c000000adb0826f896e334d6f401b25e370421bfccb0871564fdf64310b1fb6f777ab295a604eb73e81d121e417cb4b59fb3118b04b35cbf8833e69dc349d2d854478749a8960382dd300e9cbcaefdbb347b8456443a0246300bbc3af40c55ffa061ede3703b01783841bedbaca6694741de4dfe03829b649d4f4b506d7d4c99d23d3de500720813e1178891eae939f6040b2b0aca50560a3fcbb7cde1dc40e954955ff72935df911233adb6aa6c5d44a02b280f1c5efe00050a30820506308203eea00302010202146dfa3f78fb56b61806297ce2ced5c7f09b2699d8300d06092a864886f70d01010b0500308197310b3009060355040613024e4c310b300906035504080c024e483112301006035504070c09416d7374657264616d31143012060355040a0c0b4d616b65727374726565743125302306092a864886f70d0109011616737570706f7274406d616b65727374726565742e6e6c312a302806035504030c214d616b65727374726565742043
(2)   Message-Authenticator = 0x00000000000000000000000000000000
(2)   State = 0xc29460d5c0c47560815f75a5e2aa24d4
(2) Finished request
Waking up in 4.9 seconds.
(3) Received Access-Request Id 3 from 172.16.34.15:62720 to 172.16.30.16:1812 length 87
(3)   User-Name = "username1 at domain1.nl"
(3)   EAP-Message = 0x025000061500
(3)   State = 0xc29460d5c0c47560815f75a5e2aa24d4
(3)   Message-Authenticator = 0x2994df92e73351a9a7ceaa99fff911de
(3) Restoring &session-state
(3)   &session-state:Framed-MTU = 994
(3)   &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(3)   &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(3)   &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(3)   &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(3)   &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(3) # Executing section authorize from file /etc/freeradius/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: Looking up realm "domain1.nl" for User-Name = "username1 at domain1.nl"
(3) suffix: No such realm "domain1.nl"
(3)     [suffix] = noop
(3) eap: Peer sent EAP Response (code 2) ID 80 length 6
(3) eap: Continuing tunnel setup
(3)     [eap] = ok
(3)   } # authorize = ok
(3) Found Auth-Type = eap
(3) # Executing group from file /etc/freeradius/sites-enabled/default
(3)   authenticate {
(3) eap: Expiring EAP session with state 0xc29460d5c0c47560
(3) eap: Finished EAP session with state 0xc29460d5c0c47560
(3) eap: Previous EAP request found for state 0xc29460d5c0c47560, released from the list
(3) eap: Peer sent packet with method EAP TTLS (21)
(3) eap: Calling submodule eap_ttls to process data
(3) eap_ttls: Authenticate
(3) eap_ttls: (TLS) Peer ACKed our handshake fragment
(3) eap: Sending EAP Request (code 1) ID 81 length 801
(3) eap: EAP session adding &reply:State = 0xc29460d5c1c57560
(3)     [eap] = handled
(3)   } # authenticate = handled
(3) Using Post-Auth-Type Challenge
(3) # Executing group from file /etc/freeradius/sites-enabled/default
(3)   Challenge { ... } # empty sub-section is ignored
(3) session-state: Saving cached attributes
(3)   Framed-MTU = 994
(3)   TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(3)   TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(3)   TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(3)   TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(3)   TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(3) Sent Access-Challenge Id 3 from 172.16.30.16:1812 to 172.16.34.15:62720 length 865
(3)   EAP-Message = 0x01510321158000000adb6d31143012060355040a0c0b4d616b65727374726565743125302306092a864886f70d0109011616737570706f7274406d616b65727374726565742e6e6c312a302806035504030c214d616b657273747265657420436572746966696361746520417574686f7269747982146dfa3f78fb56b61806297ce2ced5c7f09b2699d8300f0603551d130101ff040530030101ff30360603551d1f042f302d302ba029a0278625687474703a2f2f7777772e6578616d706c652e6f72672f6578616d706c655f63612e63726c300d06092a864886f70d01010b050003820101007ac1b227167c44386e505d7c1b7c442e06fd690352b30cb77d56bd59bae12cab4925000d7178ce2d090c7b6b7bfd65ece19020c46c9a7728e4abbbb58d7791f455f14d991336138ea333ea0916a7b77b4b91517c3141f6adbd99b649f913dfd4e1d73645ce825c79d7b9d0bfd2b6957062a81165882de49eda2af9ae3db5d3cbd618a6eceb203feac7279795dd99fc83
(3)   Message-Authenticator = 0x00000000000000000000000000000000
(3)   State = 0xc29460d5c1c57560815f75a5e2aa24d4
(3) Finished request
Waking up in 4.9 seconds.
(4) Received Access-Request Id 4 from 172.16.34.15:62720 to 172.16.30.16:1812 length 180
(4)   User-Name = "username1 at domain1.nl"
(4)   EAP-Message = 0x02510063150016030300251000002120588648109af8a5e51b1679f9350140be9ccc7ff351f62e2bc6f5c15c8d730c191403030001011603030028042c2927f308d8fc554e9e82e1a382dc4c6fee9a8067b20da851510fb409e6d1e1b3273cfa8e7357
(4)   State = 0xc29460d5c1c57560815f75a5e2aa24d4
(4)   Message-Authenticator = 0x9f8af3aa503ac34704f847f457523f69
(4) Restoring &session-state
(4)   &session-state:Framed-MTU = 994
(4)   &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(4)   &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(4)   &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(4)   &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(4)   &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(4) # Executing section authorize from file /etc/freeradius/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: Looking up realm "domain1.nl" for User-Name = "username1 at domain1.nl"
(4) suffix: No such realm "domain1.nl"
(4)     [suffix] = noop
(4) eap: Peer sent EAP Response (code 2) ID 81 length 99
(4) eap: Continuing tunnel setup
(4)     [eap] = ok
(4)   } # authorize = ok
(4) Found Auth-Type = eap
(4) # Executing group from file /etc/freeradius/sites-enabled/default
(4)   authenticate {
(4) eap: Expiring EAP session with state 0xc29460d5c1c57560
(4) eap: Finished EAP session with state 0xc29460d5c1c57560
(4) eap: Previous EAP request found for state 0xc29460d5c1c57560, released from the list
(4) eap: Peer sent packet with method EAP TTLS (21)
(4) eap: Calling submodule eap_ttls to process data
(4) eap_ttls: Authenticate
(4) eap_ttls: (TLS) EAP Done initial handshake
(4) eap_ttls: (TLS) Handshake state - Server SSLv3/TLS write server done
(4) eap_ttls: (TLS) recv TLS 1.2 Handshake, ClientKeyExchange
(4) eap_ttls: (TLS) Handshake state - Server SSLv3/TLS read client key exchange
(4) eap_ttls: (TLS) Handshake state - Server SSLv3/TLS read change cipher spec
(4) eap_ttls: (TLS) recv TLS 1.2 Handshake, Finished
(4) eap_ttls: (TLS) Handshake state - Server SSLv3/TLS read finished
(4) eap_ttls: (TLS) send TLS 1.2 ChangeCipherSpec
(4) eap_ttls: (TLS) Handshake state - Server SSLv3/TLS write change cipher spec
(4) eap_ttls: (TLS) send TLS 1.2 Handshake, Finished
(4) eap_ttls: (TLS) Handshake state - Server SSLv3/TLS write finished
(4) eap_ttls: (TLS) Handshake state - SSL negotiation finished successfully
(4) eap_ttls: (TLS) Connection Established
(4) eap_ttls:   TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(4) eap_ttls:   TLS-Session-Version = "TLS 1.2"
(4) eap: Sending EAP Request (code 1) ID 82 length 61
(4) eap: EAP session adding &reply:State = 0xc29460d5c6c67560
(4)     [eap] = handled
(4)   } # authenticate = handled
(4) Using Post-Auth-Type Challenge
(4) # Executing group from file /etc/freeradius/sites-enabled/default
(4)   Challenge { ... } # empty sub-section is ignored
(4) session-state: Saving cached attributes
(4)   Framed-MTU = 994
(4)   TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(4)   TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(4)   TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(4)   TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(4)   TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(4)   TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, ClientKeyExchange"
(4)   TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, Finished"
(4)   TLS-Session-Information = "(TLS) send TLS 1.2 ChangeCipherSpec"
(4)   TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Finished"
(4)   TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(4)   TLS-Session-Version = "TLS 1.2"
(4) Sent Access-Challenge Id 4 from 172.16.30.16:1812 to 172.16.34.15:62720 length 119
(4)   EAP-Message = 0x0152003d1580000000331403030001011603030028d59c7e52c3a5c7cff6ba7584017a46fd28736ee36bd2e48b1a07a6bcb5c34c44fa57303bc88acc3a
(4)   Message-Authenticator = 0x00000000000000000000000000000000
(4)   State = 0xc29460d5c6c67560815f75a5e2aa24d4
(4) Finished request
Waking up in 4.9 seconds.
(5) Received Access-Request Id 5 from 172.16.34.15:62720 to 172.16.30.16:1812 length 188
(5)   User-Name = "username1 at domain1.nl"
(5)   EAP-Message = 0x0252006b15001703030060042c2927f308d8fd2b8da47fea15bf07dba5612cdca96c6b017330eddd326004fa28fe1b5c6148041e410dc435d49082269853ff46966906bcfd06aca363a15630326627303f5a416a42a7ffec69cd762e5d20b02a0b71ca8e332c67b1f3e21c
(5)   State = 0xc29460d5c6c67560815f75a5e2aa24d4
(5)   Message-Authenticator = 0x647a3a813bfd955b6fc101756170154d
(5) Restoring &session-state
(5)   &session-state:Framed-MTU = 994
(5)   &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(5)   &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(5)   &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(5)   &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(5)   &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(5)   &session-state:TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, ClientKeyExchange"
(5)   &session-state:TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, Finished"
(5)   &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 ChangeCipherSpec"
(5)   &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Finished"
(5)   &session-state:TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(5)   &session-state:TLS-Session-Version = "TLS 1.2"
(5) # Executing section authorize from file /etc/freeradius/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: Looking up realm "domain1.nl" for User-Name = "username1 at domain1.nl"
(5) suffix: No such realm "domain1.nl"
(5)     [suffix] = noop
(5) eap: Peer sent EAP Response (code 2) ID 82 length 107
(5) eap: Continuing tunnel setup
(5)     [eap] = ok
(5)   } # authorize = ok
(5) Found Auth-Type = eap
(5) # Executing group from file /etc/freeradius/sites-enabled/default
(5)   authenticate {
(5) eap: Expiring EAP session with state 0xc29460d5c6c67560
(5) eap: Finished EAP session with state 0xc29460d5c6c67560
(5) eap: Previous EAP request found for state 0xc29460d5c6c67560, released from the list
(5) eap: Peer sent packet with method EAP TTLS (21)
(5) eap: Calling submodule eap_ttls to process data
(5) eap_ttls: Authenticate
(5) eap_ttls: (TLS) EAP Done initial handshake
(5) eap_ttls: Session established.  Proceeding to decode tunneled attributes
(5) eap_ttls: Got tunneled request
(5) eap_ttls:   User-Name = "username1 at domain1.nl"
(5) eap_ttls:   User-Password = "passwdpasswd"
(5) eap_ttls:   FreeRADIUS-Proxied-To = 127.0.0.1
(5) eap_ttls: Sending tunneled request
(5) Virtual server inner-tunnel received request
(5)   User-Name = "username1 at domain1.nl"
(5)   User-Password = "passwdpasswd"
(5)   FreeRADIUS-Proxied-To = 127.0.0.1
(5) WARNING: Outer and inner identities are the same.  User privacy is compromised.
(5) server inner-tunnel {
(5)   # Executing section authorize from file /etc/freeradius/sites-enabled/google-ldap-auth
(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)       policy filter_inner_identity {
(5)         if (!&outer.request:User-Name || !&User-Name) {
(5)         if (!&outer.request:User-Name || !&User-Name)  -> FALSE
(5)         if (&outer.request:User-Name != &User-Name) {
(5)         if (&outer.request:User-Name != &User-Name)  -> FALSE
(5)       } # policy filter_inner_identity = notfound
(5)       policy split_username_nai {
(5)         if (&User-Name && (&User-Name =~ /^([^@]*)(@([-[:alnum:]]+\.[-[:alnum:].]+))?$/)) {
(5)         if (&User-Name && (&User-Name =~ /^([^@]*)(@([-[:alnum:]]+\.[-[:alnum:].]+))?$/))  -> TRUE
(5)         if (&User-Name && (&User-Name =~ /^([^@]*)(@([-[:alnum:]]+\.[-[:alnum:].]+))?$/))  {
(5)           update request {
(5)             EXPAND %{1}
(5)                --> username1
(5)             &Stripped-User-Name := username1
(5)           } # update request = noop
(5)           if ("%{3}" != '') {
(5)           EXPAND %{3}
(5)              --> domain1.nl
(5)           if ("%{3}" != '')  -> TRUE
(5)           if ("%{3}" != '')  {
(5)             update request {
(5)               EXPAND %{3}
(5)                  --> domain1.nl
(5)               &Stripped-User-Domain = domain1.nl
(5)             } # update request = noop
(5)           } # if ("%{3}" != '')  = noop
(5)           [updated] = updated
(5)         } # if (&User-Name && (&User-Name =~ /^([^@]*)(@([-[:alnum:]]+\.[-[:alnum:].]+))?$/))  = updated
(5)         ... skipping else: Preceding "if" was taken
(5)       } # policy split_username_nai = updated
(5)       update control {
(5)         &Cache-Status-Only := yes
(5)       } # update control = noop
(5) cache_auth_accept: EXPAND %{md5:%{%{Stripped-User-Name}:-%{User-Name}}%{User-Password}}
(5) cache_auth_accept:    --> e3d72cd4af4d400654dba54caa15830a
(5) cache_auth_accept: No cache entry found for "e3d72cd4af4d400654dba54caa15830a"
(5)       [cache_auth_accept] = notfound
(5)       if (ok) {
(5)       if (ok)  -> FALSE
(5)       update control {
(5)         &Cache-Status-Only := yes
(5)       } # update control = noop
(5) cache_auth_reject: EXPAND %{md5:%{Calling-Station-Id}%{Stripped-User-Name}%{User-Password}}
(5) cache_auth_reject:    --> e3d72cd4af4d400654dba54caa15830a
(5) cache_auth_reject: No cache entry found for "e3d72cd4af4d400654dba54caa15830a"
(5)       [cache_auth_reject] = notfound
(5)       if (ok) {
(5)       if (ok)  -> FALSE
(5)       if (&User-Password && !control:Auth-Type)  {
(5)       if (&User-Password && !control:Auth-Type)   -> TRUE
(5)       if (&User-Password && !control:Auth-Type)   {
(5)         if (&request:Stripped-User-Domain == 'domain2.com')  {
(5)         if (&request:Stripped-User-Domain == 'domain2.com')   -> FALSE
(5)         if (&request:Stripped-User-Domain == 'domain1.nl')  {
(5)         if (&request:Stripped-User-Domain == 'domain1.nl')   -> TRUE
(5)         if (&request:Stripped-User-Domain == 'domain1.nl')   {
(5)           update control {
(5)             Auth-Type = domain1.nl
(5)           } # update control = noop
(5)         } # if (&request:Stripped-User-Domain == 'domain1.nl')   = noop
(5)         update control {
(5)           &Cache-Read-Only := yes
(5)         } # update control = noop
(5) cache_ldap_user_dn: EXPAND %{Stripped-User-Name}
(5) cache_ldap_user_dn:    --> username1
(5) cache_ldap_user_dn: No cache entry found for "username1"
(5)         [cache_ldap_user_dn] = notfound
(5)       } # if (&User-Password && !control:Auth-Type)   = noop
(5)     } # authorize = updated
(5)   Found Auth-Type = domain1.nl
(5)   # Executing group from file /etc/freeradius/sites-enabled/google-ldap-auth
(5)     Auth-Type domain1.nl {
rlm_ldap (domain1.nl): Reserved connection (0)
(5) domain1.nl: Login attempt by "username1"
(5) domain1.nl: EXPAND (uid=%{%{Stripped-User-Name}:-%{User-Name}})
(5) domain1.nl:    --> (uid=username1)
(5) domain1.nl: Performing search in "ou=Users,dc=domain1,dc=nl" with filter "(uid=username1)", scope "sub"
(5) domain1.nl: Waiting for search result...
(5) domain1.nl: User object found at DN "uid=username1,ou=Makerstreet Testing,ou=Users,dc=domain1,dc=nl"
(5) domain1.nl: Waiting for bind result...
(5) domain1.nl: Bind successful
(5) domain1.nl: Bind as user "uid=username1,ou=Makerstreet Testing,ou=Users,dc=domain1,dc=nl" was successful
rlm_ldap (domain1.nl): Released connection (0)
Need more connections to reach 10 spares
rlm_ldap (domain1.nl): Opening additional connection (5), 1 of 27 pending slots used
rlm_ldap (domain1.nl): Connecting to ldaps://ldap.google.com:636
rlm_ldap (domain1.nl): Waiting for bind result...
rlm_ldap (domain1.nl): Bind successful
(5)       [domain1.nl] = ok
(5)     } # Auth-Type domain1.nl = ok
(5)   # Executing section post-auth from file /etc/freeradius/sites-enabled/google-ldap-auth
(5)     post-auth {
(5) cache_ldap_user_dn: EXPAND %{Stripped-User-Name}
(5) cache_ldap_user_dn:    --> username1
(5) cache_ldap_user_dn: No cache entry found for "username1"
(5) cache_ldap_user_dn: Creating new cache entry
(5) cache_ldap_user_dn:   &control:LDAP-UserDN = &control:LDAP-UserDN -> 'uid=username1,ou=Makerstreet Testing,ou=Users,dc=domain1,dc=nl'
(5) cache_ldap_user_dn: Merging cache entry into request
(5) cache_ldap_user_dn:   &control:LDAP-UserDN = "uid=username1,ou=Makerstreet Testing,ou=Users,dc=domain1,dc=nl"
(5) cache_ldap_user_dn: Committed entry, TTL 86400 seconds
(5)       [cache_ldap_user_dn] = updated
(5)       if (&control:Auth-Type == domain2.com) {
(5)       if (&control:Auth-Type == domain2.com)  -> FALSE
(5)       if (&control:Auth-Type == domain1.nl) {
(5)       if (&control:Auth-Type == domain1.nl)  -> TRUE
(5)       if (&control:Auth-Type == domain1.nl)  {
(5) cache_auth_accept: EXPAND %{md5:%{%{Stripped-User-Name}:-%{User-Name}}%{User-Password}}
(5) cache_auth_accept:    --> e3d72cd4af4d400654dba54caa15830a
(5) cache_auth_accept: No cache entry found for "e3d72cd4af4d400654dba54caa15830a"
(5) cache_auth_accept: Creating new cache entry
(5) cache_auth_accept:   &control:User-Category = "success"
(5) cache_auth_accept: Merging cache entry into request
(5) cache_auth_accept:   &control:User-Category = "success"
(5) cache_auth_accept: Committed entry, TTL 7200 seconds
(5)         [cache_auth_accept] = updated
(5)       } # if (&control:Auth-Type == domain1.nl)  = updated
(5)     } # post-auth = updated
(5) } # server inner-tunnel
(5) Virtual server sending reply
(5) eap_ttls: Got tunneled Access-Accept
(5) eap: Sending EAP Success (code 3) ID 82 length 4
(5) eap: Freeing handler
(5)     [eap] = ok
(5)   } # authenticate = ok
(5) # Executing section post-auth from file /etc/freeradius/sites-enabled/default
(5)   post-auth {
(5)     if (session-state:User-Name && reply:User-Name && request:User-Name && (reply:User-Name == request:User-Name)) {
(5)     if (session-state:User-Name && reply:User-Name && request:User-Name && (reply:User-Name == request:User-Name))  -> FALSE
(5)     update {
(5)       &reply::Framed-MTU += &session-state:Framed-MTU[*] -> 994
(5)       &reply::TLS-Session-Information += &session-state:TLS-Session-Information[*] -> '(TLS) recv TLS 1.3 Handshake, ClientHello'
(5)       &reply::TLS-Session-Information += &session-state:TLS-Session-Information[*] -> '(TLS) send TLS 1.2 Handshake, ServerHello'
(5)       &reply::TLS-Session-Information += &session-state:TLS-Session-Information[*] -> '(TLS) send TLS 1.2 Handshake, Certificate'
(5)       &reply::TLS-Session-Information += &session-state:TLS-Session-Information[*] -> '(TLS) send TLS 1.2 Handshake, ServerKeyExchange'
(5)       &reply::TLS-Session-Information += &session-state:TLS-Session-Information[*] -> '(TLS) send TLS 1.2 Handshake, ServerHelloDone'
(5)       &reply::TLS-Session-Information += &session-state:TLS-Session-Information[*] -> '(TLS) recv TLS 1.2 Handshake, ClientKeyExchange'
(5)       &reply::TLS-Session-Information += &session-state:TLS-Session-Information[*] -> '(TLS) recv TLS 1.2 Handshake, Finished'
(5)       &reply::TLS-Session-Information += &session-state:TLS-Session-Information[*] -> '(TLS) send TLS 1.2 ChangeCipherSpec'
(5)       &reply::TLS-Session-Information += &session-state:TLS-Session-Information[*] -> '(TLS) send TLS 1.2 Handshake, Finished'
(5)       &reply::TLS-Session-Cipher-Suite += &session-state:TLS-Session-Cipher-Suite[*] -> 'ECDHE-RSA-AES256-GCM-SHA384'
(5)       &reply::TLS-Session-Version += &session-state:TLS-Session-Version[*] -> 'TLS 1.2'
(5)     } # update = noop
(5)     [exec] = noop
(5)     policy remove_reply_message_if_eap {
(5)       if (&reply:EAP-Message && &reply:Reply-Message) {
(5)       if (&reply:EAP-Message && &reply:Reply-Message)  -> FALSE
(5)       else {
(5)         [noop] = noop
(5)       } # else = noop
(5)     } # policy remove_reply_message_if_eap = noop
(5)     if (EAP-Key-Name && &reply:EAP-Session-Id) {
(5)     if (EAP-Key-Name && &reply:EAP-Session-Id)  -> FALSE
(5)   } # post-auth = noop
(5) Sent Access-Accept Id 5 from 172.16.30.16:1812 to 172.16.34.15:62720 length 189
(5)   MS-MPPE-Recv-Key = 0x7237ec2050304d532e229f6686bfcb47bcddcbc392dc9fe57f7bed09e639c3fd
(5)   MS-MPPE-Send-Key = 0x5b54dfdfadd54f0bff427d3b71dd4e0e15873488f095e2997982dd756bcff9b9
(5)   EAP-Message = 0x03520004
(5)   Message-Authenticator = 0x00000000000000000000000000000000
(5)   User-Name = "username1 at domain1.nl"
(5)   Framed-MTU += 994
(5) Finished request
Waking up in 2.3 seconds.
(0) Cleaning up request packet ID 0 with timestamp +9 due to cleanup_delay was reached
(1) Cleaning up request packet ID 1 with timestamp +9 due to cleanup_delay was reached
(2) Cleaning up request packet ID 2 with timestamp +9 due to cleanup_delay was reached
(3) Cleaning up request packet ID 3 with timestamp +9 due to cleanup_delay was reached
(4) Cleaning up request packet ID 4 with timestamp +9 due to cleanup_delay was reached
Waking up in 2.5 seconds.
(5) Cleaning up request packet ID 5 with timestamp +9 due to cleanup_delay was reached
Ready to process requests
(6) Received Access-Request Id 0 from 172.16.34.15:59333 to 172.16.30.16:1812 length 89
(6)   User-Name = "username1 at domain1.nl"
(6)   EAP-Message = 0x026d001a0162697477617264656e40656c656d656e74732e6e6c
(6)   Message-Authenticator = 0x70dcd544518ddc559e011116ba0656a7
(6) # Executing section authorize from file /etc/freeradius/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: Looking up realm "domain1.nl" for User-Name = "username1 at domain1.nl"
(6) suffix: No such realm "domain1.nl"
(6)     [suffix] = noop
(6) eap: Peer sent EAP Response (code 2) ID 109 length 26
(6) eap: EAP-Identity reply, returning 'ok' so we can short-circuit the rest of authorize
(6)     [eap] = ok
(6)   } # authorize = ok
(6) Found Auth-Type = eap
(6) # Executing group from file /etc/freeradius/sites-enabled/default
(6)   authenticate {
(6) eap: Peer sent packet with method EAP Identity (1)
(6) eap: Calling submodule eap_ttls to process data
(6) eap_ttls: (TLS) Initiating new session
(6) eap: Sending EAP Request (code 1) ID 110 length 6
(6) eap: EAP session adding &reply:State = 0x578cf4fd57e2e100
(6)     [eap] = handled
(6)   } # authenticate = handled
(6) Using Post-Auth-Type Challenge
(6) # Executing group from file /etc/freeradius/sites-enabled/default
(6)   Challenge { ... } # empty sub-section is ignored
(6) session-state: Saving cached attributes
(6)   Framed-MTU = 994
(6) Sent Access-Challenge Id 0 from 172.16.30.16:1812 to 172.16.34.15:59333 length 64
(6)   EAP-Message = 0x016e00061520
(6)   Message-Authenticator = 0x00000000000000000000000000000000
(6)   State = 0x578cf4fd57e2e1004cc3c0867672f708
(6) Finished request
Waking up in 4.9 seconds.
(7) Received Access-Request Id 1 from 172.16.34.15:59333 to 172.16.30.16:1812 length 277
(7)   User-Name = "username1 at domain1.nl"
(7)   EAP-Message = 0x026e00c4150016030100b9010000b50303384ec7f883f50e356268be135976285e5eb12dbdf8b07b5978236f73e3d2d34b000038c02cc030009fcca9cca8ccaac02bc02f009ec024c028006bc023c0270067c00ac0140039c009c0130033009d009c003d003c0035002f00ff01000054000b000403000102000a000c000a001d0017001e001900180016000000170000000d0030002e040305030603080708080809080a080b080408050806040105010601030302030301020103020202040205020602
(7)   State = 0x578cf4fd57e2e1004cc3c0867672f708
(7)   Message-Authenticator = 0x3fbd0dfe16c4dd49390e50a3c3eeb82c
(7) Restoring &session-state
(7)   &session-state:Framed-MTU = 994
(7) # Executing section authorize from file /etc/freeradius/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: Looking up realm "domain1.nl" for User-Name = "username1 at domain1.nl"
(7) suffix: No such realm "domain1.nl"
(7)     [suffix] = noop
(7) eap: Peer sent EAP Response (code 2) ID 110 length 196
(7) eap: Continuing tunnel setup
(7)     [eap] = ok
(7)   } # authorize = ok
(7) Found Auth-Type = eap
(7) # Executing group from file /etc/freeradius/sites-enabled/default
(7)   authenticate {
(7) eap: Expiring EAP session with state 0x578cf4fd57e2e100
(7) eap: Finished EAP session with state 0x578cf4fd57e2e100
(7) eap: Previous EAP request found for state 0x578cf4fd57e2e100, released from the list
(7) eap: Peer sent packet with method EAP TTLS (21)
(7) eap: Calling submodule eap_ttls to process data
(7) eap_ttls: Authenticate
(7) eap_ttls: (TLS) EAP Got final fragment (190 bytes)
(7) eap_ttls: WARNING: (TLS) EAP Total received record fragments (190 bytes), does not equal expected expected data length (0 bytes)
(7) eap_ttls: (TLS) EAP Done initial handshake
(7) eap_ttls: (TLS) Handshake state - before SSL initialization
(7) eap_ttls: (TLS) Handshake state - Server before SSL initialization
(7) eap_ttls: (TLS) Handshake state - Server before SSL initialization
(7) eap_ttls: (TLS) recv TLS 1.3 Handshake, ClientHello
(7) eap_ttls: (TLS) Handshake state - Server SSLv3/TLS read client hello
(7) eap_ttls: (TLS) send TLS 1.2 Handshake, ServerHello
(7) eap_ttls: (TLS) Handshake state - Server SSLv3/TLS write server hello
(7) eap_ttls: (TLS) send TLS 1.2 Handshake, Certificate
(7) eap_ttls: (TLS) Handshake state - Server SSLv3/TLS write certificate
(7) eap_ttls: (TLS) send TLS 1.2 Handshake, ServerKeyExchange
(7) eap_ttls: (TLS) Handshake state - Server SSLv3/TLS write key exchange
(7) eap_ttls: (TLS) send TLS 1.2 Handshake, ServerHelloDone
(7) eap_ttls: (TLS) Handshake state - Server SSLv3/TLS write server done
(7) eap_ttls: (TLS) Server : Need to read more data: SSLv3/TLS write server done
(7) eap_ttls: (TLS) In Handshake Phase
(7) eap: Sending EAP Request (code 1) ID 111 length 1004
(7) eap: EAP session adding &reply:State = 0x578cf4fd56e3e100
(7)     [eap] = handled
(7)   } # authenticate = handled
(7) Using Post-Auth-Type Challenge
(7) # Executing group from file /etc/freeradius/sites-enabled/default
(7)   Challenge { ... } # empty sub-section is ignored
(7) session-state: Saving cached attributes
(7)   Framed-MTU = 994
(7)   TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(7)   TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(7)   TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(7)   TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(7)   TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(7) Sent Access-Challenge Id 1 from 172.16.30.16:1812 to 172.16.34.15:59333 length 1068
(7)   EAP-Message = 0x016f03ec15c000000adb160303003d020000390303803c674e10f0eba3efff685b102a1d546e3499cb002e6e53d3a33080ebe4a69000c030000011ff01000100000b00040300010200170000160303095a0b0009560009530004433082043f30820327a003020102020103300d06092a864886f70d01010b0500308197310b3009060355040613024e4c310b300906035504080c024e483112301006035504070c09416d7374657264616d31143012060355040a0c0b4d616b65727374726565743125302306092a864886f70d0109011616737570706f7274406d616b65727374726565742e6e6c312a302806035504030c214d616b657273747265657420436572746966696361746520417574686f72697479301e170d3233303232363232303334325a170d3333303232333232303334325a308180310b3009060355040613024e4c310b300906035504080c024e4831143012060355040a0c0b4d616b65727374726565743127302506035504030c1e4d616b6572
(7)   Message-Authenticator = 0x00000000000000000000000000000000
(7)   State = 0x578cf4fd56e3e1004cc3c0867672f708
(7) Finished request
Waking up in 4.9 seconds.
(8) Received Access-Request Id 2 from 172.16.34.15:59333 to 172.16.30.16:1812 length 87
(8)   User-Name = "username1 at domain1.nl"
(8)   EAP-Message = 0x026f00061500
(8)   State = 0x578cf4fd56e3e1004cc3c0867672f708
(8)   Message-Authenticator = 0xa8b63ec72b98eeec75d4cafdb7affce2
(8) Restoring &session-state
(8)   &session-state:Framed-MTU = 994
(8)   &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(8)   &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(8)   &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(8)   &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(8)   &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(8) # Executing section authorize from file /etc/freeradius/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: Looking up realm "domain1.nl" for User-Name = "username1 at domain1.nl"
(8) suffix: No such realm "domain1.nl"
(8)     [suffix] = noop
(8) eap: Peer sent EAP Response (code 2) ID 111 length 6
(8) eap: Continuing tunnel setup
(8)     [eap] = ok
(8)   } # authorize = ok
(8) Found Auth-Type = eap
(8) # Executing group from file /etc/freeradius/sites-enabled/default
(8)   authenticate {
(8) eap: Expiring EAP session with state 0x578cf4fd56e3e100
(8) eap: Finished EAP session with state 0x578cf4fd56e3e100
(8) eap: Previous EAP request found for state 0x578cf4fd56e3e100, released from the list
(8) eap: Peer sent packet with method EAP TTLS (21)
(8) eap: Calling submodule eap_ttls to process data
(8) eap_ttls: Authenticate
(8) eap_ttls: (TLS) Peer ACKed our handshake fragment
(8) eap: Sending EAP Request (code 1) ID 112 length 1004
(8) eap: EAP session adding &reply:State = 0x578cf4fd55fce100
(8)     [eap] = handled
(8)   } # authenticate = handled
(8) Using Post-Auth-Type Challenge
(8) # Executing group from file /etc/freeradius/sites-enabled/default
(8)   Challenge { ... } # empty sub-section is ignored
(8) session-state: Saving cached attributes
(8)   Framed-MTU = 994
(8)   TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(8)   TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(8)   TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(8)   TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(8)   TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(8) Sent Access-Challenge Id 2 from 172.16.30.16:1812 to 172.16.34.15:59333 length 1068
(8)   EAP-Message = 0x017003ec15c000000adb0826f896e334d6f401b25e370421bfccb0871564fdf64310b1fb6f777ab295a604eb73e81d121e417cb4b59fb3118b04b35cbf8833e69dc349d2d854478749a8960382dd300e9cbcaefdbb347b8456443a0246300bbc3af40c55ffa061ede3703b01783841bedbaca6694741de4dfe03829b649d4f4b506d7d4c99d23d3de500720813e1178891eae939f6040b2b0aca50560a3fcbb7cde1dc40e954955ff72935df911233adb6aa6c5d44a02b280f1c5efe00050a30820506308203eea00302010202146dfa3f78fb56b61806297ce2ced5c7f09b2699d8300d06092a864886f70d01010b0500308197310b3009060355040613024e4c310b300906035504080c024e483112301006035504070c09416d7374657264616d31143012060355040a0c0b4d616b65727374726565743125302306092a864886f70d0109011616737570706f7274406d616b65727374726565742e6e6c312a302806035504030c214d616b65727374726565742043
(8)   Message-Authenticator = 0x00000000000000000000000000000000
(8)   State = 0x578cf4fd55fce1004cc3c0867672f708
(8) Finished request
Waking up in 4.9 seconds.
(9) Received Access-Request Id 3 from 172.16.34.15:59333 to 172.16.30.16:1812 length 87
(9)   User-Name = "username1 at domain1.nl"
(9)   EAP-Message = 0x027000061500
(9)   State = 0x578cf4fd55fce1004cc3c0867672f708
(9)   Message-Authenticator = 0xa011c98ebc2752852bc7f2b0d8f7bd55
(9) Restoring &session-state
(9)   &session-state:Framed-MTU = 994
(9)   &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(9)   &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(9)   &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(9)   &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(9)   &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(9) # Executing section authorize from file /etc/freeradius/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: Looking up realm "domain1.nl" for User-Name = "username1 at domain1.nl"
(9) suffix: No such realm "domain1.nl"
(9)     [suffix] = noop
(9) eap: Peer sent EAP Response (code 2) ID 112 length 6
(9) eap: Continuing tunnel setup
(9)     [eap] = ok
(9)   } # authorize = ok
(9) Found Auth-Type = eap
(9) # Executing group from file /etc/freeradius/sites-enabled/default
(9)   authenticate {
(9) eap: Expiring EAP session with state 0x578cf4fd55fce100
(9) eap: Finished EAP session with state 0x578cf4fd55fce100
(9) eap: Previous EAP request found for state 0x578cf4fd55fce100, released from the list
(9) eap: Peer sent packet with method EAP TTLS (21)
(9) eap: Calling submodule eap_ttls to process data
(9) eap_ttls: Authenticate
(9) eap_ttls: (TLS) Peer ACKed our handshake fragment
(9) eap: Sending EAP Request (code 1) ID 113 length 801
(9) eap: EAP session adding &reply:State = 0x578cf4fd54fde100
(9)     [eap] = handled
(9)   } # authenticate = handled
(9) Using Post-Auth-Type Challenge
(9) # Executing group from file /etc/freeradius/sites-enabled/default
(9)   Challenge { ... } # empty sub-section is ignored
(9) session-state: Saving cached attributes
(9)   Framed-MTU = 994
(9)   TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(9)   TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(9)   TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(9)   TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(9)   TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(9) Sent Access-Challenge Id 3 from 172.16.30.16:1812 to 172.16.34.15:59333 length 865
(9)   EAP-Message = 0x01710321158000000adb6d31143012060355040a0c0b4d616b65727374726565743125302306092a864886f70d0109011616737570706f7274406d616b65727374726565742e6e6c312a302806035504030c214d616b657273747265657420436572746966696361746520417574686f7269747982146dfa3f78fb56b61806297ce2ced5c7f09b2699d8300f0603551d130101ff040530030101ff30360603551d1f042f302d302ba029a0278625687474703a2f2f7777772e6578616d706c652e6f72672f6578616d706c655f63612e63726c300d06092a864886f70d01010b050003820101007ac1b227167c44386e505d7c1b7c442e06fd690352b30cb77d56bd59bae12cab4925000d7178ce2d090c7b6b7bfd65ece19020c46c9a7728e4abbbb58d7791f455f14d991336138ea333ea0916a7b77b4b91517c3141f6adbd99b649f913dfd4e1d73645ce825c79d7b9d0bfd2b6957062a81165882de49eda2af9ae3db5d3cbd618a6eceb203feac7279795dd99fc83
(9)   Message-Authenticator = 0x00000000000000000000000000000000
(9)   State = 0x578cf4fd54fde1004cc3c0867672f708
(9) Finished request
Waking up in 4.9 seconds.
(10) Received Access-Request Id 4 from 172.16.34.15:59333 to 172.16.30.16:1812 length 180
(10)   User-Name = "username1 at domain1.nl"
(10)   EAP-Message = 0x027100631500160303002510000021202b3e3ad8ba48d0d8b2c3e39abcc373a501877f38ee24030c3baa7312ca25802314030300010116030300281aad71a9f03680fba7ad6cd36cb112f3245dd6eacfc2a21db6d986d8cf1d3fd0a6028cbd81a8b5f7
(10)   State = 0x578cf4fd54fde1004cc3c0867672f708
(10)   Message-Authenticator = 0xbddb97fbf1adb271694bdd6b88850f5d
(10) Restoring &session-state
(10)   &session-state:Framed-MTU = 994
(10)   &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(10)   &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(10)   &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(10)   &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(10)   &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(10) # Executing section authorize from file /etc/freeradius/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: Looking up realm "domain1.nl" for User-Name = "username1 at domain1.nl"
(10) suffix: No such realm "domain1.nl"
(10)     [suffix] = noop
(10) eap: Peer sent EAP Response (code 2) ID 113 length 99
(10) eap: Continuing tunnel setup
(10)     [eap] = ok
(10)   } # authorize = ok
(10) Found Auth-Type = eap
(10) # Executing group from file /etc/freeradius/sites-enabled/default
(10)   authenticate {
(10) eap: Expiring EAP session with state 0x578cf4fd54fde100
(10) eap: Finished EAP session with state 0x578cf4fd54fde100
(10) eap: Previous EAP request found for state 0x578cf4fd54fde100, released from the list
(10) eap: Peer sent packet with method EAP TTLS (21)
(10) eap: Calling submodule eap_ttls to process data
(10) eap_ttls: Authenticate
(10) eap_ttls: (TLS) EAP Done initial handshake
(10) eap_ttls: (TLS) Handshake state - Server SSLv3/TLS write server done
(10) eap_ttls: (TLS) recv TLS 1.2 Handshake, ClientKeyExchange
(10) eap_ttls: (TLS) Handshake state - Server SSLv3/TLS read client key exchange
(10) eap_ttls: (TLS) Handshake state - Server SSLv3/TLS read change cipher spec
(10) eap_ttls: (TLS) recv TLS 1.2 Handshake, Finished
(10) eap_ttls: (TLS) Handshake state - Server SSLv3/TLS read finished
(10) eap_ttls: (TLS) send TLS 1.2 ChangeCipherSpec
(10) eap_ttls: (TLS) Handshake state - Server SSLv3/TLS write change cipher spec
(10) eap_ttls: (TLS) send TLS 1.2 Handshake, Finished
(10) eap_ttls: (TLS) Handshake state - Server SSLv3/TLS write finished
(10) eap_ttls: (TLS) Handshake state - SSL negotiation finished successfully
(10) eap_ttls: (TLS) Connection Established
(10) eap_ttls:   TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(10) eap_ttls:   TLS-Session-Version = "TLS 1.2"
(10) eap: Sending EAP Request (code 1) ID 114 length 61
(10) eap: EAP session adding &reply:State = 0x578cf4fd53fee100
(10)     [eap] = handled
(10)   } # authenticate = handled
(10) Using Post-Auth-Type Challenge
(10) # Executing group from file /etc/freeradius/sites-enabled/default
(10)   Challenge { ... } # empty sub-section is ignored
(10) session-state: Saving cached attributes
(10)   Framed-MTU = 994
(10)   TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(10)   TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(10)   TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(10)   TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(10)   TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(10)   TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, ClientKeyExchange"
(10)   TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, Finished"
(10)   TLS-Session-Information = "(TLS) send TLS 1.2 ChangeCipherSpec"
(10)   TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Finished"
(10)   TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(10)   TLS-Session-Version = "TLS 1.2"
(10) Sent Access-Challenge Id 4 from 172.16.30.16:1812 to 172.16.34.15:59333 length 119
(10)   EAP-Message = 0x0172003d15800000003314030300010116030300286dafa27fd19a386914968f7a27ea09cce39e8982a6d197d67d3a46b70bd4d11281dbe7b6f46f5bb5
(10)   Message-Authenticator = 0x00000000000000000000000000000000
(10)   State = 0x578cf4fd53fee1004cc3c0867672f708
(10) Finished request
Waking up in 4.8 seconds.
(11) Received Access-Request Id 5 from 172.16.34.15:59333 to 172.16.30.16:1812 length 188
(11)   User-Name = "username1 at domain1.nl"
(11)   EAP-Message = 0x0272006b150017030300601aad71a9f03680fc2193a6fa0e060884e0bd99962c33749a3298457858c72b46f6a5a124ff85227b81af20ec5ad26196f60a7479cea6751d9d3e3ad5e64567be7e3a4f457cd68169ba6ecf47bcf42289c78c1e4ddd643bc499d63e4c6e0a7aab
(11)   State = 0x578cf4fd53fee1004cc3c0867672f708
(11)   Message-Authenticator = 0x1fe922c32ef244c0b366bdf84cdca550
(11) Restoring &session-state
(11)   &session-state:Framed-MTU = 994
(11)   &session-state:TLS-Session-Information = "(TLS) recv TLS 1.3 Handshake, ClientHello"
(11)   &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHello"
(11)   &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Certificate"
(11)   &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerKeyExchange"
(11)   &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, ServerHelloDone"
(11)   &session-state:TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, ClientKeyExchange"
(11)   &session-state:TLS-Session-Information = "(TLS) recv TLS 1.2 Handshake, Finished"
(11)   &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 ChangeCipherSpec"
(11)   &session-state:TLS-Session-Information = "(TLS) send TLS 1.2 Handshake, Finished"
(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/freeradius/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: Looking up realm "domain1.nl" for User-Name = "username1 at domain1.nl"
(11) suffix: No such realm "domain1.nl"
(11)     [suffix] = noop
(11) eap: Peer sent EAP Response (code 2) ID 114 length 107
(11) eap: Continuing tunnel setup
(11)     [eap] = ok
(11)   } # authorize = ok
(11) Found Auth-Type = eap
(11) # Executing group from file /etc/freeradius/sites-enabled/default
(11)   authenticate {
(11) eap: Expiring EAP session with state 0x578cf4fd53fee100
(11) eap: Finished EAP session with state 0x578cf4fd53fee100
(11) eap: Previous EAP request found for state 0x578cf4fd53fee100, released from the list
(11) eap: Peer sent packet with method EAP TTLS (21)
(11) eap: Calling submodule eap_ttls to process data
(11) eap_ttls: Authenticate
(11) eap_ttls: (TLS) EAP Done initial handshake
(11) eap_ttls: Session established.  Proceeding to decode tunneled attributes
(11) eap_ttls: Got tunneled request
(11) eap_ttls:   User-Name = "username1 at domain1.nl"
(11) eap_ttls:   User-Password = "passwdpasswd"
(11) eap_ttls:   FreeRADIUS-Proxied-To = 127.0.0.1
(11) eap_ttls: Sending tunneled request
(11) Virtual server inner-tunnel received request
(11)   User-Name = "username1 at domain1.nl"
(11)   User-Password = "passwdpasswd"
(11)   FreeRADIUS-Proxied-To = 127.0.0.1
(11) WARNING: Outer and inner identities are the same.  User privacy is compromised.
(11) server inner-tunnel {
(11)   # Executing section authorize from file /etc/freeradius/sites-enabled/google-ldap-auth
(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)       policy filter_inner_identity {
(11)         if (!&outer.request:User-Name || !&User-Name) {
(11)         if (!&outer.request:User-Name || !&User-Name)  -> FALSE
(11)         if (&outer.request:User-Name != &User-Name) {
(11)         if (&outer.request:User-Name != &User-Name)  -> FALSE
(11)       } # policy filter_inner_identity = notfound
(11)       policy split_username_nai {
(11)         if (&User-Name && (&User-Name =~ /^([^@]*)(@([-[:alnum:]]+\.[-[:alnum:].]+))?$/)) {
(11)         if (&User-Name && (&User-Name =~ /^([^@]*)(@([-[:alnum:]]+\.[-[:alnum:].]+))?$/))  -> TRUE
(11)         if (&User-Name && (&User-Name =~ /^([^@]*)(@([-[:alnum:]]+\.[-[:alnum:].]+))?$/))  {
(11)           update request {
(11)             EXPAND %{1}
(11)                --> username1
(11)             &Stripped-User-Name := username1
(11)           } # update request = noop
(11)           if ("%{3}" != '') {
(11)           EXPAND %{3}
(11)              --> domain1.nl
(11)           if ("%{3}" != '')  -> TRUE
(11)           if ("%{3}" != '')  {
(11)             update request {
(11)               EXPAND %{3}
(11)                  --> domain1.nl
(11)               &Stripped-User-Domain = domain1.nl
(11)             } # update request = noop
(11)           } # if ("%{3}" != '')  = noop
(11)           [updated] = updated
(11)         } # if (&User-Name && (&User-Name =~ /^([^@]*)(@([-[:alnum:]]+\.[-[:alnum:].]+))?$/))  = updated
(11)         ... skipping else: Preceding "if" was taken
(11)       } # policy split_username_nai = updated
(11)       update control {
(11)         &Cache-Status-Only := yes
(11)       } # update control = noop
(11) cache_auth_accept: EXPAND %{md5:%{%{Stripped-User-Name}:-%{User-Name}}%{User-Password}}
(11) cache_auth_accept:    --> e3d72cd4af4d400654dba54caa15830a
(11) cache_auth_accept: Found entry for "e3d72cd4af4d400654dba54caa15830a"
(11)       [cache_auth_accept] = ok
(11)       if (ok) {
(11)       if (ok)  -> TRUE
(11)       if (ok)  {
(11)         update {
(11)           &control:Auth-Type := Accept
(11)         } # update = noop
(11)         return
(11)       } # if (ok)  = noop
(11)     } # authorize = updated
(11)   Found Auth-Type = Accept
(11)   Auth-Type = Accept, accepting the user
(11)   # Executing section post-auth from file /etc/freeradius/sites-enabled/google-ldap-auth
(11)     post-auth {
(11) cache_ldap_user_dn: EXPAND %{Stripped-User-Name}
(11) cache_ldap_user_dn:    --> username1
(11) cache_ldap_user_dn: Found entry for "username1"
(11) cache_ldap_user_dn: Merging cache entry into request
(11) cache_ldap_user_dn:   &control:LDAP-UserDN = "uid=username1,ou=Makerstreet Testing,ou=Users,dc=domain1,dc=nl"
(11)       [cache_ldap_user_dn] = ok
(11)       if (&control:Auth-Type == domain2.com) {
(11)       if (&control:Auth-Type == domain2.com)  -> FALSE
(11)       if (&control:Auth-Type == domain1.nl) {
(11)       if (&control:Auth-Type == domain1.nl)  -> FALSE
(11)     } # post-auth = ok
(11) } # server inner-tunnel
(11) Virtual server sending reply
(11) eap_ttls: Got tunneled Access-Accept
(11) eap: Sending EAP Success (code 3) ID 114 length 4
(11) eap: Freeing handler
(11)     [eap] = ok
(11)   } # authenticate = ok
(11) # Executing section post-auth from file /etc/freeradius/sites-enabled/default
(11)   post-auth {
(11)     if (session-state:User-Name && reply:User-Name && request:User-Name && (reply:User-Name == request:User-Name)) {
(11)     if (session-state:User-Name && reply:User-Name && request:User-Name && (reply:User-Name == request:User-Name))  -> FALSE
(11)     update {
(11)       &reply::Framed-MTU += &session-state:Framed-MTU[*] -> 994
(11)       &reply::TLS-Session-Information += &session-state:TLS-Session-Information[*] -> '(TLS) recv TLS 1.3 Handshake, ClientHello'
(11)       &reply::TLS-Session-Information += &session-state:TLS-Session-Information[*] -> '(TLS) send TLS 1.2 Handshake, ServerHello'
(11)       &reply::TLS-Session-Information += &session-state:TLS-Session-Information[*] -> '(TLS) send TLS 1.2 Handshake, Certificate'
(11)       &reply::TLS-Session-Information += &session-state:TLS-Session-Information[*] -> '(TLS) send TLS 1.2 Handshake, ServerKeyExchange'
(11)       &reply::TLS-Session-Information += &session-state:TLS-Session-Information[*] -> '(TLS) send TLS 1.2 Handshake, ServerHelloDone'
(11)       &reply::TLS-Session-Information += &session-state:TLS-Session-Information[*] -> '(TLS) recv TLS 1.2 Handshake, ClientKeyExchange'
(11)       &reply::TLS-Session-Information += &session-state:TLS-Session-Information[*] -> '(TLS) recv TLS 1.2 Handshake, Finished'
(11)       &reply::TLS-Session-Information += &session-state:TLS-Session-Information[*] -> '(TLS) send TLS 1.2 ChangeCipherSpec'
(11)       &reply::TLS-Session-Information += &session-state:TLS-Session-Information[*] -> '(TLS) send TLS 1.2 Handshake, Finished'
(11)       &reply::TLS-Session-Cipher-Suite += &session-state:TLS-Session-Cipher-Suite[*] -> 'ECDHE-RSA-AES256-GCM-SHA384'
(11)       &reply::TLS-Session-Version += &session-state:TLS-Session-Version[*] -> 'TLS 1.2'
(11)     } # update = noop
(11)     [exec] = noop
(11)     policy remove_reply_message_if_eap {
(11)       if (&reply:EAP-Message && &reply:Reply-Message) {
(11)       if (&reply:EAP-Message && &reply:Reply-Message)  -> FALSE
(11)       else {
(11)         [noop] = noop
(11)       } # else = noop
(11)     } # policy remove_reply_message_if_eap = noop
(11)     if (EAP-Key-Name && &reply:EAP-Session-Id) {
(11)     if (EAP-Key-Name && &reply:EAP-Session-Id)  -> FALSE
(11)   } # post-auth = noop
(11) Sent Access-Accept Id 5 from 172.16.30.16:1812 to 172.16.34.15:59333 length 189
(11)   MS-MPPE-Recv-Key = 0x6b579096fbfd75c5e7e135949a499ad77fa9b505bc24ec7b376acfc3f77e99be
(11)   MS-MPPE-Send-Key = 0x6c88fad96e16e317ece405325694c309e6fe7e3e3ed7d5b84a43a24095e8f9a5
(11)   EAP-Message = 0x03720004
(11)   Message-Authenticator = 0x00000000000000000000000000000000
(11)   User-Name = "username1 at domain1.nl"
(11)   Framed-MTU += 994
(11) Finished request
Waking up in 4.8 seconds.




More information about the Freeradius-Users mailing list