Problem in setting up a WPA-EAP network (Freeradius+hostapd on raspberry pi)

Vafa Andalibi vafandal at iu.edu
Sat Jan 26 05:23:22 CET 2019


Hello,

I have built the Freeradius 3.0.17 on raspberry pi and I'm trying to create
a hotspot that supports WPA-EAP. I'm mostly using this page as a
reference:  https://exitno.de/linux_wlan

The Raspberry Pi hotspot works fine with WPA-PSK (using hostapd based on
this tutorial from raspberrypi.org
<https://www.raspberrypi.org/documentation/configuration/wireless/access-point.md>
).

The Freeradius radtest also works fine with this test:

radtest testing password 127.0.0.1 0 testing123

but when I try to combine them it doesn't work and the user can't connect.
I have tested some variation of this hostapd configuration:

interface=wlan0
driver=nl80211
ssid=SOMESSID
hw_mode=g
channel=7
ieee8021x=1
wpa=2
wpa_key_mgmt=WPA-EAP
rsn_pairwise=CCMP
auth_algs=1
auth_server_addr=127.0.0.1
auth_server_port=1812
auth_server_shared_secret=testing123
acct_server_addr=127.0.0.1
acct_server_port=1813
acct_server_shared_secret=testing123

I'm trying to connect with an android device. I see the SSID but it doesn't
connect. The log of the radiusd -X after attempting to connect the mobile
phone to network is attached.

