I am attempting to use a vendors dictionary: /usr/share/freeradius/dictionary/dictionary.brocade and I believe it is not being read. I have removed commented lines from dictionary. [root@vader raddb]# pwd /etc/raddb [root@vader raddb]# ls -al dic* -rw-r--r--. 1 root radiusd 1667 Sep 19 14:44 dictionary -rw-r--r--. 1 root radiusd 688 Sep 18 15:35 dictionary.brocade [root@vader raddb]# more dictionary # # $Id: eed5d70f41b314f9ed3f006a22d9f9a2be2c9516 $ # $INCLUDE /usr/share/freeradius/dictionary $INCLUDE dictionary.brocade [root@vader raddb]# more dictionary.brocade # -*- text -*- # Copyright (C) 2015 The FreeRADIUS Server project and contributors # VENDOR Brocade 1588 BEGIN-VENDOR Brocade ATTRIBUTE Brocade-Auth-Role 1 string # Valid attribute values: # Admin BasicSwitchAdmin FabricAdmin Operator # SecurityAdmin SwitchAdmin User ZoneAdmin ATTRIBUTE Brocade-AVPairs1 2 string ATTRIBUTE Brocade-AVPairs2 3 string ATTRIBUTE Brocade-AVPairs3 4 string ATTRIBUTE Brocade-AVPairs4 5 string # Brocade-AVPairs1/2/3/4: # Optional, specifies Admin Domain or Virtual Fabric List ATTRIBUTE Brocade-Passwd-ExpiryDate 6 string # Format: MM/DD/YYYY ATTRIBUTE Brocade-Passwd-WarnPeriod 7 string # Format: integer in days END-VENDOR Brocade Dictionaries in /usr/share/freeradius are root/root but I am not sure if these are actually used. When starting radiusd, I am not able to confirm dictionary.brocade is loaded, and my clients are not receiving their attributes. [root@vader ~]# /usr/sbin/radiusd -X Copyright (C) 1999-2015 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/raddb/dictionary <------ This is where I would expect to see the dictionary.brocade called out including configuration file /etc/raddb/radiusd.conf including configuration file /etc/raddb/proxy.conf including configuration file /etc/raddb/clients.conf including files in directory /etc/raddb/mods-enabled/ including configuration file /etc/raddb/mods-enabled/eap including configuration file /etc/raddb/mods-enabled/expiration including configuration file /etc/raddb/mods-enabled/files including configuration file /etc/raddb/mods-enabled/digest including configuration file /etc/raddb/mods-enabled/preprocess including configuration file /etc/raddb/mods-enabled/dynamic_clients including configuration file /etc/raddb/mods-enabled/detail including configuration file /etc/raddb/mods-enabled/echo including configuration file /etc/raddb/mods-enabled/replicate including configuration file /etc/raddb/mods-enabled/unix including configuration file /etc/raddb/mods-enabled/linelog including configuration file /etc/raddb/mods-enabled/chap including configuration file /etc/raddb/mods-enabled/detail.log including configuration file /etc/raddb/mods-enabled/logintime including configuration file /etc/raddb/mods-enabled/expr including configuration file /etc/raddb/mods-enabled/sradutmp including configuration file /etc/raddb/mods-enabled/utf8 including configuration file /etc/raddb/mods-enabled/cache_eap including configuration file /etc/raddb/mods-enabled/pap including configuration file /etc/raddb/mods-enabled/ntlm_auth including configuration file /etc/raddb/mods-enabled/exec including configuration file /etc/raddb/mods-enabled/attr_filter including configuration file /etc/raddb/mods-enabled/realm including configuration file /etc/raddb/mods-enabled/dhcp including configuration file /etc/raddb/mods-enabled/always including configuration file /etc/raddb/mods-enabled/soh including configuration file /etc/raddb/mods-enabled/passwd including configuration file /etc/raddb/mods-enabled/mschap including configuration file /etc/raddb/mods-enabled/radutmp including configuration file /etc/raddb/mods-enabled/unpack including files in directory /etc/raddb/policy.d/ including configuration file /etc/raddb/policy.d/eap including configuration file /etc/raddb/policy.d/debug including configuration file /etc/raddb/policy.d/cui including configuration file /etc/raddb/policy.d/filter including configuration file /etc/raddb/policy.d/operator-name including configuration file /etc/raddb/policy.d/dhcp including configuration file /etc/raddb/policy.d/accounting including configuration file /etc/raddb/policy.d/control including configuration file /etc/raddb/policy.d/canonicalization including files in directory /etc/raddb/sites-enabled/ including configuration file /etc/raddb/sites-enabled/default including configuration file /etc/raddb/sites-enabled/inner-tunnel main { security { user = "radiusd" group = "radiusd" allow_core_dumps = no } name = "radiusd" prefix = "/usr" localstatedir = "/var" logdir = "/var/log/radius" run_dir = "/var/run/radiusd" } main { name = "radiusd" prefix = "/usr" localstatedir = "/var" sbindir = "/usr/sbin" logdir = "/var/log/radius" run_dir = "/var/run/radiusd" libdir = "/usr/lib64/freeradius" radacctdir = "/var/log/radius/radacct" hostname_lookups = no max_request_time = 30 cleanup_delay = 5 max_requests = 16384 pidfile = "/var/run/radiusd/radiusd.pid" checkrad = "/usr/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 { ipaddr = 127.0.0.1 port = 1812 type = "auth" secret = <<< secret >>> response_window = 20.000000 response_timeouts = 1 max_outstanding = 65536 zombie_period = 40 status_check = "status-server" ping_interval = 30 check_interval = 30 check_timeout = 4 num_answers_to_alive = 3 revive_interval = 120 limit { max_connections = 16 max_requests = 0 lifetime = 0 idle_timeout = 0 } coa { irt = 2 mrt = 16 mrc = 5 mrd = 30 } } home_server_pool my_auth_failover { type = fail-over home_server = localhost } realm example.com { auth_pool = my_auth_failover } realm LOCAL { } radiusd: #### Loading Clients #### client 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 10.10.10.0/24 { require_message_authenticator = no secret = <<< secret >>> limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } No 'ipaddr' or 'ipv4addr' or 'ipv6addr' field found in client 10.10.10.0/24. Please fix your configuration Support for old-style clients will be removed in a future release Debugger not attached # Creating Auth-Type = digest radiusd: #### Instantiating modules #### # Loaded module rlm_eap # Loading module "eap" from file /etc/raddb/mods-enabled/eap eap { default_eap_type = "peap" timer_expire = 60 ignore_unknown_eap_types = no cisco_accounting_username_bug = no max_sessions = 16384 } # Loaded module rlm_expiration # Loading module "expiration" from file /etc/raddb/mods-enabled/expiration # Loaded module rlm_files # Loading module "files" from file /etc/raddb/mods-enabled/files files { filename = "/etc/raddb/mods-config/files/authorize" acctusersfile = "/etc/raddb/mods-config/files/accounting" preproxy_usersfile = "/etc/raddb/mods-config/files/pre-proxy" } # Loaded module rlm_digest # Loading module "digest" from file /etc/raddb/mods-enabled/digest # Loaded module rlm_preprocess # Loading module "preprocess" from file /etc/raddb/mods-enabled/preprocess preprocess { huntgroups = "/etc/raddb/mods-config/preprocess/huntgroups" hints = "/etc/raddb/mods-config/preprocess/hints" with_ascend_hack = no ascend_channels_per_line = 23 with_ntdomain_hack = no with_specialix_jetstream_hack = no with_cisco_vsa_hack = no with_alvarion_vsa_hack = no } # Loaded module rlm_dynamic_clients # Loading module "dynamic_clients" from file /etc/raddb/mods-enabled/dynamic_clients # Loaded module rlm_detail # Loading module "detail" from file /etc/raddb/mods-enabled/detail detail { filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d" header = "%t" permissions = 384 locking = no escape_filenames = no log_packet_header = no } # Loaded module rlm_exec # Loading module "echo" from file /etc/raddb/mods-enabled/echo exec echo { wait = yes program = "/bin/echo %{User-Name}" input_pairs = "request" output_pairs = "reply" shell_escape = yes } # Loaded module rlm_replicate # Loading module "replicate" from file /etc/raddb/mods-enabled/replicate # Loaded module rlm_unix # Loading module "unix" from file /etc/raddb/mods-enabled/unix unix { radwtmp = "/var/log/radius/radwtmp" } Creating attribute Unix-Group # Loaded module rlm_linelog # Loading module "linelog" from file /etc/raddb/mods-enabled/linelog linelog { filename = "/var/log/radius/linelog" escape_filenames = no syslog_severity = "info" permissions = 384 format = "This is a log message for %{User-Name}" reference = "messages.%{%{reply:Packet-Type}:-default}" } # Loading module "log_accounting" from file /etc/raddb/mods-enabled/linelog linelog log_accounting { filename = "/var/log/radius/linelog-accounting" escape_filenames = no syslog_severity = "info" permissions = 384 format = "" reference = "Accounting-Request.%{%{Acct-Status-Type}:-unknown}" } # Loaded module rlm_chap # Loading module "chap" from file /etc/raddb/mods-enabled/chap # Loading module "auth_log" from file /etc/raddb/mods-enabled/detail.log detail auth_log { filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d" header = "%t" permissions = 384 locking = no escape_filenames = no log_packet_header = no } # Loading module "reply_log" from file /etc/raddb/mods-enabled/detail.log detail reply_log { filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/reply-detail-%Y%m%d" header = "%t" permissions = 384 locking = no escape_filenames = no log_packet_header = no } # Loading module "pre_proxy_log" from file /etc/raddb/mods-enabled/detail.log detail pre_proxy_log { filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/pre-proxy-detail-%Y%m%d" header = "%t" permissions = 384 locking = no escape_filenames = no log_packet_header = no } # Loading module "post_proxy_log" from file /etc/raddb/mods-enabled/detail.log detail post_proxy_log { filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/post-proxy-detail-%Y%m%d" header = "%t" permissions = 384 locking = no escape_filenames = no log_packet_header = no } # Loaded module rlm_logintime # Loading module "logintime" from file /etc/raddb/mods-enabled/logintime logintime { minimum_timeout = 60 } # Loaded module rlm_expr # Loading module "expr" from file /etc/raddb/mods-enabled/expr expr { safe_characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /äéöüà âæçèéêëîïôœùûüaÿÄÉÖÜßÀÂÆÇÈÉÊËÎà ÔŒÙÛÜŸ" } # Loaded module rlm_radutmp # Loading module "sradutmp" from file /etc/raddb/mods-enabled/sradutmp radutmp sradutmp { filename = "/var/log/radius/sradutmp" username = "%{User-Name}" case_sensitive = yes check_with_nas = yes permissions = 420 caller_id = no } # Loaded module rlm_utf8 # Loading module "utf8" from file /etc/raddb/mods-enabled/utf8 # Loaded module rlm_cache # Loading module "cache_eap" from file /etc/raddb/mods-enabled/cache_eap cache cache_eap { driver = "rlm_cache_rbtree" key = "%{%{control:State}:-%{%{reply:State}:-%{State}}}" ttl = 15 max_entries = 0 epoch = 0 add_stats = no } # Loaded module rlm_pap # Loading module "pap" from file /etc/raddb/mods-enabled/pap pap { normalise = yes } # Loading module "ntlm_auth" from file /etc/raddb/mods-enabled/ntlm_auth exec ntlm_auth { wait = yes program = "/path/to/ntlm_auth --request-nt-key --domain=MYDOMAIN --username=%{mschap:User-Name} --password=%{User-Password}" shell_escape = yes } # Loading module "exec" from file /etc/raddb/mods-enabled/exec exec { wait = no input_pairs = "request" shell_escape = yes timeout = 10 } # Loaded module rlm_attr_filter # Loading module "attr_filter.post-proxy" from file /etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.post-proxy { filename = "/etc/raddb/mods-config/attr_filter/post-proxy" key = "%{Realm}" relaxed = no } # Loading module "attr_filter.pre-proxy" from file /etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.pre-proxy { filename = "/etc/raddb/mods-config/attr_filter/pre-proxy" key = "%{Realm}" relaxed = no } # Loading module "attr_filter.access_reject" from file /etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.access_reject { filename = "/etc/raddb/mods-config/attr_filter/access_reject" key = "%{User-Name}" relaxed = no } # Loading module "attr_filter.access_challenge" from file /etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.access_challenge { filename = "/etc/raddb/mods-config/attr_filter/access_challenge" key = "%{User-Name}" relaxed = no } # Loading module "attr_filter.accounting_response" from file /etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.accounting_response { filename = "/etc/raddb/mods-config/attr_filter/accounting_response" key = "%{User-Name}" relaxed = no } # Loaded module rlm_realm # Loading module "IPASS" from file /etc/raddb/mods-enabled/realm realm IPASS { format = "prefix" delimiter = "/" ignore_default = no ignore_null = no } # Loading module "suffix" from file /etc/raddb/mods-enabled/realm realm suffix { format = "suffix" delimiter = "@" ignore_default = no ignore_null = no } # Loading module "realmpercent" from file /etc/raddb/mods-enabled/realm realm realmpercent { format = "suffix" delimiter = "%" ignore_default = no ignore_null = no } # Loading module "ntdomain" from file /etc/raddb/mods-enabled/realm realm ntdomain { format = "prefix" delimiter = "\\" ignore_default = no ignore_null = no } # Loaded module rlm_dhcp # Loading module "dhcp" from file /etc/raddb/mods-enabled/dhcp # Loaded module rlm_always # Loading module "reject" from file /etc/raddb/mods-enabled/always always reject { rcode = "reject" simulcount = 0 mpp = no } # Loading module "fail" from file /etc/raddb/mods-enabled/always always fail { rcode = "fail" simulcount = 0 mpp = no } # Loading module "ok" from file /etc/raddb/mods-enabled/always always ok { rcode = "ok" simulcount = 0 mpp = no } # Loading module "handled" from file /etc/raddb/mods-enabled/always always handled { rcode = "handled" simulcount = 0 mpp = no } # Loading module "invalid" from file /etc/raddb/mods-enabled/always always invalid { rcode = "invalid" simulcount = 0 mpp = no } # Loading module "userlock" from file /etc/raddb/mods-enabled/always always userlock { rcode = "userlock" simulcount = 0 mpp = no } # Loading module "notfound" from file /etc/raddb/mods-enabled/always always notfound { rcode = "notfound" simulcount = 0 mpp = no } # Loading module "noop" from file /etc/raddb/mods-enabled/always always noop { rcode = "noop" simulcount = 0 mpp = no } # Loading module "updated" from file /etc/raddb/mods-enabled/always always updated { rcode = "updated" simulcount = 0 mpp = no } # Loaded module rlm_soh # Loading module "soh" from file /etc/raddb/mods-enabled/soh soh { dhcp = yes } # Loaded module rlm_passwd # Loading module "etc_passwd" from file /etc/raddb/mods-enabled/passwd passwd etc_passwd { filename = "/etc/passwd" format = "*User-Name:Crypt-Password:" delimiter = ":" ignore_nislike = no ignore_empty = yes allow_multiple_keys = no hash_size = 100 } # Loaded module rlm_mschap # Loading module "mschap" from file /etc/raddb/mods-enabled/mschap mschap { use_mppe = yes require_encryption = no require_strong = no with_ntdomain_hack = yes passchange { } allow_retry = yes } # Loading module "radutmp" from file /etc/raddb/mods-enabled/radutmp radutmp { filename = "/var/log/radius/radutmp" username = "%{User-Name}" case_sensitive = yes check_with_nas = yes permissions = 384 caller_id = yes } # Loaded module rlm_unpack # Loading module "unpack" from file /etc/raddb/mods-enabled/unpack instantiate { } modules { # Instantiating module "eap" from file /etc/raddb/mods-enabled/eap # Linked to sub-module rlm_eap_md5 # Linked to sub-module rlm_eap_leap # Linked to sub-module rlm_eap_gtc gtc { challenge = "Password: " auth_type = "PAP" } # Linked to sub-module rlm_eap_tls tls { tls = "tls-common" } tls-config tls-common { rsa_key_exchange = no dh_key_exchange = yes rsa_key_length = 512 dh_key_length = 512 verify_depth = 0 ca_path = "/etc/raddb/certs" pem_file_type = yes private_key_file = "/etc/raddb/certs/ca.key" certificate_file = "/etc/raddb/certs/ca.pem" ca_file = "/etc/raddb/certs/ca.pem" private_key_password = <<< secret >>> dh_file = "/etc/raddb/certs/dh" random_file = "/dev/urandom" fragment_size = 1024 include_length = yes check_crl = no check_all_crl = no cipher_list = "DEFAULT" ecdh_curve = "prime256v1" cache { enable = yes lifetime = 24 max_entries = 255 } verify { } 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 = "peap" 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 "expiration" from file /etc/raddb/mods-enabled/expiration # Instantiating module "files" from file /etc/raddb/mods-enabled/files reading pairlist file /etc/raddb/mods-config/files/authorize reading pairlist file /etc/raddb/mods-config/files/accounting reading pairlist file /etc/raddb/mods-config/files/pre-proxy # Instantiating module "preprocess" from file /etc/raddb/mods-enabled/preprocess reading pairlist file /etc/raddb/mods-config/preprocess/huntgroups reading pairlist file /etc/raddb/mods-config/preprocess/hints # Instantiating module "detail" from file /etc/raddb/mods-enabled/detail # Instantiating module "linelog" from file /etc/raddb/mods-enabled/linelog # Instantiating module "log_accounting" from file /etc/raddb/mods-enabled/linelog # Instantiating module "auth_log" from file /etc/raddb/mods-enabled/detail.log rlm_detail (auth_log): 'User-Password' suppressed, will not appear in detail output # Instantiating module "reply_log" from file /etc/raddb/mods-enabled/detail.log # Instantiating module "pre_proxy_log" from file /etc/raddb/mods-enabled/detail.log # Instantiating module "post_proxy_log" from file /etc/raddb/mods-enabled/detail.log # Instantiating module "logintime" from file /etc/raddb/mods-enabled/logintime # Instantiating module "cache_eap" from file /etc/raddb/mods-enabled/cache_eap rlm_cache (cache_eap): Driver rlm_cache_rbtree (module rlm_cache_rbtree) loaded and linked # Instantiating module "pap" from file /etc/raddb/mods-enabled/pap # Instantiating module "attr_filter.post-proxy" from file /etc/raddb/mods-enabled/attr_filter reading pairlist file /etc/raddb/mods-config/attr_filter/post-proxy # Instantiating module "attr_filter.pre-proxy" from file /etc/raddb/mods-enabled/attr_filter reading pairlist file /etc/raddb/mods-config/attr_filter/pre-proxy # Instantiating module "attr_filter.access_reject" from file /etc/raddb/mods-enabled/attr_filter reading pairlist file /etc/raddb/mods-config/attr_filter/access_reject [/etc/raddb/mods-config/attr_filter/access_reject]:11 Check item "FreeRADIUS-Response-Delay" found in filter list for realm "DEFAULT". [/etc/raddb/mods-config/attr_filter/access_reject]:11 Check item "FreeRADIUS-Response-Delay-USec" found in filter list for realm "DEFAULT". # Instantiating module "attr_filter.access_challenge" from file /etc/raddb/mods-enabled/attr_filter reading pairlist file /etc/raddb/mods-config/attr_filter/access_challenge # Instantiating module "attr_filter.accounting_response" from file /etc/raddb/mods-enabled/attr_filter reading pairlist file /etc/raddb/mods-config/attr_filter/accounting_response # Instantiating module "IPASS" from file /etc/raddb/mods-enabled/realm # Instantiating module "suffix" from file /etc/raddb/mods-enabled/realm # Instantiating module "realmpercent" from file /etc/raddb/mods-enabled/realm # Instantiating module "ntdomain" from file /etc/raddb/mods-enabled/realm # Instantiating module "reject" from file /etc/raddb/mods-enabled/always # Instantiating module "fail" from file /etc/raddb/mods-enabled/always # Instantiating module "ok" from file /etc/raddb/mods-enabled/always # Instantiating module "handled" from file /etc/raddb/mods-enabled/always # Instantiating module "invalid" from file /etc/raddb/mods-enabled/always # Instantiating module "userlock" from file /etc/raddb/mods-enabled/always # Instantiating module "notfound" from file /etc/raddb/mods-enabled/always # Instantiating module "noop" from file /etc/raddb/mods-enabled/always # Instantiating module "updated" from file /etc/raddb/mods-enabled/always # Instantiating module "etc_passwd" from file /etc/raddb/mods-enabled/passwd rlm_passwd: nfields: 3 keyfield 0(User-Name) listable: no # Instantiating module "mschap" from file /etc/raddb/mods-enabled/mschap rlm_mschap (mschap): using internal authentication } # modules radiusd: #### Loading Virtual Servers #### server { # from file /etc/raddb/radiusd.conf } # server server default { # from file /etc/raddb/sites-enabled/default # Loading authenticate {...} # Loading authorize {...} Ignoring "sql" (see raddb/mods-available/README.rst) Ignoring "ldap" (see raddb/mods-available/README.rst) # Loading preacct {...} # Loading accounting {...} # Loading post-proxy {...} # Loading post-auth {...} } # server default server inner-tunnel { # from file /etc/raddb/sites-enabled/inner-tunnel # Loading authenticate {...} # Loading authorize {...} # Loading session {...} # Loading post-proxy {...} # Loading post-auth {...} } # server inner-tunnel radiusd: #### Opening IP addresses and Ports #### listen { type = "auth" ipaddr = * port = 0 limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } listen { type = "acct" ipaddr = * port = 0 limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } listen { type = "auth" ipv6addr = :: port = 0 limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } listen { type = "acct" ipv6addr = :: port = 0 limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } listen { type = "auth" ipaddr = 127.0.0.1 port = 18120 } Listening on auth address * port 1812 bound to server default Listening on acct address * port 1813 bound to server default Listening on auth address :: port 1812 bound to server default Listening on acct address :: port 1813 bound to server default Listening on auth address 127.0.0.1 port 18120 bound to server inner-tunnel Listening on proxy address * port 58585 Listening on proxy address :: port 32864 Ready to process requests Authentication attempt, in case this is of use: (0) Received Access-Request Id 144 from 10.10.10.169:43523 to 10.10.10.41:1812 length 73 (0) User-Name = "swadmin" (0) NAS-IP-Address = 10.10.10.41 (0) NAS-Port = 0 (0) EAP-Message = 0x02d2000c01737761646d696e (0) Message-Authenticator = 0xab640beb2a355cf5c760d46ab6c93ba5 (0) # Executing section authorize from file /etc/raddb/sites-enabled/default (0) authorize { (0) policy filter_username { (0) if (!&User-Name) { (0) if (!&User-Name) -> FALSE (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) } # policy filter_username = notfound (0) [preprocess] = ok (0) [chap] = noop (0) [mschap] = noop (0) [digest] = noop (0) suffix: Checking for suffix after "@" (0) suffix: No '@' in User-Name = "swadmin", looking up realm NULL (0) suffix: No such realm "NULL" (0) [suffix] = noop (0) eap: Peer sent EAP Response (code 2) ID 210 length 12 (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/raddb/sites-enabled/default (0) authenticate { (0) eap: Peer sent packet with method EAP Identity (1) (0) eap: Calling submodule eap_peap to process data (0) eap_peap: Initiating new EAP-TLS session (0) eap_peap: Flushing SSL sessions (of #0) (0) eap_peap: [eaptls start] = request (0) eap: Sending EAP Request (code 1) ID 211 length 6 (0) eap: EAP session adding &reply:State = 0x2ea7ef802e74f6df (0) [eap] = handled (0) } # authenticate = handled (0) Using Post-Auth-Type Challenge (0) Post-Auth-Type sub-section not found. Ignoring. (0) # Executing group from file /etc/raddb/sites-enabled/default (0) Sent Access-Challenge Id 144 from 10.10.10.41:1812 to 10.10.10.169:43523 length 0 (0) EAP-Message = 0x01d300061920 (0) Message-Authenticator = 0x00000000000000000000000000000000 (0) State = 0x2ea7ef802e74f6df3693c3c995d521f2 (0) Finished request Waking up in 4.9 seconds. (1) Received Access-Request Id 145 from 10.10.10.169:43523 to 10.10.10.41:1812 length 191 (1) User-Name = "swadmin" (1) NAS-IP-Address = 10.10.10.41 (1) NAS-Port = 0 (1) State = 0x2ea7ef802e74f6df3693c3c995d521f2 (1) EAP-Message = 0x02d3007019800000006616030100610100005d0303dc50089cf14f604ce75b86aeddb03c4436e730a450cafdd173ffbbff0f494cec00000c003d0035003c002f000a00ff0100002800230000000d0020001e060106020603050105020503040104020403030103020303020102020203 (1) Message-Authenticator = 0xac1fe33d0504aa48024829daaa56797c (1) session-state: No cached attributes (1) # Executing section authorize from file /etc/raddb/sites-enabled/default (1) authorize { (1) policy filter_username { (1) if (!&User-Name) { (1) if (!&User-Name) -> FALSE (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) } # policy filter_username = notfound (1) [preprocess] = ok (1) [chap] = noop (1) [mschap] = noop (1) [digest] = noop (1) suffix: Checking for suffix after "@" (1) suffix: No '@' in User-Name = "swadmin", looking up realm NULL (1) suffix: No such realm "NULL" (1) [suffix] = noop (1) eap: Peer sent EAP Response (code 2) ID 211 length 112 (1) eap: Continuing tunnel setup (1) [eap] = ok (1) } # authorize = ok (1) Found Auth-Type = EAP (1) # Executing group from file /etc/raddb/sites-enabled/default (1) authenticate { (1) eap: Expiring EAP session with state 0x2ea7ef802e74f6df (1) eap: Finished EAP session with state 0x2ea7ef802e74f6df (1) eap: Previous EAP request found for state 0x2ea7ef802e74f6df, released from the list (1) eap: Peer sent packet with method EAP PEAP (25) (1) eap: Calling submodule eap_peap to process data (1) eap_peap: Continuing EAP-TLS (1) eap_peap: Peer indicated complete TLS record size will be 102 bytes (1) eap_peap: Got complete TLS record (102 bytes) (1) eap_peap: [eaptls verify] = length included (1) eap_peap: (other): before/accept initialization (1) eap_peap: TLS_accept: before/accept initialization (1) eap_peap: <<< UNKNOWN TLS VERSION ?0000? [length 0005] (1) eap_peap: <<< TLS 1.2 [length 0061] (1) eap_peap: TLS_accept: SSLv3 read client hello A (1) eap_peap: >>> UNKNOWN TLS VERSION ?0000? [length 0005] (1) eap_peap: >>> TLS 1.2 [length 0051] (1) eap_peap: TLS_accept: SSLv3 write server hello A (1) eap_peap: >>> UNKNOWN TLS VERSION ?0000? [length 0005] (1) eap_peap: >>> TLS 1.2 [length 0625] (1) eap_peap: TLS_accept: SSLv3 write certificate A (1) eap_peap: >>> UNKNOWN TLS VERSION ?0000? [length 0005] (1) eap_peap: >>> TLS 1.2 [length 0004] (1) eap_peap: TLS_accept: SSLv3 write server done A (1) eap_peap: TLS_accept: SSLv3 flush data (1) eap_peap: TLS_accept: SSLv3 read client certificate A (1) eap_peap: TLS_accept: Need to read more data: SSLv3 read client key exchange A (1) eap_peap: TLS_accept: Need to read more data: SSLv3 read client key exchange A (1) eap_peap: In SSL Handshake Phase (1) eap_peap: In SSL Accept mode (1) eap_peap: [eaptls process] = handled (1) eap: Sending EAP Request (code 1) ID 212 length 1004 (1) eap: EAP session adding &reply:State = 0x2ea7ef802f73f6df (1) [eap] = handled (1) } # authenticate = handled (1) Using Post-Auth-Type Challenge (1) Post-Auth-Type sub-section not found. Ignoring. (1) # Executing group from file /etc/raddb/sites-enabled/default (1) Sent Access-Challenge Id 145 from 10.10.10.41:1812 to 10.10.10.169:43523 length 0 (1) EAP-Message = 0x01d403ec19c00000068916030300510200004d0303c1eb884d2b3536af449cf4a93561b305e3195256922b69dcf3ef67329bc6be2320c929510df244ed060c53cd90e9b2940df2add6e931aeaca3a7602f0ec476608b003d000005ff0100010016030306250b00062100061e00061b30820617308203ff (1) Message-Authenticator = 0x00000000000000000000000000000000 (1) State = 0x2ea7ef802f73f6df3693c3c995d521f2 (1) Finished request Waking up in 4.8 seconds. (2) Received Access-Request Id 146 from 10.10.10.169:43523 to 10.10.10.41:1812 length 64 (2) EAP-Message = 0x02d400061908 (2) State = 0x2ea7ef802f73f6df3693c3c995d521f2 (2) Message-Authenticator = 0xf9e31e911cf62e72c012f342e6166bc5 (2) session-state: No cached attributes (2) # Executing section authorize from file /etc/raddb/sites-enabled/default (2) authorize { (2) policy filter_username { (2) if (!&User-Name) { (2) if (!&User-Name) -> TRUE (2) if (!&User-Name) { (2) [noop] = noop (2) } # if (!&User-Name) = noop (2) if (&User-Name =~ / /) { (2) ERROR: Failed retrieving values required to evaluate condition (2) if (&User-Name =~ /@.*@/ ) { (2) ERROR: Failed retrieving values required to evaluate condition (2) if (&User-Name =~ /\.\./ ) { (2) ERROR: Failed retrieving values required to evaluate condition (2) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) { (2) ERROR: Failed retrieving values required to evaluate condition (2) if (&User-Name =~ /\.$/) { (2) ERROR: Failed retrieving values required to evaluate condition (2) if (&User-Name =~ /@\./) { (2) ERROR: Failed retrieving values required to evaluate condition (2) } # policy filter_username = noop (2) [preprocess] = ok (2) [chap] = noop (2) [mschap] = noop (2) [digest] = noop (2) suffix: Proxy reply, or no User-Name. Ignoring (2) [suffix] = noop (2) eap: Peer sent EAP Response (code 2) ID 212 length 6 (2) eap: Continuing tunnel setup (2) [eap] = ok (2) } # authorize = ok (2) Found Auth-Type = EAP (2) # Executing group from file /etc/raddb/sites-enabled/default (2) authenticate { (2) eap: Expiring EAP session with state 0x2ea7ef802f73f6df (2) eap: Finished EAP session with state 0x2ea7ef802f73f6df (2) eap: Previous EAP request found for state 0x2ea7ef802f73f6df, released from the list (2) eap: Broken NAS did not set User-Name, setting from EAP Identity (2) eap: Peer sent packet with method EAP PEAP (25) (2) eap: Calling submodule eap_peap to process data (2) eap_peap: Continuing EAP-TLS (2) eap_peap: Peer ACKed our handshake fragment (2) eap_peap: [eaptls verify] = request (2) eap_peap: [eaptls process] = handled (2) eap: Sending EAP Request (code 1) ID 213 length 685 (2) eap: EAP session adding &reply:State = 0x2ea7ef802c72f6df (2) [eap] = handled (2) } # authenticate = handled (2) Using Post-Auth-Type Challenge (2) Post-Auth-Type sub-section not found. Ignoring. (2) # Executing group from file /etc/raddb/sites-enabled/default (2) Sent Access-Challenge Id 146 from 10.10.10.41:1812 to 10.10.10.169:43523 length 0 (2) EAP-Message = 0x01d502ad1900cfea35d39782f46061d022042bb4194ed0a223fa5762d7c7e24a5e998e6e2c9f6371e35a051824cf7218e3a44842b28cdfbdaf0203010001a350304e301d0603551d0e04160414ad524818982efdf05efcf0c1bb04aefbc27999a6301f0603551d23041830168014ad524818982efdf05e (2) Message-Authenticator = 0x00000000000000000000000000000000 (2) State = 0x2ea7ef802c72f6df3693c3c995d521f2 (2) Finished request Waking up in 4.8 seconds. (3) Received Access-Request Id 147 from 10.10.10.169:43523 to 10.10.10.41:1812 length 707 (3) User-Name = "swadmin" (3) NAS-IP-Address = 10.10.10.41 (3) NAS-Port = 0 (3) State = 0x2ea7ef802c72f6df3693c3c995d521f2 (3) EAP-Message = 0x02d5027019800000026616030302061000020202008fca9cfef4ddbdd0e3baf0650fb8345df69c663ac80402206eb34b2ff3215c37dde7b91687097abb7b4678af40b578afa06a813b2ca77de4f3ef36ce30f448c66527d3a30ef62683bd4e80a84d6692abf5e1ee26f666c85b30e31007e34bd788382d (3) Message-Authenticator = 0x75c8703c7078ea211732e29514301e7f (3) session-state: No cached attributes (3) # Executing section authorize from file /etc/raddb/sites-enabled/default (3) authorize { (3) policy filter_username { (3) if (!&User-Name) { (3) if (!&User-Name) -> FALSE (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) } # policy filter_username = notfound (3) [preprocess] = ok (3) [chap] = noop (3) [mschap] = noop (3) [digest] = noop (3) suffix: Checking for suffix after "@" (3) suffix: No '@' in User-Name = "swadmin", looking up realm NULL (3) suffix: No such realm "NULL" (3) [suffix] = noop (3) eap: Peer sent EAP Response (code 2) ID 213 length 624 (3) eap: Continuing tunnel setup (3) [eap] = ok (3) } # authorize = ok (3) Found Auth-Type = EAP (3) # Executing group from file /etc/raddb/sites-enabled/default (3) authenticate { (3) eap: Expiring EAP session with state 0x2ea7ef802c72f6df (3) eap: Finished EAP session with state 0x2ea7ef802c72f6df (3) eap: Previous EAP request found for state 0x2ea7ef802c72f6df, released from the list (3) eap: Peer sent packet with method EAP PEAP (25) (3) eap: Calling submodule eap_peap to process data (3) eap_peap: Continuing EAP-TLS (3) eap_peap: Peer indicated complete TLS record size will be 614 bytes (3) eap_peap: Got complete TLS record (614 bytes) (3) eap_peap: [eaptls verify] = length included (3) eap_peap: <<< UNKNOWN TLS VERSION ?0000? [length 0005] (3) eap_peap: <<< TLS 1.2 [length 0206] (3) eap_peap: TLS_accept: SSLv3 read client key exchange A (3) eap_peap: TLS_accept: SSLv3 read certificate verify A (3) eap_peap: <<< UNKNOWN TLS VERSION ?0000? [length 0005] (3) eap_peap: <<< TLS 1.2 [length 0001] (3) eap_peap: <<< UNKNOWN TLS VERSION ?0000? [length 0005] (3) eap_peap: <<< TLS 1.2 [length 0010] (3) eap_peap: TLS_accept: SSLv3 read finished A (3) eap_peap: >>> UNKNOWN TLS VERSION ?0000? [length 0005] (3) eap_peap: >>> TLS 1.2 [length 0001] (3) eap_peap: TLS_accept: SSLv3 write change cipher spec A (3) eap_peap: >>> UNKNOWN TLS VERSION ?0000? [length 0005] (3) eap_peap: >>> TLS 1.2 [length 0010] (3) eap_peap: TLS_accept: SSLv3 write finished A (3) eap_peap: TLS_accept: SSLv3 flush data (3) eap_peap: (other): SSL negotiation finished successfully (3) eap_peap: SSL Connection Established (3) eap_peap: [eaptls process] = handled (3) eap: Sending EAP Request (code 1) ID 214 length 97 (3) eap: EAP session adding &reply:State = 0x2ea7ef802d71f6df (3) [eap] = handled (3) } # authenticate = handled (3) Using Post-Auth-Type Challenge (3) Post-Auth-Type sub-section not found. Ignoring. (3) # Executing group from file /etc/raddb/sites-enabled/default (3) Sent Access-Challenge Id 147 from 10.10.10.41:1812 to 10.10.10.169:43523 length 0 (3) EAP-Message = 0x01d600611900140303000101160303005079a7c2b0c0613f044ad8f016dd974af82c9894c546d8e9e79e1aa76f704d6347f83d69f301718c272bb284836a51a4f103de7594eb506dbd068b3bc3d59f3e972b591b5a27a1ee886d9083331cb2f7a0 (3) Message-Authenticator = 0x00000000000000000000000000000000 (3) State = 0x2ea7ef802d71f6df3693c3c995d521f2 (3) Finished request Waking up in 4.6 seconds. (4) Received Access-Request Id 148 from 10.10.10.169:43523 to 10.10.10.41:1812 length 85 (4) User-Name = "swadmin" (4) NAS-IP-Address = 10.10.10.41 (4) NAS-Port = 0 (4) State = 0x2ea7ef802d71f6df3693c3c995d521f2 (4) EAP-Message = 0x02d600061900 (4) Message-Authenticator = 0xab692927925f945469e6ba632403c514 (4) session-state: No cached attributes (4) # Executing section authorize from file /etc/raddb/sites-enabled/default (4) authorize { (4) policy filter_username { (4) if (!&User-Name) { (4) if (!&User-Name) -> FALSE (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) } # policy filter_username = notfound (4) [preprocess] = ok (4) [chap] = noop (4) [mschap] = noop (4) [digest] = noop (4) suffix: Checking for suffix after "@" (4) suffix: No '@' in User-Name = "swadmin", looking up realm NULL (4) suffix: No such realm "NULL" (4) [suffix] = noop (4) eap: Peer sent EAP Response (code 2) ID 214 length 6 (4) eap: Continuing tunnel setup (4) [eap] = ok (4) } # authorize = ok (4) Found Auth-Type = EAP (4) # Executing group from file /etc/raddb/sites-enabled/default (4) authenticate { (4) eap: Expiring EAP session with state 0x2ea7ef802d71f6df (4) eap: Finished EAP session with state 0x2ea7ef802d71f6df (4) eap: Previous EAP request found for state 0x2ea7ef802d71f6df, released from the list (4) eap: Peer sent packet with method EAP PEAP (25) (4) eap: Calling submodule eap_peap to process data (4) eap_peap: Continuing EAP-TLS (4) eap_peap: Peer ACKed our handshake fragment. handshake is finished (4) eap_peap: [eaptls verify] = success (4) eap_peap: [eaptls process] = success (4) eap_peap: Session established. Decoding tunneled attributes (4) eap_peap: PEAP state TUNNEL ESTABLISHED
UNKNOWN TLS VERSION ?0000? [length 0005] (4) eap: Sending EAP Request (code 1) ID 215 length 75 (4) eap: EAP session adding &reply:State = 0x2ea7ef802a70f6df (4) [eap] = handled (4) } # authenticate = handled (4) Using Post-Auth-Type Challenge (4) Post-Auth-Type sub-section not found. Ignoring. (4) # Executing group from file /etc/raddb/sites-enabled/default (4) Sent Access-Challenge Id 148 from 10.10.10.41:1812 to 10.10.10.169:43523 length 0 (4) EAP-Message = 0x01d7004b190017030300401aeaef07c9c4a249c81611f692e0264c010b134b01aa5103124201302cbc7da20e363d84e2df1fa5affdd908edf1fabbbfc2c7ae4b528534d61c7fb2503b991c (4) Message-Authenticator = 0x00000000000000000000000000000000 (4) State = 0x2ea7ef802a70f6df3693c3c995d521f2 (4) Finished request Waking up in 4.6 seconds. (5) Received Access-Request Id 149 from 10.10.10.169:43523 to 10.10.10.41:1812 length 154 (5) User-Name = "swadmin" (5) NAS-IP-Address = 10.10.10.41 (5) NAS-Port = 0 (5) State = 0x2ea7ef802a70f6df3693c3c995d521f2 (5) EAP-Message = 0x02d7004b1900170303004048503b60df80d3cc3e54ca84aced721f1ac4b552e6154d41dfd00507d9d1d536c231a056c02eae6747ae7787ea269b0c7320b15d06eba81bd7e8144c2499d9af (5) Message-Authenticator = 0xea1c0115468240cb351d04a41322e224 (5) session-state: No cached attributes (5) # Executing section authorize from file /etc/raddb/sites-enabled/default (5) authorize { (5) policy filter_username { (5) if (!&User-Name) { (5) if (!&User-Name) -> FALSE (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) } # policy filter_username = notfound (5) [preprocess] = ok (5) [chap] = noop (5) [mschap] = noop (5) [digest] = noop (5) suffix: Checking for suffix after "@" (5) suffix: No '@' in User-Name = "swadmin", looking up realm NULL (5) suffix: No such realm "NULL" (5) [suffix] = noop (5) eap: Peer sent EAP Response (code 2) ID 215 length 75 (5) eap: Continuing tunnel setup (5) [eap] = ok (5) } # authorize = ok (5) Found Auth-Type = EAP (5) # Executing group from file /etc/raddb/sites-enabled/default (5) authenticate { (5) eap: Expiring EAP session with state 0x2ea7ef802a70f6df (5) eap: Finished EAP session with state 0x2ea7ef802a70f6df (5) eap: Previous EAP request found for state 0x2ea7ef802a70f6df, released from the list (5) eap: Peer sent packet with method EAP PEAP (25) (5) eap: Calling submodule eap_peap to process data (5) eap_peap: Continuing EAP-TLS (5) eap_peap: [eaptls verify] = ok (5) eap_peap: Done initial handshake (5) eap_peap: <<< UNKNOWN TLS VERSION ?0000? [length 0005] (5) eap_peap: [eaptls process] = ok (5) eap_peap: Session established. Decoding tunneled attributes (5) eap_peap: PEAP state WAITING FOR INNER IDENTITY (5) eap_peap: Identity - swadmin (5) eap_peap: Got inner identity 'swadmin' (5) eap_peap: Setting default EAP type for tunneled EAP session (5) eap_peap: Got tunneled request (5) eap_peap: EAP-Message = 0x02d7000c01737761646d696e (5) eap_peap: Setting User-Name to swadmin (5) eap_peap: Sending tunneled request to inner-tunnel (5) eap_peap: EAP-Message = 0x02d7000c01737761646d696e (5) eap_peap: FreeRADIUS-Proxied-To = 127.0.0.1 (5) eap_peap: User-Name = "swadmin" (5) Virtual server inner-tunnel received request (5) EAP-Message = 0x02d7000c01737761646d696e (5) FreeRADIUS-Proxied-To = 127.0.0.1 (5) User-Name = "swadmin" (5) server inner-tunnel { (5) # Executing section authorize from file /etc/raddb/sites-enabled/inner-tunnel (5) authorize { (5) [chap] = noop (5) [mschap] = noop (5) suffix: Checking for suffix after "@" (5) suffix: No '@' in User-Name = "swadmin", looking up realm NULL (5) suffix: No such realm "NULL" (5) [suffix] = noop (5) update control { (5) &Proxy-To-Realm := LOCAL (5) } # update control = noop (5) eap: Peer sent EAP Response (code 2) ID 215 length 12 (5) eap: EAP-Identity reply, returning 'ok' so we can short-circuit the rest of authorize (5) [eap] = ok (5) } # authorize = ok (5) Found Auth-Type = EAP (5) # Executing group from file /etc/raddb/sites-enabled/inner-tunnel (5) authenticate { (5) eap: Peer sent packet with method EAP Identity (1) (5) eap: Calling submodule eap_mschapv2 to process data (5) eap_mschapv2: Issuing Challenge (5) eap: Sending EAP Request (code 1) ID 216 length 43 (5) eap: EAP session adding &reply:State = 0x7030667570e87c8f (5) [eap] = handled (5) } # authenticate = handled (5) } # server inner-tunnel (5) Virtual server sending reply (5) EAP-Message = 0x01d8002b1a01d80026103aa0ad783679564939103c1f7b0dc5cb667265657261646975732d332e302e3130 (5) Message-Authenticator = 0x00000000000000000000000000000000 (5) State = 0x7030667570e87c8f84ba25d6b5fb17c3 (5) eap_peap: Got tunneled reply code 11 (5) eap_peap: EAP-Message = 0x01d8002b1a01d80026103aa0ad783679564939103c1f7b0dc5cb667265657261646975732d332e302e3130 (5) eap_peap: Message-Authenticator = 0x00000000000000000000000000000000 (5) eap_peap: State = 0x7030667570e87c8f84ba25d6b5fb17c3 (5) eap_peap: Got tunneled reply RADIUS code 11 (5) eap_peap: EAP-Message = 0x01d8002b1a01d80026103aa0ad783679564939103c1f7b0dc5cb667265657261646975732d332e302e3130 (5) eap_peap: Message-Authenticator = 0x00000000000000000000000000000000 (5) eap_peap: State = 0x7030667570e87c8f84ba25d6b5fb17c3 (5) eap_peap: Got tunneled Access-Challenge UNKNOWN TLS VERSION ?0000? [length 0005] (5) eap: Sending EAP Request (code 1) ID 216 length 107 (5) eap: EAP session adding &reply:State = 0x2ea7ef802b7ff6df (5) [eap] = handled (5) } # authenticate = handled (5) Using Post-Auth-Type Challenge (5) Post-Auth-Type sub-section not found. Ignoring. (5) # Executing group from file /etc/raddb/sites-enabled/default (5) Sent Access-Challenge Id 149 from 10.10.10.41:1812 to 10.10.10.169:43523 length 0 (5) EAP-Message = 0x01d8006b19001703030060c9bdab5d392e1aec871e65586db7025cbca5ee23a681c6b15b518d3c2177dad94f504c1f91720adde5df703748c43883ab1007f8b755c9cdaf472c16b9a72788c6a02e5a05e3ec011d943af98faf54aaa2830d8530eb6df8892cc18b52f38d41 (5) Message-Authenticator = 0x00000000000000000000000000000000 (5) State = 0x2ea7ef802b7ff6df3693c3c995d521f2 (5) Finished request Waking up in 4.6 seconds. (6) Received Access-Request Id 150 from 10.10.10.169:43523 to 10.10.10.41:1812 length 202 (6) User-Name = "swadmin" (6) NAS-IP-Address = 10.10.10.41 (6) NAS-Port = 0 (6) State = 0x2ea7ef802b7ff6df3693c3c995d521f2 (6) EAP-Message = 0x02d8007b190017030300705f59d5dcd2ffacb0f62dc04b137c705df7c038f6c4fc41717f0a4ba04f10401556438a673f041b1ad6be8d571a04e9b33b0660df6fb81d3e583e1d7da9d4a162f6299601ced4393ee45053db3775b95da03a66759e2ee8f1440ef8b862aaac03b529721bf89ad6093364f785 (6) Message-Authenticator = 0x3b4888281df61cf5b2e770293b1ccb99 (6) session-state: No cached attributes (6) # Executing section authorize from file /etc/raddb/sites-enabled/default (6) authorize { (6) policy filter_username { (6) if (!&User-Name) { (6) if (!&User-Name) -> FALSE (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) } # policy filter_username = notfound (6) [preprocess] = ok (6) [chap] = noop (6) [mschap] = noop (6) [digest] = noop (6) suffix: Checking for suffix after "@" (6) suffix: No '@' in User-Name = "swadmin", looking up realm NULL (6) suffix: No such realm "NULL" (6) [suffix] = noop (6) eap: Peer sent EAP Response (code 2) ID 216 length 123 (6) eap: Continuing tunnel setup (6) [eap] = ok (6) } # authorize = ok (6) Found Auth-Type = EAP (6) # Executing group from file /etc/raddb/sites-enabled/default (6) authenticate { (6) eap: Expiring EAP session with state 0x7030667570e87c8f (6) eap: Finished EAP session with state 0x2ea7ef802b7ff6df (6) eap: Previous EAP request found for state 0x2ea7ef802b7ff6df, released from the list (6) eap: Peer sent packet with method EAP PEAP (25) (6) eap: Calling submodule eap_peap to process data (6) eap_peap: Continuing EAP-TLS (6) eap_peap: [eaptls verify] = ok (6) eap_peap: Done initial handshake (6) eap_peap: <<< UNKNOWN TLS VERSION ?0000? [length 0005] (6) eap_peap: [eaptls process] = ok (6) eap_peap: Session established. Decoding tunneled attributes (6) eap_peap: PEAP state phase2 (6) eap_peap: EAP method MSCHAPv2 (26) (6) eap_peap: Got tunneled request (6) eap_peap: EAP-Message = 0x02d800431a02d8003f316652b1aeefe86844cec805f6771b674700000000000000007bf917464e3670b7150d2f0124303d00ab612db1096bf76a00737761646d696e00 (6) eap_peap: Setting User-Name to swadmin (6) eap_peap: Sending tunneled request to inner-tunnel (6) eap_peap: EAP-Message = 0x02d800431a02d8003f316652b1aeefe86844cec805f6771b674700000000000000007bf917464e3670b7150d2f0124303d00ab612db1096bf76a00737761646d696e00 (6) eap_peap: FreeRADIUS-Proxied-To = 127.0.0.1 (6) eap_peap: User-Name = "swadmin" (6) eap_peap: State = 0x7030667570e87c8f84ba25d6b5fb17c3 (6) Virtual server inner-tunnel received request (6) EAP-Message = 0x02d800431a02d8003f316652b1aeefe86844cec805f6771b674700000000000000007bf917464e3670b7150d2f0124303d00ab612db1096bf76a00737761646d696e00 (6) FreeRADIUS-Proxied-To = 127.0.0.1 (6) User-Name = "swadmin" (6) State = 0x7030667570e87c8f84ba25d6b5fb17c3 (6) server inner-tunnel { (6) session-state: No cached attributes (6) # Executing section authorize from file /etc/raddb/sites-enabled/inner-tunnel (6) authorize { (6) [chap] = noop (6) [mschap] = noop (6) suffix: Checking for suffix after "@" (6) suffix: No '@' in User-Name = "swadmin", looking up realm NULL (6) suffix: No such realm "NULL" (6) [suffix] = noop (6) update control { (6) &Proxy-To-Realm := LOCAL (6) } # update control = noop (6) eap: Peer sent EAP Response (code 2) ID 216 length 67 (6) eap: No EAP Start, assuming it's an on-going EAP conversation (6) [eap] = updated (6) files: users: Matched entry swadmin at line 240 (6) [files] = ok (6) [expiration] = noop (6) [logintime] = noop (6) pap: WARNING: Auth-Type already set. Not setting to PAP (6) [pap] = noop (6) } # authorize = updated (6) Found Auth-Type = EAP (6) # Executing group from file /etc/raddb/sites-enabled/inner-tunnel (6) authenticate { (6) eap: Expiring EAP session with state 0x7030667570e87c8f (6) eap: Finished EAP session with state 0x7030667570e87c8f (6) eap: Previous EAP request found for state 0x7030667570e87c8f, released from the list (6) eap: Peer sent packet with method EAP MSCHAPv2 (26) (6) eap: Calling submodule eap_mschapv2 to process data (6) eap_mschapv2: # Executing group from file /etc/raddb/sites-enabled/inner-tunnel (6) eap_mschapv2: Auth-Type MS-CHAP { (6) mschap: Found Cleartext-Password, hashing to create NT-Password (6) mschap: Found Cleartext-Password, hashing to create LM-Password (6) mschap: WARNING: User-Name (swadmin) is not the same as MS-CHAP Name (swadmin) from EAP-MSCHAPv2 (6) mschap: Creating challenge hash with username: swadmin (6) mschap: Client is using MS-CHAPv2 (6) mschap: Adding MS-CHAPv2 MPPE keys (6) [mschap] = ok (6) } # Auth-Type MS-CHAP = ok (6) MSCHAP Success (6) eap: Sending EAP Request (code 1) ID 217 length 51 (6) eap: EAP session adding &reply:State = 0x7030667571e97c8f (6) [eap] = handled (6) } # authenticate = handled (6) } # server inner-tunnel (6) Virtual server sending reply (6) Brocade-Auth-Role = "admin" (6) Brocade-AVPairs1 = "HomeLF=128" (6) Brocade-AVPairs2 = "LFRoleList=admin:1-128" (6) Brocade-AVPairs3 = "ChassisRole=admin" (6) EAP-Message = 0x01d900331a03d8002e533d43433231363030394334444346333341463038384439363345333045323745323143323639334430 (6) Message-Authenticator = 0x00000000000000000000000000000000 (6) State = 0x7030667571e97c8f84ba25d6b5fb17c3 (6) eap_peap: Got tunneled reply code 11 (6) eap_peap: Brocade-Auth-Role = "admin" (6) eap_peap: Brocade-AVPairs1 = "HomeLF=128" (6) eap_peap: Brocade-AVPairs2 = "LFRoleList=admin:1-128" (6) eap_peap: Brocade-AVPairs3 = "ChassisRole=admin" (6) eap_peap: EAP-Message = 0x01d900331a03d8002e533d43433231363030394334444346333341463038384439363345333045323745323143323639334430 (6) eap_peap: Message-Authenticator = 0x00000000000000000000000000000000 (6) eap_peap: State = 0x7030667571e97c8f84ba25d6b5fb17c3 (6) eap_peap: Got tunneled reply RADIUS code 11 (6) eap_peap: Brocade-Auth-Role = "admin" (6) eap_peap: Brocade-AVPairs1 = "HomeLF=128" (6) eap_peap: Brocade-AVPairs2 = "LFRoleList=admin:1-128" (6) eap_peap: Brocade-AVPairs3 = "ChassisRole=admin" (6) eap_peap: EAP-Message = 0x01d900331a03d8002e533d43433231363030394334444346333341463038384439363345333045323745323143323639334430 (6) eap_peap: Message-Authenticator = 0x00000000000000000000000000000000 (6) eap_peap: State = 0x7030667571e97c8f84ba25d6b5fb17c3 (6) eap_peap: Got tunneled Access-Challenge UNKNOWN TLS VERSION ?0000? [length 0005] (6) eap: Sending EAP Request (code 1) ID 217 length 107 (6) eap: EAP session adding &reply:State = 0x2ea7ef80287ef6df (6) [eap] = handled (6) } # authenticate = handled (6) Using Post-Auth-Type Challenge (6) Post-Auth-Type sub-section not found. Ignoring. (6) # Executing group from file /etc/raddb/sites-enabled/default (6) Sent Access-Challenge Id 150 from 10.10.10.41:1812 to 10.10.10.169:43523 length 0 (6) EAP-Message = 0x01d9006b190017030300607af71da555afee854417f9ca8e0d54adeb166c468816e5f79198f9c51a1c75a15ba3ee3ad04597d52f18f53731dd9d81373dc08cfbe3bc2af50908a436103b48139bb885bc58eb99b30ffe9b0a1feb3450ba960c330f7dbc8e74efe62425f82a (6) Message-Authenticator = 0x00000000000000000000000000000000 (6) State = 0x2ea7ef80287ef6df3693c3c995d521f2 (6) Finished request Waking up in 4.6 seconds. (7) Received Access-Request Id 151 from 10.10.10.169:43523 to 10.10.10.41:1812 length 154 (7) User-Name = "swadmin" (7) NAS-IP-Address = 10.10.10.41 (7) NAS-Port = 0 (7) State = 0x2ea7ef80287ef6df3693c3c995d521f2 (7) EAP-Message = 0x02d9004b19001703030040bfc9701f5762ef472c945d8001dd2ae2d1ee074f1254e15e01e6ef9195ef06d156e93d2355429b2fd9fec886e321c35e790418b1f96facfc49cd17a6bd53e33c (7) Message-Authenticator = 0x4ad3f2e68b3d6b1e81fbf9a43a93215f (7) session-state: No cached attributes (7) # Executing section authorize from file /etc/raddb/sites-enabled/default (7) authorize { (7) policy filter_username { (7) if (!&User-Name) { (7) if (!&User-Name) -> FALSE (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) } # policy filter_username = notfound (7) [preprocess] = ok (7) [chap] = noop (7) [mschap] = noop (7) [digest] = noop (7) suffix: Checking for suffix after "@" (7) suffix: No '@' in User-Name = "swadmin", looking up realm NULL (7) suffix: No such realm "NULL" (7) [suffix] = noop (7) eap: Peer sent EAP Response (code 2) ID 217 length 75 (7) eap: Continuing tunnel setup (7) [eap] = ok (7) } # authorize = ok (7) Found Auth-Type = EAP (7) # Executing group from file /etc/raddb/sites-enabled/default (7) authenticate { (7) eap: Expiring EAP session with state 0x7030667571e97c8f (7) eap: Finished EAP session with state 0x2ea7ef80287ef6df (7) eap: Previous EAP request found for state 0x2ea7ef80287ef6df, released from the list (7) eap: Peer sent packet with method EAP PEAP (25) (7) eap: Calling submodule eap_peap to process data (7) eap_peap: Continuing EAP-TLS (7) eap_peap: [eaptls verify] = ok (7) eap_peap: Done initial handshake (7) eap_peap: <<< UNKNOWN TLS VERSION ?0000? [length 0005] (7) eap_peap: [eaptls process] = ok (7) eap_peap: Session established. Decoding tunneled attributes (7) eap_peap: PEAP state phase2 (7) eap_peap: EAP method MSCHAPv2 (26) (7) eap_peap: Got tunneled request (7) eap_peap: EAP-Message = 0x02d900061a03 (7) eap_peap: Setting User-Name to swadmin (7) eap_peap: Sending tunneled request to inner-tunnel (7) eap_peap: EAP-Message = 0x02d900061a03 (7) eap_peap: FreeRADIUS-Proxied-To = 127.0.0.1 (7) eap_peap: User-Name = "swadmin" (7) eap_peap: State = 0x7030667571e97c8f84ba25d6b5fb17c3 (7) Virtual server inner-tunnel received request (7) EAP-Message = 0x02d900061a03 (7) FreeRADIUS-Proxied-To = 127.0.0.1 (7) User-Name = "swadmin" (7) State = 0x7030667571e97c8f84ba25d6b5fb17c3 (7) server inner-tunnel { (7) session-state: No cached attributes (7) # Executing section authorize from file /etc/raddb/sites-enabled/inner-tunnel (7) authorize { (7) [chap] = noop (7) [mschap] = noop (7) suffix: Checking for suffix after "@" (7) suffix: No '@' in User-Name = "swadmin", looking up realm NULL (7) suffix: No such realm "NULL" (7) [suffix] = noop (7) update control { (7) &Proxy-To-Realm := LOCAL (7) } # update control = noop (7) eap: Peer sent EAP Response (code 2) ID 217 length 6 (7) eap: No EAP Start, assuming it's an on-going EAP conversation (7) [eap] = updated (7) files: users: Matched entry swadmin at line 240 (7) [files] = ok (7) [expiration] = noop (7) [logintime] = noop (7) pap: WARNING: Auth-Type already set. Not setting to PAP (7) [pap] = noop (7) } # authorize = updated (7) Found Auth-Type = EAP (7) # Executing group from file /etc/raddb/sites-enabled/inner-tunnel (7) authenticate { (7) eap: Expiring EAP session with state 0x7030667571e97c8f (7) eap: Finished EAP session with state 0x7030667571e97c8f (7) eap: Previous EAP request found for state 0x7030667571e97c8f, released from the list (7) eap: Peer sent packet with method EAP MSCHAPv2 (26) (7) eap: Calling submodule eap_mschapv2 to process data (7) eap: Sending EAP Success (code 3) ID 217 length 4 (7) eap: Freeing handler (7) [eap] = ok (7) } # authenticate = ok (7) # Executing section post-auth from file /etc/raddb/sites-enabled/inner-tunnel (7) post-auth { ... } # empty sub-section is ignored (7) } # server inner-tunnel (7) Virtual server sending reply (7) Brocade-Auth-Role = "admin" (7) Brocade-AVPairs1 = "HomeLF=128" (7) Brocade-AVPairs2 = "LFRoleList=admin:1-128" (7) Brocade-AVPairs3 = "ChassisRole=admin" (7) MS-MPPE-Encryption-Policy = Encryption-Allowed (7) MS-MPPE-Encryption-Types = RC4-40or128-bit-Allowed (7) MS-MPPE-Send-Key = 0x33b6ff31bf787acfda637a13cde3cf97 (7) MS-MPPE-Recv-Key = 0x47724e674b3ac6f2ad8658bac3500c47 (7) EAP-Message = 0x03d90004 (7) Message-Authenticator = 0x00000000000000000000000000000000 (7) User-Name = "swadmin" (7) eap_peap: Got tunneled reply code 2 (7) eap_peap: Brocade-Auth-Role = "admin" (7) eap_peap: Brocade-AVPairs1 = "HomeLF=128" (7) eap_peap: Brocade-AVPairs2 = "LFRoleList=admin:1-128" (7) eap_peap: Brocade-AVPairs3 = "ChassisRole=admin" (7) eap_peap: MS-MPPE-Encryption-Policy = Encryption-Allowed (7) eap_peap: MS-MPPE-Encryption-Types = RC4-40or128-bit-Allowed (7) eap_peap: MS-MPPE-Send-Key = 0x33b6ff31bf787acfda637a13cde3cf97 (7) eap_peap: MS-MPPE-Recv-Key = 0x47724e674b3ac6f2ad8658bac3500c47 (7) eap_peap: EAP-Message = 0x03d90004 (7) eap_peap: Message-Authenticator = 0x00000000000000000000000000000000 (7) eap_peap: User-Name = "swadmin" (7) eap_peap: Got tunneled reply RADIUS code 2 (7) eap_peap: Brocade-Auth-Role = "admin" (7) eap_peap: Brocade-AVPairs1 = "HomeLF=128" (7) eap_peap: Brocade-AVPairs2 = "LFRoleList=admin:1-128" (7) eap_peap: Brocade-AVPairs3 = "ChassisRole=admin" (7) eap_peap: MS-MPPE-Encryption-Policy = Encryption-Allowed (7) eap_peap: MS-MPPE-Encryption-Types = RC4-40or128-bit-Allowed (7) eap_peap: MS-MPPE-Send-Key = 0x33b6ff31bf787acfda637a13cde3cf97 (7) eap_peap: MS-MPPE-Recv-Key = 0x47724e674b3ac6f2ad8658bac3500c47 (7) eap_peap: EAP-Message = 0x03d90004 (7) eap_peap: Message-Authenticator = 0x00000000000000000000000000000000 (7) eap_peap: User-Name = "swadmin" (7) eap_peap: Tunneled authentication was successful (7) eap_peap: SUCCESS UNKNOWN TLS VERSION ?0000? [length 0005] (7) eap: Sending EAP Request (code 1) ID 218 length 75 (7) eap: EAP session adding &reply:State = 0x2ea7ef80297df6df (7) [eap] = handled (7) } # authenticate = handled (7) Using Post-Auth-Type Challenge (7) Post-Auth-Type sub-section not found. Ignoring. (7) # Executing group from file /etc/raddb/sites-enabled/default (7) Sent Access-Challenge Id 151 from 10.10.10.41:1812 to 10.10.10.169:43523 length 0 (7) EAP-Message = 0x01da004b190017030300400b6d3844237e81e2b4974b625b0d106880b733bac6465822e027576124a9bb1dbf6116625a93ba3591752ee1b02bae725bd54f609388e86a03663eb050bdf265 (7) Message-Authenticator = 0x00000000000000000000000000000000 (7) State = 0x2ea7ef80297df6df3693c3c995d521f2 (7) Finished request Waking up in 4.6 seconds. (8) Received Access-Request Id 152 from 10.10.10.169:43523 to 10.10.10.41:1812 length 154 (8) User-Name = "swadmin" (8) NAS-IP-Address = 10.10.10.41 (8) NAS-Port = 0 (8) State = 0x2ea7ef80297df6df3693c3c995d521f2 (8) EAP-Message = 0x02da004b190017030300401ca8412f64b2a64783cf02e13ce56d48eac71bb1b7c912704f95673053ba6c48d8c6ba5ef6f1b92680a2b631c14a91a9eb4642700ff61364ff94957617797d39 (8) Message-Authenticator = 0x9e7abcbbcd46d0a587f3205bd42b3df2 (8) session-state: No cached attributes (8) # Executing section authorize from file /etc/raddb/sites-enabled/default (8) authorize { (8) policy filter_username { (8) if (!&User-Name) { (8) if (!&User-Name) -> FALSE (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) } # policy filter_username = notfound (8) [preprocess] = ok (8) [chap] = noop (8) [mschap] = noop (8) [digest] = noop (8) suffix: Checking for suffix after "@" (8) suffix: No '@' in User-Name = "swadmin", looking up realm NULL (8) suffix: No such realm "NULL" (8) [suffix] = noop (8) eap: Peer sent EAP Response (code 2) ID 218 length 75 (8) eap: Continuing tunnel setup (8) [eap] = ok (8) } # authorize = ok (8) Found Auth-Type = EAP (8) # Executing group from file /etc/raddb/sites-enabled/default (8) authenticate { (8) eap: Expiring EAP session with state 0x2ea7ef80297df6df (8) eap: Finished EAP session with state 0x2ea7ef80297df6df (8) eap: Previous EAP request found for state 0x2ea7ef80297df6df, released from the list (8) eap: Peer sent packet with method EAP PEAP (25) (8) eap: Calling submodule eap_peap to process data (8) eap_peap: Continuing EAP-TLS (8) eap_peap: [eaptls verify] = ok (8) eap_peap: Done initial handshake (8) eap_peap: <<< UNKNOWN TLS VERSION ?0000? [length 0005] (8) eap_peap: [eaptls process] = ok (8) eap_peap: Session established. Decoding tunneled attributes (8) eap_peap: PEAP state send tlv success (8) eap_peap: Received EAP-TLV response (8) eap_peap: Success (8) eap_peap: No information to cache: session caching will be disabled for session c929510df244ed060c53cd90e9b2940df2add6e931aeaca3a7602f0ec476608b (8) eap: Sending EAP Success (code 3) ID 218 length 4 (8) eap: Freeing handler (8) [eap] = ok (8) } # authenticate = ok (8) # Executing section post-auth from file /etc/raddb/sites-enabled/default (8) post-auth { (8) update { (8) No attributes updated (8) } # update = noop (8) [exec] = noop (8) policy remove_reply_message_if_eap { (8) if (&reply:EAP-Message && &reply:Reply-Message) { (8) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE (8) else { (8) [noop] = noop (8) } # else = noop (8) } # policy remove_reply_message_if_eap = noop (8) } # post-auth = noop (8) Sent Access-Accept Id 152 from 10.10.10.41:1812 to 10.10.10.169:43523 length 0 (8) MS-MPPE-Recv-Key = 0xb2cc66124674f4d4f89ec8157c5cf0d0aff128a59ca2639710ca2b4ee8f104b3 (8) MS-MPPE-Send-Key = 0xa9d0387844078ce9b898d64c14b05afaae367e89184f9557a85cb24f79b16f93 (8) EAP-Message = 0x03da0004 (8) Message-Authenticator = 0x00000000000000000000000000000000 (8) User-Name = "swadmin" (8) Finished request Waking up in 4.6 seconds. (9) Received Accounting-Request Id 7 from 10.10.10.169:18022 to 10.10.10.41:1813 length 85 (9) User-Name = "swadmin" (9) NAS-IP-Address = 10.10.10.169 (9) NAS-Identifier = "HuaweiWedgeSec" (9) NAS-Port = 16997 (9) NAS-Port-Type = Virtual (9) Acct-Status-Type = Start (9) Acct-Session-Id = "00016997" (9) Acct-Authentic = RADIUS (9) # Executing section preacct from file /etc/raddb/sites-enabled/default (9) preacct { (9) [preprocess] = ok (9) policy acct_unique { (9) if ("%{string:Class}" =~ /ai:([0-9a-f]{32})/i) { (9) EXPAND %{string:Class} (9) --> (9) if ("%{string:Class}" =~ /ai:([0-9a-f]{32})/i) -> FALSE (9) else { (9) update request { (9) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (9) --> 767dde204e68d7d421422d0bcd251691 (9) &Acct-Unique-Session-Id := 767dde204e68d7d421422d0bcd251691 (9) } # update request = noop (9) } # else = noop (9) } # policy acct_unique = noop (9) suffix: Checking for suffix after "@" (9) suffix: No '@' in User-Name = "swadmin", looking up realm NULL (9) suffix: No such realm "NULL" (9) [suffix] = noop (9) [files] = noop (9) } # preacct = ok (9) # Executing section accounting from file /etc/raddb/sites-enabled/default (9) accounting { (9) detail: EXPAND /var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (9) detail: --> /var/log/radius/radacct/10.10.10.169/detail-20170919 (9) detail: /var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/radius/radacct/10.10.10.169/detail-20170919 (9) detail: EXPAND %t (9) detail: --> Tue Sep 19 14:50:25 2017 (9) [detail] = ok (9) [unix] = ok (9) [exec] = noop (9) attr_filter.accounting_response: EXPAND %{User-Name} (9) attr_filter.accounting_response: --> swadmin (9) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (9) [attr_filter.accounting_response] = updated (9) } # accounting = updated (9) Sent Accounting-Response Id 7 from 10.10.10.41:1813 to 10.10.10.169:18022 length 0 (9) Finished request (9) Cleaning up request packet ID 7 with timestamp +226 Waking up in 4.4 seconds. (10) Received Accounting-Request Id 183 from 10.10.10.169:18022 to 10.10.10.41:1813 length 91 (10) User-Name = "swadmin" (10) NAS-IP-Address = 10.10.10.169 (10) NAS-Identifier = "HuaweiWedgeSec" (10) NAS-Port = 16997 (10) NAS-Port-Type = Virtual (10) Acct-Status-Type = Stop (10) Acct-Session-Id = "00016997" (10) Acct-Authentic = RADIUS (10) Acct-Session-Time = 0 (10) # Executing section preacct from file /etc/raddb/sites-enabled/default (10) preacct { (10) [preprocess] = ok (10) policy acct_unique { (10) if ("%{string:Class}" =~ /ai:([0-9a-f]{32})/i) { (10) EXPAND %{string:Class} (10) --> (10) if ("%{string:Class}" =~ /ai:([0-9a-f]{32})/i) -> FALSE (10) else { (10) update request { (10) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6-Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (10) --> 767dde204e68d7d421422d0bcd251691 (10) &Acct-Unique-Session-Id := 767dde204e68d7d421422d0bcd251691 (10) } # update request = noop (10) } # else = noop (10) } # policy acct_unique = noop (10) suffix: Checking for suffix after "@" (10) suffix: No '@' in User-Name = "swadmin", looking up realm NULL (10) suffix: No such realm "NULL" (10) [suffix] = noop (10) [files] = noop (10) } # preacct = ok (10) # Executing section accounting from file /etc/raddb/sites-enabled/default (10) accounting { (10) detail: EXPAND /var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d (10) detail: --> /var/log/radius/radacct/10.10.10.169/detail-20170919 (10) detail: /var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/radius/radacct/10.10.10.169/detail-20170919 (10) detail: EXPAND %t (10) detail: --> Tue Sep 19 14:50:25 2017 (10) [detail] = ok (10) [unix] = ok (10) [exec] = noop (10) attr_filter.accounting_response: EXPAND %{User-Name} (10) attr_filter.accounting_response: --> swadmin (10) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (10) [attr_filter.accounting_response] = updated (10) } # accounting = updated (10) Sent Accounting-Response Id 183 from 10.10.10.41:1813 to 10.10.10.169:18022 length 0 (10) Finished request
I attempted to start radiusd with -Xx in case that is helpful, but I still am not sure if this is reading the dictionary. My users contains: swadmin Cleartext-Password := "supersecret" Brocade-Auth-Role = "admin", Brocade-AVPairs1 = "HomeLF=128", Brocade-AVPairs2 = "LFRoleList=admin:1-128", Brocade-AVPairs3 = "ChassisRole=admin" swuser Cleartext-Password := "supersecret" Brocade-Auth-Role = "user", Brocade-AVPairs1 = "HomeLF=128", Brocade-AVPairs2 = "LFRoleList=user:1-128", Brocade-AVPairs3 = "ChassisRole=user", Brocade-Passwd-ExpiryDate = "10/01/2017", Brocade-Passwd-WarnPeriod = "31" Thanks for any assistance, Chris
On Sep 19, 2017, at 5:14 PM, Chris Kukkonen <chris@mindworkssec.com> wrote:
I am attempting to use a vendors dictionary: /usr/share/freeradius/dictionary/dictionary.brocade and I believe it is not being read. I have removed commented lines from dictionary.
We already know what they contain. There is no need to post them to the list.
Dictionaries in /usr/share/freeradius are root/root but I am not sure if these are actually used.
Yes, they're used.
When starting radiusd, I am not able to confirm dictionary.brocade is loaded, and my clients are not receiving their attributes.
[root@vader ~]# /usr/sbin/radiusd -X ... including dictionary file /etc/raddb/dictionary <------ This is where I would expect to see the dictionary.brocade called out
It loads *hundreds* of dictionary files. It doesn't print all of the filenames.
I attempted to start radiusd with -Xx in case that is helpful, but I still am not sure if this is reading the dictionary.
Yes, it's reading the dictionaries.
My users contains:
swadmin Cleartext-Password := "supersecret" Brocade-Auth-Role = "admin", Brocade-AVPairs1 = "HomeLF=128", Brocade-AVPairs2 = "LFRoleList=admin:1-128", Brocade-AVPairs3 = "ChassisRole=admin"
swuser Cleartext-Password := "supersecret" Brocade-Auth-Role = "user", Brocade-AVPairs1 = "HomeLF=128", Brocade-AVPairs2 = "LFRoleList=user:1-128", Brocade-AVPairs3 = "ChassisRole=user", Brocade-Passwd-ExpiryDate = "10/01/2017", Brocade-Passwd-WarnPeriod = "31"
If the server wasn't reading the dictionaries, it would not be able to parse those entries in the "users" file. If you read the debug output, you'll see it prints out the name of the "users" file it's loading. It's also printing out that it's matching the appropriate entry in the "user" file:
(6) files: users: Matched entry swadmin at line 240
You'll *also* see it USING the Brocade attributes:
(6) eap_peap: Got tunneled reply code 11 (6) eap_peap: Brocade-Auth-Role = "admin" (6) eap_peap: Brocade-AVPairs1 = "HomeLF=128" (6) eap_peap: Brocade-AVPairs2 = "LFRoleList=admin:1-128" (6) eap_peap: Brocade-AVPairs3 = "ChassisRole=admin"
As always, it helps to READ the debug output. If you're worried about it using Brocade attributes... search the debug output for the word "Brocade". The real issue is that it's not sending those attributes in the Access-Accept. Again, reading the debug output will tell you why. Because the "default" virtual server isn't running the "files" module. It's only being run in the "inner-tunnel" virtual server. If you want the inner-tunnel reply to be used as the default reply to the client, read raddb/mods-available/eap, and look for "use_tunneled_reply". Alan DeKok.
As per the dictionary file in your raddb directory: # As of version 3.0.2, FreeRADIUS will automatically # load the main dictionary files from # # ${prefix}/share/freeradius/dictionary # # It is no longer necessary for this file to $INCLUDE # the main dictionaries. However, if the $INCLUDE # line is here, nothing bad will happen. So whatever is in your radiusd.conf pointing to ${prefix} typically: radiusd.conf: prefix = /usr Then in the /usr/share/freeradius/dictionary will have a lot of $INCLUDE statements for every dictionary. But just because when starting radiusd -X doesn't show all dictionaries, doesn't mean they aren't being loaded. ... including dictionary file /usr/share/freeradius/dictionary including dictionary file /usr/share/freeradius/dictionary.dhcp including dictionary file /usr/share/freeradius/dictionary.vqp ... So unless you have commented out the $INCLUDE statement in the /usr/share/freeradius/dictionary file it will load all the dictionaries in that directory specified by the $INCLUDE statement. On Wed, Sep 20, 2017 at 9:14 AM, Chris Kukkonen <chris@mindworkssec.com> wrote:
I am attempting to use a vendors dictionary: /usr/share/freeradius/dictionary/dictionary.brocade and I believe it is not being read. I have removed commented lines from dictionary.
[root@vader raddb]# pwd /etc/raddb [root@vader raddb]# ls -al dic* -rw-r--r--. 1 root radiusd 1667 Sep 19 14:44 dictionary -rw-r--r--. 1 root radiusd 688 Sep 18 15:35 dictionary.brocade [root@vader raddb]# more dictionary # # $Id: eed5d70f41b314f9ed3f006a22d9f9a2be2c9516 $ # $INCLUDE /usr/share/freeradius/dictionary $INCLUDE dictionary.brocade
[root@vader raddb]# more dictionary.brocade # -*- text -*- # Copyright (C) 2015 The FreeRADIUS Server project and contributors # VENDOR Brocade 1588 BEGIN-VENDOR Brocade
ATTRIBUTE Brocade-Auth-Role 1 string # Valid attribute values: # Admin BasicSwitchAdmin FabricAdmin Operator # SecurityAdmin SwitchAdmin User ZoneAdmin
ATTRIBUTE Brocade-AVPairs1 2 string ATTRIBUTE Brocade-AVPairs2 3 string ATTRIBUTE Brocade-AVPairs3 4 string ATTRIBUTE Brocade-AVPairs4 5 string # Brocade-AVPairs1/2/3/4: # Optional, specifies Admin Domain or Virtual Fabric List
ATTRIBUTE Brocade-Passwd-ExpiryDate 6 string # Format: MM/DD/YYYY ATTRIBUTE Brocade-Passwd-WarnPeriod 7 string # Format: integer in days
END-VENDOR Brocade
Dictionaries in /usr/share/freeradius are root/root but I am not sure if these are actually used.
When starting radiusd, I am not able to confirm dictionary.brocade is loaded, and my clients are not receiving their attributes.
[root@vader ~]# /usr/sbin/radiusd -X Copyright (C) 1999-2015 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/raddb/dictionary <------ This is where I would expect to see the dictionary.brocade called out including configuration file /etc/raddb/radiusd.conf including configuration file /etc/raddb/proxy.conf including configuration file /etc/raddb/clients.conf including files in directory /etc/raddb/mods-enabled/ including configuration file /etc/raddb/mods-enabled/eap including configuration file /etc/raddb/mods-enabled/expiration including configuration file /etc/raddb/mods-enabled/files including configuration file /etc/raddb/mods-enabled/digest including configuration file /etc/raddb/mods-enabled/preprocess including configuration file /etc/raddb/mods-enabled/dynamic_clients including configuration file /etc/raddb/mods-enabled/detail including configuration file /etc/raddb/mods-enabled/echo including configuration file /etc/raddb/mods-enabled/replicate including configuration file /etc/raddb/mods-enabled/unix including configuration file /etc/raddb/mods-enabled/linelog including configuration file /etc/raddb/mods-enabled/chap including configuration file /etc/raddb/mods-enabled/detail.log including configuration file /etc/raddb/mods-enabled/logintime including configuration file /etc/raddb/mods-enabled/expr including configuration file /etc/raddb/mods-enabled/sradutmp including configuration file /etc/raddb/mods-enabled/utf8 including configuration file /etc/raddb/mods-enabled/cache_eap including configuration file /etc/raddb/mods-enabled/pap including configuration file /etc/raddb/mods-enabled/ntlm_auth including configuration file /etc/raddb/mods-enabled/exec including configuration file /etc/raddb/mods-enabled/attr_filter including configuration file /etc/raddb/mods-enabled/realm including configuration file /etc/raddb/mods-enabled/dhcp including configuration file /etc/raddb/mods-enabled/always including configuration file /etc/raddb/mods-enabled/soh including configuration file /etc/raddb/mods-enabled/passwd including configuration file /etc/raddb/mods-enabled/mschap including configuration file /etc/raddb/mods-enabled/radutmp including configuration file /etc/raddb/mods-enabled/unpack including files in directory /etc/raddb/policy.d/ including configuration file /etc/raddb/policy.d/eap including configuration file /etc/raddb/policy.d/debug including configuration file /etc/raddb/policy.d/cui including configuration file /etc/raddb/policy.d/filter including configuration file /etc/raddb/policy.d/operator-name including configuration file /etc/raddb/policy.d/dhcp including configuration file /etc/raddb/policy.d/accounting including configuration file /etc/raddb/policy.d/control including configuration file /etc/raddb/policy.d/canonicalization including files in directory /etc/raddb/sites-enabled/ including configuration file /etc/raddb/sites-enabled/default including configuration file /etc/raddb/sites-enabled/inner-tunnel main { security { user = "radiusd" group = "radiusd" allow_core_dumps = no } name = "radiusd" prefix = "/usr" localstatedir = "/var" logdir = "/var/log/radius" run_dir = "/var/run/radiusd" } main { name = "radiusd" prefix = "/usr" localstatedir = "/var" sbindir = "/usr/sbin" logdir = "/var/log/radius" run_dir = "/var/run/radiusd" libdir = "/usr/lib64/freeradius" radacctdir = "/var/log/radius/radacct" hostname_lookups = no max_request_time = 30 cleanup_delay = 5 max_requests = 16384 pidfile = "/var/run/radiusd/radiusd.pid" checkrad = "/usr/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 { ipaddr = 127.0.0.1 port = 1812 type = "auth" secret = <<< secret >>> response_window = 20.000000 response_timeouts = 1 max_outstanding = 65536 zombie_period = 40 status_check = "status-server" ping_interval = 30 check_interval = 30 check_timeout = 4 num_answers_to_alive = 3 revive_interval = 120 limit { max_connections = 16 max_requests = 0 lifetime = 0 idle_timeout = 0 } coa { irt = 2 mrt = 16 mrc = 5 mrd = 30 } } home_server_pool my_auth_failover { type = fail-over home_server = localhost } realm example.com { auth_pool = my_auth_failover } realm LOCAL { } radiusd: #### Loading Clients #### client 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 10.10.10.0/24 { require_message_authenticator = no secret = <<< secret >>> limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } No 'ipaddr' or 'ipv4addr' or 'ipv6addr' field found in client 10.10.10.0/24. Please fix your configuration Support for old-style clients will be removed in a future release Debugger not attached # Creating Auth-Type = digest radiusd: #### Instantiating modules #### # Loaded module rlm_eap # Loading module "eap" from file /etc/raddb/mods-enabled/eap eap { default_eap_type = "peap" timer_expire = 60 ignore_unknown_eap_types = no cisco_accounting_username_bug = no max_sessions = 16384 } # Loaded module rlm_expiration # Loading module "expiration" from file /etc/raddb/mods-enabled/ expiration # Loaded module rlm_files # Loading module "files" from file /etc/raddb/mods-enabled/files files { filename = "/etc/raddb/mods-config/files/authorize" acctusersfile = "/etc/raddb/mods-config/files/accounting" preproxy_usersfile = "/etc/raddb/mods-config/files/pre-proxy" } # Loaded module rlm_digest # Loading module "digest" from file /etc/raddb/mods-enabled/digest # Loaded module rlm_preprocess # Loading module "preprocess" from file /etc/raddb/mods-enabled/ preprocess preprocess { huntgroups = "/etc/raddb/mods-config/preprocess/huntgroups" hints = "/etc/raddb/mods-config/preprocess/hints" with_ascend_hack = no ascend_channels_per_line = 23 with_ntdomain_hack = no with_specialix_jetstream_hack = no with_cisco_vsa_hack = no with_alvarion_vsa_hack = no } # Loaded module rlm_dynamic_clients # Loading module "dynamic_clients" from file /etc/raddb/mods-enabled/dynamic_clients # Loaded module rlm_detail # Loading module "detail" from file /etc/raddb/mods-enabled/detail detail { filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{ Packet-Src-IPv6-Address}}/detail-%Y%m%d" header = "%t" permissions = 384 locking = no escape_filenames = no log_packet_header = no } # Loaded module rlm_exec # Loading module "echo" from file /etc/raddb/mods-enabled/echo exec echo { wait = yes program = "/bin/echo %{User-Name}" input_pairs = "request" output_pairs = "reply" shell_escape = yes } # Loaded module rlm_replicate # Loading module "replicate" from file /etc/raddb/mods-enabled/replicate # Loaded module rlm_unix # Loading module "unix" from file /etc/raddb/mods-enabled/unix unix { radwtmp = "/var/log/radius/radwtmp" } Creating attribute Unix-Group # Loaded module rlm_linelog # Loading module "linelog" from file /etc/raddb/mods-enabled/linelog linelog { filename = "/var/log/radius/linelog" escape_filenames = no syslog_severity = "info" permissions = 384 format = "This is a log message for %{User-Name}" reference = "messages.%{%{reply:Packet-Type}:-default}" } # Loading module "log_accounting" from file /etc/raddb/mods-enabled/linelog linelog log_accounting { filename = "/var/log/radius/linelog-accounting" escape_filenames = no syslog_severity = "info" permissions = 384 format = "" reference = "Accounting-Request.%{%{Acct-Status-Type}:-unknown}" } # Loaded module rlm_chap # Loading module "chap" from file /etc/raddb/mods-enabled/chap # Loading module "auth_log" from file /etc/raddb/mods-enabled/detail.log detail auth_log { filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{ Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d" header = "%t" permissions = 384 locking = no escape_filenames = no log_packet_header = no } # Loading module "reply_log" from file /etc/raddb/mods-enabled/ detail.log detail reply_log { filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{ Packet-Src-IPv6-Address}}/reply-detail-%Y%m%d" header = "%t" permissions = 384 locking = no escape_filenames = no log_packet_header = no } # Loading module "pre_proxy_log" from file /etc/raddb/mods-enabled/detail.log detail pre_proxy_log { filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{ Packet-Src-IPv6-Address}}/pre-proxy-detail-%Y%m%d" header = "%t" permissions = 384 locking = no escape_filenames = no log_packet_header = no } # Loading module "post_proxy_log" from file /etc/raddb/mods-enabled/detail.log detail post_proxy_log { filename = "/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{ Packet-Src-IPv6-Address}}/post-proxy-detail-%Y%m%d" header = "%t" permissions = 384 locking = no escape_filenames = no log_packet_header = no } # Loaded module rlm_logintime # Loading module "logintime" from file /etc/raddb/mods-enabled/logintime logintime { minimum_timeout = 60 } # Loaded module rlm_expr # Loading module "expr" from file /etc/raddb/mods-enabled/expr expr { safe_characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /äéöüà âæçèéêëîïôœùûüaÿÄÉÖÜßÀÂÆÇÈÉÊËÎà ÔŒÙÛÜŸ" } # Loaded module rlm_radutmp # Loading module "sradutmp" from file /etc/raddb/mods-enabled/sradutmp radutmp sradutmp { filename = "/var/log/radius/sradutmp" username = "%{User-Name}" case_sensitive = yes check_with_nas = yes permissions = 420 caller_id = no } # Loaded module rlm_utf8 # Loading module "utf8" from file /etc/raddb/mods-enabled/utf8 # Loaded module rlm_cache # Loading module "cache_eap" from file /etc/raddb/mods-enabled/cache_eap cache cache_eap { driver = "rlm_cache_rbtree" key = "%{%{control:State}:-%{%{reply:State}:-%{State}}}" ttl = 15 max_entries = 0 epoch = 0 add_stats = no } # Loaded module rlm_pap # Loading module "pap" from file /etc/raddb/mods-enabled/pap pap { normalise = yes } # Loading module "ntlm_auth" from file /etc/raddb/mods-enabled/ntlm_auth exec ntlm_auth { wait = yes program = "/path/to/ntlm_auth --request-nt-key --domain=MYDOMAIN --username=%{mschap:User-Name} --password=%{User-Password}" shell_escape = yes } # Loading module "exec" from file /etc/raddb/mods-enabled/exec exec { wait = no input_pairs = "request" shell_escape = yes timeout = 10 } # Loaded module rlm_attr_filter # Loading module "attr_filter.post-proxy" from file /etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.post-proxy { filename = "/etc/raddb/mods-config/attr_filter/post-proxy" key = "%{Realm}" relaxed = no } # Loading module "attr_filter.pre-proxy" from file /etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.pre-proxy { filename = "/etc/raddb/mods-config/attr_filter/pre-proxy" key = "%{Realm}" relaxed = no } # Loading module "attr_filter.access_reject" from file /etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.access_reject { filename = "/etc/raddb/mods-config/attr_filter/access_reject" key = "%{User-Name}" relaxed = no } # Loading module "attr_filter.access_challenge" from file /etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.access_challenge { filename = "/etc/raddb/mods-config/attr_filter/access_challenge" key = "%{User-Name}" relaxed = no } # Loading module "attr_filter.accounting_response" from file /etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.accounting_response { filename = "/etc/raddb/mods-config/attr_ filter/accounting_response" key = "%{User-Name}" relaxed = no } # Loaded module rlm_realm # Loading module "IPASS" from file /etc/raddb/mods-enabled/realm realm IPASS { format = "prefix" delimiter = "/" ignore_default = no ignore_null = no } # Loading module "suffix" from file /etc/raddb/mods-enabled/realm realm suffix { format = "suffix" delimiter = "@" ignore_default = no ignore_null = no } # Loading module "realmpercent" from file /etc/raddb/mods-enabled/realm realm realmpercent { format = "suffix" delimiter = "%" ignore_default = no ignore_null = no } # Loading module "ntdomain" from file /etc/raddb/mods-enabled/realm realm ntdomain { format = "prefix" delimiter = "\\" ignore_default = no ignore_null = no } # Loaded module rlm_dhcp # Loading module "dhcp" from file /etc/raddb/mods-enabled/dhcp # Loaded module rlm_always # Loading module "reject" from file /etc/raddb/mods-enabled/always always reject { rcode = "reject" simulcount = 0 mpp = no } # Loading module "fail" from file /etc/raddb/mods-enabled/always always fail { rcode = "fail" simulcount = 0 mpp = no } # Loading module "ok" from file /etc/raddb/mods-enabled/always always ok { rcode = "ok" simulcount = 0 mpp = no } # Loading module "handled" from file /etc/raddb/mods-enabled/always always handled { rcode = "handled" simulcount = 0 mpp = no } # Loading module "invalid" from file /etc/raddb/mods-enabled/always always invalid { rcode = "invalid" simulcount = 0 mpp = no } # Loading module "userlock" from file /etc/raddb/mods-enabled/always always userlock { rcode = "userlock" simulcount = 0 mpp = no } # Loading module "notfound" from file /etc/raddb/mods-enabled/always always notfound { rcode = "notfound" simulcount = 0 mpp = no } # Loading module "noop" from file /etc/raddb/mods-enabled/always always noop { rcode = "noop" simulcount = 0 mpp = no } # Loading module "updated" from file /etc/raddb/mods-enabled/always always updated { rcode = "updated" simulcount = 0 mpp = no } # Loaded module rlm_soh # Loading module "soh" from file /etc/raddb/mods-enabled/soh soh { dhcp = yes } # Loaded module rlm_passwd # Loading module "etc_passwd" from file /etc/raddb/mods-enabled/passwd passwd etc_passwd { filename = "/etc/passwd" format = "*User-Name:Crypt-Password:" delimiter = ":" ignore_nislike = no ignore_empty = yes allow_multiple_keys = no hash_size = 100 } # Loaded module rlm_mschap # Loading module "mschap" from file /etc/raddb/mods-enabled/mschap mschap { use_mppe = yes require_encryption = no require_strong = no with_ntdomain_hack = yes passchange { } allow_retry = yes } # Loading module "radutmp" from file /etc/raddb/mods-enabled/radutmp radutmp { filename = "/var/log/radius/radutmp" username = "%{User-Name}" case_sensitive = yes check_with_nas = yes permissions = 384 caller_id = yes } # Loaded module rlm_unpack # Loading module "unpack" from file /etc/raddb/mods-enabled/unpack instantiate { } modules { # Instantiating module "eap" from file /etc/raddb/mods-enabled/eap # Linked to sub-module rlm_eap_md5 # Linked to sub-module rlm_eap_leap # Linked to sub-module rlm_eap_gtc gtc { challenge = "Password: " auth_type = "PAP" } # Linked to sub-module rlm_eap_tls tls { tls = "tls-common" } tls-config tls-common { rsa_key_exchange = no dh_key_exchange = yes rsa_key_length = 512 dh_key_length = 512 verify_depth = 0 ca_path = "/etc/raddb/certs" pem_file_type = yes private_key_file = "/etc/raddb/certs/ca.key" certificate_file = "/etc/raddb/certs/ca.pem" ca_file = "/etc/raddb/certs/ca.pem" private_key_password = <<< secret >>> dh_file = "/etc/raddb/certs/dh" random_file = "/dev/urandom" fragment_size = 1024 include_length = yes check_crl = no check_all_crl = no cipher_list = "DEFAULT" ecdh_curve = "prime256v1" cache { enable = yes lifetime = 24 max_entries = 255 } verify { } 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 = "peap" 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 "expiration" from file /etc/raddb/mods-enabled/expiration # Instantiating module "files" from file /etc/raddb/mods-enabled/files reading pairlist file /etc/raddb/mods-config/files/authorize reading pairlist file /etc/raddb/mods-config/files/accounting reading pairlist file /etc/raddb/mods-config/files/pre-proxy # Instantiating module "preprocess" from file /etc/raddb/mods-enabled/preprocess reading pairlist file /etc/raddb/mods-config/preprocess/huntgroups reading pairlist file /etc/raddb/mods-config/preprocess/hints # Instantiating module "detail" from file /etc/raddb/mods-enabled/detail # Instantiating module "linelog" from file /etc/raddb/mods-enabled/ linelog # Instantiating module "log_accounting" from file /etc/raddb/mods-enabled/linelog # Instantiating module "auth_log" from file /etc/raddb/mods-enabled/detail.log rlm_detail (auth_log): 'User-Password' suppressed, will not appear in detail output # Instantiating module "reply_log" from file /etc/raddb/mods-enabled/detail.log # Instantiating module "pre_proxy_log" from file /etc/raddb/mods-enabled/detail.log # Instantiating module "post_proxy_log" from file /etc/raddb/mods-enabled/detail.log # Instantiating module "logintime" from file /etc/raddb/mods-enabled/logintime # Instantiating module "cache_eap" from file /etc/raddb/mods-enabled/cache_eap rlm_cache (cache_eap): Driver rlm_cache_rbtree (module rlm_cache_rbtree) loaded and linked # Instantiating module "pap" from file /etc/raddb/mods-enabled/pap # Instantiating module "attr_filter.post-proxy" from file /etc/raddb/mods-enabled/attr_filter reading pairlist file /etc/raddb/mods-config/attr_filter/post-proxy # Instantiating module "attr_filter.pre-proxy" from file /etc/raddb/mods-enabled/attr_filter reading pairlist file /etc/raddb/mods-config/attr_filter/pre-proxy # Instantiating module "attr_filter.access_reject" from file /etc/raddb/mods-enabled/attr_filter reading pairlist file /etc/raddb/mods-config/attr_filter/access_reject [/etc/raddb/mods-config/attr_filter/access_reject]:11 Check item "FreeRADIUS-Response-Delay" found in filter list for realm "DEFAULT". [/etc/raddb/mods-config/attr_filter/access_reject]:11 Check item "FreeRADIUS-Response-Delay-USec" found in filter list for realm "DEFAULT". # Instantiating module "attr_filter.access_challenge" from file /etc/raddb/mods-enabled/attr_filter reading pairlist file /etc/raddb/mods-config/attr_filter/access_challenge # Instantiating module "attr_filter.accounting_response" from file /etc/raddb/mods-enabled/attr_filter reading pairlist file /etc/raddb/mods-config/attr_ filter/accounting_response # Instantiating module "IPASS" from file /etc/raddb/mods-enabled/realm # Instantiating module "suffix" from file /etc/raddb/mods-enabled/realm # Instantiating module "realmpercent" from file /etc/raddb/mods-enabled/realm # Instantiating module "ntdomain" from file /etc/raddb/mods-enabled/realm # Instantiating module "reject" from file /etc/raddb/mods-enabled/always # Instantiating module "fail" from file /etc/raddb/mods-enabled/always # Instantiating module "ok" from file /etc/raddb/mods-enabled/always # Instantiating module "handled" from file /etc/raddb/mods-enabled/always # Instantiating module "invalid" from file /etc/raddb/mods-enabled/always # Instantiating module "userlock" from file /etc/raddb/mods-enabled/always # Instantiating module "notfound" from file /etc/raddb/mods-enabled/always # Instantiating module "noop" from file /etc/raddb/mods-enabled/always # Instantiating module "updated" from file /etc/raddb/mods-enabled/always # Instantiating module "etc_passwd" from file /etc/raddb/mods-enabled/passwd rlm_passwd: nfields: 3 keyfield 0(User-Name) listable: no # Instantiating module "mschap" from file /etc/raddb/mods-enabled/mschap rlm_mschap (mschap): using internal authentication } # modules radiusd: #### Loading Virtual Servers #### server { # from file /etc/raddb/radiusd.conf } # server server default { # from file /etc/raddb/sites-enabled/default # Loading authenticate {...} # Loading authorize {...} Ignoring "sql" (see raddb/mods-available/README.rst) Ignoring "ldap" (see raddb/mods-available/README.rst) # Loading preacct {...} # Loading accounting {...} # Loading post-proxy {...} # Loading post-auth {...} } # server default server inner-tunnel { # from file /etc/raddb/sites-enabled/inner-tunnel # Loading authenticate {...} # Loading authorize {...} # Loading session {...} # Loading post-proxy {...} # Loading post-auth {...} } # server inner-tunnel radiusd: #### Opening IP addresses and Ports #### listen { type = "auth" ipaddr = * port = 0 limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } listen { type = "acct" ipaddr = * port = 0 limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } listen { type = "auth" ipv6addr = :: port = 0 limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } listen { type = "acct" ipv6addr = :: port = 0 limit { max_connections = 16 lifetime = 0 idle_timeout = 30 } } listen { type = "auth" ipaddr = 127.0.0.1 port = 18120 } Listening on auth address * port 1812 bound to server default Listening on acct address * port 1813 bound to server default Listening on auth address :: port 1812 bound to server default Listening on acct address :: port 1813 bound to server default Listening on auth address 127.0.0.1 port 18120 bound to server inner-tunnel Listening on proxy address * port 58585 Listening on proxy address :: port 32864 Ready to process requests
Authentication attempt, in case this is of use:
(0) Received Access-Request Id 144 from 10.10.10.169:43523 to 10.10.10.41:1812 length 73 (0) User-Name = "swadmin" (0) NAS-IP-Address = 10.10.10.41 (0) NAS-Port = 0 (0) EAP-Message = 0x02d2000c01737761646d696e (0) Message-Authenticator = 0xab640beb2a355cf5c760d46ab6c93ba5 (0) # Executing section authorize from file /etc/raddb/sites-enabled/ default (0) authorize { (0) policy filter_username { (0) if (!&User-Name) { (0) if (!&User-Name) -> FALSE (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) } # policy filter_username = notfound (0) [preprocess] = ok (0) [chap] = noop (0) [mschap] = noop (0) [digest] = noop (0) suffix: Checking for suffix after "@" (0) suffix: No '@' in User-Name = "swadmin", looking up realm NULL (0) suffix: No such realm "NULL" (0) [suffix] = noop (0) eap: Peer sent EAP Response (code 2) ID 210 length 12 (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/raddb/sites-enabled/default (0) authenticate { (0) eap: Peer sent packet with method EAP Identity (1) (0) eap: Calling submodule eap_peap to process data (0) eap_peap: Initiating new EAP-TLS session (0) eap_peap: Flushing SSL sessions (of #0) (0) eap_peap: [eaptls start] = request (0) eap: Sending EAP Request (code 1) ID 211 length 6 (0) eap: EAP session adding &reply:State = 0x2ea7ef802e74f6df (0) [eap] = handled (0) } # authenticate = handled (0) Using Post-Auth-Type Challenge (0) Post-Auth-Type sub-section not found. Ignoring. (0) # Executing group from file /etc/raddb/sites-enabled/default (0) Sent Access-Challenge Id 144 from 10.10.10.41:1812 to 10.10.10.169:43523 length 0 (0) EAP-Message = 0x01d300061920 (0) Message-Authenticator = 0x00000000000000000000000000000000 (0) State = 0x2ea7ef802e74f6df3693c3c995d521f2 (0) Finished request Waking up in 4.9 seconds. (1) Received Access-Request Id 145 from 10.10.10.169:43523 to 10.10.10.41:1812 length 191 (1) User-Name = "swadmin" (1) NAS-IP-Address = 10.10.10.41 (1) NAS-Port = 0 (1) State = 0x2ea7ef802e74f6df3693c3c995d521f2 (1) EAP-Message = 0x02d3007019800000006616030100610100005d0303dc50089cf14f604c e75b86aeddb03c4436e730a450cafdd173ffbbff0f494cec00000c003d00 35003c002f000a00ff0100002800230000000d0020001e06010602060305 0105020503040104020403030103020303020102020203 (1) Message-Authenticator = 0xac1fe33d0504aa48024829daaa56797c (1) session-state: No cached attributes (1) # Executing section authorize from file /etc/raddb/sites-enabled/ default (1) authorize { (1) policy filter_username { (1) if (!&User-Name) { (1) if (!&User-Name) -> FALSE (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) } # policy filter_username = notfound (1) [preprocess] = ok (1) [chap] = noop (1) [mschap] = noop (1) [digest] = noop (1) suffix: Checking for suffix after "@" (1) suffix: No '@' in User-Name = "swadmin", looking up realm NULL (1) suffix: No such realm "NULL" (1) [suffix] = noop (1) eap: Peer sent EAP Response (code 2) ID 211 length 112 (1) eap: Continuing tunnel setup (1) [eap] = ok (1) } # authorize = ok (1) Found Auth-Type = EAP (1) # Executing group from file /etc/raddb/sites-enabled/default (1) authenticate { (1) eap: Expiring EAP session with state 0x2ea7ef802e74f6df (1) eap: Finished EAP session with state 0x2ea7ef802e74f6df (1) eap: Previous EAP request found for state 0x2ea7ef802e74f6df, released from the list (1) eap: Peer sent packet with method EAP PEAP (25) (1) eap: Calling submodule eap_peap to process data (1) eap_peap: Continuing EAP-TLS (1) eap_peap: Peer indicated complete TLS record size will be 102 bytes (1) eap_peap: Got complete TLS record (102 bytes) (1) eap_peap: [eaptls verify] = length included (1) eap_peap: (other): before/accept initialization (1) eap_peap: TLS_accept: before/accept initialization (1) eap_peap: <<< UNKNOWN TLS VERSION ?0000? [length 0005] (1) eap_peap: <<< TLS 1.2 [length 0061] (1) eap_peap: TLS_accept: SSLv3 read client hello A (1) eap_peap: >>> UNKNOWN TLS VERSION ?0000? [length 0005] (1) eap_peap: >>> TLS 1.2 [length 0051] (1) eap_peap: TLS_accept: SSLv3 write server hello A (1) eap_peap: >>> UNKNOWN TLS VERSION ?0000? [length 0005] (1) eap_peap: >>> TLS 1.2 [length 0625] (1) eap_peap: TLS_accept: SSLv3 write certificate A (1) eap_peap: >>> UNKNOWN TLS VERSION ?0000? [length 0005] (1) eap_peap: >>> TLS 1.2 [length 0004] (1) eap_peap: TLS_accept: SSLv3 write server done A (1) eap_peap: TLS_accept: SSLv3 flush data (1) eap_peap: TLS_accept: SSLv3 read client certificate A (1) eap_peap: TLS_accept: Need to read more data: SSLv3 read client key exchange A (1) eap_peap: TLS_accept: Need to read more data: SSLv3 read client key exchange A (1) eap_peap: In SSL Handshake Phase (1) eap_peap: In SSL Accept mode (1) eap_peap: [eaptls process] = handled (1) eap: Sending EAP Request (code 1) ID 212 length 1004 (1) eap: EAP session adding &reply:State = 0x2ea7ef802f73f6df (1) [eap] = handled (1) } # authenticate = handled (1) Using Post-Auth-Type Challenge (1) Post-Auth-Type sub-section not found. Ignoring. (1) # Executing group from file /etc/raddb/sites-enabled/default (1) Sent Access-Challenge Id 145 from 10.10.10.41:1812 to 10.10.10.169:43523 length 0 (1) EAP-Message = 0x01d403ec19c00000068916030300510200004d0303c1eb884d2b3536af 449cf4a93561b305e3195256922b69dcf3ef67329bc6be2320c929510df2 44ed060c53cd90e9b2940df2add6e931aeaca3a7602f0ec476608b003d00 0005ff0100010016030306250b00062100061e00061b30820617308203ff (1) Message-Authenticator = 0x00000000000000000000000000000000 (1) State = 0x2ea7ef802f73f6df3693c3c995d521f2 (1) Finished request Waking up in 4.8 seconds. (2) Received Access-Request Id 146 from 10.10.10.169:43523 to 10.10.10.41:1812 length 64 (2) EAP-Message = 0x02d400061908 (2) State = 0x2ea7ef802f73f6df3693c3c995d521f2 (2) Message-Authenticator = 0xf9e31e911cf62e72c012f342e6166bc5 (2) session-state: No cached attributes (2) # Executing section authorize from file /etc/raddb/sites-enabled/ default (2) authorize { (2) policy filter_username { (2) if (!&User-Name) { (2) if (!&User-Name) -> TRUE (2) if (!&User-Name) { (2) [noop] = noop (2) } # if (!&User-Name) = noop (2) if (&User-Name =~ / /) { (2) ERROR: Failed retrieving values required to evaluate condition (2) if (&User-Name =~ /@.*@/ ) { (2) ERROR: Failed retrieving values required to evaluate condition (2) if (&User-Name =~ /\.\./ ) { (2) ERROR: Failed retrieving values required to evaluate condition (2) if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/)) { (2) ERROR: Failed retrieving values required to evaluate condition (2) if (&User-Name =~ /\.$/) { (2) ERROR: Failed retrieving values required to evaluate condition (2) if (&User-Name =~ /@\./) { (2) ERROR: Failed retrieving values required to evaluate condition (2) } # policy filter_username = noop (2) [preprocess] = ok (2) [chap] = noop (2) [mschap] = noop (2) [digest] = noop (2) suffix: Proxy reply, or no User-Name. Ignoring (2) [suffix] = noop (2) eap: Peer sent EAP Response (code 2) ID 212 length 6 (2) eap: Continuing tunnel setup (2) [eap] = ok (2) } # authorize = ok (2) Found Auth-Type = EAP (2) # Executing group from file /etc/raddb/sites-enabled/default (2) authenticate { (2) eap: Expiring EAP session with state 0x2ea7ef802f73f6df (2) eap: Finished EAP session with state 0x2ea7ef802f73f6df (2) eap: Previous EAP request found for state 0x2ea7ef802f73f6df, released from the list (2) eap: Broken NAS did not set User-Name, setting from EAP Identity (2) eap: Peer sent packet with method EAP PEAP (25) (2) eap: Calling submodule eap_peap to process data (2) eap_peap: Continuing EAP-TLS (2) eap_peap: Peer ACKed our handshake fragment (2) eap_peap: [eaptls verify] = request (2) eap_peap: [eaptls process] = handled (2) eap: Sending EAP Request (code 1) ID 213 length 685 (2) eap: EAP session adding &reply:State = 0x2ea7ef802c72f6df (2) [eap] = handled (2) } # authenticate = handled (2) Using Post-Auth-Type Challenge (2) Post-Auth-Type sub-section not found. Ignoring. (2) # Executing group from file /etc/raddb/sites-enabled/default (2) Sent Access-Challenge Id 146 from 10.10.10.41:1812 to 10.10.10.169:43523 length 0 (2) EAP-Message = 0x01d502ad1900cfea35d39782f46061d022042bb4194ed0a223fa5762d7 c7e24a5e998e6e2c9f6371e35a051824cf7218e3a44842b28cdfbdaf0203 010001a350304e301d0603551d0e04160414ad524818982efdf05efcf0c1 bb04aefbc27999a6301f0603551d23041830168014ad524818982efdf05e (2) Message-Authenticator = 0x00000000000000000000000000000000 (2) State = 0x2ea7ef802c72f6df3693c3c995d521f2 (2) Finished request Waking up in 4.8 seconds. (3) Received Access-Request Id 147 from 10.10.10.169:43523 to 10.10.10.41:1812 length 707 (3) User-Name = "swadmin" (3) NAS-IP-Address = 10.10.10.41 (3) NAS-Port = 0 (3) State = 0x2ea7ef802c72f6df3693c3c995d521f2 (3) EAP-Message = 0x02d5027019800000026616030302061000020202008fca9cfef4ddbdd0 e3baf0650fb8345df69c663ac80402206eb34b2ff3215c37dde7b9168709 7abb7b4678af40b578afa06a813b2ca77de4f3ef36ce30f448c66527d3a3 0ef62683bd4e80a84d6692abf5e1ee26f666c85b30e31007e34bd788382d (3) Message-Authenticator = 0x75c8703c7078ea211732e29514301e7f (3) session-state: No cached attributes (3) # Executing section authorize from file /etc/raddb/sites-enabled/ default (3) authorize { (3) policy filter_username { (3) if (!&User-Name) { (3) if (!&User-Name) -> FALSE (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) } # policy filter_username = notfound (3) [preprocess] = ok (3) [chap] = noop (3) [mschap] = noop (3) [digest] = noop (3) suffix: Checking for suffix after "@" (3) suffix: No '@' in User-Name = "swadmin", looking up realm NULL (3) suffix: No such realm "NULL" (3) [suffix] = noop (3) eap: Peer sent EAP Response (code 2) ID 213 length 624 (3) eap: Continuing tunnel setup (3) [eap] = ok (3) } # authorize = ok (3) Found Auth-Type = EAP (3) # Executing group from file /etc/raddb/sites-enabled/default (3) authenticate { (3) eap: Expiring EAP session with state 0x2ea7ef802c72f6df (3) eap: Finished EAP session with state 0x2ea7ef802c72f6df (3) eap: Previous EAP request found for state 0x2ea7ef802c72f6df, released from the list (3) eap: Peer sent packet with method EAP PEAP (25) (3) eap: Calling submodule eap_peap to process data (3) eap_peap: Continuing EAP-TLS (3) eap_peap: Peer indicated complete TLS record size will be 614 bytes (3) eap_peap: Got complete TLS record (614 bytes) (3) eap_peap: [eaptls verify] = length included (3) eap_peap: <<< UNKNOWN TLS VERSION ?0000? [length 0005] (3) eap_peap: <<< TLS 1.2 [length 0206] (3) eap_peap: TLS_accept: SSLv3 read client key exchange A (3) eap_peap: TLS_accept: SSLv3 read certificate verify A (3) eap_peap: <<< UNKNOWN TLS VERSION ?0000? [length 0005] (3) eap_peap: <<< TLS 1.2 [length 0001] (3) eap_peap: <<< UNKNOWN TLS VERSION ?0000? [length 0005] (3) eap_peap: <<< TLS 1.2 [length 0010] (3) eap_peap: TLS_accept: SSLv3 read finished A (3) eap_peap: >>> UNKNOWN TLS VERSION ?0000? [length 0005] (3) eap_peap: >>> TLS 1.2 [length 0001] (3) eap_peap: TLS_accept: SSLv3 write change cipher spec A (3) eap_peap: >>> UNKNOWN TLS VERSION ?0000? [length 0005] (3) eap_peap: >>> TLS 1.2 [length 0010] (3) eap_peap: TLS_accept: SSLv3 write finished A (3) eap_peap: TLS_accept: SSLv3 flush data (3) eap_peap: (other): SSL negotiation finished successfully (3) eap_peap: SSL Connection Established (3) eap_peap: [eaptls process] = handled (3) eap: Sending EAP Request (code 1) ID 214 length 97 (3) eap: EAP session adding &reply:State = 0x2ea7ef802d71f6df (3) [eap] = handled (3) } # authenticate = handled (3) Using Post-Auth-Type Challenge (3) Post-Auth-Type sub-section not found. Ignoring. (3) # Executing group from file /etc/raddb/sites-enabled/default (3) Sent Access-Challenge Id 147 from 10.10.10.41:1812 to 10.10.10.169:43523 length 0 (3) EAP-Message = 0x01d600611900140303000101160303005079a7c2b0c0613f044ad8f016 dd974af82c9894c546d8e9e79e1aa76f704d6347f83d69f301718c272bb2 84836a51a4f103de7594eb506dbd068b3bc3d59f3e972b591b5a27a1ee88 6d9083331cb2f7a0 (3) Message-Authenticator = 0x00000000000000000000000000000000 (3) State = 0x2ea7ef802d71f6df3693c3c995d521f2 (3) Finished request Waking up in 4.6 seconds. (4) Received Access-Request Id 148 from 10.10.10.169:43523 to 10.10.10.41:1812 length 85 (4) User-Name = "swadmin" (4) NAS-IP-Address = 10.10.10.41 (4) NAS-Port = 0 (4) State = 0x2ea7ef802d71f6df3693c3c995d521f2 (4) EAP-Message = 0x02d600061900 (4) Message-Authenticator = 0xab692927925f945469e6ba632403c514 (4) session-state: No cached attributes (4) # Executing section authorize from file /etc/raddb/sites-enabled/ default (4) authorize { (4) policy filter_username { (4) if (!&User-Name) { (4) if (!&User-Name) -> FALSE (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) } # policy filter_username = notfound (4) [preprocess] = ok (4) [chap] = noop (4) [mschap] = noop (4) [digest] = noop (4) suffix: Checking for suffix after "@" (4) suffix: No '@' in User-Name = "swadmin", looking up realm NULL (4) suffix: No such realm "NULL" (4) [suffix] = noop (4) eap: Peer sent EAP Response (code 2) ID 214 length 6 (4) eap: Continuing tunnel setup (4) [eap] = ok (4) } # authorize = ok (4) Found Auth-Type = EAP (4) # Executing group from file /etc/raddb/sites-enabled/default (4) authenticate { (4) eap: Expiring EAP session with state 0x2ea7ef802d71f6df (4) eap: Finished EAP session with state 0x2ea7ef802d71f6df (4) eap: Previous EAP request found for state 0x2ea7ef802d71f6df, released from the list (4) eap: Peer sent packet with method EAP PEAP (25) (4) eap: Calling submodule eap_peap to process data (4) eap_peap: Continuing EAP-TLS (4) eap_peap: Peer ACKed our handshake fragment. handshake is finished (4) eap_peap: [eaptls verify] = success (4) eap_peap: [eaptls process] = success (4) eap_peap: Session established. Decoding tunneled attributes (4) eap_peap: PEAP state TUNNEL ESTABLISHED
UNKNOWN TLS VERSION ?0000? [length 0005] (4) eap: Sending EAP Request (code 1) ID 215 length 75 (4) eap: EAP session adding &reply:State = 0x2ea7ef802a70f6df (4) [eap] = handled (4) } # authenticate = handled (4) Using Post-Auth-Type Challenge (4) Post-Auth-Type sub-section not found. Ignoring. (4) # Executing group from file /etc/raddb/sites-enabled/default (4) Sent Access-Challenge Id 148 from 10.10.10.41:1812 to 10.10.10.169:43523 length 0 (4) EAP-Message = 0x01d7004b190017030300401aeaef07c9c4a249c81611f692e0264c010b 134b01aa5103124201302cbc7da20e363d84e2df1fa5affdd908edf1fabb bfc2c7ae4b528534d61c7fb2503b991c (4) Message-Authenticator = 0x00000000000000000000000000000000 (4) State = 0x2ea7ef802a70f6df3693c3c995d521f2 (4) Finished request Waking up in 4.6 seconds. (5) Received Access-Request Id 149 from 10.10.10.169:43523 to 10.10.10.41:1812 length 154 (5) User-Name = "swadmin" (5) NAS-IP-Address = 10.10.10.41 (5) NAS-Port = 0 (5) State = 0x2ea7ef802a70f6df3693c3c995d521f2 (5) EAP-Message = 0x02d7004b1900170303004048503b60df80d3cc3e54ca84aced721f1ac4 b552e6154d41dfd00507d9d1d536c231a056c02eae6747ae7787ea269b0c 7320b15d06eba81bd7e8144c2499d9af (5) Message-Authenticator = 0xea1c0115468240cb351d04a41322e224 (5) session-state: No cached attributes (5) # Executing section authorize from file /etc/raddb/sites-enabled/ default (5) authorize { (5) policy filter_username { (5) if (!&User-Name) { (5) if (!&User-Name) -> FALSE (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) } # policy filter_username = notfound (5) [preprocess] = ok (5) [chap] = noop (5) [mschap] = noop (5) [digest] = noop (5) suffix: Checking for suffix after "@" (5) suffix: No '@' in User-Name = "swadmin", looking up realm NULL (5) suffix: No such realm "NULL" (5) [suffix] = noop (5) eap: Peer sent EAP Response (code 2) ID 215 length 75 (5) eap: Continuing tunnel setup (5) [eap] = ok (5) } # authorize = ok (5) Found Auth-Type = EAP (5) # Executing group from file /etc/raddb/sites-enabled/default (5) authenticate { (5) eap: Expiring EAP session with state 0x2ea7ef802a70f6df (5) eap: Finished EAP session with state 0x2ea7ef802a70f6df (5) eap: Previous EAP request found for state 0x2ea7ef802a70f6df, released from the list (5) eap: Peer sent packet with method EAP PEAP (25) (5) eap: Calling submodule eap_peap to process data (5) eap_peap: Continuing EAP-TLS (5) eap_peap: [eaptls verify] = ok (5) eap_peap: Done initial handshake (5) eap_peap: <<< UNKNOWN TLS VERSION ?0000? [length 0005] (5) eap_peap: [eaptls process] = ok (5) eap_peap: Session established. Decoding tunneled attributes (5) eap_peap: PEAP state WAITING FOR INNER IDENTITY (5) eap_peap: Identity - swadmin (5) eap_peap: Got inner identity 'swadmin' (5) eap_peap: Setting default EAP type for tunneled EAP session (5) eap_peap: Got tunneled request (5) eap_peap: EAP-Message = 0x02d7000c01737761646d696e (5) eap_peap: Setting User-Name to swadmin (5) eap_peap: Sending tunneled request to inner-tunnel (5) eap_peap: EAP-Message = 0x02d7000c01737761646d696e (5) eap_peap: FreeRADIUS-Proxied-To = 127.0.0.1 (5) eap_peap: User-Name = "swadmin" (5) Virtual server inner-tunnel received request (5) EAP-Message = 0x02d7000c01737761646d696e (5) FreeRADIUS-Proxied-To = 127.0.0.1 (5) User-Name = "swadmin" (5) server inner-tunnel { (5) # Executing section authorize from file /etc/raddb/sites-enabled/inner-tunnel (5) authorize { (5) [chap] = noop (5) [mschap] = noop (5) suffix: Checking for suffix after "@" (5) suffix: No '@' in User-Name = "swadmin", looking up realm NULL (5) suffix: No such realm "NULL" (5) [suffix] = noop (5) update control { (5) &Proxy-To-Realm := LOCAL (5) } # update control = noop (5) eap: Peer sent EAP Response (code 2) ID 215 length 12 (5) eap: EAP-Identity reply, returning 'ok' so we can short-circuit the rest of authorize (5) [eap] = ok (5) } # authorize = ok (5) Found Auth-Type = EAP (5) # Executing group from file /etc/raddb/sites-enabled/inner-tunnel (5) authenticate { (5) eap: Peer sent packet with method EAP Identity (1) (5) eap: Calling submodule eap_mschapv2 to process data (5) eap_mschapv2: Issuing Challenge (5) eap: Sending EAP Request (code 1) ID 216 length 43 (5) eap: EAP session adding &reply:State = 0x7030667570e87c8f (5) [eap] = handled (5) } # authenticate = handled (5) } # server inner-tunnel (5) Virtual server sending reply (5) EAP-Message = 0x01d8002b1a01d80026103aa0ad783679564939103c1f7b0dc5cb667265 657261646975732d332e302e3130 (5) Message-Authenticator = 0x00000000000000000000000000000000 (5) State = 0x7030667570e87c8f84ba25d6b5fb17c3 (5) eap_peap: Got tunneled reply code 11 (5) eap_peap: EAP-Message = 0x01d8002b1a01d80026103aa0ad783679564939103c1f7b0dc5cb667265 657261646975732d332e302e3130 (5) eap_peap: Message-Authenticator = 0x00000000000000000000000000000000 (5) eap_peap: State = 0x7030667570e87c8f84ba25d6b5fb17c3 (5) eap_peap: Got tunneled reply RADIUS code 11 (5) eap_peap: EAP-Message = 0x01d8002b1a01d80026103aa0ad783679564939103c1f7b0dc5cb667265 657261646975732d332e302e3130 (5) eap_peap: Message-Authenticator = 0x00000000000000000000000000000000 (5) eap_peap: State = 0x7030667570e87c8f84ba25d6b5fb17c3 (5) eap_peap: Got tunneled Access-Challenge UNKNOWN TLS VERSION ?0000? [length 0005] (5) eap: Sending EAP Request (code 1) ID 216 length 107 (5) eap: EAP session adding &reply:State = 0x2ea7ef802b7ff6df (5) [eap] = handled (5) } # authenticate = handled (5) Using Post-Auth-Type Challenge (5) Post-Auth-Type sub-section not found. Ignoring. (5) # Executing group from file /etc/raddb/sites-enabled/default (5) Sent Access-Challenge Id 149 from 10.10.10.41:1812 to 10.10.10.169:43523 length 0 (5) EAP-Message = 0x01d8006b19001703030060c9bdab5d392e1aec871e65586db7025cbca5 ee23a681c6b15b518d3c2177dad94f504c1f91720adde5df703748c43883 ab1007f8b755c9cdaf472c16b9a72788c6a02e5a05e3ec011d943af98faf 54aaa2830d8530eb6df8892cc18b52f38d41 (5) Message-Authenticator = 0x00000000000000000000000000000000 (5) State = 0x2ea7ef802b7ff6df3693c3c995d521f2 (5) Finished request Waking up in 4.6 seconds. (6) Received Access-Request Id 150 from 10.10.10.169:43523 to 10.10.10.41:1812 length 202 (6) User-Name = "swadmin" (6) NAS-IP-Address = 10.10.10.41 (6) NAS-Port = 0 (6) State = 0x2ea7ef802b7ff6df3693c3c995d521f2 (6) EAP-Message = 0x02d8007b190017030300705f59d5dcd2ffacb0f62dc04b137c705df7c0 38f6c4fc41717f0a4ba04f10401556438a673f041b1ad6be8d571a04e9b3 3b0660df6fb81d3e583e1d7da9d4a162f6299601ced4393ee45053db3775 b95da03a66759e2ee8f1440ef8b862aaac03b529721bf89ad6093364f785 (6) Message-Authenticator = 0x3b4888281df61cf5b2e770293b1ccb99 (6) session-state: No cached attributes (6) # Executing section authorize from file /etc/raddb/sites-enabled/ default (6) authorize { (6) policy filter_username { (6) if (!&User-Name) { (6) if (!&User-Name) -> FALSE (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) } # policy filter_username = notfound (6) [preprocess] = ok (6) [chap] = noop (6) [mschap] = noop (6) [digest] = noop (6) suffix: Checking for suffix after "@" (6) suffix: No '@' in User-Name = "swadmin", looking up realm NULL (6) suffix: No such realm "NULL" (6) [suffix] = noop (6) eap: Peer sent EAP Response (code 2) ID 216 length 123 (6) eap: Continuing tunnel setup (6) [eap] = ok (6) } # authorize = ok (6) Found Auth-Type = EAP (6) # Executing group from file /etc/raddb/sites-enabled/default (6) authenticate { (6) eap: Expiring EAP session with state 0x7030667570e87c8f (6) eap: Finished EAP session with state 0x2ea7ef802b7ff6df (6) eap: Previous EAP request found for state 0x2ea7ef802b7ff6df, released from the list (6) eap: Peer sent packet with method EAP PEAP (25) (6) eap: Calling submodule eap_peap to process data (6) eap_peap: Continuing EAP-TLS (6) eap_peap: [eaptls verify] = ok (6) eap_peap: Done initial handshake (6) eap_peap: <<< UNKNOWN TLS VERSION ?0000? [length 0005] (6) eap_peap: [eaptls process] = ok (6) eap_peap: Session established. Decoding tunneled attributes (6) eap_peap: PEAP state phase2 (6) eap_peap: EAP method MSCHAPv2 (26) (6) eap_peap: Got tunneled request (6) eap_peap: EAP-Message = 0x02d800431a02d8003f316652b1aeefe86844cec805f6771b6747000000 00000000007bf917464e3670b7150d2f0124303d00ab612db1096bf76a00 737761646d696e00 (6) eap_peap: Setting User-Name to swadmin (6) eap_peap: Sending tunneled request to inner-tunnel (6) eap_peap: EAP-Message = 0x02d800431a02d8003f316652b1aeefe86844cec805f6771b6747000000 00000000007bf917464e3670b7150d2f0124303d00ab612db1096bf76a00 737761646d696e00 (6) eap_peap: FreeRADIUS-Proxied-To = 127.0.0.1 (6) eap_peap: User-Name = "swadmin" (6) eap_peap: State = 0x7030667570e87c8f84ba25d6b5fb17c3 (6) Virtual server inner-tunnel received request (6) EAP-Message = 0x02d800431a02d8003f316652b1aeefe86844cec805f6771b6747000000 00000000007bf917464e3670b7150d2f0124303d00ab612db1096bf76a00 737761646d696e00 (6) FreeRADIUS-Proxied-To = 127.0.0.1 (6) User-Name = "swadmin" (6) State = 0x7030667570e87c8f84ba25d6b5fb17c3 (6) server inner-tunnel { (6) session-state: No cached attributes (6) # Executing section authorize from file /etc/raddb/sites-enabled/inner-tunnel (6) authorize { (6) [chap] = noop (6) [mschap] = noop (6) suffix: Checking for suffix after "@" (6) suffix: No '@' in User-Name = "swadmin", looking up realm NULL (6) suffix: No such realm "NULL" (6) [suffix] = noop (6) update control { (6) &Proxy-To-Realm := LOCAL (6) } # update control = noop (6) eap: Peer sent EAP Response (code 2) ID 216 length 67 (6) eap: No EAP Start, assuming it's an on-going EAP conversation (6) [eap] = updated (6) files: users: Matched entry swadmin at line 240 (6) [files] = ok (6) [expiration] = noop (6) [logintime] = noop (6) pap: WARNING: Auth-Type already set. Not setting to PAP (6) [pap] = noop (6) } # authorize = updated (6) Found Auth-Type = EAP (6) # Executing group from file /etc/raddb/sites-enabled/inner-tunnel (6) authenticate { (6) eap: Expiring EAP session with state 0x7030667570e87c8f (6) eap: Finished EAP session with state 0x7030667570e87c8f (6) eap: Previous EAP request found for state 0x7030667570e87c8f, released from the list (6) eap: Peer sent packet with method EAP MSCHAPv2 (26) (6) eap: Calling submodule eap_mschapv2 to process data (6) eap_mschapv2: # Executing group from file /etc/raddb/sites-enabled/inner-tunnel (6) eap_mschapv2: Auth-Type MS-CHAP { (6) mschap: Found Cleartext-Password, hashing to create NT-Password (6) mschap: Found Cleartext-Password, hashing to create LM-Password (6) mschap: WARNING: User-Name (swadmin) is not the same as MS-CHAP Name (swadmin) from EAP-MSCHAPv2 (6) mschap: Creating challenge hash with username: swadmin (6) mschap: Client is using MS-CHAPv2 (6) mschap: Adding MS-CHAPv2 MPPE keys (6) [mschap] = ok (6) } # Auth-Type MS-CHAP = ok (6) MSCHAP Success (6) eap: Sending EAP Request (code 1) ID 217 length 51 (6) eap: EAP session adding &reply:State = 0x7030667571e97c8f (6) [eap] = handled (6) } # authenticate = handled (6) } # server inner-tunnel (6) Virtual server sending reply (6) Brocade-Auth-Role = "admin" (6) Brocade-AVPairs1 = "HomeLF=128" (6) Brocade-AVPairs2 = "LFRoleList=admin:1-128" (6) Brocade-AVPairs3 = "ChassisRole=admin" (6) EAP-Message = 0x01d900331a03d8002e533d434332313630303943344443463333414630 38384439363345333045323745323143323639334430 (6) Message-Authenticator = 0x00000000000000000000000000000000 (6) State = 0x7030667571e97c8f84ba25d6b5fb17c3 (6) eap_peap: Got tunneled reply code 11 (6) eap_peap: Brocade-Auth-Role = "admin" (6) eap_peap: Brocade-AVPairs1 = "HomeLF=128" (6) eap_peap: Brocade-AVPairs2 = "LFRoleList=admin:1-128" (6) eap_peap: Brocade-AVPairs3 = "ChassisRole=admin" (6) eap_peap: EAP-Message = 0x01d900331a03d8002e533d434332313630303943344443463333414630 38384439363345333045323745323143323639334430 (6) eap_peap: Message-Authenticator = 0x00000000000000000000000000000000 (6) eap_peap: State = 0x7030667571e97c8f84ba25d6b5fb17c3 (6) eap_peap: Got tunneled reply RADIUS code 11 (6) eap_peap: Brocade-Auth-Role = "admin" (6) eap_peap: Brocade-AVPairs1 = "HomeLF=128" (6) eap_peap: Brocade-AVPairs2 = "LFRoleList=admin:1-128" (6) eap_peap: Brocade-AVPairs3 = "ChassisRole=admin" (6) eap_peap: EAP-Message = 0x01d900331a03d8002e533d434332313630303943344443463333414630 38384439363345333045323745323143323639334430 (6) eap_peap: Message-Authenticator = 0x00000000000000000000000000000000 (6) eap_peap: State = 0x7030667571e97c8f84ba25d6b5fb17c3 (6) eap_peap: Got tunneled Access-Challenge UNKNOWN TLS VERSION ?0000? [length 0005] (6) eap: Sending EAP Request (code 1) ID 217 length 107 (6) eap: EAP session adding &reply:State = 0x2ea7ef80287ef6df (6) [eap] = handled (6) } # authenticate = handled (6) Using Post-Auth-Type Challenge (6) Post-Auth-Type sub-section not found. Ignoring. (6) # Executing group from file /etc/raddb/sites-enabled/default (6) Sent Access-Challenge Id 150 from 10.10.10.41:1812 to 10.10.10.169:43523 length 0 (6) EAP-Message = 0x01d9006b190017030300607af71da555afee854417f9ca8e0d54adeb16 6c468816e5f79198f9c51a1c75a15ba3ee3ad04597d52f18f53731dd9d81 373dc08cfbe3bc2af50908a436103b48139bb885bc58eb99b30ffe9b0a1f eb3450ba960c330f7dbc8e74efe62425f82a (6) Message-Authenticator = 0x00000000000000000000000000000000 (6) State = 0x2ea7ef80287ef6df3693c3c995d521f2 (6) Finished request Waking up in 4.6 seconds. (7) Received Access-Request Id 151 from 10.10.10.169:43523 to 10.10.10.41:1812 length 154 (7) User-Name = "swadmin" (7) NAS-IP-Address = 10.10.10.41 (7) NAS-Port = 0 (7) State = 0x2ea7ef80287ef6df3693c3c995d521f2 (7) EAP-Message = 0x02d9004b19001703030040bfc9701f5762ef472c945d8001dd2ae2d1ee 074f1254e15e01e6ef9195ef06d156e93d2355429b2fd9fec886e321c35e 790418b1f96facfc49cd17a6bd53e33c (7) Message-Authenticator = 0x4ad3f2e68b3d6b1e81fbf9a43a93215f (7) session-state: No cached attributes (7) # Executing section authorize from file /etc/raddb/sites-enabled/ default (7) authorize { (7) policy filter_username { (7) if (!&User-Name) { (7) if (!&User-Name) -> FALSE (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) } # policy filter_username = notfound (7) [preprocess] = ok (7) [chap] = noop (7) [mschap] = noop (7) [digest] = noop (7) suffix: Checking for suffix after "@" (7) suffix: No '@' in User-Name = "swadmin", looking up realm NULL (7) suffix: No such realm "NULL" (7) [suffix] = noop (7) eap: Peer sent EAP Response (code 2) ID 217 length 75 (7) eap: Continuing tunnel setup (7) [eap] = ok (7) } # authorize = ok (7) Found Auth-Type = EAP (7) # Executing group from file /etc/raddb/sites-enabled/default (7) authenticate { (7) eap: Expiring EAP session with state 0x7030667571e97c8f (7) eap: Finished EAP session with state 0x2ea7ef80287ef6df (7) eap: Previous EAP request found for state 0x2ea7ef80287ef6df, released from the list (7) eap: Peer sent packet with method EAP PEAP (25) (7) eap: Calling submodule eap_peap to process data (7) eap_peap: Continuing EAP-TLS (7) eap_peap: [eaptls verify] = ok (7) eap_peap: Done initial handshake (7) eap_peap: <<< UNKNOWN TLS VERSION ?0000? [length 0005] (7) eap_peap: [eaptls process] = ok (7) eap_peap: Session established. Decoding tunneled attributes (7) eap_peap: PEAP state phase2 (7) eap_peap: EAP method MSCHAPv2 (26) (7) eap_peap: Got tunneled request (7) eap_peap: EAP-Message = 0x02d900061a03 (7) eap_peap: Setting User-Name to swadmin (7) eap_peap: Sending tunneled request to inner-tunnel (7) eap_peap: EAP-Message = 0x02d900061a03 (7) eap_peap: FreeRADIUS-Proxied-To = 127.0.0.1 (7) eap_peap: User-Name = "swadmin" (7) eap_peap: State = 0x7030667571e97c8f84ba25d6b5fb17c3 (7) Virtual server inner-tunnel received request (7) EAP-Message = 0x02d900061a03 (7) FreeRADIUS-Proxied-To = 127.0.0.1 (7) User-Name = "swadmin" (7) State = 0x7030667571e97c8f84ba25d6b5fb17c3 (7) server inner-tunnel { (7) session-state: No cached attributes (7) # Executing section authorize from file /etc/raddb/sites-enabled/inner-tunnel (7) authorize { (7) [chap] = noop (7) [mschap] = noop (7) suffix: Checking for suffix after "@" (7) suffix: No '@' in User-Name = "swadmin", looking up realm NULL (7) suffix: No such realm "NULL" (7) [suffix] = noop (7) update control { (7) &Proxy-To-Realm := LOCAL (7) } # update control = noop (7) eap: Peer sent EAP Response (code 2) ID 217 length 6 (7) eap: No EAP Start, assuming it's an on-going EAP conversation (7) [eap] = updated (7) files: users: Matched entry swadmin at line 240 (7) [files] = ok (7) [expiration] = noop (7) [logintime] = noop (7) pap: WARNING: Auth-Type already set. Not setting to PAP (7) [pap] = noop (7) } # authorize = updated (7) Found Auth-Type = EAP (7) # Executing group from file /etc/raddb/sites-enabled/inner-tunnel (7) authenticate { (7) eap: Expiring EAP session with state 0x7030667571e97c8f (7) eap: Finished EAP session with state 0x7030667571e97c8f (7) eap: Previous EAP request found for state 0x7030667571e97c8f, released from the list (7) eap: Peer sent packet with method EAP MSCHAPv2 (26) (7) eap: Calling submodule eap_mschapv2 to process data (7) eap: Sending EAP Success (code 3) ID 217 length 4 (7) eap: Freeing handler (7) [eap] = ok (7) } # authenticate = ok (7) # Executing section post-auth from file /etc/raddb/sites-enabled/inner-tunnel (7) post-auth { ... } # empty sub-section is ignored (7) } # server inner-tunnel (7) Virtual server sending reply (7) Brocade-Auth-Role = "admin" (7) Brocade-AVPairs1 = "HomeLF=128" (7) Brocade-AVPairs2 = "LFRoleList=admin:1-128" (7) Brocade-AVPairs3 = "ChassisRole=admin" (7) MS-MPPE-Encryption-Policy = Encryption-Allowed (7) MS-MPPE-Encryption-Types = RC4-40or128-bit-Allowed (7) MS-MPPE-Send-Key = 0x33b6ff31bf787acfda637a13cde3cf97 (7) MS-MPPE-Recv-Key = 0x47724e674b3ac6f2ad8658bac3500c47 (7) EAP-Message = 0x03d90004 (7) Message-Authenticator = 0x00000000000000000000000000000000 (7) User-Name = "swadmin" (7) eap_peap: Got tunneled reply code 2 (7) eap_peap: Brocade-Auth-Role = "admin" (7) eap_peap: Brocade-AVPairs1 = "HomeLF=128" (7) eap_peap: Brocade-AVPairs2 = "LFRoleList=admin:1-128" (7) eap_peap: Brocade-AVPairs3 = "ChassisRole=admin" (7) eap_peap: MS-MPPE-Encryption-Policy = Encryption-Allowed (7) eap_peap: MS-MPPE-Encryption-Types = RC4-40or128-bit-Allowed (7) eap_peap: MS-MPPE-Send-Key = 0x33b6ff31bf787acfda637a13cde3cf97 (7) eap_peap: MS-MPPE-Recv-Key = 0x47724e674b3ac6f2ad8658bac3500c47 (7) eap_peap: EAP-Message = 0x03d90004 (7) eap_peap: Message-Authenticator = 0x00000000000000000000000000000000 (7) eap_peap: User-Name = "swadmin" (7) eap_peap: Got tunneled reply RADIUS code 2 (7) eap_peap: Brocade-Auth-Role = "admin" (7) eap_peap: Brocade-AVPairs1 = "HomeLF=128" (7) eap_peap: Brocade-AVPairs2 = "LFRoleList=admin:1-128" (7) eap_peap: Brocade-AVPairs3 = "ChassisRole=admin" (7) eap_peap: MS-MPPE-Encryption-Policy = Encryption-Allowed (7) eap_peap: MS-MPPE-Encryption-Types = RC4-40or128-bit-Allowed (7) eap_peap: MS-MPPE-Send-Key = 0x33b6ff31bf787acfda637a13cde3cf97 (7) eap_peap: MS-MPPE-Recv-Key = 0x47724e674b3ac6f2ad8658bac3500c47 (7) eap_peap: EAP-Message = 0x03d90004 (7) eap_peap: Message-Authenticator = 0x00000000000000000000000000000000 (7) eap_peap: User-Name = "swadmin" (7) eap_peap: Tunneled authentication was successful (7) eap_peap: SUCCESS UNKNOWN TLS VERSION ?0000? [length 0005] (7) eap: Sending EAP Request (code 1) ID 218 length 75 (7) eap: EAP session adding &reply:State = 0x2ea7ef80297df6df (7) [eap] = handled (7) } # authenticate = handled (7) Using Post-Auth-Type Challenge (7) Post-Auth-Type sub-section not found. Ignoring. (7) # Executing group from file /etc/raddb/sites-enabled/default (7) Sent Access-Challenge Id 151 from 10.10.10.41:1812 to 10.10.10.169:43523 length 0 (7) EAP-Message = 0x01da004b190017030300400b6d3844237e81e2b4974b625b0d106880b7 33bac6465822e027576124a9bb1dbf6116625a93ba3591752ee1b02bae72 5bd54f609388e86a03663eb050bdf265 (7) Message-Authenticator = 0x00000000000000000000000000000000 (7) State = 0x2ea7ef80297df6df3693c3c995d521f2 (7) Finished request Waking up in 4.6 seconds. (8) Received Access-Request Id 152 from 10.10.10.169:43523 to 10.10.10.41:1812 length 154 (8) User-Name = "swadmin" (8) NAS-IP-Address = 10.10.10.41 (8) NAS-Port = 0 (8) State = 0x2ea7ef80297df6df3693c3c995d521f2 (8) EAP-Message = 0x02da004b190017030300401ca8412f64b2a64783cf02e13ce56d48eac7 1bb1b7c912704f95673053ba6c48d8c6ba5ef6f1b92680a2b631c14a91a9 eb4642700ff61364ff94957617797d39 (8) Message-Authenticator = 0x9e7abcbbcd46d0a587f3205bd42b3df2 (8) session-state: No cached attributes (8) # Executing section authorize from file /etc/raddb/sites-enabled/ default (8) authorize { (8) policy filter_username { (8) if (!&User-Name) { (8) if (!&User-Name) -> FALSE (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) } # policy filter_username = notfound (8) [preprocess] = ok (8) [chap] = noop (8) [mschap] = noop (8) [digest] = noop (8) suffix: Checking for suffix after "@" (8) suffix: No '@' in User-Name = "swadmin", looking up realm NULL (8) suffix: No such realm "NULL" (8) [suffix] = noop (8) eap: Peer sent EAP Response (code 2) ID 218 length 75 (8) eap: Continuing tunnel setup (8) [eap] = ok (8) } # authorize = ok (8) Found Auth-Type = EAP (8) # Executing group from file /etc/raddb/sites-enabled/default (8) authenticate { (8) eap: Expiring EAP session with state 0x2ea7ef80297df6df (8) eap: Finished EAP session with state 0x2ea7ef80297df6df (8) eap: Previous EAP request found for state 0x2ea7ef80297df6df, released from the list (8) eap: Peer sent packet with method EAP PEAP (25) (8) eap: Calling submodule eap_peap to process data (8) eap_peap: Continuing EAP-TLS (8) eap_peap: [eaptls verify] = ok (8) eap_peap: Done initial handshake (8) eap_peap: <<< UNKNOWN TLS VERSION ?0000? [length 0005] (8) eap_peap: [eaptls process] = ok (8) eap_peap: Session established. Decoding tunneled attributes (8) eap_peap: PEAP state send tlv success (8) eap_peap: Received EAP-TLV response (8) eap_peap: Success (8) eap_peap: No information to cache: session caching will be disabled for session c929510df244ed060c53cd90e9b2940df2add6e931aeaca3a7602f0ec476608b (8) eap: Sending EAP Success (code 3) ID 218 length 4 (8) eap: Freeing handler (8) [eap] = ok (8) } # authenticate = ok (8) # Executing section post-auth from file /etc/raddb/sites-enabled/ default (8) post-auth { (8) update { (8) No attributes updated (8) } # update = noop (8) [exec] = noop (8) policy remove_reply_message_if_eap { (8) if (&reply:EAP-Message && &reply:Reply-Message) { (8) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE (8) else { (8) [noop] = noop (8) } # else = noop (8) } # policy remove_reply_message_if_eap = noop (8) } # post-auth = noop (8) Sent Access-Accept Id 152 from 10.10.10.41:1812 to 10.10.10.169:43523 length 0 (8) MS-MPPE-Recv-Key = 0xb2cc66124674f4d4f89ec8157c5cf0d0aff128a59ca2639710ca2b4ee8f104b3 (8) MS-MPPE-Send-Key = 0xa9d0387844078ce9b898d64c14b05afaae367e89184f9557a85cb24f79b16f93 (8) EAP-Message = 0x03da0004 (8) Message-Authenticator = 0x00000000000000000000000000000000 (8) User-Name = "swadmin" (8) Finished request Waking up in 4.6 seconds. (9) Received Accounting-Request Id 7 from 10.10.10.169:18022 to 10.10.10.41:1813 length 85 (9) User-Name = "swadmin" (9) NAS-IP-Address = 10.10.10.169 (9) NAS-Identifier = "HuaweiWedgeSec" (9) NAS-Port = 16997 (9) NAS-Port-Type = Virtual (9) Acct-Status-Type = Start (9) Acct-Session-Id = "00016997" (9) Acct-Authentic = RADIUS (9) # Executing section preacct from file /etc/raddb/sites-enabled/default (9) preacct { (9) [preprocess] = ok (9) policy acct_unique { (9) if ("%{string:Class}" =~ /ai:([0-9a-f]{32})/i) { (9) EXPAND %{string:Class} (9) --> (9) if ("%{string:Class}" =~ /ai:([0-9a-f]{32})/i) -> FALSE (9) else { (9) update request { (9) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6- Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (9) --> 767dde204e68d7d421422d0bcd251691 (9) &Acct-Unique-Session-Id := 767dde204e68d7d421422d0bcd251691 (9) } # update request = noop (9) } # else = noop (9) } # policy acct_unique = noop (9) suffix: Checking for suffix after "@" (9) suffix: No '@' in User-Name = "swadmin", looking up realm NULL (9) suffix: No such realm "NULL" (9) [suffix] = noop (9) [files] = noop (9) } # preacct = ok (9) # Executing section accounting from file /etc/raddb/sites-enabled/default (9) accounting { (9) detail: EXPAND /var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{ Packet-Src-IPv6-Address}}/detail-%Y%m%d (9) detail: --> /var/log/radius/radacct/10.10.10.169/detail-20170919 (9) detail: /var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{ Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/radius/radacct/10.10.10.169/detail-20170919 (9) detail: EXPAND %t (9) detail: --> Tue Sep 19 14:50:25 2017 (9) [detail] = ok (9) [unix] = ok (9) [exec] = noop (9) attr_filter.accounting_response: EXPAND %{User-Name} (9) attr_filter.accounting_response: --> swadmin (9) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (9) [attr_filter.accounting_response] = updated (9) } # accounting = updated (9) Sent Accounting-Response Id 7 from 10.10.10.41:1813 to 10.10.10.169:18022 length 0 (9) Finished request (9) Cleaning up request packet ID 7 with timestamp +226 Waking up in 4.4 seconds. (10) Received Accounting-Request Id 183 from 10.10.10.169:18022 to 10.10.10.41:1813 length 91 (10) User-Name = "swadmin" (10) NAS-IP-Address = 10.10.10.169 (10) NAS-Identifier = "HuaweiWedgeSec" (10) NAS-Port = 16997 (10) NAS-Port-Type = Virtual (10) Acct-Status-Type = Stop (10) Acct-Session-Id = "00016997" (10) Acct-Authentic = RADIUS (10) Acct-Session-Time = 0 (10) # Executing section preacct from file /etc/raddb/sites-enabled/ default (10) preacct { (10) [preprocess] = ok (10) policy acct_unique { (10) if ("%{string:Class}" =~ /ai:([0-9a-f]{32})/i) { (10) EXPAND %{string:Class} (10) --> (10) if ("%{string:Class}" =~ /ai:([0-9a-f]{32})/i) -> FALSE (10) else { (10) update request { (10) EXPAND %{md5:%{User-Name},%{Acct-Session-ID},%{%{NAS-IPv6- Address}:-%{NAS-IP-Address}},%{NAS-Identifier},%{NAS-Port-ID},%{NAS-Port}} (10) --> 767dde204e68d7d421422d0bcd251691 (10) &Acct-Unique-Session-Id := 767dde204e68d7d421422d0bcd251691 (10) } # update request = noop (10) } # else = noop (10) } # policy acct_unique = noop (10) suffix: Checking for suffix after "@" (10) suffix: No '@' in User-Name = "swadmin", looking up realm NULL (10) suffix: No such realm "NULL" (10) [suffix] = noop (10) [files] = noop (10) } # preacct = ok (10) # Executing section accounting from file /etc/raddb/sites-enabled/default (10) accounting { (10) detail: EXPAND /var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{ Packet-Src-IPv6-Address}}/detail-%Y%m%d (10) detail: --> /var/log/radius/radacct/10.10.10.169/detail-20170919 (10) detail: /var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{ Packet-Src-IPv6-Address}}/detail-%Y%m%d expands to /var/log/radius/radacct/10.10.10.169/detail-20170919 (10) detail: EXPAND %t (10) detail: --> Tue Sep 19 14:50:25 2017 (10) [detail] = ok (10) [unix] = ok (10) [exec] = noop (10) attr_filter.accounting_response: EXPAND %{User-Name} (10) attr_filter.accounting_response: --> swadmin (10) attr_filter.accounting_response: Matched entry DEFAULT at line 12 (10) [attr_filter.accounting_response] = updated (10) } # accounting = updated (10) Sent Accounting-Response Id 183 from 10.10.10.41:1813 to 10.10.10.169:18022 length 0 (10) Finished request
I attempted to start radiusd with -Xx in case that is helpful, but I still am not sure if this is reading the dictionary.
My users contains:
swadmin Cleartext-Password := "supersecret" Brocade-Auth-Role = "admin", Brocade-AVPairs1 = "HomeLF=128", Brocade-AVPairs2 = "LFRoleList=admin:1-128", Brocade-AVPairs3 = "ChassisRole=admin"
swuser Cleartext-Password := "supersecret" Brocade-Auth-Role = "user", Brocade-AVPairs1 = "HomeLF=128", Brocade-AVPairs2 = "LFRoleList=user:1-128", Brocade-AVPairs3 = "ChassisRole=user", Brocade-Passwd-ExpiryDate = "10/01/2017", Brocade-Passwd-WarnPeriod = "31"
Thanks for any assistance,
Chris - List info/subscribe/unsubscribe? See http://www.freeradius.org/ list/users.html
participants (3)
-
Alan DeKok -
Chris Kukkonen -
Peter Lambrechtsen