Any help would be highly appreciated.
-------------- next part --------------
(1) eap: Expiring EAP session with state 0xa41b0a3da4ad0e30
(1) eap: Finished EAP session with state 0xa41b0a3da4ad0e30
(1) eap: Previous EAP request found for state 0xa41b0a3da4ad0e30, released from the list
(1) eap: Peer sent packet with method EAP NAK (3)
(1) eap: Found mutually acceptable type PEAP (25)
(1) eap: Calling submodule eap_peap to process data
(1) eap_peap: Initiating new EAP-TLS session
(1) eap_peap: [eaptls start] = request
(1) eap: Sending EAP Request (code 1) ID 183 length 6
(1) eap: EAP session adding &reply:State = 0xa41b0a3da5ac1330
(1)     [eap] = handled
(1)   } # authenticate = handled
(1) Using Post-Auth-Type Challenge
(1) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(1)   Challenge { ... } # empty sub-section is ignored
(1) Sent Access-Challenge Id 13 from 127.0.0.1:1812 to 127.0.0.1:50119 length 0
(1)   EAP-Message = 0x01b700061920
(1)   Message-Authenticator = 0x00000000000000000000000000000000
(1)   State = 0xa41b0a3da5ac1330c300dece76107f63
(1) Finished request
Waking up in 4.9 seconds.
(2) Received Access-Request Id 14 from 127.0.0.1:50119 to 127.0.0.1:1812 length 363
(2)   User-Name = "test10"
(2)   Called-Station-Id = "B8-27-EB-36-A8-1E:SOMESSID"
(2)   NAS-Port-Type = Wireless-802.11
(2)   NAS-Port = 0
(2)   Calling-Station-Id = "1C-67-58-C0-A2-58"
(2)   Connect-Info = "CONNECT 0Mbps 802.11g"
(2)   Acct-Session-Id = "5C4BD99E-00000001"
(2)   WLAN-Pairwise-Cipher = 1027076
(2)   WLAN-Group-Cipher = 1027076
(2)   WLAN-AKM-Suite = 1027073
(2)   Framed-MTU = 1400
(2)   EAP-Message = 0x02b700af1980000000a516030100a00100009c0303872eed4195ac71d9577e211f246d827e66e85427d113ca2e216808c690dea91500003ec02cc030009fc02bc02f009ecca9cca8c00ac024c014c0280039006bc009c023c013c02700330067c007c011009d009c0035003d002f003c00050004000a01
(2)   State = 0xa41b0a3da5ac1330c300dece76107f63
(2)   Message-Authenticator = 0x90898862baae1c3e00b4dc6200e949cb
(2) session-state: No cached attributes
(2) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default
(2)   authorize {
(2)     policy filter_username {
(2)       if (&User-Name) {
(2)       if (&User-Name)  -> TRUE
(2)       if (&User-Name)  {
(2)         if (&User-Name =~ / /) {
(2)         if (&User-Name =~ / /)  -> FALSE
(2)         if (&User-Name =~ /@[^@]*@/ ) {
(2)         if (&User-Name =~ /@[^@]*@/ )  -> FALSE
(2)         if (&User-Name =~ /\.\./ ) {
(2)         if (&User-Name =~ /\.\./ )  -> FALSE
(2)         if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))  {
(2)         if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))   -> FALSE
(2)         if (&User-Name =~ /\.$/)  {
(2)         if (&User-Name =~ /\.$/)   -> FALSE
(2)         if (&User-Name =~ /@\./)  {
(2)         if (&User-Name =~ /@\./)   -> FALSE
(2)       } # if (&User-Name)  = notfound
(2)     } # policy filter_username = notfound
(2)     [preprocess] = ok
(2)     [chap] = noop
(2)     [mschap] = noop
(2)     [digest] = noop
(2) suffix: Checking for suffix after "@"
(2) suffix: No '@' in User-Name = "test10", looking up realm NULL
(2) suffix: No such realm "NULL"
(2)     [suffix] = noop
(2) eap: Peer sent EAP Response (code 2) ID 183 length 175
(2) eap: Continuing tunnel setup
(2)     [eap] = ok
(2)   } # authorize = ok
(2) Found Auth-Type = eap
(2) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(2)   authenticate {
(2) eap: Expiring EAP session with state 0xa41b0a3da5ac1330
(2) eap: Finished EAP session with state 0xa41b0a3da5ac1330
(2) eap: Previous EAP request found for state 0xa41b0a3da5ac1330, released from the list
(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 indicated complete TLS record size will be 165 bytes
(2) eap_peap: Got complete TLS record (165 bytes)
(2) eap_peap: [eaptls verify] = length included
(2) eap_peap: (other): before SSL initialization
(2) eap_peap: TLS_accept: before SSL initialization
(2) eap_peap: TLS_accept: before SSL initialization
(2) eap_peap: <<< recv TLS 1.2  [length 00a0]
(2) eap_peap: TLS_accept: SSLv3/TLS read client hello
(2) eap_peap: >>> send TLS 1.2  [length 003d]
(2) eap_peap: TLS_accept: SSLv3/TLS write server hello
(2) eap_peap: >>> send TLS 1.2  [length 08d3]
(2) eap_peap: TLS_accept: SSLv3/TLS write certificate
(2) eap_peap: >>> send TLS 1.2  [length 014d]
(2) eap_peap: TLS_accept: SSLv3/TLS write key exchange
(2) eap_peap: >>> send TLS 1.2  [length 0004]
(2) eap_peap: TLS_accept: SSLv3/TLS write server done
(2) eap_peap: TLS_accept: Need to read more data: SSLv3/TLS write server done
(2) eap_peap: In SSL Handshake Phase
(2) eap_peap: In SSL Accept mode
(2) eap_peap: [eaptls process] = handled
(2) eap: Sending EAP Request (code 1) ID 184 length 1004
(2) eap: EAP session adding &reply:State = 0xa41b0a3da6a31330
(2)     [eap] = handled
(2)   } # authenticate = handled
(2) Using Post-Auth-Type Challenge
(2) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(2)   Challenge { ... } # empty sub-section is ignored
(2) Sent Access-Challenge Id 14 from 127.0.0.1:1812 to 127.0.0.1:50119 length 0
(2)   EAP-Message = 0x01b803ec19c000000a75160303003d020000390303d1f4a818f3b926de8d8842f6a4ef680259d4b89067420584d965524fc22904a900c030000011ff01000100000b0004030001020017000016030308d30b0008cf0008cc0003de308203da308202c2a003020102020101300d06092a864886f70d0101
(2)   Message-Authenticator = 0x00000000000000000000000000000000
(2)   State = 0xa41b0a3da6a31330c300dece76107f63
(2) Finished request
Waking up in 4.9 seconds.
(3) Received Access-Request Id 15 from 127.0.0.1:50119 to 127.0.0.1:1812 length 194
(3)   User-Name = "test10"
(3)   Called-Station-Id = "B8-27-EB-36-A8-1E:SOMESSID"
(3)   NAS-Port-Type = Wireless-802.11
(3)   NAS-Port = 0
(3)   Calling-Station-Id = "1C-67-58-C0-A2-58"
(3)   Connect-Info = "CONNECT 0Mbps 802.11g"
(3)   Acct-Session-Id = "5C4BD99E-00000001"
(3)   WLAN-Pairwise-Cipher = 1027076
(3)   WLAN-Group-Cipher = 1027076
(3)   WLAN-AKM-Suite = 1027073
(3)   Framed-MTU = 1400
(3)   EAP-Message = 0x02b800061900
(3)   State = 0xa41b0a3da6a31330c300dece76107f63
(3)   Message-Authenticator = 0x4922644ae99c3056ec3ee2742a9e2ff5
(3) session-state: No cached attributes
(3) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default
(3)   authorize {
(3)     policy filter_username {
(3)       if (&User-Name) {
(3)       if (&User-Name)  -> TRUE
(3)       if (&User-Name)  {
(3)         if (&User-Name =~ / /) {
(3)         if (&User-Name =~ / /)  -> FALSE
(3)         if (&User-Name =~ /@[^@]*@/ ) {
(3)         if (&User-Name =~ /@[^@]*@/ )  -> FALSE
(3)         if (&User-Name =~ /\.\./ ) {
(3)         if (&User-Name =~ /\.\./ )  -> FALSE
(3)         if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))  {
(3)         if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))   -> FALSE
(3)         if (&User-Name =~ /\.$/)  {
(3)         if (&User-Name =~ /\.$/)   -> FALSE
(3)         if (&User-Name =~ /@\./)  {
(3)         if (&User-Name =~ /@\./)   -> FALSE
(3)       } # if (&User-Name)  = notfound
(3)     } # policy filter_username = notfound
(3)     [preprocess] = ok
(3)     [chap] = noop
(3)     [mschap] = noop
(3)     [digest] = noop
(3) suffix: Checking for suffix after "@"
(3) suffix: No '@' in User-Name = "test10", looking up realm NULL
(3) suffix: No such realm "NULL"
(3)     [suffix] = noop
(3) eap: Peer sent EAP Response (code 2) ID 184 length 6
(3) eap: Continuing tunnel setup
(3)     [eap] = ok
(3)   } # authorize = ok
(3) Found Auth-Type = eap
(3) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(3)   authenticate {
(3) eap: Expiring EAP session with state 0xa41b0a3da6a31330
(3) eap: Finished EAP session with state 0xa41b0a3da6a31330
(3) eap: Previous EAP request found for state 0xa41b0a3da6a31330, 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 ACKed our handshake fragment
(3) eap_peap: [eaptls verify] = request
(3) eap_peap: [eaptls process] = handled
(3) eap: Sending EAP Request (code 1) ID 185 length 1000
(3) eap: EAP session adding &reply:State = 0xa41b0a3da7a21330
(3)     [eap] = handled
(3)   } # authenticate = handled
(3) Using Post-Auth-Type Challenge
(3) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(3)   Challenge { ... } # empty sub-section is ignored
(3) Sent Access-Challenge Id 15 from 127.0.0.1:1812 to 127.0.0.1:50119 length 0
(3)   EAP-Message = 0x01b903e81940499e93fec9d853c177fd9982294a9b9b09a96392ceb7a12238b505a11b4201561c8920c5116143065d09e14c4c2acebe4c815b68397924dee43f7a40ea33886b57a7d7ba181e1fa4538ccd4e1f0004e8308204e4308203cca003020102020900fdba2b12594bf954300d06092a864886f7
(3)   Message-Authenticator = 0x00000000000000000000000000000000
(3)   State = 0xa41b0a3da7a21330c300dece76107f63
(3) Finished request
Waking up in 4.8 seconds.
(4) Received Access-Request Id 16 from 127.0.0.1:50119 to 127.0.0.1:1812 length 194
(4)   User-Name = "test10"
(4)   Called-Station-Id = "B8-27-EB-36-A8-1E:SOMESSID"
(4)   NAS-Port-Type = Wireless-802.11
(4)   NAS-Port = 0
(4)   Calling-Station-Id = "1C-67-58-C0-A2-58"
(4)   Connect-Info = "CONNECT 0Mbps 802.11g"
(4)   Acct-Session-Id = "5C4BD99E-00000001"
(4)   WLAN-Pairwise-Cipher = 1027076
(4)   WLAN-Group-Cipher = 1027076
(4)   WLAN-AKM-Suite = 1027073
(4)   Framed-MTU = 1400
(4)   EAP-Message = 0x02b900061900
(4)   State = 0xa41b0a3da7a21330c300dece76107f63
(4)   Message-Authenticator = 0x50884bda3170ae8632e88e859697dc4c
(4) session-state: No cached attributes
(4) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default
(4)   authorize {
(4)     policy filter_username {
(4)       if (&User-Name) {
(4)       if (&User-Name)  -> TRUE
(4)       if (&User-Name)  {
(4)         if (&User-Name =~ / /) {
(4)         if (&User-Name =~ / /)  -> FALSE
(4)         if (&User-Name =~ /@[^@]*@/ ) {
(4)         if (&User-Name =~ /@[^@]*@/ )  -> FALSE
(4)         if (&User-Name =~ /\.\./ ) {
(4)         if (&User-Name =~ /\.\./ )  -> FALSE
(4)         if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))  {
(4)         if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))   -> FALSE
(4)         if (&User-Name =~ /\.$/)  {
(4)         if (&User-Name =~ /\.$/)   -> FALSE
(4)         if (&User-Name =~ /@\./)  {
(4)         if (&User-Name =~ /@\./)   -> FALSE
(4)       } # if (&User-Name)  = notfound
(4)     } # policy filter_username = notfound
(4)     [preprocess] = ok
(4)     [chap] = noop
(4)     [mschap] = noop
(4)     [digest] = noop
(4) suffix: Checking for suffix after "@"
(4) suffix: No '@' in User-Name = "test10", looking up realm NULL
(4) suffix: No such realm "NULL"
(4)     [suffix] = noop
(4) eap: Peer sent EAP Response (code 2) ID 185 length 6
(4) eap: Continuing tunnel setup
(4)     [eap] = ok
(4)   } # authorize = ok
(4) Found Auth-Type = eap
(4) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(4)   authenticate {
(4) eap: Expiring EAP session with state 0xa41b0a3da7a21330
(4) eap: Finished EAP session with state 0xa41b0a3da7a21330
(4) eap: Previous EAP request found for state 0xa41b0a3da7a21330, released from the list
(4) eap: Peer sent packet with method EAP PEAP (25)
(4) eap: Calling submodule eap_peap to process data
(4) eap_peap: Continuing EAP-TLS
(4) eap_peap: Peer ACKed our handshake fragment
(4) eap_peap: [eaptls verify] = request
(4) eap_peap: [eaptls process] = handled
(4) eap: Sending EAP Request (code 1) ID 186 length 695
(4) eap: EAP session adding &reply:State = 0xa41b0a3da0a11330
(4)     [eap] = handled
(4)   } # authenticate = handled
(4) Using Post-Auth-Type Challenge
(4) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(4)   Challenge { ... } # empty sub-section is ignored
(4) Sent Access-Challenge Id 16 from 127.0.0.1:1812 to 127.0.0.1:50119 length 0
(4)   EAP-Message = 0x01ba02b719000101ff040530030101ff30360603551d1f042f302d302ba029a0278625687474703a2f2f7777772e6578616d706c652e6f72672f6578616d706c655f63612e63726c300d06092a864886f70d01010b05000382010100b6fda0cb60427ff1db8456e3e588c8185c79fff19c173e5bb844a8
(4)   Message-Authenticator = 0x00000000000000000000000000000000
(4)   State = 0xa41b0a3da0a11330c300dece76107f63
(4) Finished request
Waking up in 4.8 seconds.
(5) Received Access-Request Id 17 from 127.0.0.1:50119 to 127.0.0.1:1812 length 324
(5)   User-Name = "test10"
(5)   Called-Station-Id = "B8-27-EB-36-A8-1E:SOMESSID"
(5)   NAS-Port-Type = Wireless-802.11
(5)   NAS-Port = 0
(5)   Calling-Station-Id = "1C-67-58-C0-A2-58"
(5)   Connect-Info = "CONNECT 0Mbps 802.11g"
(5)   Acct-Session-Id = "5C4BD99E-00000001"
(5)   WLAN-Pairwise-Cipher = 1027076
(5)   WLAN-Group-Cipher = 1027076
(5)   WLAN-AKM-Suite = 1027073
(5)   Framed-MTU = 1400
(5)   EAP-Message = 0x02ba008819800000007e16030300461000004241045de49691217442d7ca4073811fce61840feefb22aa6bf36f822906d3f9f163b1c1741f0f5b7bc8476ef3b23e6e1c075c4e494d7585e269af1e86385df264f18214030300010116030300280000000000000000dab7b61c623377a1fd525e26ad349d
(5)   State = 0xa41b0a3da0a11330c300dece76107f63
(5)   Message-Authenticator = 0x777eb652a44424afff56a441be0b11f6
(5) session-state: No cached attributes
(5) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default
(5)   authorize {
(5)     policy filter_username {
(5)       if (&User-Name) {
(5)       if (&User-Name)  -> TRUE
(5)       if (&User-Name)  {
(5)         if (&User-Name =~ / /) {
(5)         if (&User-Name =~ / /)  -> FALSE
(5)         if (&User-Name =~ /@[^@]*@/ ) {
(5)         if (&User-Name =~ /@[^@]*@/ )  -> FALSE
(5)         if (&User-Name =~ /\.\./ ) {
(5)         if (&User-Name =~ /\.\./ )  -> FALSE
(5)         if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))  {
(5)         if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))   -> FALSE
(5)         if (&User-Name =~ /\.$/)  {
(5)         if (&User-Name =~ /\.$/)   -> FALSE
(5)         if (&User-Name =~ /@\./)  {
(5)         if (&User-Name =~ /@\./)   -> FALSE
(5)       } # if (&User-Name)  = notfound
(5)     } # policy filter_username = notfound
(5)     [preprocess] = ok
(5)     [chap] = noop
(5)     [mschap] = noop
(5)     [digest] = noop
(5) suffix: Checking for suffix after "@"
(5) suffix: No '@' in User-Name = "test10", looking up realm NULL
(5) suffix: No such realm "NULL"
(5)     [suffix] = noop
(5) eap: Peer sent EAP Response (code 2) ID 186 length 136
(5) eap: Continuing tunnel setup
(5)     [eap] = ok
(5)   } # authorize = ok
(5) Found Auth-Type = eap
(5) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(5)   authenticate {
(5) eap: Expiring EAP session with state 0xa41b0a3da0a11330
(5) eap: Finished EAP session with state 0xa41b0a3da0a11330
(5) eap: Previous EAP request found for state 0xa41b0a3da0a11330, released from the list
(5) eap: Peer sent packet with method EAP PEAP (25)
(5) eap: Calling submodule eap_peap to process data
(5) eap_peap: Continuing EAP-TLS
(5) eap_peap: Peer indicated complete TLS record size will be 126 bytes
(5) eap_peap: Got complete TLS record (126 bytes)
(5) eap_peap: [eaptls verify] = length included
(5) eap_peap: TLS_accept: SSLv3/TLS write server done
(5) eap_peap: <<< recv TLS 1.2  [length 0046]
(5) eap_peap: TLS_accept: SSLv3/TLS read client key exchange
(5) eap_peap: TLS_accept: SSLv3/TLS read change cipher spec
(5) eap_peap: <<< recv TLS 1.2  [length 0010]
(5) eap_peap: TLS_accept: SSLv3/TLS read finished
(5) eap_peap: >>> send TLS 1.2  [length 0001]
(5) eap_peap: TLS_accept: SSLv3/TLS write change cipher spec
(5) eap_peap: >>> send TLS 1.2  [length 0010]
(5) eap_peap: TLS_accept: SSLv3/TLS write finished
(5) eap_peap: (other): SSL negotiation finished successfully
(5) eap_peap: SSL Connection Established
(5) eap_peap: [eaptls process] = handled
(5) eap: Sending EAP Request (code 1) ID 187 length 57
(5) eap: EAP session adding &reply:State = 0xa41b0a3da1a01330
(5)     [eap] = handled
(5)   } # authenticate = handled
(5) Using Post-Auth-Type Challenge
(5) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(5)   Challenge { ... } # empty sub-section is ignored
(5) Sent Access-Challenge Id 17 from 127.0.0.1:1812 to 127.0.0.1:50119 length 0
(5)   EAP-Message = 0x01bb00391900140303000101160303002889b3d986033e3d748971b0980ed91d590b1c35d5a4bfb2f09883f4eee60c7c3c662e07dfe88d912e
(5)   Message-Authenticator = 0x00000000000000000000000000000000
(5)   State = 0xa41b0a3da1a01330c300dece76107f63
(5) Finished request
Waking up in 4.8 seconds.
(6) Received Access-Request Id 18 from 127.0.0.1:50119 to 127.0.0.1:1812 length 194
(6)   User-Name = "test10"
(6)   Called-Station-Id = "B8-27-EB-36-A8-1E:SOMESSID"
(6)   NAS-Port-Type = Wireless-802.11
(6)   NAS-Port = 0
(6)   Calling-Station-Id = "1C-67-58-C0-A2-58"
(6)   Connect-Info = "CONNECT 0Mbps 802.11g"
(6)   Acct-Session-Id = "5C4BD99E-00000001"
(6)   WLAN-Pairwise-Cipher = 1027076
(6)   WLAN-Group-Cipher = 1027076
(6)   WLAN-AKM-Suite = 1027073
(6)   Framed-MTU = 1400
(6)   EAP-Message = 0x02bb00061900
(6)   State = 0xa41b0a3da1a01330c300dece76107f63
(6)   Message-Authenticator = 0x906e3666a5fba71d0d3dadce0029dcee
(6) session-state: No cached attributes
(6) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default
(6)   authorize {
(6)     policy filter_username {
(6)       if (&User-Name) {
(6)       if (&User-Name)  -> TRUE
(6)       if (&User-Name)  {
(6)         if (&User-Name =~ / /) {
(6)         if (&User-Name =~ / /)  -> FALSE
(6)         if (&User-Name =~ /@[^@]*@/ ) {
(6)         if (&User-Name =~ /@[^@]*@/ )  -> FALSE
(6)         if (&User-Name =~ /\.\./ ) {
(6)         if (&User-Name =~ /\.\./ )  -> FALSE
(6)         if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))  {
(6)         if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))   -> FALSE
(6)         if (&User-Name =~ /\.$/)  {
(6)         if (&User-Name =~ /\.$/)   -> FALSE
(6)         if (&User-Name =~ /@\./)  {
(6)         if (&User-Name =~ /@\./)   -> FALSE
(6)       } # if (&User-Name)  = notfound
(6)     } # policy filter_username = notfound
(6)     [preprocess] = ok
(6)     [chap] = noop
(6)     [mschap] = noop
(6)     [digest] = noop
(6) suffix: Checking for suffix after "@"
(6) suffix: No '@' in User-Name = "test10", looking up realm NULL
(6) suffix: No such realm "NULL"
(6)     [suffix] = noop
(6) eap: Peer sent EAP Response (code 2) ID 187 length 6
(6) eap: Continuing tunnel setup
(6)     [eap] = ok
(6)   } # authorize = ok
(6) Found Auth-Type = eap
(6) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(6)   authenticate {
(6) eap: Expiring EAP session with state 0xa41b0a3da1a01330
(6) eap: Finished EAP session with state 0xa41b0a3da1a01330
(6) eap: Previous EAP request found for state 0xa41b0a3da1a01330, released from the list
(6) eap: Peer sent packet with method EAP PEAP (25)
(6) eap: Calling submodule eap_peap to process data
(6) eap_peap: Continuing EAP-TLS
(6) eap_peap: Peer ACKed our handshake fragment.  handshake is finished
(6) eap_peap: [eaptls verify] = success
(6) eap_peap: [eaptls process] = success
(6) eap_peap: Session established.  Decoding tunneled attributes
(6) eap_peap: PEAP state TUNNEL ESTABLISHED
(6) eap: Sending EAP Request (code 1) ID 188 length 40
(6) eap: EAP session adding &reply:State = 0xa41b0a3da2a71330
(6)     [eap] = handled
(6)   } # authenticate = handled
(6) Using Post-Auth-Type Challenge
(6) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(6)   Challenge { ... } # empty sub-section is ignored
(6) Sent Access-Challenge Id 18 from 127.0.0.1:1812 to 127.0.0.1:50119 length 0
(6)   EAP-Message = 0x01bc00281900170303001d89b3d986033e3d75a63396141434a711e7c60e7a8f02b53a84000b861c
(6)   Message-Authenticator = 0x00000000000000000000000000000000
(6)   State = 0xa41b0a3da2a71330c300dece76107f63
(6) Finished request
Waking up in 4.8 seconds.
(7) Received Access-Request Id 19 from 127.0.0.1:50119 to 127.0.0.1:1812 length 230
(7)   User-Name = "test10"
(7)   Called-Station-Id = "B8-27-EB-36-A8-1E:SOMESSID"
(7)   NAS-Port-Type = Wireless-802.11
(7)   NAS-Port = 0
(7)   Calling-Station-Id = "1C-67-58-C0-A2-58"
(7)   Connect-Info = "CONNECT 0Mbps 802.11g"
(7)   Acct-Session-Id = "5C4BD99E-00000001"
(7)   WLAN-Pairwise-Cipher = 1027076
(7)   WLAN-Group-Cipher = 1027076
(7)   WLAN-AKM-Suite = 1027073
(7)   Framed-MTU = 1400
(7)   EAP-Message = 0x02bc002a1900170303001f0000000000000001ed3c00ce58d773f969e9513ffdd086d705083d80fefb6e
(7)   State = 0xa41b0a3da2a71330c300dece76107f63
(7)   Message-Authenticator = 0x7123de4c0e08f85343d0b771b51ad2f3
(7) session-state: No cached attributes
(7) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default
(7)   authorize {
(7)     policy filter_username {
(7)       if (&User-Name) {
(7)       if (&User-Name)  -> TRUE
(7)       if (&User-Name)  {
(7)         if (&User-Name =~ / /) {
(7)         if (&User-Name =~ / /)  -> FALSE
(7)         if (&User-Name =~ /@[^@]*@/ ) {
(7)         if (&User-Name =~ /@[^@]*@/ )  -> FALSE
(7)         if (&User-Name =~ /\.\./ ) {
(7)         if (&User-Name =~ /\.\./ )  -> FALSE
(7)         if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))  {
(7)         if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))   -> FALSE
(7)         if (&User-Name =~ /\.$/)  {
(7)         if (&User-Name =~ /\.$/)   -> FALSE
(7)         if (&User-Name =~ /@\./)  {
(7)         if (&User-Name =~ /@\./)   -> FALSE
(7)       } # if (&User-Name)  = notfound
(7)     } # policy filter_username = notfound
(7)     [preprocess] = ok
(7)     [chap] = noop
(7)     [mschap] = noop
(7)     [digest] = noop
(7) suffix: Checking for suffix after "@"
(7) suffix: No '@' in User-Name = "test10", looking up realm NULL
(7) suffix: No such realm "NULL"
(7)     [suffix] = noop
(7) eap: Peer sent EAP Response (code 2) ID 188 length 42
(7) eap: Continuing tunnel setup
(7)     [eap] = ok
(7)   } # authorize = ok
(7) Found Auth-Type = eap
(7) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(7)   authenticate {
(7) eap: Expiring EAP session with state 0xa41b0a3da2a71330
(7) eap: Finished EAP session with state 0xa41b0a3da2a71330
(7) eap: Previous EAP request found for state 0xa41b0a3da2a71330, 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: [eaptls process] = ok
(7) eap_peap: Session established.  Decoding tunneled attributes
(7) eap_peap: PEAP state WAITING FOR INNER IDENTITY
(7) eap_peap: Identity - test10
(7) eap_peap: Got inner identity 'test10'
(7) eap_peap: Setting default EAP type for tunneled EAP session
(7) eap_peap: Got tunneled request
(7) eap_peap:   EAP-Message = 0x02bc000b01746573743130
(7) eap_peap: Setting User-Name to test10
(7) eap_peap: Sending tunneled request to inner-tunnel
(7) eap_peap:   EAP-Message = 0x02bc000b01746573743130
(7) eap_peap:   FreeRADIUS-Proxied-To = 127.0.0.1
(7) eap_peap:   User-Name = "test10"
(7) Virtual server inner-tunnel received request
(7)   EAP-Message = 0x02bc000b01746573743130
(7)   FreeRADIUS-Proxied-To = 127.0.0.1
(7)   User-Name = "test10"
(7) WARNING: Outer and inner identities are the same.  User privacy is compromised.
(7) server inner-tunnel {
(7)   # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/inner-tunnel
(7)     authorize {
(7)       policy filter_username {
(7)         if (&User-Name) {
(7)         if (&User-Name)  -> TRUE
(7)         if (&User-Name)  {
(7)           if (&User-Name =~ / /) {
(7)           if (&User-Name =~ / /)  -> FALSE
(7)           if (&User-Name =~ /@[^@]*@/ ) {
(7)           if (&User-Name =~ /@[^@]*@/ )  -> FALSE
(7)           if (&User-Name =~ /\.\./ ) {
(7)           if (&User-Name =~ /\.\./ )  -> FALSE
(7)           if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))  {
(7)           if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))   -> FALSE
(7)           if (&User-Name =~ /\.$/)  {
(7)           if (&User-Name =~ /\.$/)   -> FALSE
(7)           if (&User-Name =~ /@\./)  {
(7)           if (&User-Name =~ /@\./)   -> FALSE
(7)         } # if (&User-Name)  = notfound
(7)       } # policy filter_username = notfound
(7)       [chap] = noop
(7)       [mschap] = noop
(7) suffix: Checking for suffix after "@"
(7) suffix: No '@' in User-Name = "test10", 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 188 length 11
(7) eap: EAP-Identity reply, returning 'ok' so we can short-circuit the rest of authorize
(7)       [eap] = ok
(7)     } # authorize = ok
(7)   Found Auth-Type = eap
(7)   # Executing group from file /usr/local/etc/raddb/sites-enabled/inner-tunnel
(7)     authenticate {
(7) eap: Peer sent packet with method EAP Identity (1)
(7) eap: Calling submodule eap_mschapv2 to process data
(7) eap_mschapv2: Issuing Challenge
(7) eap: Sending EAP Request (code 1) ID 189 length 43
(7) eap: EAP session adding &reply:State = 0x79f4117479490b02
(7)       [eap] = handled
(7)     } # authenticate = handled
(7) } # server inner-tunnel
(7) Virtual server sending reply
(7)   EAP-Message = 0x01bd002b1a01bd00261027643595c5ce77ac6b86f6267c8166bd667265657261646975732d332e302e3137
(7)   Message-Authenticator = 0x00000000000000000000000000000000
(7)   State = 0x79f4117479490b025d1bd1ae58ce1bd0
(7) eap_peap: Got tunneled reply code 11
(7) eap_peap:   EAP-Message = 0x01bd002b1a01bd00261027643595c5ce77ac6b86f6267c8166bd667265657261646975732d332e302e3137
(7) eap_peap:   Message-Authenticator = 0x00000000000000000000000000000000
(7) eap_peap:   State = 0x79f4117479490b025d1bd1ae58ce1bd0
(7) eap_peap: Got tunneled reply RADIUS code 11
(7) eap_peap:   EAP-Message = 0x01bd002b1a01bd00261027643595c5ce77ac6b86f6267c8166bd667265657261646975732d332e302e3137
(7) eap_peap:   Message-Authenticator = 0x00000000000000000000000000000000
(7) eap_peap:   State = 0x79f4117479490b025d1bd1ae58ce1bd0
(7) eap_peap: Got tunneled Access-Challenge
(7) eap: Sending EAP Request (code 1) ID 189 length 74
(7) eap: EAP session adding &reply:State = 0xa41b0a3da3a61330
(7)     [eap] = handled
(7)   } # authenticate = handled
(7) Using Post-Auth-Type Challenge
(7) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(7)   Challenge { ... } # empty sub-section is ignored
(7) Sent Access-Challenge Id 19 from 127.0.0.1:1812 to 127.0.0.1:50119 length 0
(7)   EAP-Message = 0x01bd004a1900170303003f89b3d986033e3d76fb79d7d0a676eaca0c337c6a52c1e2bbebfb3c145af3bcb685c94fe25cec02e207f871ecc3018fb0de16aafdc3d11ade0175cf2fa97921
(7)   Message-Authenticator = 0x00000000000000000000000000000000
(7)   State = 0xa41b0a3da3a61330c300dece76107f63
(7) Finished request
Waking up in 4.8 seconds.
(8) Received Access-Request Id 20 from 127.0.0.1:50119 to 127.0.0.1:1812 length 284
(8)   User-Name = "test10"
(8)   Called-Station-Id = "B8-27-EB-36-A8-1E:SOMESSID"
(8)   NAS-Port-Type = Wireless-802.11
(8)   NAS-Port = 0
(8)   Calling-Station-Id = "1C-67-58-C0-A2-58"
(8)   Connect-Info = "CONNECT 0Mbps 802.11g"
(8)   Acct-Session-Id = "5C4BD99E-00000001"
(8)   WLAN-Pairwise-Cipher = 1027076
(8)   WLAN-Group-Cipher = 1027076
(8)   WLAN-AKM-Suite = 1027073
(8)   Framed-MTU = 1400
(8)   EAP-Message = 0x02bd00601900170303005500000000000000025fc369df935e34b2c2a15b9a371d58c12aedd3051ca3550377b2aed6b64c1aac2a97e67a870c274e5616118b93d786f5c0e0f482d904603c0e883db37676c4eb996922dfdb046b872d9a269c8b
(8)   State = 0xa41b0a3da3a61330c300dece76107f63
(8)   Message-Authenticator = 0x81119bfa70e5e5a59665f2491753457d
(8) session-state: No cached attributes
(8) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default
(8)   authorize {
(8)     policy filter_username {
(8)       if (&User-Name) {
(8)       if (&User-Name)  -> TRUE
(8)       if (&User-Name)  {
(8)         if (&User-Name =~ / /) {
(8)         if (&User-Name =~ / /)  -> FALSE
(8)         if (&User-Name =~ /@[^@]*@/ ) {
(8)         if (&User-Name =~ /@[^@]*@/ )  -> FALSE
(8)         if (&User-Name =~ /\.\./ ) {
(8)         if (&User-Name =~ /\.\./ )  -> FALSE
(8)         if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))  {
(8)         if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))   -> FALSE
(8)         if (&User-Name =~ /\.$/)  {
(8)         if (&User-Name =~ /\.$/)   -> FALSE
(8)         if (&User-Name =~ /@\./)  {
(8)         if (&User-Name =~ /@\./)   -> FALSE
(8)       } # if (&User-Name)  = notfound
(8)     } # policy filter_username = notfound
(8)     [preprocess] = ok
(8)     [chap] = noop
(8)     [mschap] = noop
(8)     [digest] = noop
(8) suffix: Checking for suffix after "@"
(8) suffix: No '@' in User-Name = "test10", looking up realm NULL
(8) suffix: No such realm "NULL"
(8)     [suffix] = noop
(8) eap: Peer sent EAP Response (code 2) ID 189 length 96
(8) eap: Continuing tunnel setup
(8)     [eap] = ok
(8)   } # authorize = ok
(8) Found Auth-Type = eap
(8) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(8)   authenticate {
(8) eap: Expiring EAP session with state 0x79f4117479490b02
(8) eap: Finished EAP session with state 0xa41b0a3da3a61330
(8) eap: Previous EAP request found for state 0xa41b0a3da3a61330, 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: [eaptls process] = ok
(8) eap_peap: Session established.  Decoding tunneled attributes
(8) eap_peap: PEAP state phase2
(8) eap_peap: EAP method MSCHAPv2 (26)
(8) eap_peap: Got tunneled request
(8) eap_peap:   EAP-Message = 0x02bd00411a02bd003c31187e6eb0aabc3e27261f818fe504c52c000000000000000006957eb67957655fe81b9da610c7cc02cdb0dd1e275cba6000746573743130
(8) eap_peap: Setting User-Name to test10
(8) eap_peap: Sending tunneled request to inner-tunnel
(8) eap_peap:   EAP-Message = 0x02bd00411a02bd003c31187e6eb0aabc3e27261f818fe504c52c000000000000000006957eb67957655fe81b9da610c7cc02cdb0dd1e275cba6000746573743130
(8) eap_peap:   FreeRADIUS-Proxied-To = 127.0.0.1
(8) eap_peap:   User-Name = "test10"
(8) eap_peap:   State = 0x79f4117479490b025d1bd1ae58ce1bd0
(8) Virtual server inner-tunnel received request
(8)   EAP-Message = 0x02bd00411a02bd003c31187e6eb0aabc3e27261f818fe504c52c000000000000000006957eb67957655fe81b9da610c7cc02cdb0dd1e275cba6000746573743130
(8)   FreeRADIUS-Proxied-To = 127.0.0.1
(8)   User-Name = "test10"
(8)   State = 0x79f4117479490b025d1bd1ae58ce1bd0
(8) WARNING: Outer and inner identities are the same.  User privacy is compromised.
(8) server inner-tunnel {
(8)   session-state: No cached attributes
(8)   # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/inner-tunnel
(8)     authorize {
(8)       policy filter_username {
(8)         if (&User-Name) {
(8)         if (&User-Name)  -> TRUE
(8)         if (&User-Name)  {
(8)           if (&User-Name =~ / /) {
(8)           if (&User-Name =~ / /)  -> FALSE
(8)           if (&User-Name =~ /@[^@]*@/ ) {
(8)           if (&User-Name =~ /@[^@]*@/ )  -> FALSE
(8)           if (&User-Name =~ /\.\./ ) {
(8)           if (&User-Name =~ /\.\./ )  -> FALSE
(8)           if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))  {
(8)           if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))   -> FALSE
(8)           if (&User-Name =~ /\.$/)  {
(8)           if (&User-Name =~ /\.$/)   -> FALSE
(8)           if (&User-Name =~ /@\./)  {
(8)           if (&User-Name =~ /@\./)   -> FALSE
(8)         } # if (&User-Name)  = notfound
(8)       } # policy filter_username = notfound
(8)       [chap] = noop
(8)       [mschap] = noop
(8) suffix: Checking for suffix after "@"
(8) suffix: No '@' in User-Name = "test10", looking up realm NULL
(8) suffix: No such realm "NULL"
(8)       [suffix] = noop
(8)       update control {
(8)         &Proxy-To-Realm := LOCAL
(8)       } # update control = noop
(8) eap: Peer sent EAP Response (code 2) ID 189 length 65
(8) eap: No EAP Start, assuming it's an on-going EAP conversation
(8)       [eap] = updated
(8) files: users: Matched entry test10 at line 1
(8)       [files] = ok
(8)       [expiration] = noop
(8)       [logintime] = noop
(8) pap: WARNING: Auth-Type already set.  Not setting to PAP
(8)       [pap] = noop
(8)     } # authorize = updated
(8)   Found Auth-Type = eap
(8)   # Executing group from file /usr/local/etc/raddb/sites-enabled/inner-tunnel
(8)     authenticate {
(8) eap: Expiring EAP session with state 0x79f4117479490b02
(8) eap: Finished EAP session with state 0x79f4117479490b02
(8) eap: Previous EAP request found for state 0x79f4117479490b02, released from the list
(8) eap: Peer sent packet with method EAP MSCHAPv2 (26)
(8) eap: Calling submodule eap_mschapv2 to process data
(8) eap_mschapv2: # Executing group from file /usr/local/etc/raddb/sites-enabled/inner-tunnel
(8) eap_mschapv2:   authenticate {
(8) mschap: Found Cleartext-Password, hashing to create NT-Password
(8) mschap: Found Cleartext-Password, hashing to create LM-Password
(8) mschap: Creating challenge hash with username: test10
(8) mschap: Client is using MS-CHAPv2
(8) mschap: Adding MS-CHAPv2 MPPE keys
(8)     [mschap] = ok
(8)   } # authenticate = ok
(8) MSCHAP Success
(8) eap: Sending EAP Request (code 1) ID 190 length 51
(8) eap: EAP session adding &reply:State = 0x79f41174784a0b02
(8)       [eap] = handled
(8)     } # authenticate = handled
(8) } # server inner-tunnel
(8) Virtual server sending reply
(8)   EAP-Message = 0x01be00331a03bd002e533d33344334323230433033394338344533423145464336383039424131383238303833374138393734
(8)   Message-Authenticator = 0x00000000000000000000000000000000
(8)   State = 0x79f41174784a0b025d1bd1ae58ce1bd0
(8) eap_peap: Got tunneled reply code 11
(8) eap_peap:   EAP-Message = 0x01be00331a03bd002e533d33344334323230433033394338344533423145464336383039424131383238303833374138393734
(8) eap_peap:   Message-Authenticator = 0x00000000000000000000000000000000
(8) eap_peap:   State = 0x79f41174784a0b025d1bd1ae58ce1bd0
(8) eap_peap: Got tunneled reply RADIUS code 11
(8) eap_peap:   EAP-Message = 0x01be00331a03bd002e533d33344334323230433033394338344533423145464336383039424131383238303833374138393734
(8) eap_peap:   Message-Authenticator = 0x00000000000000000000000000000000
(8) eap_peap:   State = 0x79f41174784a0b025d1bd1ae58ce1bd0
(8) eap_peap: Got tunneled Access-Challenge
(8) eap: Sending EAP Request (code 1) ID 190 length 82
(8) eap: EAP session adding &reply:State = 0xa41b0a3daca51330
(8)     [eap] = handled
(8)   } # authenticate = handled
(8) Using Post-Auth-Type Challenge
(8) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(8)   Challenge { ... } # empty sub-section is ignored
(8) Sent Access-Challenge Id 20 from 127.0.0.1:1812 to 127.0.0.1:50119 length 0
(8)   EAP-Message = 0x01be00521900170303004789b3d986033e3d77f1c1a8e6bea62427cc5938eb1d2073668d9c1b5eb3951907de68ff6151166002785de63d8437b470c316c14e14ad6c2107dd221323c5642c49e847947c0018
(8)   Message-Authenticator = 0x00000000000000000000000000000000
(8)   State = 0xa41b0a3daca51330c300dece76107f63
(8) Finished request
Waking up in 4.8 seconds.
(9) Received Access-Request Id 21 from 127.0.0.1:50119 to 127.0.0.1:1812 length 225
(9)   User-Name = "test10"
(9)   Called-Station-Id = "B8-27-EB-36-A8-1E:SOMESSID"
(9)   NAS-Port-Type = Wireless-802.11
(9)   NAS-Port = 0
(9)   Calling-Station-Id = "1C-67-58-C0-A2-58"
(9)   Connect-Info = "CONNECT 0Mbps 802.11g"
(9)   Acct-Session-Id = "5C4BD99E-00000001"
(9)   WLAN-Pairwise-Cipher = 1027076
(9)   WLAN-Group-Cipher = 1027076
(9)   WLAN-AKM-Suite = 1027073
(9)   Framed-MTU = 1400
(9)   EAP-Message = 0x02be00251900170303001a00000000000000039c007a1e678f810d45d01e1da666da7854f1
(9)   State = 0xa41b0a3daca51330c300dece76107f63
(9)   Message-Authenticator = 0x68c5c90d69bf35ad8ceb80d1cb9ea335
(9) session-state: No cached attributes
(9) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default
(9)   authorize {
(9)     policy filter_username {
(9)       if (&User-Name) {
(9)       if (&User-Name)  -> TRUE
(9)       if (&User-Name)  {
(9)         if (&User-Name =~ / /) {
(9)         if (&User-Name =~ / /)  -> FALSE
(9)         if (&User-Name =~ /@[^@]*@/ ) {
(9)         if (&User-Name =~ /@[^@]*@/ )  -> FALSE
(9)         if (&User-Name =~ /\.\./ ) {
(9)         if (&User-Name =~ /\.\./ )  -> FALSE
(9)         if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))  {
(9)         if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))   -> FALSE
(9)         if (&User-Name =~ /\.$/)  {
(9)         if (&User-Name =~ /\.$/)   -> FALSE
(9)         if (&User-Name =~ /@\./)  {
(9)         if (&User-Name =~ /@\./)   -> FALSE
(9)       } # if (&User-Name)  = notfound
(9)     } # policy filter_username = notfound
(9)     [preprocess] = ok
(9)     [chap] = noop
(9)     [mschap] = noop
(9)     [digest] = noop
(9) suffix: Checking for suffix after "@"
(9) suffix: No '@' in User-Name = "test10", looking up realm NULL
(9) suffix: No such realm "NULL"
(9)     [suffix] = noop
(9) eap: Peer sent EAP Response (code 2) ID 190 length 37
(9) eap: Continuing tunnel setup
(9)     [eap] = ok
(9)   } # authorize = ok
(9) Found Auth-Type = eap
(9) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(9)   authenticate {
(9) eap: Expiring EAP session with state 0x79f41174784a0b02
(9) eap: Finished EAP session with state 0xa41b0a3daca51330
(9) eap: Previous EAP request found for state 0xa41b0a3daca51330, released from the list
(9) eap: Peer sent packet with method EAP PEAP (25)
(9) eap: Calling submodule eap_peap to process data
(9) eap_peap: Continuing EAP-TLS
(9) eap_peap: [eaptls verify] = ok
(9) eap_peap: Done initial handshake
(9) eap_peap: [eaptls process] = ok
(9) eap_peap: Session established.  Decoding tunneled attributes
(9) eap_peap: PEAP state phase2
(9) eap_peap: EAP method MSCHAPv2 (26)
(9) eap_peap: Got tunneled request
(9) eap_peap:   EAP-Message = 0x02be00061a03
(9) eap_peap: Setting User-Name to test10
(9) eap_peap: Sending tunneled request to inner-tunnel
(9) eap_peap:   EAP-Message = 0x02be00061a03
(9) eap_peap:   FreeRADIUS-Proxied-To = 127.0.0.1
(9) eap_peap:   User-Name = "test10"
(9) eap_peap:   State = 0x79f41174784a0b025d1bd1ae58ce1bd0
(9) Virtual server inner-tunnel received request
(9)   EAP-Message = 0x02be00061a03
(9)   FreeRADIUS-Proxied-To = 127.0.0.1
(9)   User-Name = "test10"
(9)   State = 0x79f41174784a0b025d1bd1ae58ce1bd0
(9) WARNING: Outer and inner identities are the same.  User privacy is compromised.
(9) server inner-tunnel {
(9)   session-state: No cached attributes
(9)   # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/inner-tunnel
(9)     authorize {
(9)       policy filter_username {
(9)         if (&User-Name) {
(9)         if (&User-Name)  -> TRUE
(9)         if (&User-Name)  {
(9)           if (&User-Name =~ / /) {
(9)           if (&User-Name =~ / /)  -> FALSE
(9)           if (&User-Name =~ /@[^@]*@/ ) {
(9)           if (&User-Name =~ /@[^@]*@/ )  -> FALSE
(9)           if (&User-Name =~ /\.\./ ) {
(9)           if (&User-Name =~ /\.\./ )  -> FALSE
(9)           if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))  {
(9)           if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))   -> FALSE
(9)           if (&User-Name =~ /\.$/)  {
(9)           if (&User-Name =~ /\.$/)   -> FALSE
(9)           if (&User-Name =~ /@\./)  {
(9)           if (&User-Name =~ /@\./)   -> FALSE
(9)         } # if (&User-Name)  = notfound
(9)       } # policy filter_username = notfound
(9)       [chap] = noop
(9)       [mschap] = noop
(9) suffix: Checking for suffix after "@"
(9) suffix: No '@' in User-Name = "test10", looking up realm NULL
(9) suffix: No such realm "NULL"
(9)       [suffix] = noop
(9)       update control {
(9)         &Proxy-To-Realm := LOCAL
(9)       } # update control = noop
(9) eap: Peer sent EAP Response (code 2) ID 190 length 6
(9) eap: No EAP Start, assuming it's an on-going EAP conversation
(9)       [eap] = updated
(9) files: users: Matched entry test10 at line 1
(9)       [files] = ok
(9)       [expiration] = noop
(9)       [logintime] = noop
(9) pap: WARNING: Auth-Type already set.  Not setting to PAP
(9)       [pap] = noop
(9)     } # authorize = updated
(9)   Found Auth-Type = eap
(9)   # Executing group from file /usr/local/etc/raddb/sites-enabled/inner-tunnel
(9)     authenticate {
(9) eap: Expiring EAP session with state 0x79f41174784a0b02
(9) eap: Finished EAP session with state 0x79f41174784a0b02
(9) eap: Previous EAP request found for state 0x79f41174784a0b02, released from the list
(9) eap: Peer sent packet with method EAP MSCHAPv2 (26)
(9) eap: Calling submodule eap_mschapv2 to process data
(9) eap: Sending EAP Success (code 3) ID 190 length 4
(9) eap: Freeing handler
(9)       [eap] = ok
(9)     } # authenticate = ok
(9)   # Executing section post-auth from file /usr/local/etc/raddb/sites-enabled/inner-tunnel
(9)     post-auth {
(9)       if (0) {
(9)       if (0)  -> FALSE
(9)     } # post-auth = noop
(9) } # server inner-tunnel
(9) Virtual server sending reply
(9)   MS-MPPE-Encryption-Policy = Encryption-Allowed
(9)   MS-MPPE-Encryption-Types = RC4-40or128-bit-Allowed
(9)   MS-MPPE-Send-Key = 0x48629be1e2b20861e28fb470671a263f
(9)   MS-MPPE-Recv-Key = 0x73b3d51fee2da0af06438f72debfeb87
(9)   EAP-Message = 0x03be0004
(9)   Message-Authenticator = 0x00000000000000000000000000000000
(9)   User-Name = "test10"
(9) eap_peap: Got tunneled reply code 2
(9) eap_peap:   MS-MPPE-Encryption-Policy = Encryption-Allowed
(9) eap_peap:   MS-MPPE-Encryption-Types = RC4-40or128-bit-Allowed
(9) eap_peap:   MS-MPPE-Send-Key = 0x48629be1e2b20861e28fb470671a263f
(9) eap_peap:   MS-MPPE-Recv-Key = 0x73b3d51fee2da0af06438f72debfeb87
(9) eap_peap:   EAP-Message = 0x03be0004
(9) eap_peap:   Message-Authenticator = 0x00000000000000000000000000000000
(9) eap_peap:   User-Name = "test10"
(9) eap_peap: Got tunneled reply RADIUS code 2
(9) eap_peap:   MS-MPPE-Encryption-Policy = Encryption-Allowed
(9) eap_peap:   MS-MPPE-Encryption-Types = RC4-40or128-bit-Allowed
(9) eap_peap:   MS-MPPE-Send-Key = 0x48629be1e2b20861e28fb470671a263f
(9) eap_peap:   MS-MPPE-Recv-Key = 0x73b3d51fee2da0af06438f72debfeb87
(9) eap_peap:   EAP-Message = 0x03be0004
(9) eap_peap:   Message-Authenticator = 0x00000000000000000000000000000000
(9) eap_peap:   User-Name = "test10"
(9) eap_peap: Tunneled authentication was successful
(9) eap_peap: SUCCESS
(9) eap: Sending EAP Request (code 1) ID 191 length 46
(9) eap: EAP session adding &reply:State = 0xa41b0a3dada41330
(9)     [eap] = handled
(9)   } # authenticate = handled
(9) Using Post-Auth-Type Challenge
(9) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(9)   Challenge { ... } # empty sub-section is ignored
(9) Sent Access-Challenge Id 21 from 127.0.0.1:1812 to 127.0.0.1:50119 length 0
(9)   EAP-Message = 0x01bf002e1900170303002389b3d986033e3d78b6996e4d7ae2a4d2a3efee79fcdf0294aec5446dcfbf865c2ff289
(9)   Message-Authenticator = 0x00000000000000000000000000000000
(9)   State = 0xa41b0a3dada41330c300dece76107f63
(9) Finished request
Waking up in 4.7 seconds.
(10) Received Access-Request Id 22 from 127.0.0.1:50119 to 127.0.0.1:1812 length 234
(10)   User-Name = "test10"
(10)   Called-Station-Id = "B8-27-EB-36-A8-1E:SOMESSID"
(10)   NAS-Port-Type = Wireless-802.11
(10)   NAS-Port = 0
(10)   Calling-Station-Id = "1C-67-58-C0-A2-58"
(10)   Connect-Info = "CONNECT 0Mbps 802.11g"
(10)   Acct-Session-Id = "5C4BD99E-00000001"
(10)   WLAN-Pairwise-Cipher = 1027076
(10)   WLAN-Group-Cipher = 1027076
(10)   WLAN-AKM-Suite = 1027073
(10)   Framed-MTU = 1400
(10)   EAP-Message = 0x02bf002e19001703030023000000000000000481847be4ea8d1f185c0d07f2ff6f36b2cbd8b148a9fc5f40360234
(10)   State = 0xa41b0a3dada41330c300dece76107f63
(10)   Message-Authenticator = 0x311b04fc47253e478bdfe3602b6c563b
(10) session-state: No cached attributes
(10) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default
(10)   authorize {
(10)     policy filter_username {
(10)       if (&User-Name) {
(10)       if (&User-Name)  -> TRUE
(10)       if (&User-Name)  {
(10)         if (&User-Name =~ / /) {
(10)         if (&User-Name =~ / /)  -> FALSE
(10)         if (&User-Name =~ /@[^@]*@/ ) {
(10)         if (&User-Name =~ /@[^@]*@/ )  -> FALSE
(10)         if (&User-Name =~ /\.\./ ) {
(10)         if (&User-Name =~ /\.\./ )  -> FALSE
(10)         if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))  {
(10)         if ((&User-Name =~ /@/) && (&User-Name !~ /@(.+)\.(.+)$/))   -> FALSE
(10)         if (&User-Name =~ /\.$/)  {
(10)         if (&User-Name =~ /\.$/)   -> FALSE
(10)         if (&User-Name =~ /@\./)  {
(10)         if (&User-Name =~ /@\./)   -> FALSE
(10)       } # if (&User-Name)  = notfound
(10)     } # policy filter_username = notfound
(10)     [preprocess] = ok
(10)     [chap] = noop
(10)     [mschap] = noop
(10)     [digest] = noop
(10) suffix: Checking for suffix after "@"
(10) suffix: No '@' in User-Name = "test10", looking up realm NULL
(10) suffix: No such realm "NULL"
(10)     [suffix] = noop
(10) eap: Peer sent EAP Response (code 2) ID 191 length 46
(10) eap: Continuing tunnel setup
(10)     [eap] = ok
(10)   } # authorize = ok
(10) Found Auth-Type = eap
(10) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(10)   authenticate {
(10) eap: Expiring EAP session with state 0xa41b0a3dada41330
(10) eap: Finished EAP session with state 0xa41b0a3dada41330
(10) eap: Previous EAP request found for state 0xa41b0a3dada41330, released from the list
(10) eap: Peer sent packet with method EAP PEAP (25)
(10) eap: Calling submodule eap_peap to process data
(10) eap_peap: Continuing EAP-TLS
(10) eap_peap: [eaptls verify] = ok
(10) eap_peap: Done initial handshake
(10) eap_peap: [eaptls process] = ok
(10) eap_peap: Session established.  Decoding tunneled attributes
(10) eap_peap: PEAP state send tlv success
(10) eap_peap: Received EAP-TLV response
(10) eap_peap: Success
(10) eap: Sending EAP Success (code 3) ID 191 length 4
(10) eap: Freeing handler
(10)     [eap] = ok
(10)   } # authenticate = ok
(10) # Executing section post-auth from file /usr/local/etc/raddb/sites-enabled/default
(10)   post-auth {
(10)     update {
(10)       No attributes updated
(10)     } # update = noop
(10)     [exec] = noop
(10)     policy remove_reply_message_if_eap {
(10)       if (&reply:EAP-Message && &reply:Reply-Message) {
(10)       if (&reply:EAP-Message && &reply:Reply-Message)  -> FALSE
(10)       else {
(10)         [noop] = noop
(10)       } # else = noop
(10)     } # policy remove_reply_message_if_eap = noop
(10)   } # post-auth = noop
(10) Sent Access-Accept Id 22 from 127.0.0.1:1812 to 127.0.0.1:50119 length 0
(10)   MS-MPPE-Recv-Key = 0x0c279dafc52eefd37775c6b18744ee7c957a024fdda046e2e12f31d2189f854e
(10)   MS-MPPE-Send-Key = 0x4c48d13f43e5c41555a99582287c0281b003d9605896f9ec397aeb7d1249e4d3
(10)   EAP-Message = 0x03bf0004
(10)   Message-Authenticator = 0x00000000000000000000000000000000
(10)   User-Name = "test10"
(10) Finished request
Waking up in 4.7 seconds.
(0) Cleaning up request packet ID 12 with timestamp +7
(1) Cleaning up request packet ID 13 with timestamp +7
(2) Cleaning up request packet ID 14 with timestamp +7
(3) Cleaning up request packet ID 15 with timestamp +7
(4) Cleaning up request packet ID 16 with timestamp +7
(5) Cleaning up request packet ID 17 with timestamp +7
(6) Cleaning up request packet ID 18 with timestamp +7
(7) Cleaning up request packet ID 19 with timestamp +7
(8) Cleaning up request packet ID 20 with timestamp +7
(9) Cleaning up request packet ID 21 with timestamp +7
(10) Cleaning up request packet ID 22 with timestamp +7
Ready to process requests


More information about the Freeradius-Users mailing list