Not able to receive inner identity in Access-Accept in EAP-TTLS.
Hi Team, I am using freeradius version 2.1.12. I have configured following in the eap.conf file in the ttls section : copy_request_to_tunnel = yes use_tunneled_reply = yes virtual_server = "inner-tunnel" and in the inner-tunnel file i have configured following : post-auth { .... update outer.reply { User-Name := "%{Stripped-User-Name}" } I am able to get the inner identity in Access-Accept if I use PEAP with MS-CHAPv2, but I am not getting inner identity in Access-Accept if I use EAP-TTLS. Please find the eap.conf, inner-tunnel and free_radius.log files in the attachment. File free_radius.log has logs of EAP-TTLS method only. I am using 'testuser' as inner identity and 'anonymous' as outer identity(anonymous identity). Please provide your inputs on this. Thanks, Bhavesh.
Bhavesh Kamani wrote:
I am using freeradius version 2.1.12.
Upgrade.
I am able to get the inner identity in Access-Accept if I use PEAP with MS-CHAPv2, but I am not getting inner identity in Access-Accept if I use EAP-TTLS.
I think that's been fixed by 2.2.5. Alan DeKok.
Hi Alan, Can you please point me RFC for this ? I observed this as a configurable parameter for other RADIUS server. Is it optional OR mandatory ? Thanks, Bhavesh. On Thursday 07 August 2014 01:44 AM, Alan DeKok wrote:
Bhavesh Kamani wrote:
I am using freeradius version 2.1.12. Upgrade.
I am able to get the inner identity in Access-Accept if I use PEAP with MS-CHAPv2, but I am not getting inner identity in Access-Accept if I use EAP-TTLS. I think that's been fixed by 2.2.5.
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
On Aug 25, 2014, at 8:57 AM, Bhavesh Kamani <bhavesh.kamani@cyberoam.com> wrote:
Can you please point me RFC for this ?
For what? TTLS? PEAP? All of the RFCs are available on the net… it should be a matter of 10 seconds to google or “TTLS RFC"
I observed this as a configurable parameter for other RADIUS server.
That’s nice for them.
Is it optional OR mandatory?
I have no idea what that means. Alan DeKok.
Hi Alan, I tested on freeradius 3.0.3 version, but not able to get the inner identity in the Access-Accept while using EAP-TTLS. As I mentioned earlier, I configured following for PEAP and EAP-TTLS : copy_request_to_tunnel = yes use_tunneled_reply = yes virtual_server = "inner-tunnel" and in the inner-tunnel file i have configured following : post-auth { .... update outer.reply { User-Name := "%{Stripped-User-Name}" } Am I missing any configuration for EAP-TTLS OR bug still not fixed for EAP-TTLS? Thanks, Bhavesh. On Thursday 07 August 2014 01:44 AM, Alan DeKok wrote:
Bhavesh Kamani wrote:
I am using freeradius version 2.1.12. Upgrade.
I am able to get the inner identity in Access-Accept if I use PEAP with MS-CHAPv2, but I am not getting inner identity in Access-Accept if I use EAP-TTLS. I think that's been fixed by 2.2.5.
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Bhavesh Kamani wrote:
As I mentioned earlier, I configured following for PEAP and EAP-TTLS :
copy_request_to_tunnel = yes use_tunneled_reply = yes
When means "over-write the outer reply with the tunneled reply"
and in the inner-tunnel file i have configured following :
post-auth { .... update outer.reply { User-Name := "%{Stripped-User-Name}" }
That updates the outer reply. Which is later over-written by the "use_tunneled_reply" code.
Am I missing any configuration for EAP-TTLS OR bug still not fixed for EAP-TTLS?
You're doing contradictory things to the configuration Don't do that. Alan DeKok.
Le 26 août 2014 à 14:33, Alan DeKok a écrit :
[...] That updates the outer reply. Which is later over-written by the "use_tunneled_reply" code.
Am I missing any configuration for EAP-TTLS OR bug still not fixed for EAP-TTLS?
You're doing contradictory things to the configuration Don't do that.
Hmmm... I'm facing the same kind of behavior as the one described by Bhavesh: the inner identity, brought to the outer reply thru a "update outer.reply", just appears in an Access-Challenge reply, never in an Access-Accept reply. I've tried several things, but couldn't manage to go beyond that behavior described in more details hereafter. Any hint would be greatly appreciated. ;-) TIA, Axel Looking at Bhavesh's "free_radius.log" file, one may read: [ttls] Got tunneled Access-Accept [ttls] Got MS-CHAP2-Success, tunneling it to the client in a challenge. ++[eap] returns handled Sending Access-Challenge of id 6 to 10.202.28.31 port 33345 User-Name = "testuser" EAP-Message = 0x016e005f15800000005517030100506d233ce5f277e8790ca9d99b7c6154d04fab50fde0bf996936a266c513eee868d0a91e83d2047f566844b1e3689704e80743ab4b722d91c087f375eb3f771ed97840aaa0d96cc57e3284b043fb1cf720 Message-Authenticator = 0x00000000000000000000000000000000 State = 0xd589c140d3e7d46dd220203641ea1c2f Finished request 6. Going to the next request Waking up in 4.9 seconds. rad_recv: Access-Request packet from host 10.202.28.31 port 33345, id=7, length=178 User-Name = "anonymous" NAS-IP-Address = 127.0.0.1 NAS-Port = 1 Called-Station-Id = "00-0E-8E-38-3E-10:WiFi_SSO-Bhavesh" Calling-Station-Id = "64-70-02-08-95-D9" Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11 Connect-Info = "CONNECT 54Mbps 802.11g" EAP-Message = 0x026e00061500 State = 0xd589c140d3e7d46dd220203641ea1c2f Message-Authenticator = 0xee2c1fb5ca38abe58da40276e36568d9 That is, an Access-Challenge is sent to the client with the inner identity, and the client's subsequent Access-Request comes with a User-Name set to the outer identity. The inner identity doesn't appear later in the log anymore; in particular, no Access-Accept with the inner identity is to be seen. I am facing exactly the same kind of behavior here, with FreeRadius 3.0.4. For example, with TTLS-MSCHAPv2: (28) eap_ttls : Got tunneled Access-Accept (28) eap_ttls : Got MS-CHAP2-Success, tunneling it to the client in a challenge (28) eap_ttls : sending tunneled reply attributes MS-CHAP2-Success = 0xb5533d39444331443832323642343232453638423937464335424639393937424335394341353331353641 (28) eap_ttls : end tunneled reply attributes (28) eap-wifi : New EAP session, adding 'State' attribute to reply 0xc3a04e0ac5a75b08 (28) [eap-wifi] = handled (28) } # authenticate = handled (28) Sending Access-Challenge packet to host 127.0.0.1 port 64970, id=6, length=0 (28) User-Name = 'bob@dummy.be' (28) EAP-Message = 0x0107005f15800000005517030100506f359c4660334b695bb0395c3f2e9c20d604278cd68a6efc2820b6856255edfc80b62a52e49fdd89f4697fe424d39cb0df945e439ae5fc3bd16386caa2ff43fb9f81c036ad6a0698c762daec595cb4bb (28) Message-Authenticator = 0x00000000000000000000000000000000 (28) State = 0xc3a04e0ac5a75b0801f6c577ce0fa88e Sending Access-Challenge Id 6 from 127.0.0.1:1812 to 127.0.0.1:64970 User-Name = 'bob@dummy.be' EAP-Message = 0x0107005f15800000005517030100506f359c4660334b695bb0395c3f2e9c20d604278cd68a6efc2820b6856255edfc80b62a52e49fdd89f4697fe424d39cb0df945e439ae5fc3bd16386caa2ff43fb9f81c036ad6a0698c762daec595cb4bb Message-Authenticator = 0x00000000000000000000000000000000 State = 0xc3a04e0ac5a75b0801f6c577ce0fa88e (28) Finished request Waking up in 0.2 seconds. Received Access-Request Id 7 from 127.0.0.1:64970 to 127.0.0.1:1812 length 151 User-Name = 'anonymous@dummy.be' NAS-IP-Address = 127.0.0.1 Calling-Station-Id = '02-00-00-00-00-01' Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11 Connect-Info = 'CONNECT 11Mbps 802.11b' EAP-Message = 0x020700061500 State = 0xc3a04e0ac5a75b0801f6c577ce0fa88e Message-Authenticator = 0xc735ef8d3c36dfe21a5cca667577da66 (29) Received Access-Request packet from host 127.0.0.1 port 64970, id=7, length=151 (29) User-Name = 'anonymous@dummy.be' (29) NAS-IP-Address = 127.0.0.1 (29) Calling-Station-Id = '02-00-00-00-00-01' (29) Framed-MTU = 1400 (29) NAS-Port-Type = Wireless-802.11 (29) Connect-Info = 'CONNECT 11Mbps 802.11b' (29) EAP-Message = 0x020700061500 (29) State = 0xc3a04e0ac5a75b0801f6c577ce0fa88e (29) Message-Authenticator = 0xc735ef8d3c36dfe21a5cca667577da66 Or with PEAP: (9) eap_peap : Tunneled authentication was successful (9) eap_peap : SUCCESS (9) eap-wifi : New EAP session, adding 'State' attribute to reply 0x922f7d0b9b2564f5 (9) [eap-wifi] = handled (9) } # authenticate = handled (9) Sending Access-Challenge packet to host 127.0.0.1 port 63529, id=9, length=0 (9) User-Name = 'bob@dummy.be' (9) EAP-Message = 0x010a002b190017030100200170b89bcf1ab9c867dcf5bef895bc5c5827d521d6ff40a960f8ae5f8a7634f5 (9) Message-Authenticator = 0x00000000000000000000000000000000 (9) State = 0x922f7d0b9b2564f576dd75b4625e51f2 Sending Access-Challenge Id 9 from 127.0.0.1:1812 to 127.0.0.1:63529 User-Name = 'bob@dummy.be' EAP-Message = 0x010a002b190017030100200170b89bcf1ab9c867dcf5bef895bc5c5827d521d6ff40a960f8ae5f8a7634f5 Message-Authenticator = 0x00000000000000000000000000000000 State = 0x922f7d0b9b2564f576dd75b4625e51f2 (9) Finished request Waking up in 0.2 seconds. Received Access-Request Id 10 from 127.0.0.1:63529 to 127.0.0.1:1812 length 225 User-Name = 'anonymous@dummy.be' NAS-IP-Address = 127.0.0.1 Calling-Station-Id = '02-00-00-00-00-01' Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11 Connect-Info = 'CONNECT 11Mbps 802.11b' EAP-Message = 0x020a005019001703010020f774f728b6a603c0f1b3e610ac5da554c105434b533a20000983924b62b07d0f17030100204ad47488830ade25c9bc6bd4535b6fa52f7c76c7cffcf7900aee8988787e1958 State = 0x922f7d0b9b2564f576dd75b4625e51f2 Message-Authenticator = 0xa59640412b7cc810723ecabbf6e766be (10) Received Access-Request packet from host 127.0.0.1 port 63529, id=10, length=225 (10) User-Name = 'anonymous@dummy.be' (10) NAS-IP-Address = 127.0.0.1 (10) Calling-Station-Id = '02-00-00-00-00-01' (10) Framed-MTU = 1400 (10) NAS-Port-Type = Wireless-802.11 (10) Connect-Info = 'CONNECT 11Mbps 802.11b' (10) EAP-Message = 0x020a005019001703010020f774f728b6a603c0f1b3e610ac5da554c105434b533a20000983924b62b07d0f17030100204ad47488830ade25c9bc6bd4535b6fa52f7c76c7cffcf7900aee8988787e1958 (10) State = 0x922f7d0b9b2564f576dd75b4625e51f2 (10) Message-Authenticator = 0xa59640412b7cc810723ecabbf6e766be
Axel Luttgens wrote:
You're doing contradictory things to the configuration Don't do that.
Hmmm... I'm facing the same kind of behavior as the one described by Bhavesh: the inner identity, brought to the outer reply thru a "update outer.reply", just appears in an Access-Challenge reply, never in an Access-Accept reply.
That's what I said. Don't update the outer reply. Update the inner reply. Then, "use_tunneled_reply" should copy the inner reply to the outer reply. Alan DeKok.
Le 28 août 2014 à 21:37, Alan DeKok a écrit :
[...] That's what I said. Don't update the outer reply. Update the inner reply.
Hello Alan, Sorry for not having been able to read between the lines...
Then, "use_tunneled_reply" should copy the inner reply to the outer reply.
... but then, yes, with: use_tunneled_reply = yes in eap's config and: update reply { User-Name = "%{request:User-Name}" } at the end of inner tunnel's post-auth section, everything seems to be working as expected. If I may allow... the comment (suggestion) in raddb/sites-available/inner-tunnel is terribly disturbing: # If you still want to use the inner tunnel User-Name then # uncomment the section below, otherwise you may want # to use Chargeable-User-Identity attribute from RFC 4372. # See further on. #update outer.reply { # User-Name = "%{request:User-Name}" #} Thanks again, Axel
Ok Axel, What's so "disturbing" about the comment? Stefan -----Original Message----- From: freeradius-users-bounces+stefan.paetow=ja.net@lists.freeradius.org [mailto:freeradius-users-bounces+stefan.paetow=ja.net@lists.freeradius.org] On Behalf Of Axel Luttgens Sent: 28 August 2014 23:19 To: FreeRadius users mailing list Subject: Re: Not able to receive inner identity in Access-Accept in EAP-TTLS. Le 28 août 2014 à 21:37, Alan DeKok a écrit :
[...] That's what I said. Don't update the outer reply. Update the inner reply.
Hello Alan, Sorry for not having been able to read between the lines...
Then, "use_tunneled_reply" should copy the inner reply to the outer reply.
... but then, yes, with: use_tunneled_reply = yes in eap's config and: update reply { User-Name = "%{request:User-Name}" } at the end of inner tunnel's post-auth section, everything seems to be working as expected. If I may allow... the comment (suggestion) in raddb/sites-available/inner-tunnel is terribly disturbing: # If you still want to use the inner tunnel User-Name then # uncomment the section below, otherwise you may want # to use Chargeable-User-Identity attribute from RFC 4372. # See further on. #update outer.reply { # User-Name = "%{request:User-Name}" #} Thanks again, Axel - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html Janet(UK) is a trading name of Jisc Collections and Janet Limited, a not-for-profit company which is registered in England under No. 2881024 and whose Registered Office is at Lumen House, Library Avenue, Harwell Oxford, Didcot, Oxfordshire. OX11 0SG. VAT No. 614944238
Le 29 août 2014 à 10:45, Stefan Paetow a écrit :
Ok Axel,
What's so "disturbing" about the comment?
Well, it tends to promote an "update outer.reply" as an official way to convey information upwards from the inner tunnel. But that doesn't work: the official way seems to be thru use_tunneled_reply. And it seems I'm not the only one to have been trapped and to have spent a lot of time in the wrong direction... ;-) Axel
Newer versions (3.0.x) of FR fix the problem with this, there you can use update outer.reply and it'll work (but then switch use_tunneled_reply to 'no'). In 2.x I've only ever gotten it to work with 'update reply' in the inner-tunnel and then setting use_tunneled_reply to 'yes', unless Alan and Arran have made the same fix in 2.2.5 as they have had in 3.0.x. Stefan ________________________________________ From: freeradius-users-bounces+stefan.paetow=ja.net@lists.freeradius.org [freeradius-users-bounces+stefan.paetow=ja.net@lists.freeradius.org] on behalf of Axel Luttgens [axel.luttgens@skynet.be] Sent: 28 August 2014 20:01 To: FreeRadius users mailing list Subject: Re: Not able to receive inner identity in Access-Accept in EAP-TTLS. Le 26 août 2014 à 14:33, Alan DeKok a écrit :
[...] That updates the outer reply. Which is later over-written by the "use_tunneled_reply" code.
Am I missing any configuration for EAP-TTLS OR bug still not fixed for EAP-TTLS?
You're doing contradictory things to the configuration Don't do that.
Hmmm... I'm facing the same kind of behavior as the one described by Bhavesh: the inner identity, brought to the outer reply thru a "update outer.reply", just appears in an Access-Challenge reply, never in an Access-Accept reply. I've tried several things, but couldn't manage to go beyond that behavior described in more details hereafter. Any hint would be greatly appreciated. ;-) TIA, Axel Looking at Bhavesh's "free_radius.log" file, one may read: [ttls] Got tunneled Access-Accept [ttls] Got MS-CHAP2-Success, tunneling it to the client in a challenge. ++[eap] returns handled Sending Access-Challenge of id 6 to 10.202.28.31 port 33345 User-Name = "testuser" EAP-Message = 0x016e005f15800000005517030100506d233ce5f277e8790ca9d99b7c6154d04fab50fde0bf996936a266c513eee868d0a91e83d2047f566844b1e3689704e80743ab4b722d91c087f375eb3f771ed97840aaa0d96cc57e3284b043fb1cf720 Message-Authenticator = 0x00000000000000000000000000000000 State = 0xd589c140d3e7d46dd220203641ea1c2f Finished request 6. Going to the next request Waking up in 4.9 seconds. rad_recv: Access-Request packet from host 10.202.28.31 port 33345, id=7, length=178 User-Name = "anonymous" NAS-IP-Address = 127.0.0.1 NAS-Port = 1 Called-Station-Id = "00-0E-8E-38-3E-10:WiFi_SSO-Bhavesh" Calling-Station-Id = "64-70-02-08-95-D9" Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11 Connect-Info = "CONNECT 54Mbps 802.11g" EAP-Message = 0x026e00061500 State = 0xd589c140d3e7d46dd220203641ea1c2f Message-Authenticator = 0xee2c1fb5ca38abe58da40276e36568d9 That is, an Access-Challenge is sent to the client with the inner identity, and the client's subsequent Access-Request comes with a User-Name set to the outer identity. The inner identity doesn't appear later in the log anymore; in particular, no Access-Accept with the inner identity is to be seen. I am facing exactly the same kind of behavior here, with FreeRadius 3.0.4. For example, with TTLS-MSCHAPv2: (28) eap_ttls : Got tunneled Access-Accept (28) eap_ttls : Got MS-CHAP2-Success, tunneling it to the client in a challenge (28) eap_ttls : sending tunneled reply attributes MS-CHAP2-Success = 0xb5533d39444331443832323642343232453638423937464335424639393937424335394341353331353641 (28) eap_ttls : end tunneled reply attributes (28) eap-wifi : New EAP session, adding 'State' attribute to reply 0xc3a04e0ac5a75b08 (28) [eap-wifi] = handled (28) } # authenticate = handled (28) Sending Access-Challenge packet to host 127.0.0.1 port 64970, id=6, length=0 (28) User-Name = 'bob@dummy.be' (28) EAP-Message = 0x0107005f15800000005517030100506f359c4660334b695bb0395c3f2e9c20d604278cd68a6efc2820b6856255edfc80b62a52e49fdd89f4697fe424d39cb0df945e439ae5fc3bd16386caa2ff43fb9f81c036ad6a0698c762daec595cb4bb (28) Message-Authenticator = 0x00000000000000000000000000000000 (28) State = 0xc3a04e0ac5a75b0801f6c577ce0fa88e Sending Access-Challenge Id 6 from 127.0.0.1:1812 to 127.0.0.1:64970 User-Name = 'bob@dummy.be' EAP-Message = 0x0107005f15800000005517030100506f359c4660334b695bb0395c3f2e9c20d604278cd68a6efc2820b6856255edfc80b62a52e49fdd89f4697fe424d39cb0df945e439ae5fc3bd16386caa2ff43fb9f81c036ad6a0698c762daec595cb4bb Message-Authenticator = 0x00000000000000000000000000000000 State = 0xc3a04e0ac5a75b0801f6c577ce0fa88e (28) Finished request Waking up in 0.2 seconds. Received Access-Request Id 7 from 127.0.0.1:64970 to 127.0.0.1:1812 length 151 User-Name = 'anonymous@dummy.be' NAS-IP-Address = 127.0.0.1 Calling-Station-Id = '02-00-00-00-00-01' Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11 Connect-Info = 'CONNECT 11Mbps 802.11b' EAP-Message = 0x020700061500 State = 0xc3a04e0ac5a75b0801f6c577ce0fa88e Message-Authenticator = 0xc735ef8d3c36dfe21a5cca667577da66 (29) Received Access-Request packet from host 127.0.0.1 port 64970, id=7, length=151 (29) User-Name = 'anonymous@dummy.be' (29) NAS-IP-Address = 127.0.0.1 (29) Calling-Station-Id = '02-00-00-00-00-01' (29) Framed-MTU = 1400 (29) NAS-Port-Type = Wireless-802.11 (29) Connect-Info = 'CONNECT 11Mbps 802.11b' (29) EAP-Message = 0x020700061500 (29) State = 0xc3a04e0ac5a75b0801f6c577ce0fa88e (29) Message-Authenticator = 0xc735ef8d3c36dfe21a5cca667577da66 Or with PEAP: (9) eap_peap : Tunneled authentication was successful (9) eap_peap : SUCCESS (9) eap-wifi : New EAP session, adding 'State' attribute to reply 0x922f7d0b9b2564f5 (9) [eap-wifi] = handled (9) } # authenticate = handled (9) Sending Access-Challenge packet to host 127.0.0.1 port 63529, id=9, length=0 (9) User-Name = 'bob@dummy.be' (9) EAP-Message = 0x010a002b190017030100200170b89bcf1ab9c867dcf5bef895bc5c5827d521d6ff40a960f8ae5f8a7634f5 (9) Message-Authenticator = 0x00000000000000000000000000000000 (9) State = 0x922f7d0b9b2564f576dd75b4625e51f2 Sending Access-Challenge Id 9 from 127.0.0.1:1812 to 127.0.0.1:63529 User-Name = 'bob@dummy.be' EAP-Message = 0x010a002b190017030100200170b89bcf1ab9c867dcf5bef895bc5c5827d521d6ff40a960f8ae5f8a7634f5 Message-Authenticator = 0x00000000000000000000000000000000 State = 0x922f7d0b9b2564f576dd75b4625e51f2 (9) Finished request Waking up in 0.2 seconds. Received Access-Request Id 10 from 127.0.0.1:63529 to 127.0.0.1:1812 length 225 User-Name = 'anonymous@dummy.be' NAS-IP-Address = 127.0.0.1 Calling-Station-Id = '02-00-00-00-00-01' Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11 Connect-Info = 'CONNECT 11Mbps 802.11b' EAP-Message = 0x020a005019001703010020f774f728b6a603c0f1b3e610ac5da554c105434b533a20000983924b62b07d0f17030100204ad47488830ade25c9bc6bd4535b6fa52f7c76c7cffcf7900aee8988787e1958 State = 0x922f7d0b9b2564f576dd75b4625e51f2 Message-Authenticator = 0xa59640412b7cc810723ecabbf6e766be (10) Received Access-Request packet from host 127.0.0.1 port 63529, id=10, length=225 (10) User-Name = 'anonymous@dummy.be' (10) NAS-IP-Address = 127.0.0.1 (10) Calling-Station-Id = '02-00-00-00-00-01' (10) Framed-MTU = 1400 (10) NAS-Port-Type = Wireless-802.11 (10) Connect-Info = 'CONNECT 11Mbps 802.11b' (10) EAP-Message = 0x020a005019001703010020f774f728b6a603c0f1b3e610ac5da554c105434b533a20000983924b62b07d0f17030100204ad47488830ade25c9bc6bd4535b6fa52f7c76c7cffcf7900aee8988787e1958 (10) State = 0x922f7d0b9b2564f576dd75b4625e51f2 (10) Message-Authenticator = 0xa59640412b7cc810723ecabbf6e766be - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html Janet(UK) is a trading name of Jisc Collections and Janet Limited, a not-for-profit company which is registered in England under No. 2881024 and whose Registered Office is at Lumen House, Library Avenue, Harwell Oxford, Didcot, Oxfordshire. OX11 0SG. VAT No. 614944238
Stefan Paetow wrote:
Newer versions (3.0.x) of FR fix the problem with this, there you can use update outer.reply and it'll work (but then switch use_tunneled_reply to 'no').
i.e. doing *both* doesn't work.
In 2.x I've only ever gotten it to work with 'update reply' in the inner-tunnel and then setting use_tunneled_reply to 'yes', unless Alan and Arran have made the same fix in 2.2.5 as they have had in 3.0.x.
No. 2.x is feature frozen. The only changes are for security and bug fixes. If the code works, then we won't change it. Alan DeKok.
Yeah, I was referring more to the issues Stefan Winter raised in 3.0.0/1 (I can't recall which version that was), which were quickly resolved. Wasn't sure if those would be back-ported :-) Stefan ________________________________________ From: freeradius-users-bounces+stefan.paetow=ja.net@lists.freeradius.org [freeradius-users-bounces+stefan.paetow=ja.net@lists.freeradius.org] on behalf of Alan DeKok [aland@deployingradius.com] Sent: 28 August 2014 21:26 To: FreeRadius users mailing list Subject: Re: Not able to receive inner identity in Access-Accept in EAP-TTLS. Stefan Paetow wrote:
Newer versions (3.0.x) of FR fix the problem with this, there you can use update outer.reply and it'll work (but then switch use_tunneled_reply to 'no').
i.e. doing *both* doesn't work.
In 2.x I've only ever gotten it to work with 'update reply' in the inner-tunnel and then setting use_tunneled_reply to 'yes', unless Alan and Arran have made the same fix in 2.2.5 as they have had in 3.0.x.
No. 2.x is feature frozen. The only changes are for security and bug fixes. If the code works, then we won't change it. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html Janet(UK) is a trading name of Jisc Collections and Janet Limited, a not-for-profit company which is registered in England under No. 2881024 and whose Registered Office is at Lumen House, Library Avenue, Harwell Oxford, Didcot, Oxfordshire. OX11 0SG. VAT No. 614944238
Le 28 août 2014 à 21:42, Stefan Paetow a écrit :
Newer versions (3.0.x) of FR fix the problem with this, there you can use update outer.reply and it'll work (but then switch use_tunneled_reply to 'no'). [...]
Hello Stefan, With FreeRADIUS 3.0.4 and: update outer.reply { User-Name = "%{request:User-Name}" } only, I got the behavior I described in my earlier post... Perhaps did you have to add another setting? Axel
Nope. I use mschapv2 as my inner authentication method in the ttls section in the eap module, and it functions fine. What are you using? 'md5'? 'gtc'? Stefan -----Original Message----- From: freeradius-users-bounces+stefan.paetow=ja.net@lists.freeradius.org [mailto:freeradius-users-bounces+stefan.paetow=ja.net@lists.freeradius.org] On Behalf Of Axel Luttgens Sent: 28 August 2014 23:30 To: FreeRadius users mailing list Subject: Re: Not able to receive inner identity in Access-Accept in EAP-TTLS. Le 28 août 2014 à 21:42, Stefan Paetow a écrit :
Newer versions (3.0.x) of FR fix the problem with this, there you can use update outer.reply and it'll work (but then switch use_tunneled_reply to 'no'). [...]
Hello Stefan, With FreeRADIUS 3.0.4 and: update outer.reply { User-Name = "%{request:User-Name}" } only, I got the behavior I described in my earlier post... Perhaps did you have to add another setting? Axel - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html Janet(UK) is a trading name of Jisc Collections and Janet Limited, a not-for-profit company which is registered in England under No. 2881024 and whose Registered Office is at Lumen House, Library Avenue, Harwell Oxford, Didcot, Oxfordshire. OX11 0SG. VAT No. 614944238
Le 29 août 2014 à 10:49, Stefan Paetow a écrit :
Nope.
I use mschapv2 as my inner authentication method in the ttls section in the eap module, and it functions fine. What are you using? 'md5'? 'gtc'?
Stefan
-----Original Message----- From: freeradius-users-bounces+stefan.paetow=ja.net@lists.freeradius.org [mailto:freeradius-users-bounces+stefan.paetow=ja.net@lists.freeradius.org] On Behalf Of Axel Luttgens [...]
With FreeRADIUS 3.0.4 and:
update outer.reply { User-Name = "%{request:User-Name}" }
only, I got the behavior I described in my earlier post... Perhaps did you have to add another setting?
My log excerpts provided examples of the problem I was facing with both TTLS-MSCHAPv2 and PEAP-MSCHAPv2; I also tried TTLS-PAP, with the same negative result. To be sure, do you mean you really manage to retrieve the inner identity with the help of an "update outer.reply" only? Axel
My log excerpts provided examples of the problem I was facing with both TTLS-MSCHAPv2 and PEAP-MSCHAPv2; I also tried TTLS-PAP, with the same negative result.
I haven't seen any full debug logs (i.e. running radiusd -X and sending the list the complete output) from you... only snippets, which are not helpful without any context.
To be sure, do you mean you really manage to retrieve the inner identity with the help of an "update outer.reply" only?
Yes. In the 'eap' module I have: eap: default_eap_type = ttls eap, ttls: default_eap_type = mschapv2 copy_request_to_tunnel = yes use_tunneled_reply = no eap, peap: identical to eap, ttls. In inner-tunnel, post-auth: if (... comparison here irrelevant ...) { update outer.reply { User-Name := "%{Stripped-User-Name}" } } else { cui-inner } Works fine here... One thing I did find when I used eapol_test (or more specifically, rad_eap_test, which calls eapol_test), I had to make sure I specified EAPMSCHAPv2 as the inner auth method. Just specifying MSCHAPv2 does not make it EAP-MSCHAPv2. Stefan Janet(UK) is a trading name of Jisc Collections and Janet Limited, a not-for-profit company which is registered in England under No. 2881024 and whose Registered Office is at Lumen House, Library Avenue, Harwell Oxford, Didcot, Oxfordshire. OX11 0SG. VAT No. 614944238
Hi Team, Is there a way using which NAS can identify whether client has used anonymous identity OR not used(i.e. blank)? Thanks, Bhavesh. On Friday 29 August 2014 03:18 PM, Stefan Paetow wrote:
My log excerpts provided examples of the problem I was facing with both TTLS-MSCHAPv2 and PEAP-MSCHAPv2; I also tried TTLS-PAP, with the same negative result. I haven't seen any full debug logs (i.e. running radiusd -X and sending the list the complete output) from you... only snippets, which are not helpful without any context.
To be sure, do you mean you really manage to retrieve the inner identity with the help of an "update outer.reply" only? Yes. In the 'eap' module I have:
eap: default_eap_type = ttls
eap, ttls: default_eap_type = mschapv2 copy_request_to_tunnel = yes use_tunneled_reply = no
eap, peap: identical to eap, ttls.
In inner-tunnel, post-auth:
if (... comparison here irrelevant ...) { update outer.reply { User-Name := "%{Stripped-User-Name}" } } else { cui-inner }
Works fine here...
One thing I did find when I used eapol_test (or more specifically, rad_eap_test, which calls eapol_test), I had to make sure I specified EAPMSCHAPv2 as the inner auth method. Just specifying MSCHAPv2 does not make it EAP-MSCHAPv2.
Stefan
Janet(UK) is a trading name of Jisc Collections and Janet Limited, a not-for-profit company which is registered in England under No. 2881024 and whose Registered Office is at Lumen House, Library Avenue, Harwell Oxford, Didcot, Oxfordshire. OX11 0SG. VAT No. 614944238
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Le 29 août 2014 à 12:44, Bhavesh Kamani a écrit :
Hi Team,
Is there a way using which NAS can identify whether client has used anonymous identity OR not used(i.e. blank)?
Hello Bhavesh, It could well be that your question has been lost inside of a rather lengthy thread. Perhaps could you ask again by starting a new thread and by somewhat restating your question? Axel
Le 29 août 2014 à 11:48, Stefan Paetow a écrit :
My log excerpts provided examples of the problem I was facing with both TTLS-MSCHAPv2 and PEAP-MSCHAPv2; I also tried TTLS-PAP, with the same negative result.
I haven't seen any full debug logs (i.e. running radiusd -X and sending the list the complete output) from you... only snippets, which are not helpful without any context.
OK, here we go (should you reply to this message, please don't top post and please trim your reply). Starting with raddb as created at compile time: - uncomment the entry for "bob" in the users file - uncomment the "update outer.reply" section in file inner-tunnel Call eapol_test with: - eap=TTLS - phase2="auth=MSCHAPV2" It appears that the reply comes with the outer identity ("anonymous"), not the inner one ("bob"). (see output "WITH update outer.reply" hereafter) Let's then change FR's config: - in file inner-tunnel, replace "outer.reply" with "reply" - set use_tunneled_reply to "yes" in file eap Call eapol_test with the same settings as above. The reply now comes with the inner identity. (see output "WITH update reply / use_tunneled_reply=yes" in my next message) If someone could provide the rationale, I am very interested. :-)
To be sure, do you mean you really manage to retrieve the inner identity with the help of an "update outer.reply" only?
Yes. In the 'eap' module I have:
eap: default_eap_type = ttls
eap, ttls: default_eap_type = mschapv2 copy_request_to_tunnel = yes use_tunneled_reply = no
eap, peap: identical to eap, ttls.
In inner-tunnel, post-auth:
if (... comparison here irrelevant ...) { update outer.reply { User-Name := "%{Stripped-User-Name}" } } else { cui-inner }
Thanks for the details. Indeed, this shouldn't behave differently than with "update outer.reply" alone.
Works fine here...
One thing I did find when I used eapol_test (or more specifically, rad_eap_test, which calls eapol_test), I had to make sure I specified EAPMSCHAPv2 as the inner auth method. Just specifying MSCHAPv2 does not make it EAP-MSCHAPv2.
You're right; playing with various combinations for eapol_test, it seems that the "update outer.reply only" approach works for some of them. The problem is, the set of possible combinations is quite large... And the set of supplicants is quite large too. If possible, I would like to set up something that works always instead of sometimes. But I guess I'm not sufficiently versed in the intricacies of FR (and RADIUS and EAP and...). Axel WITH update outer.reply ======================= radiusd: FreeRADIUS Version 3.0.4, for host i386-apple-darwin12.5.0, built on Aug 15 2014 at 15:27:17 Copyright (C) 1999-2014 The FreeRADIUS server project and contributors There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE You may redistribute copies of FreeRADIUS under the terms of the GNU General Public License For more information about these matters, see the file named COPYRIGHT Starting - reading configuration files ... including dictionary file /usr/local/freeradius-3.0.4-b0bed69cd6/share/freeradius/dictionary including dictionary file /usr/local/freeradius-3.0.4-b0bed69cd6/share/freeradius/dictionary.dhcp including dictionary file /usr/local/freeradius-3.0.4-b0bed69cd6/share/freeradius/dictionary.vqp including dictionary file /usr/local/etc/raddb/dictionary including configuration file /usr/local/etc/raddb/radiusd.conf including configuration file /usr/local/etc/raddb/proxy.conf including configuration file /usr/local/etc/raddb/clients.conf including files in directory /usr/local/etc/raddb/mods-enabled/ including configuration file /usr/local/etc/raddb/mods-enabled/always including configuration file /usr/local/etc/raddb/mods-enabled/attr_filter including configuration file /usr/local/etc/raddb/mods-enabled/cache_eap including configuration file /usr/local/etc/raddb/mods-enabled/chap including configuration file /usr/local/etc/raddb/mods-enabled/detail including configuration file /usr/local/etc/raddb/mods-enabled/detail.log including configuration file /usr/local/etc/raddb/mods-enabled/dhcp including configuration file /usr/local/etc/raddb/mods-enabled/digest including configuration file /usr/local/etc/raddb/mods-enabled/dynamic_clients including configuration file /usr/local/etc/raddb/mods-enabled/eap including configuration file /usr/local/etc/raddb/mods-enabled/echo including configuration file /usr/local/etc/raddb/mods-enabled/exec including configuration file /usr/local/etc/raddb/mods-enabled/expiration including configuration file /usr/local/etc/raddb/mods-enabled/expr including configuration file /usr/local/etc/raddb/mods-enabled/files including configuration file /usr/local/etc/raddb/mods-enabled/linelog including configuration file /usr/local/etc/raddb/mods-enabled/logintime including configuration file /usr/local/etc/raddb/mods-enabled/mschap including configuration file /usr/local/etc/raddb/mods-enabled/ntlm_auth including configuration file /usr/local/etc/raddb/mods-enabled/pap including configuration file /usr/local/etc/raddb/mods-enabled/passwd including configuration file /usr/local/etc/raddb/mods-enabled/preprocess including configuration file /usr/local/etc/raddb/mods-enabled/radutmp including configuration file /usr/local/etc/raddb/mods-enabled/realm including configuration file /usr/local/etc/raddb/mods-enabled/replicate including configuration file /usr/local/etc/raddb/mods-enabled/soh including configuration file /usr/local/etc/raddb/mods-enabled/sradutmp including configuration file /usr/local/etc/raddb/mods-enabled/unix including configuration file /usr/local/etc/raddb/mods-enabled/unpack including configuration file /usr/local/etc/raddb/mods-enabled/utf8 including files in directory /usr/local/etc/raddb/policy.d/ including configuration file /usr/local/etc/raddb/policy.d/accounting including configuration file /usr/local/etc/raddb/policy.d/canonicalization including configuration file /usr/local/etc/raddb/policy.d/control including configuration file /usr/local/etc/raddb/policy.d/cui OPTIMIZING no yes --> FALSE OPTIMIZING no yes --> FALSE including configuration file /usr/local/etc/raddb/policy.d/dhcp including configuration file /usr/local/etc/raddb/policy.d/eap including configuration file /usr/local/etc/raddb/policy.d/filter including configuration file /usr/local/etc/raddb/policy.d/operator-name including files in directory /usr/local/etc/raddb/sites-enabled/ including configuration file /usr/local/etc/raddb/sites-enabled/default including configuration file /usr/local/etc/raddb/sites-enabled/inner-tunnel main { security { allow_core_dumps = no } } main { name = "radiusd" prefix = "/usr/local/freeradius-3.0.4-b0bed69cd6" localstatedir = "/usr/local/var" sbindir = "/usr/local/freeradius-3.0.4-b0bed69cd6/sbin" logdir = "/usr/local/var/log/radius" run_dir = "/usr/local/var/run/radiusd" libdir = "/usr/local/freeradius-3.0.4-b0bed69cd6/lib" radacctdir = "/usr/local/var/log/radius/radacct" hostname_lookups = no max_request_time = 30 cleanup_delay = 5 max_requests = 1024 pidfile = "/usr/local/var/run/radiusd/radiusd.pid" checkrad = "/usr/local/freeradius-3.0.4-b0bed69cd6/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" } security { max_attributes = 200 reject_delay = 1 status_server = yes allow_vulnerable_openssl = "no" } } radiusd: #### Loading Realms and Home Servers #### proxy server { retry_delay = 5 retry_count = 3 default_fallback = no dead_time = 120 wake_all_if_all_dead = no } home_server localhost { ipaddr = 127.0.0.1 port = 1812 type = "auth" secret = <<< secret >>> response_window = 20.000000 response_timeouts = 1 max_outstanding = 65536 zombie_period = 40 status_check = "status-server" ping_interval = 30 check_interval = 30 check_timeout = 4 num_answers_to_alive = 3 revive_interval = 120 coa { irt = 2 mrt = 16 mrc = 5 mrd = 30 } limit { max_connections = 16 max_requests = 0 lifetime = 0 idle_timeout = 0 } } 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 } } radiusd: #### Instantiating modules #### instantiate { } modules { # Loaded module rlm_always # Instantiating module "reject" from file /usr/local/etc/raddb/mods-enabled/always always reject { rcode = "reject" simulcount = 0 mpp = no } # Instantiating module "fail" from file /usr/local/etc/raddb/mods-enabled/always always fail { rcode = "fail" simulcount = 0 mpp = no } # Instantiating module "ok" from file /usr/local/etc/raddb/mods-enabled/always always ok { rcode = "ok" simulcount = 0 mpp = no } # Instantiating module "handled" from file /usr/local/etc/raddb/mods-enabled/always always handled { rcode = "handled" simulcount = 0 mpp = no } # Instantiating module "invalid" from file /usr/local/etc/raddb/mods-enabled/always always invalid { rcode = "invalid" simulcount = 0 mpp = no } # Instantiating module "userlock" from file /usr/local/etc/raddb/mods-enabled/always always userlock { rcode = "userlock" simulcount = 0 mpp = no } # Instantiating module "notfound" from file /usr/local/etc/raddb/mods-enabled/always always notfound { rcode = "notfound" simulcount = 0 mpp = no } # Instantiating module "noop" from file /usr/local/etc/raddb/mods-enabled/always always noop { rcode = "noop" simulcount = 0 mpp = no } # Instantiating module "updated" from file /usr/local/etc/raddb/mods-enabled/always always updated { rcode = "updated" simulcount = 0 mpp = no } # Loaded module rlm_attr_filter # Instantiating module "attr_filter.post-proxy" from file /usr/local/etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.post-proxy { filename = "/usr/local/etc/raddb/mods-config/attr_filter/post-proxy" key = "%{Realm}" relaxed = no } reading pairlist file /usr/local/etc/raddb/mods-config/attr_filter/post-proxy # Instantiating module "attr_filter.pre-proxy" from file /usr/local/etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.pre-proxy { filename = "/usr/local/etc/raddb/mods-config/attr_filter/pre-proxy" key = "%{Realm}" relaxed = no } reading pairlist file /usr/local/etc/raddb/mods-config/attr_filter/pre-proxy # Instantiating module "attr_filter.access_reject" from file /usr/local/etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.access_reject { filename = "/usr/local/etc/raddb/mods-config/attr_filter/access_reject" key = "%{User-Name}" relaxed = no } reading pairlist file /usr/local/etc/raddb/mods-config/attr_filter/access_reject # Instantiating module "attr_filter.access_challenge" from file /usr/local/etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.access_challenge { filename = "/usr/local/etc/raddb/mods-config/attr_filter/access_challenge" key = "%{User-Name}" relaxed = no } reading pairlist file /usr/local/etc/raddb/mods-config/attr_filter/access_challenge # Instantiating module "attr_filter.accounting_response" from file /usr/local/etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.accounting_response { filename = "/usr/local/etc/raddb/mods-config/attr_filter/accounting_response" key = "%{User-Name}" relaxed = no } reading pairlist file /usr/local/etc/raddb/mods-config/attr_filter/accounting_response # Loaded module rlm_cache # Instantiating module "cache_eap" from file /usr/local/etc/raddb/mods-enabled/cache_eap cache cache_eap { key = "%{%{control:State}:-%{%{reply:State}:-%{State}}}" ttl = 15 max_entries = 16384 epoch = 0 add_stats = no } # Loaded module rlm_chap # Instantiating module "chap" from file /usr/local/etc/raddb/mods-enabled/chap # Loaded module rlm_detail # Instantiating module "detail" from file /usr/local/etc/raddb/mods-enabled/detail detail { filename = "/usr/local/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d" header = "%t" permissions = 384 locking = no log_packet_header = no } # Instantiating module "auth_log" from file /usr/local/etc/raddb/mods-enabled/detail.log detail auth_log { filename = "/usr/local/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d" header = "%t" permissions = 384 locking = no log_packet_header = no } rlm_detail (auth_log): 'User-Password' suppressed, will not appear in detail output # Instantiating module "reply_log" from file /usr/local/etc/raddb/mods-enabled/detail.log detail reply_log { filename = "/usr/local/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/reply-detail-%Y%m%d" header = "%t" permissions = 384 locking = no log_packet_header = no } # Instantiating module "pre_proxy_log" from file /usr/local/etc/raddb/mods-enabled/detail.log detail pre_proxy_log { filename = "/usr/local/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/pre-proxy-detail-%Y%m%d" header = "%t" permissions = 384 locking = no log_packet_header = no } # Instantiating module "post_proxy_log" from file /usr/local/etc/raddb/mods-enabled/detail.log detail post_proxy_log { filename = "/usr/local/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/post-proxy-detail-%Y%m%d" header = "%t" permissions = 384 locking = no log_packet_header = no } # Loaded module rlm_dhcp # Instantiating module "dhcp" from file /usr/local/etc/raddb/mods-enabled/dhcp # Loaded module rlm_digest # Instantiating module "digest" from file /usr/local/etc/raddb/mods-enabled/digest # Loaded module rlm_dynamic_clients # Instantiating module "dynamic_clients" from file /usr/local/etc/raddb/mods-enabled/dynamic_clients # Loaded module rlm_eap # Instantiating module "eap" from file /usr/local/etc/raddb/mods-enabled/eap eap { default_eap_type = "md5" timer_expire = 60 ignore_unknown_eap_types = no mod_accounting_username_bug = no max_sessions = 1024 } # 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 = "/usr/local/etc/raddb/certs" pem_file_type = yes private_key_file = "/usr/local/etc/raddb/certs/server.pem" certificate_file = "/usr/local/etc/raddb/certs/server.pem" ca_file = "/usr/local/etc/raddb/certs/ca.pem" private_key_password = <<< secret >>> dh_file = "/usr/local/etc/raddb/certs/dh" fragment_size = 1024 include_length = yes check_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 = yes } } # Linked to sub-module rlm_eap_ttls ttls { tls = "tls-common" default_eap_type = "md5" copy_request_to_tunnel = no use_tunneled_reply = no virtual_server = "inner-tunnel" include_length = yes require_client_cert = no } Using cached TLS configuration from previous invocation # Linked to sub-module rlm_eap_peap peap { tls = "tls-common" default_method = "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 } Using cached TLS configuration from previous invocation # Linked to sub-module rlm_eap_mschapv2 mschapv2 { with_ntdomain_hack = no send_error = no } # Loaded module rlm_exec # Instantiating module "echo" from file /usr/local/etc/raddb/mods-enabled/echo exec echo { wait = yes program = "/bin/echo %{User-Name}" input_pairs = "request" output_pairs = "reply" shell_escape = yes } # Instantiating module "exec" from file /usr/local/etc/raddb/mods-enabled/exec exec { wait = no input_pairs = "request" shell_escape = yes timeout = 10 } # Loaded module rlm_expiration # Instantiating module "expiration" from file /usr/local/etc/raddb/mods-enabled/expiration # Loaded module rlm_expr # Instantiating module "expr" from file /usr/local/etc/raddb/mods-enabled/expr expr { safe_characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /" } # Loaded module rlm_files # Instantiating module "files" from file /usr/local/etc/raddb/mods-enabled/files files { filename = "/usr/local/etc/raddb/mods-config/files/authorize" usersfile = "/usr/local/etc/raddb/mods-config/files/authorize" acctusersfile = "/usr/local/etc/raddb/mods-config/files/accounting" preproxy_usersfile = "/usr/local/etc/raddb/mods-config/files/pre-proxy" compat = "cistron" } reading pairlist file /usr/local/etc/raddb/mods-config/files/authorize [/usr/local/etc/raddb/mods-config/files/authorize]:88 Cistron compatibility checks for entry bob ... [/usr/local/etc/raddb/mods-config/files/authorize]:182 Cistron compatibility checks for entry DEFAULT ... [/usr/local/etc/raddb/mods-config/files/authorize]:189 Cistron compatibility checks for entry DEFAULT ... [/usr/local/etc/raddb/mods-config/files/authorize]:196 Cistron compatibility checks for entry DEFAULT ... reading pairlist file /usr/local/etc/raddb/mods-config/files/authorize [/usr/local/etc/raddb/mods-config/files/authorize]:88 Cistron compatibility checks for entry bob ... [/usr/local/etc/raddb/mods-config/files/authorize]:182 Cistron compatibility checks for entry DEFAULT ... [/usr/local/etc/raddb/mods-config/files/authorize]:189 Cistron compatibility checks for entry DEFAULT ... [/usr/local/etc/raddb/mods-config/files/authorize]:196 Cistron compatibility checks for entry DEFAULT ... reading pairlist file /usr/local/etc/raddb/mods-config/files/accounting reading pairlist file /usr/local/etc/raddb/mods-config/files/pre-proxy # Loaded module rlm_linelog # Instantiating module "linelog" from file /usr/local/etc/raddb/mods-enabled/linelog linelog { filename = "/usr/local/var/log/radius/linelog" permissions = 384 format = "This is a log message for %{User-Name}" reference = "messages.%{%{Packet-Type}:-default}" } # Instantiating module "log_accounting" from file /usr/local/etc/raddb/mods-enabled/linelog linelog log_accounting { filename = "/usr/local/var/log/radius/linelog-accounting" permissions = 384 format = "" reference = "Accounting-Request.%{%{Acct-Status-Type}:-unknown}" } # Loaded module rlm_logintime # Instantiating module "logintime" from file /usr/local/etc/raddb/mods-enabled/logintime logintime { minimum_timeout = 60 } # Loaded module rlm_mschap # Instantiating module "mschap" from file /usr/local/etc/raddb/mods-enabled/mschap mschap { use_mppe = yes require_encryption = no require_strong = no with_ntdomain_hack = yes passchange { } allow_retry = yes } # Instantiating module "ntlm_auth" from file /usr/local/etc/raddb/mods-enabled/ntlm_auth exec ntlm_auth { wait = yes program = "/path/to/ntlm_auth --request-nt-key --domain=MYDOMAIN --username=%{mschap:User-Name} --password=%{User-Password}" shell_escape = yes } # Loaded module rlm_pap # Instantiating module "pap" from file /usr/local/etc/raddb/mods-enabled/pap pap { normalise = yes } # Loaded module rlm_passwd # Instantiating module "etc_passwd" from file /usr/local/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 } rlm_passwd: nfields: 3 keyfield 0(User-Name) listable: no # Loaded module rlm_preprocess # Instantiating module "preprocess" from file /usr/local/etc/raddb/mods-enabled/preprocess preprocess { huntgroups = "/usr/local/etc/raddb/mods-config/preprocess/huntgroups" hints = "/usr/local/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 } reading pairlist file /usr/local/etc/raddb/mods-config/preprocess/huntgroups reading pairlist file /usr/local/etc/raddb/mods-config/preprocess/hints # Loaded module rlm_radutmp # Instantiating module "radutmp" from file /usr/local/etc/raddb/mods-enabled/radutmp radutmp { filename = "/usr/local/var/log/radius/radutmp" username = "%{User-Name}" case_sensitive = yes check_with_nas = yes permissions = 384 caller_id = yes } # Loaded module rlm_realm # Instantiating module "IPASS" from file /usr/local/etc/raddb/mods-enabled/realm realm IPASS { format = "prefix" delimiter = "/" ignore_default = no ignore_null = no } # Instantiating module "suffix" from file /usr/local/etc/raddb/mods-enabled/realm realm suffix { format = "suffix" delimiter = "@" ignore_default = no ignore_null = no } # Instantiating module "realmpercent" from file /usr/local/etc/raddb/mods-enabled/realm realm realmpercent { format = "suffix" delimiter = "%" ignore_default = no ignore_null = no } # Instantiating module "ntdomain" from file /usr/local/etc/raddb/mods-enabled/realm realm ntdomain { format = "prefix" delimiter = "\" ignore_default = no ignore_null = no } # Loaded module rlm_replicate # Instantiating module "replicate" from file /usr/local/etc/raddb/mods-enabled/replicate # Loaded module rlm_soh # Instantiating module "soh" from file /usr/local/etc/raddb/mods-enabled/soh soh { dhcp = yes } # Instantiating module "sradutmp" from file /usr/local/etc/raddb/mods-enabled/sradutmp radutmp sradutmp { filename = "/usr/local/var/log/radius/sradutmp" username = "%{User-Name}" case_sensitive = yes check_with_nas = yes permissions = 420 caller_id = no } # Loaded module rlm_unix # Instantiating module "unix" from file /usr/local/etc/raddb/mods-enabled/unix unix { radwtmp = "/usr/local/var/log/radius/radwtmp" } # Loaded module rlm_unpack # Instantiating module "unpack" from file /usr/local/etc/raddb/mods-enabled/unpack # Loaded module rlm_utf8 # Instantiating module "utf8" from file /usr/local/etc/raddb/mods-enabled/utf8 } # modules radiusd: #### Loading Virtual Servers #### server { # from file /usr/local/etc/raddb/radiusd.conf } # server server default { # from file /usr/local/etc/raddb/sites-enabled/default # Creating Auth-Type = digest # 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 /usr/local/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 as server default Listening on acct address * port 1813 as server default Listening on auth address :: port 1812 as server default Listening on acct address :: port 1813 as server default Listening on auth address 127.0.0.1 port 18120 as server inner-tunnel Opening new proxy socket 'proxy address * port 0' Listening on proxy address * port 58707 Ready to process requests Received Access-Request Id 0 from 127.0.0.1:53911 to 127.0.0.1:1812 length 126 User-Name = 'anonymous' NAS-IP-Address = 127.0.0.1 Calling-Station-Id = '02-00-00-00-00-01' Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11 Connect-Info = 'CONNECT 11Mbps 802.11b' EAP-Message = 0x0200000e01616e6f6e796d6f7573 Message-Authenticator = 0x30bea35f2ef5243665b8f613eefc3cff (0) Received Access-Request packet from host 127.0.0.1 port 53911, id=0, length=126 (0) User-Name = 'anonymous' (0) NAS-IP-Address = 127.0.0.1 (0) Calling-Station-Id = '02-00-00-00-00-01' (0) Framed-MTU = 1400 (0) NAS-Port-Type = Wireless-802.11 (0) Connect-Info = 'CONNECT 11Mbps 802.11b' (0) EAP-Message = 0x0200000e01616e6f6e796d6f7573 (0) Message-Authenticator = 0x30bea35f2ef5243665b8f613eefc3cff (0) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default (0) authorize { (0) filter_username 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) } # filter_username 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 = "anonymous", looking up realm NULL (0) suffix : No such realm "NULL" (0) [suffix] = noop (0) eap : Peer sent code Response (2) ID 0 length 14 (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 /usr/local/etc/raddb/sites-enabled/default (0) authenticate { (0) eap : Peer sent method Identity (1) (0) eap : Calling eap_md5 to process EAP data (0) eap_md5 : Issuing MD5 Challenge (0) eap : New EAP session, adding 'State' attribute to reply 0xb8056b3bb8046f4b (0) [eap] = handled (0) } # authenticate = handled (0) Sending Access-Challenge packet to host 127.0.0.1 port 53911, id=0, length=0 (0) EAP-Message = 0x010100160410b0fe1ca94a1bbe2bcd6af2aab4ba77de (0) Message-Authenticator = 0x00000000000000000000000000000000 (0) State = 0xb8056b3bb8046f4b09117badccd65bb6 Sending Access-Challenge Id 0 from 127.0.0.1:1812 to 127.0.0.1:53911 EAP-Message = 0x010100160410b0fe1ca94a1bbe2bcd6af2aab4ba77de Message-Authenticator = 0x00000000000000000000000000000000 State = 0xb8056b3bb8046f4b09117badccd65bb6 (0) Finished request Waking up in 0.3 seconds. Received Access-Request Id 1 from 127.0.0.1:53911 to 127.0.0.1:1812 length 136 User-Name = 'anonymous' NAS-IP-Address = 127.0.0.1 Calling-Station-Id = '02-00-00-00-00-01' Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11 Connect-Info = 'CONNECT 11Mbps 802.11b' EAP-Message = 0x020100060315 State = 0xb8056b3bb8046f4b09117badccd65bb6 Message-Authenticator = 0x0f5671705cb2eff04359f4f6c10ed795 (1) Received Access-Request packet from host 127.0.0.1 port 53911, id=1, length=136 (1) User-Name = 'anonymous' (1) NAS-IP-Address = 127.0.0.1 (1) Calling-Station-Id = '02-00-00-00-00-01' (1) Framed-MTU = 1400 (1) NAS-Port-Type = Wireless-802.11 (1) Connect-Info = 'CONNECT 11Mbps 802.11b' (1) EAP-Message = 0x020100060315 (1) State = 0xb8056b3bb8046f4b09117badccd65bb6 (1) Message-Authenticator = 0x0f5671705cb2eff04359f4f6c10ed795 (1) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default (1) authorize { (1) filter_username 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) } # filter_username 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 = "anonymous", looking up realm NULL (1) suffix : No such realm "NULL" (1) [suffix] = noop (1) eap : Peer sent code Response (2) ID 1 length 6 (1) eap : No EAP Start, assuming it's an on-going EAP conversation (1) [eap] = updated (1) [files] = noop (1) [expiration] = noop (1) [logintime] = noop (1) WARNING: pap : No "known good" password found for the user. Not setting Auth-Type (1) WARNING: pap : Authentication will fail unless a "known good" password is available (1) [pap] = noop (1) } # authorize = updated (1) Found Auth-Type = EAP (1) # Executing group from file /usr/local/etc/raddb/sites-enabled/default (1) authenticate { (1) eap : Expiring EAP session with state 0xb8056b3bb8046f4b (1) eap : Finished EAP session with state 0xb8056b3bb8046f4b (1) eap : Previous EAP request found for state 0xb8056b3bb8046f4b, released from the list (1) eap : Peer sent method NAK (3) (1) eap : Found mutually acceptable type TTLS (21) (1) eap : Calling eap_ttls to process EAP data (1) eap_ttls : Flushing SSL sessions (of #0) (1) eap_ttls : Initiate (1) eap_ttls : Start returned 1 (1) eap : New EAP session, adding 'State' attribute to reply 0xb8056b3bb9077e4b (1) [eap] = handled (1) } # authenticate = handled (1) Sending Access-Challenge packet to host 127.0.0.1 port 53911, id=1, length=0 (1) EAP-Message = 0x010200061520 (1) Message-Authenticator = 0x00000000000000000000000000000000 (1) State = 0xb8056b3bb9077e4b09117badccd65bb6 Sending Access-Challenge Id 1 from 127.0.0.1:1812 to 127.0.0.1:53911 EAP-Message = 0x010200061520 Message-Authenticator = 0x00000000000000000000000000000000 State = 0xb8056b3bb9077e4b09117badccd65bb6 (1) Finished request Waking up in 0.3 seconds. Received Access-Request Id 2 from 127.0.0.1:53911 to 127.0.0.1:1812 length 230 User-Name = 'anonymous' NAS-IP-Address = 127.0.0.1 Calling-Station-Id = '02-00-00-00-00-01' Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11 Connect-Info = 'CONNECT 11Mbps 802.11b' EAP-Message = 0x02020064150016030100590100005503015401bd5bd4390981f7e43ac2f1dd015a0bf7f78e05c04441a793c58758159dd800002e00390038003500160013000a00330032002f009a00990096000500040015001200090014001100080006000300ff0100 State = 0xb8056b3bb9077e4b09117badccd65bb6 Message-Authenticator = 0x23855de8025c4999d346aa2a6c7674a4 (2) Received Access-Request packet from host 127.0.0.1 port 53911, id=2, length=230 (2) User-Name = 'anonymous' (2) NAS-IP-Address = 127.0.0.1 (2) Calling-Station-Id = '02-00-00-00-00-01' (2) Framed-MTU = 1400 (2) NAS-Port-Type = Wireless-802.11 (2) Connect-Info = 'CONNECT 11Mbps 802.11b' (2) EAP-Message = 0x02020064150016030100590100005503015401bd5bd4390981f7e43ac2f1dd015a0bf7f78e05c04441a793c58758159dd800002e00390038003500160013000a00330032002f009a00990096000500040015001200090014001100080006000300ff0100 (2) State = 0xb8056b3bb9077e4b09117badccd65bb6 (2) Message-Authenticator = 0x23855de8025c4999d346aa2a6c7674a4 (2) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default (2) authorize { (2) filter_username filter_username { (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 =~ /\\.\\./ ) (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) } # filter_username 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 = "anonymous", looking up realm NULL (2) suffix : No such realm "NULL" (2) [suffix] = noop (2) eap : Peer sent code Response (2) ID 2 length 100 (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 0xb8056b3bb9077e4b (2) eap : Finished EAP session with state 0xb8056b3bb9077e4b (2) eap : Previous EAP request found for state 0xb8056b3bb9077e4b, released from the list (2) eap : Peer sent method TTLS (21) (2) eap : EAP TTLS (21) (2) eap : Calling eap_ttls to process EAP data (2) eap_ttls : Authenticate (2) eap_ttls : processing EAP-TLS (2) eap_ttls : eaptls_verify returned 7 (2) eap_ttls : Done initial handshake (2) eap_ttls : (other): before/accept initialization (2) eap_ttls : TLS_accept: before/accept initialization (2) eap_ttls : <<< TLS 1.0 Handshake [length 0059], ClientHello (2) eap_ttls : TLS_accept: SSLv3 read client hello A (2) eap_ttls : >>> TLS 1.0 Handshake [length 0051], ServerHello (2) eap_ttls : TLS_accept: SSLv3 write server hello A (2) eap_ttls : >>> TLS 1.0 Handshake [length 08d0], Certificate (2) eap_ttls : TLS_accept: SSLv3 write certificate A (2) eap_ttls : >>> TLS 1.0 Handshake [length 020d], ServerKeyExchange (2) eap_ttls : TLS_accept: SSLv3 write key exchange A (2) eap_ttls : >>> TLS 1.0 Handshake [length 0004], ServerHelloDone (2) eap_ttls : TLS_accept: SSLv3 write server done A (2) eap_ttls : TLS_accept: SSLv3 flush data (2) eap_ttls : TLS_accept: Need to read more data: SSLv3 read client certificate A In SSL Handshake Phase In SSL Accept mode (2) eap_ttls : eaptls_process returned 13 (2) eap : New EAP session, adding 'State' attribute to reply 0xb8056b3bba067e4b (2) [eap] = handled (2) } # authenticate = handled (2) Sending Access-Challenge packet to host 127.0.0.1 port 53911, id=2, length=0 (2) EAP-Message = 0x010303ec15c000000b4616030100510200004d03015401bd5bc0468d2964c159398f7d0ac3cf3257889f6b0bfbc6a200802002b4f520a8c123fda1cf6618790993cdfe6042834a948458e828dd2a0506c0a2d7f4b1530039000005ff0100010016030108d00b0008cc0008c90003de308203da308202c2a003020102020101300d06092a864886f70d01010b0500308193310b3009060355040613024652310f300d060355040813065261646975733112301006035504071309536f6d65776865726531153013060355040a130c4578616d706c6520496e632e3120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d312630240603550403131d4578616d706c6520436572746966696361746520417574686f72697479301e170d3134303831353133343432375a170d3134313031343133343432375a307c310b3009060355040613024652310f300d0603550408130652616469757331153013060355040a130c4578616d706c6520496e632e312330210603550403131a4578616d706c65205365727665722043657274696669636174653120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d30820122300d06092a864886f70d01010105000382010f003082010a0282010100a48017f952242bdca72b30cd557cdb1bf724e1b8 (2) Message-Authenticator = 0x00000000000000000000000000000000 (2) State = 0xb8056b3bba067e4b09117badccd65bb6 Sending Access-Challenge Id 2 from 127.0.0.1:1812 to 127.0.0.1:53911 EAP-Message = 0x010303ec15c000000b4616030100510200004d03015401bd5bc0468d2964c159398f7d0ac3cf3257889f6b0bfbc6a200802002b4f520a8c123fda1cf6618790993cdfe6042834a948458e828dd2a0506c0a2d7f4b1530039000005ff0100010016030108d00b0008cc0008c90003de308203da308202c2a003020102020101300d06092a864886f70d01010b0500308193310b3009060355040613024652310f300d060355040813065261646975733112301006035504071309536f6d65776865726531153013060355040a130c4578616d706c6520496e632e3120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d312630240603550403131d4578616d706c6520436572746966696361746520417574686f72697479301e170d3134303831353133343432375a170d3134313031343133343432375a307c310b3009060355040613024652310f300d0603550408130652616469757331153013060355040a130c4578616d706c6520496e632e312330210603550403131a4578616d706c65205365727665722043657274696669636174653120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d30820122300d06092a864886f70d01010105000382010f003082010a0282010100a48017f952242bdca72b30cd557cdb1bf724e1b Message-Authenticator = 0x00000000000000000000000000000000 State = 0xb8056b3bba067e4b09117badccd65bb6 (2) Finished request Waking up in 0.3 seconds. Received Access-Request Id 3 from 127.0.0.1:53911 to 127.0.0.1:1812 length 136 User-Name = 'anonymous' NAS-IP-Address = 127.0.0.1 Calling-Station-Id = '02-00-00-00-00-01' Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11 Connect-Info = 'CONNECT 11Mbps 802.11b' EAP-Message = 0x020300061500 State = 0xb8056b3bba067e4b09117badccd65bb6 Message-Authenticator = 0x312f78189b4826a001cbff6eb4d28105 (3) Received Access-Request packet from host 127.0.0.1 port 53911, id=3, length=136 (3) User-Name = 'anonymous' (3) NAS-IP-Address = 127.0.0.1 (3) Calling-Station-Id = '02-00-00-00-00-01' (3) Framed-MTU = 1400 (3) NAS-Port-Type = Wireless-802.11 (3) Connect-Info = 'CONNECT 11Mbps 802.11b' (3) EAP-Message = 0x020300061500 (3) State = 0xb8056b3bba067e4b09117badccd65bb6 (3) Message-Authenticator = 0x312f78189b4826a001cbff6eb4d28105 (3) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default (3) authorize { (3) filter_username 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) } # filter_username 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 = "anonymous", looking up realm NULL (3) suffix : No such realm "NULL" (3) [suffix] = noop (3) eap : Peer sent code Response (2) ID 3 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 0xb8056b3bba067e4b (3) eap : Finished EAP session with state 0xb8056b3bba067e4b (3) eap : Previous EAP request found for state 0xb8056b3bba067e4b, released from the list (3) eap : Peer sent method TTLS (21) (3) eap : EAP TTLS (21) (3) eap : Calling eap_ttls to process EAP data (3) eap_ttls : Authenticate (3) eap_ttls : processing EAP-TLS (3) eap_ttls : Received TLS ACK (3) eap_ttls : Received TLS ACK (3) eap_ttls : ACK handshake fragment handler (3) eap_ttls : eaptls_verify returned 1 (3) eap_ttls : eaptls_process returned 13 (3) eap : New EAP session, adding 'State' attribute to reply 0xb8056b3bbb017e4b (3) [eap] = handled (3) } # authenticate = handled (3) Sending Access-Challenge packet to host 127.0.0.1 port 53911, id=3, length=0 (3) EAP-Message = 0x010403ec15c000000b4634fc195e9514be0d5627ea555805674e578e5c04b44c42f0a1e475a5d66cb59588fdf37daa69de99b643a5e195ba76d2a66fd3c9fa97b022602ebfedf632c000d2915ea8820a249055733463352eea0ed88a8313df8b34e9ba621a2e632f162ea10004e5308204e1308203c9a0030201020209008f45b6163e5d5433300d06092a864886f70d0101050500308193310b3009060355040613024652310f300d060355040813065261646975733112301006035504071309536f6d65776865726531153013060355040a130c4578616d706c6520496e632e3120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d312630240603550403131d4578616d706c6520436572746966696361746520417574686f72697479301e170d3134303831353133343432375a170d3134313031343133343432375a308193310b3009060355040613024652310f300d060355040813065261646975733112301006035504071309536f6d65776865726531153013060355040a130c4578616d706c6520496e632e3120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d312630240603550403131d4578616d706c6520436572746966696361746520417574686f7269747930820122300d06092a864886f70d0101010500038201 (3) Message-Authenticator = 0x00000000000000000000000000000000 (3) State = 0xb8056b3bbb017e4b09117badccd65bb6 Sending Access-Challenge Id 3 from 127.0.0.1:1812 to 127.0.0.1:53911 EAP-Message = 0x010403ec15c000000b4634fc195e9514be0d5627ea555805674e578e5c04b44c42f0a1e475a5d66cb59588fdf37daa69de99b643a5e195ba76d2a66fd3c9fa97b022602ebfedf632c000d2915ea8820a249055733463352eea0ed88a8313df8b34e9ba621a2e632f162ea10004e5308204e1308203c9a0030201020209008f45b6163e5d5433300d06092a864886f70d0101050500308193310b3009060355040613024652310f300d060355040813065261646975733112301006035504071309536f6d65776865726531153013060355040a130c4578616d706c6520496e632e3120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d312630240603550403131d4578616d706c6520436572746966696361746520417574686f72697479301e170d3134303831353133343432375a170d3134313031343133343432375a308193310b3009060355040613024652310f300d060355040813065261646975733112301006035504071309536f6d65776865726531153013060355040a130c4578616d706c6520496e632e3120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d312630240603550403131d4578616d706c6520436572746966696361746520417574686f7269747930820122300d06092a864886f70d010101050003820 Message-Authenticator = 0x00000000000000000000000000000000 State = 0xb8056b3bbb017e4b09117badccd65bb6 (3) Finished request Waking up in 0.3 seconds. Received Access-Request Id 4 from 127.0.0.1:53911 to 127.0.0.1:1812 length 136 User-Name = 'anonymous' NAS-IP-Address = 127.0.0.1 Calling-Station-Id = '02-00-00-00-00-01' Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11 Connect-Info = 'CONNECT 11Mbps 802.11b' EAP-Message = 0x020400061500 State = 0xb8056b3bbb017e4b09117badccd65bb6 Message-Authenticator = 0x2cfbd40946326558240fd06ebea5c741 (4) Received Access-Request packet from host 127.0.0.1 port 53911, id=4, length=136 (4) User-Name = 'anonymous' (4) NAS-IP-Address = 127.0.0.1 (4) Calling-Station-Id = '02-00-00-00-00-01' (4) Framed-MTU = 1400 (4) NAS-Port-Type = Wireless-802.11 (4) Connect-Info = 'CONNECT 11Mbps 802.11b' (4) EAP-Message = 0x020400061500 (4) State = 0xb8056b3bbb017e4b09117badccd65bb6 (4) Message-Authenticator = 0x2cfbd40946326558240fd06ebea5c741 (4) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default (4) authorize { (4) filter_username 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) } # filter_username 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 = "anonymous", looking up realm NULL (4) suffix : No such realm "NULL" (4) [suffix] = noop (4) eap : Peer sent code Response (2) ID 4 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 0xb8056b3bbb017e4b (4) eap : Finished EAP session with state 0xb8056b3bbb017e4b (4) eap : Previous EAP request found for state 0xb8056b3bbb017e4b, released from the list (4) eap : Peer sent method TTLS (21) (4) eap : EAP TTLS (21) (4) eap : Calling eap_ttls to process EAP data (4) eap_ttls : Authenticate (4) eap_ttls : processing EAP-TLS (4) eap_ttls : Received TLS ACK (4) eap_ttls : Received TLS ACK (4) eap_ttls : ACK handshake fragment handler (4) eap_ttls : eaptls_verify returned 1 (4) eap_ttls : eaptls_process returned 13 (4) eap : New EAP session, adding 'State' attribute to reply 0xb8056b3bbc007e4b (4) [eap] = handled (4) } # authenticate = handled (4) Sending Access-Challenge packet to host 127.0.0.1 port 53911, id=4, length=0 (4) EAP-Message = 0x0105038c158000000b4674798209008f45b6163e5d5433300c0603551d13040530030101ff30360603551d1f042f302d302ba029a0278625687474703a2f2f7777772e6578616d706c652e636f6d2f6578616d706c655f63612e63726c300d06092a864886f70d010105050003820101007128b4a10a338211884ee9625da069d31967642bc941980bf3d8e6772593fa86be2ca278aa5cf49f6f363ffc0fa52562555d4425c1d71acdf600281d0a101920abe5ee7cd65e27e7228417dde91a45a970ffb194ae6a167ecd39e83c90363e8422c1d1e0fd847203ad8c8c309f9dac5441677bdc1f9e465ddf1ef82936aacc32f6edd5f46cd2375c24d07826dad02ec38ed53611c25bee3acb84f2c24f528ec17088d843c01ba79f77ec434a2f6c2897e03094ad1e6cb1da0d33cf732c462d99ee69c4c5a4c125e15f136432911154cb57a8f4d9ab457b1f6833bd2f0d8fd2cada0388ad7708ee6e72a691950a2df9ff0c6cb9558e77d833fe7b2aeaa407b0da160301020d0c0002090080abea38c938833b93e080655701d1459dd30b961b9591209e1a3d07f69b9994eda85142b80232469fc455b0e60cc9e979624025ee6bd54f082f48d743b9ee1e2091d352b6358ff5e3c698218b2d84f1d83a7364751c606567917ade57cc55856f6a5b07bc02d538190c86cd8956ae7deb95de064566bb11a4eece20 (4) Message-Authenticator = 0x00000000000000000000000000000000 (4) State = 0xb8056b3bbc007e4b09117badccd65bb6 Sending Access-Challenge Id 4 from 127.0.0.1:1812 to 127.0.0.1:53911 EAP-Message = 0x0105038c158000000b4674798209008f45b6163e5d5433300c0603551d13040530030101ff30360603551d1f042f302d302ba029a0278625687474703a2f2f7777772e6578616d706c652e636f6d2f6578616d706c655f63612e63726c300d06092a864886f70d010105050003820101007128b4a10a338211884ee9625da069d31967642bc941980bf3d8e6772593fa86be2ca278aa5cf49f6f363ffc0fa52562555d4425c1d71acdf600281d0a101920abe5ee7cd65e27e7228417dde91a45a970ffb194ae6a167ecd39e83c90363e8422c1d1e0fd847203ad8c8c309f9dac5441677bdc1f9e465ddf1ef82936aacc32f6edd5f46cd2375c24d07826dad02ec38ed53611c25bee3acb84f2c24f528ec17088d843c01ba79f77ec434a2f6c2897e03094ad1e6cb1da0d33cf732c462d99ee69c4c5a4c125e15f136432911154cb57a8f4d9ab457b1f6833bd2f0d8fd2cada0388ad7708ee6e72a691950a2df9ff0c6cb9558e77d833fe7b2aeaa407b0da160301020d0c0002090080abea38c938833b93e080655701d1459dd30b961b9591209e1a3d07f69b9994eda85142b80232469fc455b0e60cc9e979624025ee6bd54f082f48d743b9ee1e2091d352b6358ff5e3c698218b2d84f1d83a7364751c606567917ade57cc55856f6a5b07bc02d538190c86cd8956ae7deb95de064566bb11a4eece2 Message-Authenticator = 0x00000000000000000000000000000000 State = 0xb8056b3bbc007e4b09117badccd65bb6 (4) Finished request Waking up in 0.3 seconds. Received Access-Request Id 5 from 127.0.0.1:53911 to 127.0.0.1:1812 length 334 User-Name = 'anonymous' NAS-IP-Address = 127.0.0.1 Calling-Station-Id = '02-00-00-00-00-01' Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11 Connect-Info = 'CONNECT 11Mbps 802.11b' EAP-Message = 0x020500cc150016030100861000008200805d52f2a81b7d21d8a01e84e521e0f80dbc0077726aaa43b837bb4ce9c6c2befc7ceaba7ed8f2c53caa31dfc2f487ce33406cd96785851f0b5ca72a257c0c44df6e9c8e24cab605f26e15a0e37c9a58b6cb5783d2f4762ca899694e3fecea1b4867f2b0f606d7610d3eb1b7d502be2bba51f5b153ee5ca85547b1edf5ddd72e18140301000101160301003012d689949e6713488d5788f7c1f09d2cd14a46116020cf9f33f096ad78ff286b897e8cb27059f7c216a0343a0a6dc3c0 State = 0xb8056b3bbc007e4b09117badccd65bb6 Message-Authenticator = 0x7bfd995088c61dc73cb1a8a9eea5db22 (5) Received Access-Request packet from host 127.0.0.1 port 53911, id=5, length=334 (5) User-Name = 'anonymous' (5) NAS-IP-Address = 127.0.0.1 (5) Calling-Station-Id = '02-00-00-00-00-01' (5) Framed-MTU = 1400 (5) NAS-Port-Type = Wireless-802.11 (5) Connect-Info = 'CONNECT 11Mbps 802.11b' (5) EAP-Message = 0x020500cc150016030100861000008200805d52f2a81b7d21d8a01e84e521e0f80dbc0077726aaa43b837bb4ce9c6c2befc7ceaba7ed8f2c53caa31dfc2f487ce33406cd96785851f0b5ca72a257c0c44df6e9c8e24cab605f26e15a0e37c9a58b6cb5783d2f4762ca899694e3fecea1b4867f2b0f606d7610d3eb1b7d502be2bba51f5b153ee5ca85547b1edf5ddd72e18140301000101160301003012d689949e6713488d5788f7c1f09d2cd14a46116020cf9f33f096ad78ff286b897e8cb27059f7c216a0343a0a6dc3c0 (5) State = 0xb8056b3bbc007e4b09117badccd65bb6 (5) Message-Authenticator = 0x7bfd995088c61dc73cb1a8a9eea5db22 (5) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default (5) authorize { (5) filter_username 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) } # filter_username 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 = "anonymous", looking up realm NULL (5) suffix : No such realm "NULL" (5) [suffix] = noop (5) eap : Peer sent code Response (2) ID 5 length 204 (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 0xb8056b3bbc007e4b (5) eap : Finished EAP session with state 0xb8056b3bbc007e4b (5) eap : Previous EAP request found for state 0xb8056b3bbc007e4b, released from the list (5) eap : Peer sent method TTLS (21) (5) eap : EAP TTLS (21) (5) eap : Calling eap_ttls to process EAP data (5) eap_ttls : Authenticate (5) eap_ttls : processing EAP-TLS (5) eap_ttls : eaptls_verify returned 7 (5) eap_ttls : Done initial handshake (5) eap_ttls : <<< TLS 1.0 Handshake [length 0086], ClientKeyExchange (5) eap_ttls : TLS_accept: SSLv3 read client key exchange A (5) eap_ttls : <<< TLS 1.0 ChangeCipherSpec [length 0001] (5) eap_ttls : <<< TLS 1.0 Handshake [length 0010], Finished (5) eap_ttls : TLS_accept: SSLv3 read finished A (5) eap_ttls : >>> TLS 1.0 ChangeCipherSpec [length 0001] (5) eap_ttls : TLS_accept: SSLv3 write change cipher spec A (5) eap_ttls : >>> TLS 1.0 Handshake [length 0010], Finished (5) eap_ttls : TLS_accept: SSLv3 write finished A (5) eap_ttls : TLS_accept: SSLv3 flush data SSL: adding session a8c123fda1cf6618790993cdfe6042834a948458e828dd2a0506c0a2d7f4b153 to cache (5) eap_ttls : (other): SSL negotiation finished successfully SSL Connection Established (5) eap_ttls : eaptls_process returned 13 (5) eap : New EAP session, adding 'State' attribute to reply 0xb8056b3bbd037e4b (5) [eap] = handled (5) } # authenticate = handled (5) Sending Access-Challenge packet to host 127.0.0.1 port 53911, id=5, length=0 (5) EAP-Message = 0x0106004515800000003b140301000101160301003021c1ddb1e728b86d587f795a2f72ff6da47234d23a9006c288a958c2af4a8ec5ec4ffacc1aaae4fc0974d09460bf2ab4 (5) Message-Authenticator = 0x00000000000000000000000000000000 (5) State = 0xb8056b3bbd037e4b09117badccd65bb6 Sending Access-Challenge Id 5 from 127.0.0.1:1812 to 127.0.0.1:53911 EAP-Message = 0x0106004515800000003b140301000101160301003021c1ddb1e728b86d587f795a2f72ff6da47234d23a9006c288a958c2af4a8ec5ec4ffacc1aaae4fc0974d09460bf2ab4 Message-Authenticator = 0x00000000000000000000000000000000 State = 0xb8056b3bbd037e4b09117badccd65bb6 (5) Finished request Waking up in 0.3 seconds. Received Access-Request Id 6 from 127.0.0.1:53911 to 127.0.0.1:1812 length 306 User-Name = 'anonymous' NAS-IP-Address = 127.0.0.1 Calling-Station-Id = '02-00-00-00-00-01' Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11 Connect-Info = 'CONNECT 11Mbps 802.11b' EAP-Message = 0x020600b01500170301002084ea9238f865db48b42b92ac958d44ca355c452f266848b804378684438aad7a170301008066e64dde693d78067ed9eb6077a72c6641c9ed7930adf5ec36e18006dca7315d82a5a2d0d4b3bdec5fb06ffb2b28158f739b7e2232bef1bfb86c660496e935f257a8b321ad817bfa0fda8a78d988611b675218a57749aa2a1c8949f6b10fb998a551aed040fcbd624554ff1cc3ceac0f42287126d9d8912bfd5c5da3492f9afe State = 0xb8056b3bbd037e4b09117badccd65bb6 Message-Authenticator = 0xcbb70b1df241b11ad30455d8f5540c32 (6) Received Access-Request packet from host 127.0.0.1 port 53911, id=6, length=306 (6) User-Name = 'anonymous' (6) NAS-IP-Address = 127.0.0.1 (6) Calling-Station-Id = '02-00-00-00-00-01' (6) Framed-MTU = 1400 (6) NAS-Port-Type = Wireless-802.11 (6) Connect-Info = 'CONNECT 11Mbps 802.11b' (6) EAP-Message = 0x020600b01500170301002084ea9238f865db48b42b92ac958d44ca355c452f266848b804378684438aad7a170301008066e64dde693d78067ed9eb6077a72c6641c9ed7930adf5ec36e18006dca7315d82a5a2d0d4b3bdec5fb06ffb2b28158f739b7e2232bef1bfb86c660496e935f257a8b321ad817bfa0fda8a78d988611b675218a57749aa2a1c8949f6b10fb998a551aed040fcbd624554ff1cc3ceac0f42287126d9d8912bfd5c5da3492f9afe (6) State = 0xb8056b3bbd037e4b09117badccd65bb6 (6) Message-Authenticator = 0xcbb70b1df241b11ad30455d8f5540c32 (6) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default (6) authorize { (6) filter_username 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) } # filter_username 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 = "anonymous", looking up realm NULL (6) suffix : No such realm "NULL" (6) [suffix] = noop (6) eap : Peer sent code Response (2) ID 6 length 176 (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 0xb8056b3bbd037e4b (6) eap : Finished EAP session with state 0xb8056b3bbd037e4b (6) eap : Previous EAP request found for state 0xb8056b3bbd037e4b, released from the list (6) eap : Peer sent method TTLS (21) (6) eap : EAP TTLS (21) (6) eap : Calling eap_ttls to process EAP data (6) eap_ttls : Authenticate (6) eap_ttls : processing EAP-TLS (6) eap_ttls : eaptls_verify returned 7 (6) eap_ttls : Done initial handshake (6) eap_ttls : eaptls_process returned 7 (6) eap_ttls : Session established. Proceeding to decode tunneled attributes (6) eap_ttls : Got tunneled request User-Name = 'bob' MS-CHAP-Challenge = 0x2f3e438e52ee686d2b4cd3355348690a MS-CHAP2-Response = 0xa9004ad8b8fb8ea65ebfa44dc4757e5269610000000000000000c94ab2f306da828819235600a2113cc576cc6d53827cd185 (6) eap_ttls : Sending tunneled request (6) server inner-tunnel { (6) Request: User-Name = 'bob' MS-CHAP-Challenge = 0x2f3e438e52ee686d2b4cd3355348690a MS-CHAP2-Response = 0xa9004ad8b8fb8ea65ebfa44dc4757e5269610000000000000000c94ab2f306da828819235600a2113cc576cc6d53827cd185 (6) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/inner-tunnel (6) authorize { (6) [chap] = noop (6) mschap : Found MS-CHAP attributes. Setting 'Auth-Type = mschap' (6) [mschap] = ok (6) suffix : Checking for suffix after "@" (6) suffix : No '@' in User-Name = "bob", 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 : No EAP-Message, not doing EAP (6) [eap] = noop (6) files : users: Matched entry bob at line 88 (6) files : EXPAND Hello, %{User-Name} (6) files : --> Hello, bob (6) [files] = ok (6) [expiration] = noop (6) [logintime] = noop (6) WARNING: pap : Auth-Type already set. Not setting to PAP (6) [pap] = noop (6) } # authorize = ok (6) Found Auth-Type = MSCHAP (6) # Executing group from file /usr/local/etc/raddb/sites-enabled/inner-tunnel (6) Auth-Type MS-CHAP { (6) mschap : Found Cleartext-Password, hashing to create LM-Password (6) mschap : Found Cleartext-Password, hashing to create NT-Password (6) mschap : Creating challenge hash with username: bob (6) mschap : Client is using MS-CHAPv2 (6) mschap : Adding MS-CHAPv2 MPPE keys (6) [mschap] = ok (6) } # Auth-Type MS-CHAP = ok (6) # Executing section post-auth from file /usr/local/etc/raddb/sites-enabled/inner-tunnel (6) post-auth { (6) update outer.reply { (6) EXPAND %{request:User-Name} (6) --> bob (6) User-Name = "bob" (6) } # update outer.reply = noop (6) } # post-auth = noop (6) Reply: Reply-Message = 'Hello, bob' MS-CHAP2-Success = 0xa9533d42434330464436413831454436414141323838413043364530303333344134453943363238453834 MS-MPPE-Recv-Key = 0xe7ea3ecd0dc5e6590509921bf346908b MS-MPPE-Send-Key = 0x53fcf30bdc1da42883bd82ab30e14059 MS-MPPE-Encryption-Policy = Encryption-Allowed MS-MPPE-Encryption-Types = RC4-40or128-bit-Allowed (6) } # server inner-tunnel (6) eap_ttls : Got tunneled Access-Accept (6) eap_ttls : Got MS-CHAP2-Success, tunneling it to the client in a challenge (6) eap_ttls : sending tunneled reply attributes MS-CHAP2-Success = 0xa9533d42434330464436413831454436414141323838413043364530303333344134453943363238453834 (6) eap_ttls : end tunneled reply attributes (6) eap : New EAP session, adding 'State' attribute to reply 0xb8056b3bbe027e4b (6) [eap] = handled (6) } # authenticate = handled (6) Sending Access-Challenge packet to host 127.0.0.1 port 53911, id=6, length=0 (6) User-Name = 'bob' (6) EAP-Message = 0x0107005f1580000000551703010050235c6f82ac6d9cfa91457f1ee6d2219eb1ffeefe6cdfcc8b8adcd9648de093c2c1223adc01533e3f9cedb1072f26dc4e554f49fd4d950bfb856ef773e97e9d81a8bf2af706662675733c21ab961df649 (6) Message-Authenticator = 0x00000000000000000000000000000000 (6) State = 0xb8056b3bbe027e4b09117badccd65bb6 Sending Access-Challenge Id 6 from 127.0.0.1:1812 to 127.0.0.1:53911 User-Name = 'bob' EAP-Message = 0x0107005f1580000000551703010050235c6f82ac6d9cfa91457f1ee6d2219eb1ffeefe6cdfcc8b8adcd9648de093c2c1223adc01533e3f9cedb1072f26dc4e554f49fd4d950bfb856ef773e97e9d81a8bf2af706662675733c21ab961df649 Message-Authenticator = 0x00000000000000000000000000000000 State = 0xb8056b3bbe027e4b09117badccd65bb6 (6) Finished request Waking up in 0.3 seconds. Received Access-Request Id 7 from 127.0.0.1:53911 to 127.0.0.1:1812 length 136 User-Name = 'anonymous' NAS-IP-Address = 127.0.0.1 Calling-Station-Id = '02-00-00-00-00-01' Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11 Connect-Info = 'CONNECT 11Mbps 802.11b' EAP-Message = 0x020700061500 State = 0xb8056b3bbe027e4b09117badccd65bb6 Message-Authenticator = 0x966259fc36d079b4cb89e36c5d87674e (7) Received Access-Request packet from host 127.0.0.1 port 53911, id=7, length=136 (7) User-Name = 'anonymous' (7) NAS-IP-Address = 127.0.0.1 (7) Calling-Station-Id = '02-00-00-00-00-01' (7) Framed-MTU = 1400 (7) NAS-Port-Type = Wireless-802.11 (7) Connect-Info = 'CONNECT 11Mbps 802.11b' (7) EAP-Message = 0x020700061500 (7) State = 0xb8056b3bbe027e4b09117badccd65bb6 (7) Message-Authenticator = 0x966259fc36d079b4cb89e36c5d87674e (7) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default (7) authorize { (7) filter_username 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) } # filter_username 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 = "anonymous", looking up realm NULL (7) suffix : No such realm "NULL" (7) [suffix] = noop (7) eap : Peer sent code Response (2) ID 7 length 6 (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 0xb8056b3bbe027e4b (7) eap : Finished EAP session with state 0xb8056b3bbe027e4b (7) eap : Previous EAP request found for state 0xb8056b3bbe027e4b, released from the list (7) eap : Peer sent method TTLS (21) (7) eap : EAP TTLS (21) (7) eap : Calling eap_ttls to process EAP data (7) eap_ttls : Authenticate (7) eap_ttls : processing EAP-TLS (7) eap_ttls : Received TLS ACK (7) eap_ttls : Received TLS ACK (7) eap_ttls : ACK handshake is finished (7) eap_ttls : eaptls_verify returned 3 (7) eap_ttls : eaptls_process returned 3 (7) eap_ttls : Using saved attributes from the original Access-Accept (7) WARNING: eap_ttls : No information to cache: session caching will be disabled for session a8c123fda1cf6618790993cdfe6042834a948458e828dd2a0506c0a2d7f4b153 SSL: Removing session a8c123fda1cf6618790993cdfe6042834a948458e828dd2a0506c0a2d7f4b153 from the cache (7) eap : Freeing handler (7) [eap] = ok (7) } # authenticate = ok (7) # Executing section post-auth from file /usr/local/etc/raddb/sites-enabled/default (7) post-auth { (7) [exec] = noop (7) remove_reply_message_if_eap remove_reply_message_if_eap { (7) if (&reply:EAP-Message && reply:Reply-Message) (7) if (&reply:EAP-Message && reply:Reply-Message) -> FALSE (7) else else { (7) [noop] = noop (7) } # else else = noop (7) } # remove_reply_message_if_eap remove_reply_message_if_eap = noop (7) } # post-auth = noop (7) Sending Access-Accept packet to host 127.0.0.1 port 53911, id=7, length=0 (7) MS-MPPE-Recv-Key = 0x562f0a31b19420a754d082f098333a5537b8482f509de0a7b9c9e59e4ead86d5 (7) MS-MPPE-Send-Key = 0x52cfb258ede76eff40c3dc09cad19ee0540aec260efbdf32f00b8341c198087b (7) EAP-MSK = 0x562f0a31b19420a754d082f098333a5537b8482f509de0a7b9c9e59e4ead86d552cfb258ede76eff40c3dc09cad19ee0540aec260efbdf32f00b8341c198087b (7) EAP-EMSK = 0x55caa40d812fd8a419dbf2ed7fcb34cd77f14c08c57503ff9acdbbbc4b968dce3c2ffdb9d8ba573025275c57ac451da2e7b57659ce70c2eb7e63f1ed6878bd47 (7) EAP-Session-Id = 0x155401bd5bd4390981f7e43ac2f1dd015a0bf7f78e05c04441a793c58758159dd85401bd5bc0468d2964c159398f7d0ac3cf3257889f6b0bfbc6a200802002b4f5 (7) EAP-Message = 0x03070004 (7) Message-Authenticator = 0x00000000000000000000000000000000 (7) User-Name = 'anonymous' Sending Access-Accept Id 7 from 127.0.0.1:1812 to 127.0.0.1:53911 MS-MPPE-Recv-Key = 0x562f0a31b19420a754d082f098333a5537b8482f509de0a7b9c9e59e4ead86d5 MS-MPPE-Send-Key = 0x52cfb258ede76eff40c3dc09cad19ee0540aec260efbdf32f00b8341c198087b EAP-Message = 0x03070004 Message-Authenticator = 0x00000000000000000000000000000000 User-Name = 'anonymous' (7) Finished request Waking up in 0.2 seconds. Waking up in 4.6 seconds. (0) Cleaning up request packet ID 0 with timestamp +81 (1) Cleaning up request packet ID 1 with timestamp +81 (2) Cleaning up request packet ID 2 with timestamp +81 (3) Cleaning up request packet ID 3 with timestamp +81 (4) Cleaning up request packet ID 4 with timestamp +81 (5) Cleaning up request packet ID 5 with timestamp +81 (6) Cleaning up request packet ID 6 with timestamp +81 (7) Cleaning up request packet ID 7 with timestamp +81 Ready to process requests
Axel, Setting phase2 in EAPOL_TEST to "MSCHAPV2" does *not* set the inner authentication method to EAP-MSCHAPv2, which is what you will need for it to work. Set it to phase2="auth=EAPMSCHAPv2" Try that. It should be successful. Stefan ________________________________________ From: freeradius-users-bounces+stefan.paetow=ja.net@lists.freeradius.org [freeradius-users-bounces+stefan.paetow=ja.net@lists.freeradius.org] on behalf of Axel Luttgens [axel.luttgens@skynet.be] Sent: 30 August 2014 14:15 To: FreeRadius users mailing list Subject: Re: Not able to receive inner identity in Access-Accept in EAP-TTLS. Le 29 août 2014 à 11:48, Stefan Paetow a écrit :
My log excerpts provided examples of the problem I was facing with both TTLS-MSCHAPv2 and PEAP-MSCHAPv2; I also tried TTLS-PAP, with the same negative result.
I haven't seen any full debug logs (i.e. running radiusd -X and sending the list the complete output) from you... only snippets, which are not helpful without any context.
OK, here we go (should you reply to this message, please don't top post and please trim your reply). Starting with raddb as created at compile time: - uncomment the entry for "bob" in the users file - uncomment the "update outer.reply" section in file inner-tunnel Call eapol_test with: - eap=TTLS - phase2="auth=MSCHAPV2" It appears that the reply comes with the outer identity ("anonymous"), not the inner one ("bob"). (see output "WITH update outer.reply" hereafter) Let's then change FR's config: - in file inner-tunnel, replace "outer.reply" with "reply" - set use_tunneled_reply to "yes" in file eap Call eapol_test with the same settings as above. The reply now comes with the inner identity. (see output "WITH update reply / use_tunneled_reply=yes" in my next message) If someone could provide the rationale, I am very interested. :-)
To be sure, do you mean you really manage to retrieve the inner identity with the help of an "update outer.reply" only?
Yes. In the 'eap' module I have:
eap: default_eap_type = ttls
eap, ttls: default_eap_type = mschapv2 copy_request_to_tunnel = yes use_tunneled_reply = no
eap, peap: identical to eap, ttls.
In inner-tunnel, post-auth:
if (... comparison here irrelevant ...) { update outer.reply { User-Name := "%{Stripped-User-Name}" } } else { cui-inner }
Thanks for the details. Indeed, this shouldn't behave differently than with "update outer.reply" alone.
Works fine here...
One thing I did find when I used eapol_test (or more specifically, rad_eap_test, which calls eapol_test), I had to make sure I specified EAPMSCHAPv2 as the inner auth method. Just specifying MSCHAPv2 does not make it EAP-MSCHAPv2.
You're right; playing with various combinations for eapol_test, it seems that the "update outer.reply only" approach works for some of them. The problem is, the set of possible combinations is quite large... And the set of supplicants is quite large too. If possible, I would like to set up something that works always instead of sometimes. But I guess I'm not sufficiently versed in the intricacies of FR (and RADIUS and EAP and...). Axel WITH update outer.reply ======================= radiusd: FreeRADIUS Version 3.0.4, for host i386-apple-darwin12.5.0, built on Aug 15 2014 at 15:27:17 Copyright (C) 1999-2014 The FreeRADIUS server project and contributors There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE You may redistribute copies of FreeRADIUS under the terms of the GNU General Public License For more information about these matters, see the file named COPYRIGHT Starting - reading configuration files ... including dictionary file /usr/local/freeradius-3.0.4-b0bed69cd6/share/freeradius/dictionary including dictionary file /usr/local/freeradius-3.0.4-b0bed69cd6/share/freeradius/dictionary.dhcp including dictionary file /usr/local/freeradius-3.0.4-b0bed69cd6/share/freeradius/dictionary.vqp including dictionary file /usr/local/etc/raddb/dictionary including configuration file /usr/local/etc/raddb/radiusd.conf including configuration file /usr/local/etc/raddb/proxy.conf including configuration file /usr/local/etc/raddb/clients.conf including files in directory /usr/local/etc/raddb/mods-enabled/ including configuration file /usr/local/etc/raddb/mods-enabled/always including configuration file /usr/local/etc/raddb/mods-enabled/attr_filter including configuration file /usr/local/etc/raddb/mods-enabled/cache_eap including configuration file /usr/local/etc/raddb/mods-enabled/chap including configuration file /usr/local/etc/raddb/mods-enabled/detail including configuration file /usr/local/etc/raddb/mods-enabled/detail.log including configuration file /usr/local/etc/raddb/mods-enabled/dhcp including configuration file /usr/local/etc/raddb/mods-enabled/digest including configuration file /usr/local/etc/raddb/mods-enabled/dynamic_clients including configuration file /usr/local/etc/raddb/mods-enabled/eap including configuration file /usr/local/etc/raddb/mods-enabled/echo including configuration file /usr/local/etc/raddb/mods-enabled/exec including configuration file /usr/local/etc/raddb/mods-enabled/expiration including configuration file /usr/local/etc/raddb/mods-enabled/expr including configuration file /usr/local/etc/raddb/mods-enabled/files including configuration file /usr/local/etc/raddb/mods-enabled/linelog including configuration file /usr/local/etc/raddb/mods-enabled/logintime including configuration file /usr/local/etc/raddb/mods-enabled/mschap including configuration file /usr/local/etc/raddb/mods-enabled/ntlm_auth including configuration file /usr/local/etc/raddb/mods-enabled/pap including configuration file /usr/local/etc/raddb/mods-enabled/passwd including configuration file /usr/local/etc/raddb/mods-enabled/preprocess including configuration file /usr/local/etc/raddb/mods-enabled/radutmp including configuration file /usr/local/etc/raddb/mods-enabled/realm including configuration file /usr/local/etc/raddb/mods-enabled/replicate including configuration file /usr/local/etc/raddb/mods-enabled/soh including configuration file /usr/local/etc/raddb/mods-enabled/sradutmp including configuration file /usr/local/etc/raddb/mods-enabled/unix including configuration file /usr/local/etc/raddb/mods-enabled/unpack including configuration file /usr/local/etc/raddb/mods-enabled/utf8 including files in directory /usr/local/etc/raddb/policy.d/ including configuration file /usr/local/etc/raddb/policy.d/accounting including configuration file /usr/local/etc/raddb/policy.d/canonicalization including configuration file /usr/local/etc/raddb/policy.d/control including configuration file /usr/local/etc/raddb/policy.d/cui OPTIMIZING no yes --> FALSE OPTIMIZING no yes --> FALSE including configuration file /usr/local/etc/raddb/policy.d/dhcp including configuration file /usr/local/etc/raddb/policy.d/eap including configuration file /usr/local/etc/raddb/policy.d/filter including configuration file /usr/local/etc/raddb/policy.d/operator-name including files in directory /usr/local/etc/raddb/sites-enabled/ including configuration file /usr/local/etc/raddb/sites-enabled/default including configuration file /usr/local/etc/raddb/sites-enabled/inner-tunnel main { security { allow_core_dumps = no } } main { name = "radiusd" prefix = "/usr/local/freeradius-3.0.4-b0bed69cd6" localstatedir = "/usr/local/var" sbindir = "/usr/local/freeradius-3.0.4-b0bed69cd6/sbin" logdir = "/usr/local/var/log/radius" run_dir = "/usr/local/var/run/radiusd" libdir = "/usr/local/freeradius-3.0.4-b0bed69cd6/lib" radacctdir = "/usr/local/var/log/radius/radacct" hostname_lookups = no max_request_time = 30 cleanup_delay = 5 max_requests = 1024 pidfile = "/usr/local/var/run/radiusd/radiusd.pid" checkrad = "/usr/local/freeradius-3.0.4-b0bed69cd6/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" } security { max_attributes = 200 reject_delay = 1 status_server = yes allow_vulnerable_openssl = "no" } } radiusd: #### Loading Realms and Home Servers #### proxy server { retry_delay = 5 retry_count = 3 default_fallback = no dead_time = 120 wake_all_if_all_dead = no } home_server localhost { ipaddr = 127.0.0.1 port = 1812 type = "auth" secret = <<< secret >>> response_window = 20.000000 response_timeouts = 1 max_outstanding = 65536 zombie_period = 40 status_check = "status-server" ping_interval = 30 check_interval = 30 check_timeout = 4 num_answers_to_alive = 3 revive_interval = 120 coa { irt = 2 mrt = 16 mrc = 5 mrd = 30 } limit { max_connections = 16 max_requests = 0 lifetime = 0 idle_timeout = 0 } } 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 } } radiusd: #### Instantiating modules #### instantiate { } modules { # Loaded module rlm_always # Instantiating module "reject" from file /usr/local/etc/raddb/mods-enabled/always always reject { rcode = "reject" simulcount = 0 mpp = no } # Instantiating module "fail" from file /usr/local/etc/raddb/mods-enabled/always always fail { rcode = "fail" simulcount = 0 mpp = no } # Instantiating module "ok" from file /usr/local/etc/raddb/mods-enabled/always always ok { rcode = "ok" simulcount = 0 mpp = no } # Instantiating module "handled" from file /usr/local/etc/raddb/mods-enabled/always always handled { rcode = "handled" simulcount = 0 mpp = no } # Instantiating module "invalid" from file /usr/local/etc/raddb/mods-enabled/always always invalid { rcode = "invalid" simulcount = 0 mpp = no } # Instantiating module "userlock" from file /usr/local/etc/raddb/mods-enabled/always always userlock { rcode = "userlock" simulcount = 0 mpp = no } # Instantiating module "notfound" from file /usr/local/etc/raddb/mods-enabled/always always notfound { rcode = "notfound" simulcount = 0 mpp = no } # Instantiating module "noop" from file /usr/local/etc/raddb/mods-enabled/always always noop { rcode = "noop" simulcount = 0 mpp = no } # Instantiating module "updated" from file /usr/local/etc/raddb/mods-enabled/always always updated { rcode = "updated" simulcount = 0 mpp = no } # Loaded module rlm_attr_filter # Instantiating module "attr_filter.post-proxy" from file /usr/local/etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.post-proxy { filename = "/usr/local/etc/raddb/mods-config/attr_filter/post-proxy" key = "%{Realm}" relaxed = no } reading pairlist file /usr/local/etc/raddb/mods-config/attr_filter/post-proxy # Instantiating module "attr_filter.pre-proxy" from file /usr/local/etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.pre-proxy { filename = "/usr/local/etc/raddb/mods-config/attr_filter/pre-proxy" key = "%{Realm}" relaxed = no } reading pairlist file /usr/local/etc/raddb/mods-config/attr_filter/pre-proxy # Instantiating module "attr_filter.access_reject" from file /usr/local/etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.access_reject { filename = "/usr/local/etc/raddb/mods-config/attr_filter/access_reject" key = "%{User-Name}" relaxed = no } reading pairlist file /usr/local/etc/raddb/mods-config/attr_filter/access_reject # Instantiating module "attr_filter.access_challenge" from file /usr/local/etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.access_challenge { filename = "/usr/local/etc/raddb/mods-config/attr_filter/access_challenge" key = "%{User-Name}" relaxed = no } reading pairlist file /usr/local/etc/raddb/mods-config/attr_filter/access_challenge # Instantiating module "attr_filter.accounting_response" from file /usr/local/etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.accounting_response { filename = "/usr/local/etc/raddb/mods-config/attr_filter/accounting_response" key = "%{User-Name}" relaxed = no } reading pairlist file /usr/local/etc/raddb/mods-config/attr_filter/accounting_response # Loaded module rlm_cache # Instantiating module "cache_eap" from file /usr/local/etc/raddb/mods-enabled/cache_eap cache cache_eap { key = "%{%{control:State}:-%{%{reply:State}:-%{State}}}" ttl = 15 max_entries = 16384 epoch = 0 add_stats = no } # Loaded module rlm_chap # Instantiating module "chap" from file /usr/local/etc/raddb/mods-enabled/chap # Loaded module rlm_detail # Instantiating module "detail" from file /usr/local/etc/raddb/mods-enabled/detail detail { filename = "/usr/local/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d" header = "%t" permissions = 384 locking = no log_packet_header = no } # Instantiating module "auth_log" from file /usr/local/etc/raddb/mods-enabled/detail.log detail auth_log { filename = "/usr/local/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d" header = "%t" permissions = 384 locking = no log_packet_header = no } rlm_detail (auth_log): 'User-Password' suppressed, will not appear in detail output # Instantiating module "reply_log" from file /usr/local/etc/raddb/mods-enabled/detail.log detail reply_log { filename = "/usr/local/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/reply-detail-%Y%m%d" header = "%t" permissions = 384 locking = no log_packet_header = no } # Instantiating module "pre_proxy_log" from file /usr/local/etc/raddb/mods-enabled/detail.log detail pre_proxy_log { filename = "/usr/local/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/pre-proxy-detail-%Y%m%d" header = "%t" permissions = 384 locking = no log_packet_header = no } # Instantiating module "post_proxy_log" from file /usr/local/etc/raddb/mods-enabled/detail.log detail post_proxy_log { filename = "/usr/local/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/post-proxy-detail-%Y%m%d" header = "%t" permissions = 384 locking = no log_packet_header = no } # Loaded module rlm_dhcp # Instantiating module "dhcp" from file /usr/local/etc/raddb/mods-enabled/dhcp # Loaded module rlm_digest # Instantiating module "digest" from file /usr/local/etc/raddb/mods-enabled/digest # Loaded module rlm_dynamic_clients # Instantiating module "dynamic_clients" from file /usr/local/etc/raddb/mods-enabled/dynamic_clients # Loaded module rlm_eap # Instantiating module "eap" from file /usr/local/etc/raddb/mods-enabled/eap eap { default_eap_type = "md5" timer_expire = 60 ignore_unknown_eap_types = no mod_accounting_username_bug = no max_sessions = 1024 } # 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 = "/usr/local/etc/raddb/certs" pem_file_type = yes private_key_file = "/usr/local/etc/raddb/certs/server.pem" certificate_file = "/usr/local/etc/raddb/certs/server.pem" ca_file = "/usr/local/etc/raddb/certs/ca.pem" private_key_password = <<< secret >>> dh_file = "/usr/local/etc/raddb/certs/dh" fragment_size = 1024 include_length = yes check_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 = yes } } # Linked to sub-module rlm_eap_ttls ttls { tls = "tls-common" default_eap_type = "md5" copy_request_to_tunnel = no use_tunneled_reply = no virtual_server = "inner-tunnel" include_length = yes require_client_cert = no } Using cached TLS configuration from previous invocation # Linked to sub-module rlm_eap_peap peap { tls = "tls-common" default_method = "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 } Using cached TLS configuration from previous invocation # Linked to sub-module rlm_eap_mschapv2 mschapv2 { with_ntdomain_hack = no send_error = no } # Loaded module rlm_exec # Instantiating module "echo" from file /usr/local/etc/raddb/mods-enabled/echo exec echo { wait = yes program = "/bin/echo %{User-Name}" input_pairs = "request" output_pairs = "reply" shell_escape = yes } # Instantiating module "exec" from file /usr/local/etc/raddb/mods-enabled/exec exec { wait = no input_pairs = "request" shell_escape = yes timeout = 10 } # Loaded module rlm_expiration # Instantiating module "expiration" from file /usr/local/etc/raddb/mods-enabled/expiration # Loaded module rlm_expr # Instantiating module "expr" from file /usr/local/etc/raddb/mods-enabled/expr expr { safe_characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /" } # Loaded module rlm_files # Instantiating module "files" from file /usr/local/etc/raddb/mods-enabled/files files { filename = "/usr/local/etc/raddb/mods-config/files/authorize" usersfile = "/usr/local/etc/raddb/mods-config/files/authorize" acctusersfile = "/usr/local/etc/raddb/mods-config/files/accounting" preproxy_usersfile = "/usr/local/etc/raddb/mods-config/files/pre-proxy" compat = "cistron" } reading pairlist file /usr/local/etc/raddb/mods-config/files/authorize [/usr/local/etc/raddb/mods-config/files/authorize]:88 Cistron compatibility checks for entry bob ... [/usr/local/etc/raddb/mods-config/files/authorize]:182 Cistron compatibility checks for entry DEFAULT ... [/usr/local/etc/raddb/mods-config/files/authorize]:189 Cistron compatibility checks for entry DEFAULT ... [/usr/local/etc/raddb/mods-config/files/authorize]:196 Cistron compatibility checks for entry DEFAULT ... reading pairlist file /usr/local/etc/raddb/mods-config/files/authorize [/usr/local/etc/raddb/mods-config/files/authorize]:88 Cistron compatibility checks for entry bob ... [/usr/local/etc/raddb/mods-config/files/authorize]:182 Cistron compatibility checks for entry DEFAULT ... [/usr/local/etc/raddb/mods-config/files/authorize]:189 Cistron compatibility checks for entry DEFAULT ... [/usr/local/etc/raddb/mods-config/files/authorize]:196 Cistron compatibility checks for entry DEFAULT ... reading pairlist file /usr/local/etc/raddb/mods-config/files/accounting reading pairlist file /usr/local/etc/raddb/mods-config/files/pre-proxy # Loaded module rlm_linelog # Instantiating module "linelog" from file /usr/local/etc/raddb/mods-enabled/linelog linelog { filename = "/usr/local/var/log/radius/linelog" permissions = 384 format = "This is a log message for %{User-Name}" reference = "messages.%{%{Packet-Type}:-default}" } # Instantiating module "log_accounting" from file /usr/local/etc/raddb/mods-enabled/linelog linelog log_accounting { filename = "/usr/local/var/log/radius/linelog-accounting" permissions = 384 format = "" reference = "Accounting-Request.%{%{Acct-Status-Type}:-unknown}" } # Loaded module rlm_logintime # Instantiating module "logintime" from file /usr/local/etc/raddb/mods-enabled/logintime logintime { minimum_timeout = 60 } # Loaded module rlm_mschap # Instantiating module "mschap" from file /usr/local/etc/raddb/mods-enabled/mschap mschap { use_mppe = yes require_encryption = no require_strong = no with_ntdomain_hack = yes passchange { } allow_retry = yes } # Instantiating module "ntlm_auth" from file /usr/local/etc/raddb/mods-enabled/ntlm_auth exec ntlm_auth { wait = yes program = "/path/to/ntlm_auth --request-nt-key --domain=MYDOMAIN --username=%{mschap:User-Name} --password=%{User-Password}" shell_escape = yes } # Loaded module rlm_pap # Instantiating module "pap" from file /usr/local/etc/raddb/mods-enabled/pap pap { normalise = yes } # Loaded module rlm_passwd # Instantiating module "etc_passwd" from file /usr/local/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 } rlm_passwd: nfields: 3 keyfield 0(User-Name) listable: no # Loaded module rlm_preprocess # Instantiating module "preprocess" from file /usr/local/etc/raddb/mods-enabled/preprocess preprocess { huntgroups = "/usr/local/etc/raddb/mods-config/preprocess/huntgroups" hints = "/usr/local/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 } reading pairlist file /usr/local/etc/raddb/mods-config/preprocess/huntgroups reading pairlist file /usr/local/etc/raddb/mods-config/preprocess/hints # Loaded module rlm_radutmp # Instantiating module "radutmp" from file /usr/local/etc/raddb/mods-enabled/radutmp radutmp { filename = "/usr/local/var/log/radius/radutmp" username = "%{User-Name}" case_sensitive = yes check_with_nas = yes permissions = 384 caller_id = yes } # Loaded module rlm_realm # Instantiating module "IPASS" from file /usr/local/etc/raddb/mods-enabled/realm realm IPASS { format = "prefix" delimiter = "/" ignore_default = no ignore_null = no } # Instantiating module "suffix" from file /usr/local/etc/raddb/mods-enabled/realm realm suffix { format = "suffix" delimiter = "@" ignore_default = no ignore_null = no } # Instantiating module "realmpercent" from file /usr/local/etc/raddb/mods-enabled/realm realm realmpercent { format = "suffix" delimiter = "%" ignore_default = no ignore_null = no } # Instantiating module "ntdomain" from file /usr/local/etc/raddb/mods-enabled/realm realm ntdomain { format = "prefix" delimiter = "\" ignore_default = no ignore_null = no } # Loaded module rlm_replicate # Instantiating module "replicate" from file /usr/local/etc/raddb/mods-enabled/replicate # Loaded module rlm_soh # Instantiating module "soh" from file /usr/local/etc/raddb/mods-enabled/soh soh { dhcp = yes } # Instantiating module "sradutmp" from file /usr/local/etc/raddb/mods-enabled/sradutmp radutmp sradutmp { filename = "/usr/local/var/log/radius/sradutmp" username = "%{User-Name}" case_sensitive = yes check_with_nas = yes permissions = 420 caller_id = no } # Loaded module rlm_unix # Instantiating module "unix" from file /usr/local/etc/raddb/mods-enabled/unix unix { radwtmp = "/usr/local/var/log/radius/radwtmp" } # Loaded module rlm_unpack # Instantiating module "unpack" from file /usr/local/etc/raddb/mods-enabled/unpack # Loaded module rlm_utf8 # Instantiating module "utf8" from file /usr/local/etc/raddb/mods-enabled/utf8 } # modules radiusd: #### Loading Virtual Servers #### server { # from file /usr/local/etc/raddb/radiusd.conf } # server server default { # from file /usr/local/etc/raddb/sites-enabled/default # Creating Auth-Type = digest # 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 /usr/local/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 as server default Listening on acct address * port 1813 as server default Listening on auth address :: port 1812 as server default Listening on acct address :: port 1813 as server default Listening on auth address 127.0.0.1 port 18120 as server inner-tunnel Opening new proxy socket 'proxy address * port 0' Listening on proxy address * port 58707 Ready to process requests Received Access-Request Id 0 from 127.0.0.1:53911 to 127.0.0.1:1812 length 126 User-Name = 'anonymous' NAS-IP-Address = 127.0.0.1 Calling-Station-Id = '02-00-00-00-00-01' Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11 Connect-Info = 'CONNECT 11Mbps 802.11b' EAP-Message = 0x0200000e01616e6f6e796d6f7573 Message-Authenticator = 0x30bea35f2ef5243665b8f613eefc3cff (0) Received Access-Request packet from host 127.0.0.1 port 53911, id=0, length=126 (0) User-Name = 'anonymous' (0) NAS-IP-Address = 127.0.0.1 (0) Calling-Station-Id = '02-00-00-00-00-01' (0) Framed-MTU = 1400 (0) NAS-Port-Type = Wireless-802.11 (0) Connect-Info = 'CONNECT 11Mbps 802.11b' (0) EAP-Message = 0x0200000e01616e6f6e796d6f7573 (0) Message-Authenticator = 0x30bea35f2ef5243665b8f613eefc3cff (0) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default (0) authorize { (0) filter_username 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) } # filter_username 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 = "anonymous", looking up realm NULL (0) suffix : No such realm "NULL" (0) [suffix] = noop (0) eap : Peer sent code Response (2) ID 0 length 14 (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 /usr/local/etc/raddb/sites-enabled/default (0) authenticate { (0) eap : Peer sent method Identity (1) (0) eap : Calling eap_md5 to process EAP data (0) eap_md5 : Issuing MD5 Challenge (0) eap : New EAP session, adding 'State' attribute to reply 0xb8056b3bb8046f4b (0) [eap] = handled (0) } # authenticate = handled (0) Sending Access-Challenge packet to host 127.0.0.1 port 53911, id=0, length=0 (0) EAP-Message = 0x010100160410b0fe1ca94a1bbe2bcd6af2aab4ba77de (0) Message-Authenticator = 0x00000000000000000000000000000000 (0) State = 0xb8056b3bb8046f4b09117badccd65bb6 Sending Access-Challenge Id 0 from 127.0.0.1:1812 to 127.0.0.1:53911 EAP-Message = 0x010100160410b0fe1ca94a1bbe2bcd6af2aab4ba77de Message-Authenticator = 0x00000000000000000000000000000000 State = 0xb8056b3bb8046f4b09117badccd65bb6 (0) Finished request Waking up in 0.3 seconds. Received Access-Request Id 1 from 127.0.0.1:53911 to 127.0.0.1:1812 length 136 User-Name = 'anonymous' NAS-IP-Address = 127.0.0.1 Calling-Station-Id = '02-00-00-00-00-01' Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11 Connect-Info = 'CONNECT 11Mbps 802.11b' EAP-Message = 0x020100060315 State = 0xb8056b3bb8046f4b09117badccd65bb6 Message-Authenticator = 0x0f5671705cb2eff04359f4f6c10ed795 (1) Received Access-Request packet from host 127.0.0.1 port 53911, id=1, length=136 (1) User-Name = 'anonymous' (1) NAS-IP-Address = 127.0.0.1 (1) Calling-Station-Id = '02-00-00-00-00-01' (1) Framed-MTU = 1400 (1) NAS-Port-Type = Wireless-802.11 (1) Connect-Info = 'CONNECT 11Mbps 802.11b' (1) EAP-Message = 0x020100060315 (1) State = 0xb8056b3bb8046f4b09117badccd65bb6 (1) Message-Authenticator = 0x0f5671705cb2eff04359f4f6c10ed795 (1) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default (1) authorize { (1) filter_username 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) } # filter_username 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 = "anonymous", looking up realm NULL (1) suffix : No such realm "NULL" (1) [suffix] = noop (1) eap : Peer sent code Response (2) ID 1 length 6 (1) eap : No EAP Start, assuming it's an on-going EAP conversation (1) [eap] = updated (1) [files] = noop (1) [expiration] = noop (1) [logintime] = noop (1) WARNING: pap : No "known good" password found for the user. Not setting Auth-Type (1) WARNING: pap : Authentication will fail unless a "known good" password is available (1) [pap] = noop (1) } # authorize = updated (1) Found Auth-Type = EAP (1) # Executing group from file /usr/local/etc/raddb/sites-enabled/default (1) authenticate { (1) eap : Expiring EAP session with state 0xb8056b3bb8046f4b (1) eap : Finished EAP session with state 0xb8056b3bb8046f4b (1) eap : Previous EAP request found for state 0xb8056b3bb8046f4b, released from the list (1) eap : Peer sent method NAK (3) (1) eap : Found mutually acceptable type TTLS (21) (1) eap : Calling eap_ttls to process EAP data (1) eap_ttls : Flushing SSL sessions (of #0) (1) eap_ttls : Initiate (1) eap_ttls : Start returned 1 (1) eap : New EAP session, adding 'State' attribute to reply 0xb8056b3bb9077e4b (1) [eap] = handled (1) } # authenticate = handled (1) Sending Access-Challenge packet to host 127.0.0.1 port 53911, id=1, length=0 (1) EAP-Message = 0x010200061520 (1) Message-Authenticator = 0x00000000000000000000000000000000 (1) State = 0xb8056b3bb9077e4b09117badccd65bb6 Sending Access-Challenge Id 1 from 127.0.0.1:1812 to 127.0.0.1:53911 EAP-Message = 0x010200061520 Message-Authenticator = 0x00000000000000000000000000000000 State = 0xb8056b3bb9077e4b09117badccd65bb6 (1) Finished request Waking up in 0.3 seconds. Received Access-Request Id 2 from 127.0.0.1:53911 to 127.0.0.1:1812 length 230 User-Name = 'anonymous' NAS-IP-Address = 127.0.0.1 Calling-Station-Id = '02-00-00-00-00-01' Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11 Connect-Info = 'CONNECT 11Mbps 802.11b' EAP-Message = 0x02020064150016030100590100005503015401bd5bd4390981f7e43ac2f1dd015a0bf7f78e05c04441a793c58758159dd800002e00390038003500160013000a00330032002f009a00990096000500040015001200090014001100080006000300ff0100 State = 0xb8056b3bb9077e4b09117badccd65bb6 Message-Authenticator = 0x23855de8025c4999d346aa2a6c7674a4 (2) Received Access-Request packet from host 127.0.0.1 port 53911, id=2, length=230 (2) User-Name = 'anonymous' (2) NAS-IP-Address = 127.0.0.1 (2) Calling-Station-Id = '02-00-00-00-00-01' (2) Framed-MTU = 1400 (2) NAS-Port-Type = Wireless-802.11 (2) Connect-Info = 'CONNECT 11Mbps 802.11b' (2) EAP-Message = 0x02020064150016030100590100005503015401bd5bd4390981f7e43ac2f1dd015a0bf7f78e05c04441a793c58758159dd800002e00390038003500160013000a00330032002f009a00990096000500040015001200090014001100080006000300ff0100 (2) State = 0xb8056b3bb9077e4b09117badccd65bb6 (2) Message-Authenticator = 0x23855de8025c4999d346aa2a6c7674a4 (2) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default (2) authorize { (2) filter_username filter_username { (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 =~ /\\.\\./ ) (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) } # filter_username 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 = "anonymous", looking up realm NULL (2) suffix : No such realm "NULL" (2) [suffix] = noop (2) eap : Peer sent code Response (2) ID 2 length 100 (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 0xb8056b3bb9077e4b (2) eap : Finished EAP session with state 0xb8056b3bb9077e4b (2) eap : Previous EAP request found for state 0xb8056b3bb9077e4b, released from the list (2) eap : Peer sent method TTLS (21) (2) eap : EAP TTLS (21) (2) eap : Calling eap_ttls to process EAP data (2) eap_ttls : Authenticate (2) eap_ttls : processing EAP-TLS (2) eap_ttls : eaptls_verify returned 7 (2) eap_ttls : Done initial handshake (2) eap_ttls : (other): before/accept initialization (2) eap_ttls : TLS_accept: before/accept initialization (2) eap_ttls : <<< TLS 1.0 Handshake [length 0059], ClientHello (2) eap_ttls : TLS_accept: SSLv3 read client hello A (2) eap_ttls : >>> TLS 1.0 Handshake [length 0051], ServerHello (2) eap_ttls : TLS_accept: SSLv3 write server hello A (2) eap_ttls : >>> TLS 1.0 Handshake [length 08d0], Certificate (2) eap_ttls : TLS_accept: SSLv3 write certificate A (2) eap_ttls : >>> TLS 1.0 Handshake [length 020d], ServerKeyExchange (2) eap_ttls : TLS_accept: SSLv3 write key exchange A (2) eap_ttls : >>> TLS 1.0 Handshake [length 0004], ServerHelloDone (2) eap_ttls : TLS_accept: SSLv3 write server done A (2) eap_ttls : TLS_accept: SSLv3 flush data (2) eap_ttls : TLS_accept: Need to read more data: SSLv3 read client certificate A In SSL Handshake Phase In SSL Accept mode (2) eap_ttls : eaptls_process returned 13 (2) eap : New EAP session, adding 'State' attribute to reply 0xb8056b3bba067e4b (2) [eap] = handled (2) } # authenticate = handled (2) Sending Access-Challenge packet to host 127.0.0.1 port 53911, id=2, length=0 (2) EAP-Message = 0x010303ec15c000000b4616030100510200004d03015401bd5bc0468d2964c159398f7d0ac3cf3257889f6b0bfbc6a200802002b4f520a8c123fda1cf6618790993cdfe6042834a948458e828dd2a0506c0a2d7f4b1530039000005ff0100010016030108d00b0008cc0008c90003de308203da308202c2a003020102020101300d06092a864886f70d01010b0500308193310b3009060355040613024652310f300d060355040813065261646975733112301006035504071309536f6d65776865726531153013060355040a130c4578616d706c6520496e632e3120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d312630240603550403131d4578616d706c6520436572746966696361746520417574686f72697479301e170d3134303831353133343432375a170d3134313031343133343432375a307c310b3009060355040613024652310f300d0603550408130652616469757331153013060355040a130c4578616d706c6520496e632e312330210603550403131a4578616d706c65205365727665722043657274696669636174653120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d30820122300d06092a864886f70d01010105000382010f003082010a0282010100a48017f952242bdca72b30cd557cdb1bf724e1b8 (2) Message-Authenticator = 0x00000000000000000000000000000000 (2) State = 0xb8056b3bba067e4b09117badccd65bb6 Sending Access-Challenge Id 2 from 127.0.0.1:1812 to 127.0.0.1:53911 EAP-Message = 0x010303ec15c000000b4616030100510200004d03015401bd5bc0468d2964c159398f7d0ac3cf3257889f6b0bfbc6a200802002b4f520a8c123fda1cf6618790993cdfe6042834a948458e828dd2a0506c0a2d7f4b1530039000005ff0100010016030108d00b0008cc0008c90003de308203da308202c2a003020102020101300d06092a864886f70d01010b0500308193310b3009060355040613024652310f300d060355040813065261646975733112301006035504071309536f6d65776865726531153013060355040a130c4578616d706c6520496e632e3120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d312630240603550403131d4578616d706c6520436572746966696361746520417574686f72697479301e170d3134303831353133343432375a170d3134313031343133343432375a307c310b3009060355040613024652310f300d0603550408130652616469757331153013060355040a130c4578616d706c6520496e632e312330210603550403131a4578616d706c65205365727665722043657274696669636174653120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d30820122300d06092a864886f70d01010105000382010f003082010a0282010100a48017f952242bdca72b30cd557cdb1bf724e1b Message-Authenticator = 0x00000000000000000000000000000000 State = 0xb8056b3bba067e4b09117badccd65bb6 (2) Finished request Waking up in 0.3 seconds. Received Access-Request Id 3 from 127.0.0.1:53911 to 127.0.0.1:1812 length 136 User-Name = 'anonymous' NAS-IP-Address = 127.0.0.1 Calling-Station-Id = '02-00-00-00-00-01' Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11 Connect-Info = 'CONNECT 11Mbps 802.11b' EAP-Message = 0x020300061500 State = 0xb8056b3bba067e4b09117badccd65bb6 Message-Authenticator = 0x312f78189b4826a001cbff6eb4d28105 (3) Received Access-Request packet from host 127.0.0.1 port 53911, id=3, length=136 (3) User-Name = 'anonymous' (3) NAS-IP-Address = 127.0.0.1 (3) Calling-Station-Id = '02-00-00-00-00-01' (3) Framed-MTU = 1400 (3) NAS-Port-Type = Wireless-802.11 (3) Connect-Info = 'CONNECT 11Mbps 802.11b' (3) EAP-Message = 0x020300061500 (3) State = 0xb8056b3bba067e4b09117badccd65bb6 (3) Message-Authenticator = 0x312f78189b4826a001cbff6eb4d28105 (3) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default (3) authorize { (3) filter_username 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) } # filter_username 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 = "anonymous", looking up realm NULL (3) suffix : No such realm "NULL" (3) [suffix] = noop (3) eap : Peer sent code Response (2) ID 3 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 0xb8056b3bba067e4b (3) eap : Finished EAP session with state 0xb8056b3bba067e4b (3) eap : Previous EAP request found for state 0xb8056b3bba067e4b, released from the list (3) eap : Peer sent method TTLS (21) (3) eap : EAP TTLS (21) (3) eap : Calling eap_ttls to process EAP data (3) eap_ttls : Authenticate (3) eap_ttls : processing EAP-TLS (3) eap_ttls : Received TLS ACK (3) eap_ttls : Received TLS ACK (3) eap_ttls : ACK handshake fragment handler (3) eap_ttls : eaptls_verify returned 1 (3) eap_ttls : eaptls_process returned 13 (3) eap : New EAP session, adding 'State' attribute to reply 0xb8056b3bbb017e4b (3) [eap] = handled (3) } # authenticate = handled (3) Sending Access-Challenge packet to host 127.0.0.1 port 53911, id=3, length=0 (3) EAP-Message = 0x010403ec15c000000b4634fc195e9514be0d5627ea555805674e578e5c04b44c42f0a1e475a5d66cb59588fdf37daa69de99b643a5e195ba76d2a66fd3c9fa97b022602ebfedf632c000d2915ea8820a249055733463352eea0ed88a8313df8b34e9ba621a2e632f162ea10004e5308204e1308203c9a0030201020209008f45b6163e5d5433300d06092a864886f70d0101050500308193310b3009060355040613024652310f300d060355040813065261646975733112301006035504071309536f6d65776865726531153013060355040a130c4578616d706c6520496e632e3120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d312630240603550403131d4578616d706c6520436572746966696361746520417574686f72697479301e170d3134303831353133343432375a170d3134313031343133343432375a308193310b3009060355040613024652310f300d060355040813065261646975733112301006035504071309536f6d65776865726531153013060355040a130c4578616d706c6520496e632e3120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d312630240603550403131d4578616d706c6520436572746966696361746520417574686f7269747930820122300d06092a864886f70d0101010500038201 (3) Message-Authenticator = 0x00000000000000000000000000000000 (3) State = 0xb8056b3bbb017e4b09117badccd65bb6 Sending Access-Challenge Id 3 from 127.0.0.1:1812 to 127.0.0.1:53911 EAP-Message = 0x010403ec15c000000b4634fc195e9514be0d5627ea555805674e578e5c04b44c42f0a1e475a5d66cb59588fdf37daa69de99b643a5e195ba76d2a66fd3c9fa97b022602ebfedf632c000d2915ea8820a249055733463352eea0ed88a8313df8b34e9ba621a2e632f162ea10004e5308204e1308203c9a0030201020209008f45b6163e5d5433300d06092a864886f70d0101050500308193310b3009060355040613024652310f300d060355040813065261646975733112301006035504071309536f6d65776865726531153013060355040a130c4578616d706c6520496e632e3120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d312630240603550403131d4578616d706c6520436572746966696361746520417574686f72697479301e170d3134303831353133343432375a170d3134313031343133343432375a308193310b3009060355040613024652310f300d060355040813065261646975733112301006035504071309536f6d65776865726531153013060355040a130c4578616d706c6520496e632e3120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d312630240603550403131d4578616d706c6520436572746966696361746520417574686f7269747930820122300d06092a864886f70d010101050003820 Message-Authenticator = 0x00000000000000000000000000000000 State = 0xb8056b3bbb017e4b09117badccd65bb6 (3) Finished request Waking up in 0.3 seconds. Received Access-Request Id 4 from 127.0.0.1:53911 to 127.0.0.1:1812 length 136 User-Name = 'anonymous' NAS-IP-Address = 127.0.0.1 Calling-Station-Id = '02-00-00-00-00-01' Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11 Connect-Info = 'CONNECT 11Mbps 802.11b' EAP-Message = 0x020400061500 State = 0xb8056b3bbb017e4b09117badccd65bb6 Message-Authenticator = 0x2cfbd40946326558240fd06ebea5c741 (4) Received Access-Request packet from host 127.0.0.1 port 53911, id=4, length=136 (4) User-Name = 'anonymous' (4) NAS-IP-Address = 127.0.0.1 (4) Calling-Station-Id = '02-00-00-00-00-01' (4) Framed-MTU = 1400 (4) NAS-Port-Type = Wireless-802.11 (4) Connect-Info = 'CONNECT 11Mbps 802.11b' (4) EAP-Message = 0x020400061500 (4) State = 0xb8056b3bbb017e4b09117badccd65bb6 (4) Message-Authenticator = 0x2cfbd40946326558240fd06ebea5c741 (4) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default (4) authorize { (4) filter_username 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) } # filter_username 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 = "anonymous", looking up realm NULL (4) suffix : No such realm "NULL" (4) [suffix] = noop (4) eap : Peer sent code Response (2) ID 4 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 0xb8056b3bbb017e4b (4) eap : Finished EAP session with state 0xb8056b3bbb017e4b (4) eap : Previous EAP request found for state 0xb8056b3bbb017e4b, released from the list (4) eap : Peer sent method TTLS (21) (4) eap : EAP TTLS (21) (4) eap : Calling eap_ttls to process EAP data (4) eap_ttls : Authenticate (4) eap_ttls : processing EAP-TLS (4) eap_ttls : Received TLS ACK (4) eap_ttls : Received TLS ACK (4) eap_ttls : ACK handshake fragment handler (4) eap_ttls : eaptls_verify returned 1 (4) eap_ttls : eaptls_process returned 13 (4) eap : New EAP session, adding 'State' attribute to reply 0xb8056b3bbc007e4b (4) [eap] = handled (4) } # authenticate = handled (4) Sending Access-Challenge packet to host 127.0.0.1 port 53911, id=4, length=0 (4) EAP-Message = 0x0105038c158000000b4674798209008f45b6163e5d5433300c0603551d13040530030101ff30360603551d1f042f302d302ba029a0278625687474703a2f2f7777772e6578616d706c652e636f6d2f6578616d706c655f63612e63726c300d06092a864886f70d010105050003820101007128b4a10a338211884ee9625da069d31967642bc941980bf3d8e6772593fa86be2ca278aa5cf49f6f363ffc0fa52562555d4425c1d71acdf600281d0a101920abe5ee7cd65e27e7228417dde91a45a970ffb194ae6a167ecd39e83c90363e8422c1d1e0fd847203ad8c8c309f9dac5441677bdc1f9e465ddf1ef82936aacc32f6edd5f46cd2375c24d07826dad02ec38ed53611c25bee3acb84f2c24f528ec17088d843c01ba79f77ec434a2f6c2897e03094ad1e6cb1da0d33cf732c462d99ee69c4c5a4c125e15f136432911154cb57a8f4d9ab457b1f6833bd2f0d8fd2cada0388ad7708ee6e72a691950a2df9ff0c6cb9558e77d833fe7b2aeaa407b0da160301020d0c0002090080abea38c938833b93e080655701d1459dd30b961b9591209e1a3d07f69b9994eda85142b80232469fc455b0e60cc9e979624025ee6bd54f082f48d743b9ee1e2091d352b6358ff5e3c698218b2d84f1d83a7364751c606567917ade57cc55856f6a5b07bc02d538190c86cd8956ae7deb95de064566bb11a4eece20 (4) Message-Authenticator = 0x00000000000000000000000000000000 (4) State = 0xb8056b3bbc007e4b09117badccd65bb6 Sending Access-Challenge Id 4 from 127.0.0.1:1812 to 127.0.0.1:53911 EAP-Message = 0x0105038c158000000b4674798209008f45b6163e5d5433300c0603551d13040530030101ff30360603551d1f042f302d302ba029a0278625687474703a2f2f7777772e6578616d706c652e636f6d2f6578616d706c655f63612e63726c300d06092a864886f70d010105050003820101007128b4a10a338211884ee9625da069d31967642bc941980bf3d8e6772593fa86be2ca278aa5cf49f6f363ffc0fa52562555d4425c1d71acdf600281d0a101920abe5ee7cd65e27e7228417dde91a45a970ffb194ae6a167ecd39e83c90363e8422c1d1e0fd847203ad8c8c309f9dac5441677bdc1f9e465ddf1ef82936aacc32f6edd5f46cd2375c24d07826dad02ec38ed53611c25bee3acb84f2c24f528ec17088d843c01ba79f77ec434a2f6c2897e03094ad1e6cb1da0d33cf732c462d99ee69c4c5a4c125e15f136432911154cb57a8f4d9ab457b1f6833bd2f0d8fd2cada0388ad7708ee6e72a691950a2df9ff0c6cb9558e77d833fe7b2aeaa407b0da160301020d0c0002090080abea38c938833b93e080655701d1459dd30b961b9591209e1a3d07f69b9994eda85142b80232469fc455b0e60cc9e979624025ee6bd54f082f48d743b9ee1e2091d352b6358ff5e3c698218b2d84f1d83a7364751c606567917ade57cc55856f6a5b07bc02d538190c86cd8956ae7deb95de064566bb11a4eece2 Message-Authenticator = 0x00000000000000000000000000000000 State = 0xb8056b3bbc007e4b09117badccd65bb6 (4) Finished request Waking up in 0.3 seconds. Received Access-Request Id 5 from 127.0.0.1:53911 to 127.0.0.1:1812 length 334 User-Name = 'anonymous' NAS-IP-Address = 127.0.0.1 Calling-Station-Id = '02-00-00-00-00-01' Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11 Connect-Info = 'CONNECT 11Mbps 802.11b' EAP-Message = 0x020500cc150016030100861000008200805d52f2a81b7d21d8a01e84e521e0f80dbc0077726aaa43b837bb4ce9c6c2befc7ceaba7ed8f2c53caa31dfc2f487ce33406cd96785851f0b5ca72a257c0c44df6e9c8e24cab605f26e15a0e37c9a58b6cb5783d2f4762ca899694e3fecea1b4867f2b0f606d7610d3eb1b7d502be2bba51f5b153ee5ca85547b1edf5ddd72e18140301000101160301003012d689949e6713488d5788f7c1f09d2cd14a46116020cf9f33f096ad78ff286b897e8cb27059f7c216a0343a0a6dc3c0 State = 0xb8056b3bbc007e4b09117badccd65bb6 Message-Authenticator = 0x7bfd995088c61dc73cb1a8a9eea5db22 (5) Received Access-Request packet from host 127.0.0.1 port 53911, id=5, length=334 (5) User-Name = 'anonymous' (5) NAS-IP-Address = 127.0.0.1 (5) Calling-Station-Id = '02-00-00-00-00-01' (5) Framed-MTU = 1400 (5) NAS-Port-Type = Wireless-802.11 (5) Connect-Info = 'CONNECT 11Mbps 802.11b' (5) EAP-Message = 0x020500cc150016030100861000008200805d52f2a81b7d21d8a01e84e521e0f80dbc0077726aaa43b837bb4ce9c6c2befc7ceaba7ed8f2c53caa31dfc2f487ce33406cd96785851f0b5ca72a257c0c44df6e9c8e24cab605f26e15a0e37c9a58b6cb5783d2f4762ca899694e3fecea1b4867f2b0f606d7610d3eb1b7d502be2bba51f5b153ee5ca85547b1edf5ddd72e18140301000101160301003012d689949e6713488d5788f7c1f09d2cd14a46116020cf9f33f096ad78ff286b897e8cb27059f7c216a0343a0a6dc3c0 (5) State = 0xb8056b3bbc007e4b09117badccd65bb6 (5) Message-Authenticator = 0x7bfd995088c61dc73cb1a8a9eea5db22 (5) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default (5) authorize { (5) filter_username 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) } # filter_username 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 = "anonymous", looking up realm NULL (5) suffix : No such realm "NULL" (5) [suffix] = noop (5) eap : Peer sent code Response (2) ID 5 length 204 (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 0xb8056b3bbc007e4b (5) eap : Finished EAP session with state 0xb8056b3bbc007e4b (5) eap : Previous EAP request found for state 0xb8056b3bbc007e4b, released from the list (5) eap : Peer sent method TTLS (21) (5) eap : EAP TTLS (21) (5) eap : Calling eap_ttls to process EAP data (5) eap_ttls : Authenticate (5) eap_ttls : processing EAP-TLS (5) eap_ttls : eaptls_verify returned 7 (5) eap_ttls : Done initial handshake (5) eap_ttls : <<< TLS 1.0 Handshake [length 0086], ClientKeyExchange (5) eap_ttls : TLS_accept: SSLv3 read client key exchange A (5) eap_ttls : <<< TLS 1.0 ChangeCipherSpec [length 0001] (5) eap_ttls : <<< TLS 1.0 Handshake [length 0010], Finished (5) eap_ttls : TLS_accept: SSLv3 read finished A (5) eap_ttls : >>> TLS 1.0 ChangeCipherSpec [length 0001] (5) eap_ttls : TLS_accept: SSLv3 write change cipher spec A (5) eap_ttls : >>> TLS 1.0 Handshake [length 0010], Finished (5) eap_ttls : TLS_accept: SSLv3 write finished A (5) eap_ttls : TLS_accept: SSLv3 flush data SSL: adding session a8c123fda1cf6618790993cdfe6042834a948458e828dd2a0506c0a2d7f4b153 to cache (5) eap_ttls : (other): SSL negotiation finished successfully SSL Connection Established (5) eap_ttls : eaptls_process returned 13 (5) eap : New EAP session, adding 'State' attribute to reply 0xb8056b3bbd037e4b (5) [eap] = handled (5) } # authenticate = handled (5) Sending Access-Challenge packet to host 127.0.0.1 port 53911, id=5, length=0 (5) EAP-Message = 0x0106004515800000003b140301000101160301003021c1ddb1e728b86d587f795a2f72ff6da47234d23a9006c288a958c2af4a8ec5ec4ffacc1aaae4fc0974d09460bf2ab4 (5) Message-Authenticator = 0x00000000000000000000000000000000 (5) State = 0xb8056b3bbd037e4b09117badccd65bb6 Sending Access-Challenge Id 5 from 127.0.0.1:1812 to 127.0.0.1:53911 EAP-Message = 0x0106004515800000003b140301000101160301003021c1ddb1e728b86d587f795a2f72ff6da47234d23a9006c288a958c2af4a8ec5ec4ffacc1aaae4fc0974d09460bf2ab4 Message-Authenticator = 0x00000000000000000000000000000000 State = 0xb8056b3bbd037e4b09117badccd65bb6 (5) Finished request Waking up in 0.3 seconds. Received Access-Request Id 6 from 127.0.0.1:53911 to 127.0.0.1:1812 length 306 User-Name = 'anonymous' NAS-IP-Address = 127.0.0.1 Calling-Station-Id = '02-00-00-00-00-01' Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11 Connect-Info = 'CONNECT 11Mbps 802.11b' EAP-Message = 0x020600b01500170301002084ea9238f865db48b42b92ac958d44ca355c452f266848b804378684438aad7a170301008066e64dde693d78067ed9eb6077a72c6641c9ed7930adf5ec36e18006dca7315d82a5a2d0d4b3bdec5fb06ffb2b28158f739b7e2232bef1bfb86c660496e935f257a8b321ad817bfa0fda8a78d988611b675218a57749aa2a1c8949f6b10fb998a551aed040fcbd624554ff1cc3ceac0f42287126d9d8912bfd5c5da3492f9afe State = 0xb8056b3bbd037e4b09117badccd65bb6 Message-Authenticator = 0xcbb70b1df241b11ad30455d8f5540c32 (6) Received Access-Request packet from host 127.0.0.1 port 53911, id=6, length=306 (6) User-Name = 'anonymous' (6) NAS-IP-Address = 127.0.0.1 (6) Calling-Station-Id = '02-00-00-00-00-01' (6) Framed-MTU = 1400 (6) NAS-Port-Type = Wireless-802.11 (6) Connect-Info = 'CONNECT 11Mbps 802.11b' (6) EAP-Message = 0x020600b01500170301002084ea9238f865db48b42b92ac958d44ca355c452f266848b804378684438aad7a170301008066e64dde693d78067ed9eb6077a72c6641c9ed7930adf5ec36e18006dca7315d82a5a2d0d4b3bdec5fb06ffb2b28158f739b7e2232bef1bfb86c660496e935f257a8b321ad817bfa0fda8a78d988611b675218a57749aa2a1c8949f6b10fb998a551aed040fcbd624554ff1cc3ceac0f42287126d9d8912bfd5c5da3492f9afe (6) State = 0xb8056b3bbd037e4b09117badccd65bb6 (6) Message-Authenticator = 0xcbb70b1df241b11ad30455d8f5540c32 (6) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default (6) authorize { (6) filter_username 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) } # filter_username 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 = "anonymous", looking up realm NULL (6) suffix : No such realm "NULL" (6) [suffix] = noop (6) eap : Peer sent code Response (2) ID 6 length 176 (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 0xb8056b3bbd037e4b (6) eap : Finished EAP session with state 0xb8056b3bbd037e4b (6) eap : Previous EAP request found for state 0xb8056b3bbd037e4b, released from the list (6) eap : Peer sent method TTLS (21) (6) eap : EAP TTLS (21) (6) eap : Calling eap_ttls to process EAP data (6) eap_ttls : Authenticate (6) eap_ttls : processing EAP-TLS (6) eap_ttls : eaptls_verify returned 7 (6) eap_ttls : Done initial handshake (6) eap_ttls : eaptls_process returned 7 (6) eap_ttls : Session established. Proceeding to decode tunneled attributes (6) eap_ttls : Got tunneled request User-Name = 'bob' MS-CHAP-Challenge = 0x2f3e438e52ee686d2b4cd3355348690a MS-CHAP2-Response = 0xa9004ad8b8fb8ea65ebfa44dc4757e5269610000000000000000c94ab2f306da828819235600a2113cc576cc6d53827cd185 (6) eap_ttls : Sending tunneled request (6) server inner-tunnel { (6) Request: User-Name = 'bob' MS-CHAP-Challenge = 0x2f3e438e52ee686d2b4cd3355348690a MS-CHAP2-Response = 0xa9004ad8b8fb8ea65ebfa44dc4757e5269610000000000000000c94ab2f306da828819235600a2113cc576cc6d53827cd185 (6) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/inner-tunnel (6) authorize { (6) [chap] = noop (6) mschap : Found MS-CHAP attributes. Setting 'Auth-Type = mschap' (6) [mschap] = ok (6) suffix : Checking for suffix after "@" (6) suffix : No '@' in User-Name = "bob", 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 : No EAP-Message, not doing EAP (6) [eap] = noop (6) files : users: Matched entry bob at line 88 (6) files : EXPAND Hello, %{User-Name} (6) files : --> Hello, bob (6) [files] = ok (6) [expiration] = noop (6) [logintime] = noop (6) WARNING: pap : Auth-Type already set. Not setting to PAP (6) [pap] = noop (6) } # authorize = ok (6) Found Auth-Type = MSCHAP (6) # Executing group from file /usr/local/etc/raddb/sites-enabled/inner-tunnel (6) Auth-Type MS-CHAP { (6) mschap : Found Cleartext-Password, hashing to create LM-Password (6) mschap : Found Cleartext-Password, hashing to create NT-Password (6) mschap : Creating challenge hash with username: bob (6) mschap : Client is using MS-CHAPv2 (6) mschap : Adding MS-CHAPv2 MPPE keys (6) [mschap] = ok (6) } # Auth-Type MS-CHAP = ok (6) # Executing section post-auth from file /usr/local/etc/raddb/sites-enabled/inner-tunnel (6) post-auth { (6) update outer.reply { (6) EXPAND %{request:User-Name} (6) --> bob (6) User-Name = "bob" (6) } # update outer.reply = noop (6) } # post-auth = noop (6) Reply: Reply-Message = 'Hello, bob' MS-CHAP2-Success = 0xa9533d42434330464436413831454436414141323838413043364530303333344134453943363238453834 MS-MPPE-Recv-Key = 0xe7ea3ecd0dc5e6590509921bf346908b MS-MPPE-Send-Key = 0x53fcf30bdc1da42883bd82ab30e14059 MS-MPPE-Encryption-Policy = Encryption-Allowed MS-MPPE-Encryption-Types = RC4-40or128-bit-Allowed (6) } # server inner-tunnel (6) eap_ttls : Got tunneled Access-Accept (6) eap_ttls : Got MS-CHAP2-Success, tunneling it to the client in a challenge (6) eap_ttls : sending tunneled reply attributes MS-CHAP2-Success = 0xa9533d42434330464436413831454436414141323838413043364530303333344134453943363238453834 (6) eap_ttls : end tunneled reply attributes (6) eap : New EAP session, adding 'State' attribute to reply 0xb8056b3bbe027e4b (6) [eap] = handled (6) } # authenticate = handled (6) Sending Access-Challenge packet to host 127.0.0.1 port 53911, id=6, length=0 (6) User-Name = 'bob' (6) EAP-Message = 0x0107005f1580000000551703010050235c6f82ac6d9cfa91457f1ee6d2219eb1ffeefe6cdfcc8b8adcd9648de093c2c1223adc01533e3f9cedb1072f26dc4e554f49fd4d950bfb856ef773e97e9d81a8bf2af706662675733c21ab961df649 (6) Message-Authenticator = 0x00000000000000000000000000000000 (6) State = 0xb8056b3bbe027e4b09117badccd65bb6 Sending Access-Challenge Id 6 from 127.0.0.1:1812 to 127.0.0.1:53911 User-Name = 'bob' EAP-Message = 0x0107005f1580000000551703010050235c6f82ac6d9cfa91457f1ee6d2219eb1ffeefe6cdfcc8b8adcd9648de093c2c1223adc01533e3f9cedb1072f26dc4e554f49fd4d950bfb856ef773e97e9d81a8bf2af706662675733c21ab961df649 Message-Authenticator = 0x00000000000000000000000000000000 State = 0xb8056b3bbe027e4b09117badccd65bb6 (6) Finished request Waking up in 0.3 seconds. Received Access-Request Id 7 from 127.0.0.1:53911 to 127.0.0.1:1812 length 136 User-Name = 'anonymous' NAS-IP-Address = 127.0.0.1 Calling-Station-Id = '02-00-00-00-00-01' Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11 Connect-Info = 'CONNECT 11Mbps 802.11b' EAP-Message = 0x020700061500 State = 0xb8056b3bbe027e4b09117badccd65bb6 Message-Authenticator = 0x966259fc36d079b4cb89e36c5d87674e (7) Received Access-Request packet from host 127.0.0.1 port 53911, id=7, length=136 (7) User-Name = 'anonymous' (7) NAS-IP-Address = 127.0.0.1 (7) Calling-Station-Id = '02-00-00-00-00-01' (7) Framed-MTU = 1400 (7) NAS-Port-Type = Wireless-802.11 (7) Connect-Info = 'CONNECT 11Mbps 802.11b' (7) EAP-Message = 0x020700061500 (7) State = 0xb8056b3bbe027e4b09117badccd65bb6 (7) Message-Authenticator = 0x966259fc36d079b4cb89e36c5d87674e (7) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default (7) authorize { (7) filter_username 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) } # filter_username 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 = "anonymous", looking up realm NULL (7) suffix : No such realm "NULL" (7) [suffix] = noop (7) eap : Peer sent code Response (2) ID 7 length 6 (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 0xb8056b3bbe027e4b (7) eap : Finished EAP session with state 0xb8056b3bbe027e4b (7) eap : Previous EAP request found for state 0xb8056b3bbe027e4b, released from the list (7) eap : Peer sent method TTLS (21) (7) eap : EAP TTLS (21) (7) eap : Calling eap_ttls to process EAP data (7) eap_ttls : Authenticate (7) eap_ttls : processing EAP-TLS (7) eap_ttls : Received TLS ACK (7) eap_ttls : Received TLS ACK (7) eap_ttls : ACK handshake is finished (7) eap_ttls : eaptls_verify returned 3 (7) eap_ttls : eaptls_process returned 3 (7) eap_ttls : Using saved attributes from the original Access-Accept (7) WARNING: eap_ttls : No information to cache: session caching will be disabled for session a8c123fda1cf6618790993cdfe6042834a948458e828dd2a0506c0a2d7f4b153 SSL: Removing session a8c123fda1cf6618790993cdfe6042834a948458e828dd2a0506c0a2d7f4b153 from the cache (7) eap : Freeing handler (7) [eap] = ok (7) } # authenticate = ok (7) # Executing section post-auth from file /usr/local/etc/raddb/sites-enabled/default (7) post-auth { (7) [exec] = noop (7) remove_reply_message_if_eap remove_reply_message_if_eap { (7) if (&reply:EAP-Message && reply:Reply-Message) (7) if (&reply:EAP-Message && reply:Reply-Message) -> FALSE (7) else else { (7) [noop] = noop (7) } # else else = noop (7) } # remove_reply_message_if_eap remove_reply_message_if_eap = noop (7) } # post-auth = noop (7) Sending Access-Accept packet to host 127.0.0.1 port 53911, id=7, length=0 (7) MS-MPPE-Recv-Key = 0x562f0a31b19420a754d082f098333a5537b8482f509de0a7b9c9e59e4ead86d5 (7) MS-MPPE-Send-Key = 0x52cfb258ede76eff40c3dc09cad19ee0540aec260efbdf32f00b8341c198087b (7) EAP-MSK = 0x562f0a31b19420a754d082f098333a5537b8482f509de0a7b9c9e59e4ead86d552cfb258ede76eff40c3dc09cad19ee0540aec260efbdf32f00b8341c198087b (7) EAP-EMSK = 0x55caa40d812fd8a419dbf2ed7fcb34cd77f14c08c57503ff9acdbbbc4b968dce3c2ffdb9d8ba573025275c57ac451da2e7b57659ce70c2eb7e63f1ed6878bd47 (7) EAP-Session-Id = 0x155401bd5bd4390981f7e43ac2f1dd015a0bf7f78e05c04441a793c58758159dd85401bd5bc0468d2964c159398f7d0ac3cf3257889f6b0bfbc6a200802002b4f5 (7) EAP-Message = 0x03070004 (7) Message-Authenticator = 0x00000000000000000000000000000000 (7) User-Name = 'anonymous' Sending Access-Accept Id 7 from 127.0.0.1:1812 to 127.0.0.1:53911 MS-MPPE-Recv-Key = 0x562f0a31b19420a754d082f098333a5537b8482f509de0a7b9c9e59e4ead86d5 MS-MPPE-Send-Key = 0x52cfb258ede76eff40c3dc09cad19ee0540aec260efbdf32f00b8341c198087b EAP-Message = 0x03070004 Message-Authenticator = 0x00000000000000000000000000000000 User-Name = 'anonymous' (7) Finished request Waking up in 0.2 seconds. Waking up in 4.6 seconds. (0) Cleaning up request packet ID 0 with timestamp +81 (1) Cleaning up request packet ID 1 with timestamp +81 (2) Cleaning up request packet ID 2 with timestamp +81 (3) Cleaning up request packet ID 3 with timestamp +81 (4) Cleaning up request packet ID 4 with timestamp +81 (5) Cleaning up request packet ID 5 with timestamp +81 (6) Cleaning up request packet ID 6 with timestamp +81 (7) Cleaning up request packet ID 7 with timestamp +81 Ready to process requests - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html Janet(UK) is a trading name of Jisc Collections and Janet Limited, a not-for-profit company which is registered in England under No. 2881024 and whose Registered Office is at Lumen House, Library Avenue, Harwell Oxford, Didcot, Oxfordshire. OX11 0SG. VAT No. 614944238
Oh, and Axel, I used to make the same mistake (using MSCHAPv2 instead of EAPMSCHAPv2). :-) Stefan ________________________________________ From: Stefan Paetow Sent: 30 August 2014 15:05 To: FreeRadius users mailing list Subject: RE: Not able to receive inner identity in Access-Accept in EAP-TTLS. Axel, Setting phase2 in EAPOL_TEST to "MSCHAPV2" does *not* set the inner authentication method to EAP-MSCHAPv2, which is what you will need for it to work. Set it to phase2="auth=EAPMSCHAPv2" Try that. It should be successful. Stefan ________________________________________ From: freeradius-users-bounces+stefan.paetow=ja.net@lists.freeradius.org [freeradius-users-bounces+stefan.paetow=ja.net@lists.freeradius.org] on behalf of Axel Luttgens [axel.luttgens@skynet.be] Sent: 30 August 2014 14:15 To: FreeRadius users mailing list Subject: Re: Not able to receive inner identity in Access-Accept in EAP-TTLS. Le 29 août 2014 à 11:48, Stefan Paetow a écrit :
My log excerpts provided examples of the problem I was facing with both TTLS-MSCHAPv2 and PEAP-MSCHAPv2; I also tried TTLS-PAP, with the same negative result.
I haven't seen any full debug logs (i.e. running radiusd -X and sending the list the complete output) from you... only snippets, which are not helpful without any context.
OK, here we go (should you reply to this message, please don't top post and please trim your reply). Starting with raddb as created at compile time: - uncomment the entry for "bob" in the users file - uncomment the "update outer.reply" section in file inner-tunnel Call eapol_test with: - eap=TTLS - phase2="auth=MSCHAPV2" It appears that the reply comes with the outer identity ("anonymous"), not the inner one ("bob"). (see output "WITH update outer.reply" hereafter) Let's then change FR's config: - in file inner-tunnel, replace "outer.reply" with "reply" - set use_tunneled_reply to "yes" in file eap Call eapol_test with the same settings as above. The reply now comes with the inner identity. (see output "WITH update reply / use_tunneled_reply=yes" in my next message) If someone could provide the rationale, I am very interested. :-)
To be sure, do you mean you really manage to retrieve the inner identity with the help of an "update outer.reply" only?
Yes. In the 'eap' module I have:
eap: default_eap_type = ttls
eap, ttls: default_eap_type = mschapv2 copy_request_to_tunnel = yes use_tunneled_reply = no
eap, peap: identical to eap, ttls.
In inner-tunnel, post-auth:
if (... comparison here irrelevant ...) { update outer.reply { User-Name := "%{Stripped-User-Name}" } } else { cui-inner }
Thanks for the details. Indeed, this shouldn't behave differently than with "update outer.reply" alone.
Works fine here...
One thing I did find when I used eapol_test (or more specifically, rad_eap_test, which calls eapol_test), I had to make sure I specified EAPMSCHAPv2 as the inner auth method. Just specifying MSCHAPv2 does not make it EAP-MSCHAPv2.
You're right; playing with various combinations for eapol_test, it seems that the "update outer.reply only" approach works for some of them. The problem is, the set of possible combinations is quite large... And the set of supplicants is quite large too. If possible, I would like to set up something that works always instead of sometimes. But I guess I'm not sufficiently versed in the intricacies of FR (and RADIUS and EAP and...). Axel WITH update outer.reply ======================= radiusd: FreeRADIUS Version 3.0.4, for host i386-apple-darwin12.5.0, built on Aug 15 2014 at 15:27:17 Copyright (C) 1999-2014 The FreeRADIUS server project and contributors There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE You may redistribute copies of FreeRADIUS under the terms of the GNU General Public License For more information about these matters, see the file named COPYRIGHT Starting - reading configuration files ... including dictionary file /usr/local/freeradius-3.0.4-b0bed69cd6/share/freeradius/dictionary including dictionary file /usr/local/freeradius-3.0.4-b0bed69cd6/share/freeradius/dictionary.dhcp including dictionary file /usr/local/freeradius-3.0.4-b0bed69cd6/share/freeradius/dictionary.vqp including dictionary file /usr/local/etc/raddb/dictionary including configuration file /usr/local/etc/raddb/radiusd.conf including configuration file /usr/local/etc/raddb/proxy.conf including configuration file /usr/local/etc/raddb/clients.conf including files in directory /usr/local/etc/raddb/mods-enabled/ including configuration file /usr/local/etc/raddb/mods-enabled/always including configuration file /usr/local/etc/raddb/mods-enabled/attr_filter including configuration file /usr/local/etc/raddb/mods-enabled/cache_eap including configuration file /usr/local/etc/raddb/mods-enabled/chap including configuration file /usr/local/etc/raddb/mods-enabled/detail including configuration file /usr/local/etc/raddb/mods-enabled/detail.log including configuration file /usr/local/etc/raddb/mods-enabled/dhcp including configuration file /usr/local/etc/raddb/mods-enabled/digest including configuration file /usr/local/etc/raddb/mods-enabled/dynamic_clients including configuration file /usr/local/etc/raddb/mods-enabled/eap including configuration file /usr/local/etc/raddb/mods-enabled/echo including configuration file /usr/local/etc/raddb/mods-enabled/exec including configuration file /usr/local/etc/raddb/mods-enabled/expiration including configuration file /usr/local/etc/raddb/mods-enabled/expr including configuration file /usr/local/etc/raddb/mods-enabled/files including configuration file /usr/local/etc/raddb/mods-enabled/linelog including configuration file /usr/local/etc/raddb/mods-enabled/logintime including configuration file /usr/local/etc/raddb/mods-enabled/mschap including configuration file /usr/local/etc/raddb/mods-enabled/ntlm_auth including configuration file /usr/local/etc/raddb/mods-enabled/pap including configuration file /usr/local/etc/raddb/mods-enabled/passwd including configuration file /usr/local/etc/raddb/mods-enabled/preprocess including configuration file /usr/local/etc/raddb/mods-enabled/radutmp including configuration file /usr/local/etc/raddb/mods-enabled/realm including configuration file /usr/local/etc/raddb/mods-enabled/replicate including configuration file /usr/local/etc/raddb/mods-enabled/soh including configuration file /usr/local/etc/raddb/mods-enabled/sradutmp including configuration file /usr/local/etc/raddb/mods-enabled/unix including configuration file /usr/local/etc/raddb/mods-enabled/unpack including configuration file /usr/local/etc/raddb/mods-enabled/utf8 including files in directory /usr/local/etc/raddb/policy.d/ including configuration file /usr/local/etc/raddb/policy.d/accounting including configuration file /usr/local/etc/raddb/policy.d/canonicalization including configuration file /usr/local/etc/raddb/policy.d/control including configuration file /usr/local/etc/raddb/policy.d/cui OPTIMIZING no yes --> FALSE OPTIMIZING no yes --> FALSE including configuration file /usr/local/etc/raddb/policy.d/dhcp including configuration file /usr/local/etc/raddb/policy.d/eap including configuration file /usr/local/etc/raddb/policy.d/filter including configuration file /usr/local/etc/raddb/policy.d/operator-name including files in directory /usr/local/etc/raddb/sites-enabled/ including configuration file /usr/local/etc/raddb/sites-enabled/default including configuration file /usr/local/etc/raddb/sites-enabled/inner-tunnel main { security { allow_core_dumps = no } } main { name = "radiusd" prefix = "/usr/local/freeradius-3.0.4-b0bed69cd6" localstatedir = "/usr/local/var" sbindir = "/usr/local/freeradius-3.0.4-b0bed69cd6/sbin" logdir = "/usr/local/var/log/radius" run_dir = "/usr/local/var/run/radiusd" libdir = "/usr/local/freeradius-3.0.4-b0bed69cd6/lib" radacctdir = "/usr/local/var/log/radius/radacct" hostname_lookups = no max_request_time = 30 cleanup_delay = 5 max_requests = 1024 pidfile = "/usr/local/var/run/radiusd/radiusd.pid" checkrad = "/usr/local/freeradius-3.0.4-b0bed69cd6/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" } security { max_attributes = 200 reject_delay = 1 status_server = yes allow_vulnerable_openssl = "no" } } radiusd: #### Loading Realms and Home Servers #### proxy server { retry_delay = 5 retry_count = 3 default_fallback = no dead_time = 120 wake_all_if_all_dead = no } home_server localhost { ipaddr = 127.0.0.1 port = 1812 type = "auth" secret = <<< secret >>> response_window = 20.000000 response_timeouts = 1 max_outstanding = 65536 zombie_period = 40 status_check = "status-server" ping_interval = 30 check_interval = 30 check_timeout = 4 num_answers_to_alive = 3 revive_interval = 120 coa { irt = 2 mrt = 16 mrc = 5 mrd = 30 } limit { max_connections = 16 max_requests = 0 lifetime = 0 idle_timeout = 0 } } 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 } } radiusd: #### Instantiating modules #### instantiate { } modules { # Loaded module rlm_always # Instantiating module "reject" from file /usr/local/etc/raddb/mods-enabled/always always reject { rcode = "reject" simulcount = 0 mpp = no } # Instantiating module "fail" from file /usr/local/etc/raddb/mods-enabled/always always fail { rcode = "fail" simulcount = 0 mpp = no } # Instantiating module "ok" from file /usr/local/etc/raddb/mods-enabled/always always ok { rcode = "ok" simulcount = 0 mpp = no } # Instantiating module "handled" from file /usr/local/etc/raddb/mods-enabled/always always handled { rcode = "handled" simulcount = 0 mpp = no } # Instantiating module "invalid" from file /usr/local/etc/raddb/mods-enabled/always always invalid { rcode = "invalid" simulcount = 0 mpp = no } # Instantiating module "userlock" from file /usr/local/etc/raddb/mods-enabled/always always userlock { rcode = "userlock" simulcount = 0 mpp = no } # Instantiating module "notfound" from file /usr/local/etc/raddb/mods-enabled/always always notfound { rcode = "notfound" simulcount = 0 mpp = no } # Instantiating module "noop" from file /usr/local/etc/raddb/mods-enabled/always always noop { rcode = "noop" simulcount = 0 mpp = no } # Instantiating module "updated" from file /usr/local/etc/raddb/mods-enabled/always always updated { rcode = "updated" simulcount = 0 mpp = no } # Loaded module rlm_attr_filter # Instantiating module "attr_filter.post-proxy" from file /usr/local/etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.post-proxy { filename = "/usr/local/etc/raddb/mods-config/attr_filter/post-proxy" key = "%{Realm}" relaxed = no } reading pairlist file /usr/local/etc/raddb/mods-config/attr_filter/post-proxy # Instantiating module "attr_filter.pre-proxy" from file /usr/local/etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.pre-proxy { filename = "/usr/local/etc/raddb/mods-config/attr_filter/pre-proxy" key = "%{Realm}" relaxed = no } reading pairlist file /usr/local/etc/raddb/mods-config/attr_filter/pre-proxy # Instantiating module "attr_filter.access_reject" from file /usr/local/etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.access_reject { filename = "/usr/local/etc/raddb/mods-config/attr_filter/access_reject" key = "%{User-Name}" relaxed = no } reading pairlist file /usr/local/etc/raddb/mods-config/attr_filter/access_reject # Instantiating module "attr_filter.access_challenge" from file /usr/local/etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.access_challenge { filename = "/usr/local/etc/raddb/mods-config/attr_filter/access_challenge" key = "%{User-Name}" relaxed = no } reading pairlist file /usr/local/etc/raddb/mods-config/attr_filter/access_challenge # Instantiating module "attr_filter.accounting_response" from file /usr/local/etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.accounting_response { filename = "/usr/local/etc/raddb/mods-config/attr_filter/accounting_response" key = "%{User-Name}" relaxed = no } reading pairlist file /usr/local/etc/raddb/mods-config/attr_filter/accounting_response # Loaded module rlm_cache # Instantiating module "cache_eap" from file /usr/local/etc/raddb/mods-enabled/cache_eap cache cache_eap { key = "%{%{control:State}:-%{%{reply:State}:-%{State}}}" ttl = 15 max_entries = 16384 epoch = 0 add_stats = no } # Loaded module rlm_chap # Instantiating module "chap" from file /usr/local/etc/raddb/mods-enabled/chap # Loaded module rlm_detail # Instantiating module "detail" from file /usr/local/etc/raddb/mods-enabled/detail detail { filename = "/usr/local/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d" header = "%t" permissions = 384 locking = no log_packet_header = no } # Instantiating module "auth_log" from file /usr/local/etc/raddb/mods-enabled/detail.log detail auth_log { filename = "/usr/local/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d" header = "%t" permissions = 384 locking = no log_packet_header = no } rlm_detail (auth_log): 'User-Password' suppressed, will not appear in detail output # Instantiating module "reply_log" from file /usr/local/etc/raddb/mods-enabled/detail.log detail reply_log { filename = "/usr/local/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/reply-detail-%Y%m%d" header = "%t" permissions = 384 locking = no log_packet_header = no } # Instantiating module "pre_proxy_log" from file /usr/local/etc/raddb/mods-enabled/detail.log detail pre_proxy_log { filename = "/usr/local/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/pre-proxy-detail-%Y%m%d" header = "%t" permissions = 384 locking = no log_packet_header = no } # Instantiating module "post_proxy_log" from file /usr/local/etc/raddb/mods-enabled/detail.log detail post_proxy_log { filename = "/usr/local/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/post-proxy-detail-%Y%m%d" header = "%t" permissions = 384 locking = no log_packet_header = no } # Loaded module rlm_dhcp # Instantiating module "dhcp" from file /usr/local/etc/raddb/mods-enabled/dhcp # Loaded module rlm_digest # Instantiating module "digest" from file /usr/local/etc/raddb/mods-enabled/digest # Loaded module rlm_dynamic_clients # Instantiating module "dynamic_clients" from file /usr/local/etc/raddb/mods-enabled/dynamic_clients # Loaded module rlm_eap # Instantiating module "eap" from file /usr/local/etc/raddb/mods-enabled/eap eap { default_eap_type = "md5" timer_expire = 60 ignore_unknown_eap_types = no mod_accounting_username_bug = no max_sessions = 1024 } # 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 = "/usr/local/etc/raddb/certs" pem_file_type = yes private_key_file = "/usr/local/etc/raddb/certs/server.pem" certificate_file = "/usr/local/etc/raddb/certs/server.pem" ca_file = "/usr/local/etc/raddb/certs/ca.pem" private_key_password = <<< secret >>> dh_file = "/usr/local/etc/raddb/certs/dh" fragment_size = 1024 include_length = yes check_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 = yes } } # Linked to sub-module rlm_eap_ttls ttls { tls = "tls-common" default_eap_type = "md5" copy_request_to_tunnel = no use_tunneled_reply = no virtual_server = "inner-tunnel" include_length = yes require_client_cert = no } Using cached TLS configuration from previous invocation # Linked to sub-module rlm_eap_peap peap { tls = "tls-common" default_method = "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 } Using cached TLS configuration from previous invocation # Linked to sub-module rlm_eap_mschapv2 mschapv2 { with_ntdomain_hack = no send_error = no } # Loaded module rlm_exec # Instantiating module "echo" from file /usr/local/etc/raddb/mods-enabled/echo exec echo { wait = yes program = "/bin/echo %{User-Name}" input_pairs = "request" output_pairs = "reply" shell_escape = yes } # Instantiating module "exec" from file /usr/local/etc/raddb/mods-enabled/exec exec { wait = no input_pairs = "request" shell_escape = yes timeout = 10 } # Loaded module rlm_expiration # Instantiating module "expiration" from file /usr/local/etc/raddb/mods-enabled/expiration # Loaded module rlm_expr # Instantiating module "expr" from file /usr/local/etc/raddb/mods-enabled/expr expr { safe_characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /" } # Loaded module rlm_files # Instantiating module "files" from file /usr/local/etc/raddb/mods-enabled/files files { filename = "/usr/local/etc/raddb/mods-config/files/authorize" usersfile = "/usr/local/etc/raddb/mods-config/files/authorize" acctusersfile = "/usr/local/etc/raddb/mods-config/files/accounting" preproxy_usersfile = "/usr/local/etc/raddb/mods-config/files/pre-proxy" compat = "cistron" } reading pairlist file /usr/local/etc/raddb/mods-config/files/authorize [/usr/local/etc/raddb/mods-config/files/authorize]:88 Cistron compatibility checks for entry bob ... [/usr/local/etc/raddb/mods-config/files/authorize]:182 Cistron compatibility checks for entry DEFAULT ... [/usr/local/etc/raddb/mods-config/files/authorize]:189 Cistron compatibility checks for entry DEFAULT ... [/usr/local/etc/raddb/mods-config/files/authorize]:196 Cistron compatibility checks for entry DEFAULT ... reading pairlist file /usr/local/etc/raddb/mods-config/files/authorize [/usr/local/etc/raddb/mods-config/files/authorize]:88 Cistron compatibility checks for entry bob ... [/usr/local/etc/raddb/mods-config/files/authorize]:182 Cistron compatibility checks for entry DEFAULT ... [/usr/local/etc/raddb/mods-config/files/authorize]:189 Cistron compatibility checks for entry DEFAULT ... [/usr/local/etc/raddb/mods-config/files/authorize]:196 Cistron compatibility checks for entry DEFAULT ... reading pairlist file /usr/local/etc/raddb/mods-config/files/accounting reading pairlist file /usr/local/etc/raddb/mods-config/files/pre-proxy # Loaded module rlm_linelog # Instantiating module "linelog" from file /usr/local/etc/raddb/mods-enabled/linelog linelog { filename = "/usr/local/var/log/radius/linelog" permissions = 384 format = "This is a log message for %{User-Name}" reference = "messages.%{%{Packet-Type}:-default}" } # Instantiating module "log_accounting" from file /usr/local/etc/raddb/mods-enabled/linelog linelog log_accounting { filename = "/usr/local/var/log/radius/linelog-accounting" permissions = 384 format = "" reference = "Accounting-Request.%{%{Acct-Status-Type}:-unknown}" } # Loaded module rlm_logintime # Instantiating module "logintime" from file /usr/local/etc/raddb/mods-enabled/logintime logintime { minimum_timeout = 60 } # Loaded module rlm_mschap # Instantiating module "mschap" from file /usr/local/etc/raddb/mods-enabled/mschap mschap { use_mppe = yes require_encryption = no require_strong = no with_ntdomain_hack = yes passchange { } allow_retry = yes } # Instantiating module "ntlm_auth" from file /usr/local/etc/raddb/mods-enabled/ntlm_auth exec ntlm_auth { wait = yes program = "/path/to/ntlm_auth --request-nt-key --domain=MYDOMAIN --username=%{mschap:User-Name} --password=%{User-Password}" shell_escape = yes } # Loaded module rlm_pap # Instantiating module "pap" from file /usr/local/etc/raddb/mods-enabled/pap pap { normalise = yes } # Loaded module rlm_passwd # Instantiating module "etc_passwd" from file /usr/local/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 } rlm_passwd: nfields: 3 keyfield 0(User-Name) listable: no # Loaded module rlm_preprocess # Instantiating module "preprocess" from file /usr/local/etc/raddb/mods-enabled/preprocess preprocess { huntgroups = "/usr/local/etc/raddb/mods-config/preprocess/huntgroups" hints = "/usr/local/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 } reading pairlist file /usr/local/etc/raddb/mods-config/preprocess/huntgroups reading pairlist file /usr/local/etc/raddb/mods-config/preprocess/hints # Loaded module rlm_radutmp # Instantiating module "radutmp" from file /usr/local/etc/raddb/mods-enabled/radutmp radutmp { filename = "/usr/local/var/log/radius/radutmp" username = "%{User-Name}" case_sensitive = yes check_with_nas = yes permissions = 384 caller_id = yes } # Loaded module rlm_realm # Instantiating module "IPASS" from file /usr/local/etc/raddb/mods-enabled/realm realm IPASS { format = "prefix" delimiter = "/" ignore_default = no ignore_null = no } # Instantiating module "suffix" from file /usr/local/etc/raddb/mods-enabled/realm realm suffix { format = "suffix" delimiter = "@" ignore_default = no ignore_null = no } # Instantiating module "realmpercent" from file /usr/local/etc/raddb/mods-enabled/realm realm realmpercent { format = "suffix" delimiter = "%" ignore_default = no ignore_null = no } # Instantiating module "ntdomain" from file /usr/local/etc/raddb/mods-enabled/realm realm ntdomain { format = "prefix" delimiter = "\" ignore_default = no ignore_null = no } # Loaded module rlm_replicate # Instantiating module "replicate" from file /usr/local/etc/raddb/mods-enabled/replicate # Loaded module rlm_soh # Instantiating module "soh" from file /usr/local/etc/raddb/mods-enabled/soh soh { dhcp = yes } # Instantiating module "sradutmp" from file /usr/local/etc/raddb/mods-enabled/sradutmp radutmp sradutmp { filename = "/usr/local/var/log/radius/sradutmp" username = "%{User-Name}" case_sensitive = yes check_with_nas = yes permissions = 420 caller_id = no } # Loaded module rlm_unix # Instantiating module "unix" from file /usr/local/etc/raddb/mods-enabled/unix unix { radwtmp = "/usr/local/var/log/radius/radwtmp" } # Loaded module rlm_unpack # Instantiating module "unpack" from file /usr/local/etc/raddb/mods-enabled/unpack # Loaded module rlm_utf8 # Instantiating module "utf8" from file /usr/local/etc/raddb/mods-enabled/utf8 } # modules radiusd: #### Loading Virtual Servers #### server { # from file /usr/local/etc/raddb/radiusd.conf } # server server default { # from file /usr/local/etc/raddb/sites-enabled/default # Creating Auth-Type = digest # 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 /usr/local/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 as server default Listening on acct address * port 1813 as server default Listening on auth address :: port 1812 as server default Listening on acct address :: port 1813 as server default Listening on auth address 127.0.0.1 port 18120 as server inner-tunnel Opening new proxy socket 'proxy address * port 0' Listening on proxy address * port 58707 Ready to process requests Received Access-Request Id 0 from 127.0.0.1:53911 to 127.0.0.1:1812 length 126 User-Name = 'anonymous' NAS-IP-Address = 127.0.0.1 Calling-Station-Id = '02-00-00-00-00-01' Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11 Connect-Info = 'CONNECT 11Mbps 802.11b' EAP-Message = 0x0200000e01616e6f6e796d6f7573 Message-Authenticator = 0x30bea35f2ef5243665b8f613eefc3cff (0) Received Access-Request packet from host 127.0.0.1 port 53911, id=0, length=126 (0) User-Name = 'anonymous' (0) NAS-IP-Address = 127.0.0.1 (0) Calling-Station-Id = '02-00-00-00-00-01' (0) Framed-MTU = 1400 (0) NAS-Port-Type = Wireless-802.11 (0) Connect-Info = 'CONNECT 11Mbps 802.11b' (0) EAP-Message = 0x0200000e01616e6f6e796d6f7573 (0) Message-Authenticator = 0x30bea35f2ef5243665b8f613eefc3cff (0) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default (0) authorize { (0) filter_username 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) } # filter_username 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 = "anonymous", looking up realm NULL (0) suffix : No such realm "NULL" (0) [suffix] = noop (0) eap : Peer sent code Response (2) ID 0 length 14 (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 /usr/local/etc/raddb/sites-enabled/default (0) authenticate { (0) eap : Peer sent method Identity (1) (0) eap : Calling eap_md5 to process EAP data (0) eap_md5 : Issuing MD5 Challenge (0) eap : New EAP session, adding 'State' attribute to reply 0xb8056b3bb8046f4b (0) [eap] = handled (0) } # authenticate = handled (0) Sending Access-Challenge packet to host 127.0.0.1 port 53911, id=0, length=0 (0) EAP-Message = 0x010100160410b0fe1ca94a1bbe2bcd6af2aab4ba77de (0) Message-Authenticator = 0x00000000000000000000000000000000 (0) State = 0xb8056b3bb8046f4b09117badccd65bb6 Sending Access-Challenge Id 0 from 127.0.0.1:1812 to 127.0.0.1:53911 EAP-Message = 0x010100160410b0fe1ca94a1bbe2bcd6af2aab4ba77de Message-Authenticator = 0x00000000000000000000000000000000 State = 0xb8056b3bb8046f4b09117badccd65bb6 (0) Finished request Waking up in 0.3 seconds. Received Access-Request Id 1 from 127.0.0.1:53911 to 127.0.0.1:1812 length 136 User-Name = 'anonymous' NAS-IP-Address = 127.0.0.1 Calling-Station-Id = '02-00-00-00-00-01' Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11 Connect-Info = 'CONNECT 11Mbps 802.11b' EAP-Message = 0x020100060315 State = 0xb8056b3bb8046f4b09117badccd65bb6 Message-Authenticator = 0x0f5671705cb2eff04359f4f6c10ed795 (1) Received Access-Request packet from host 127.0.0.1 port 53911, id=1, length=136 (1) User-Name = 'anonymous' (1) NAS-IP-Address = 127.0.0.1 (1) Calling-Station-Id = '02-00-00-00-00-01' (1) Framed-MTU = 1400 (1) NAS-Port-Type = Wireless-802.11 (1) Connect-Info = 'CONNECT 11Mbps 802.11b' (1) EAP-Message = 0x020100060315 (1) State = 0xb8056b3bb8046f4b09117badccd65bb6 (1) Message-Authenticator = 0x0f5671705cb2eff04359f4f6c10ed795 (1) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default (1) authorize { (1) filter_username 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) } # filter_username 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 = "anonymous", looking up realm NULL (1) suffix : No such realm "NULL" (1) [suffix] = noop (1) eap : Peer sent code Response (2) ID 1 length 6 (1) eap : No EAP Start, assuming it's an on-going EAP conversation (1) [eap] = updated (1) [files] = noop (1) [expiration] = noop (1) [logintime] = noop (1) WARNING: pap : No "known good" password found for the user. Not setting Auth-Type (1) WARNING: pap : Authentication will fail unless a "known good" password is available (1) [pap] = noop (1) } # authorize = updated (1) Found Auth-Type = EAP (1) # Executing group from file /usr/local/etc/raddb/sites-enabled/default (1) authenticate { (1) eap : Expiring EAP session with state 0xb8056b3bb8046f4b (1) eap : Finished EAP session with state 0xb8056b3bb8046f4b (1) eap : Previous EAP request found for state 0xb8056b3bb8046f4b, released from the list (1) eap : Peer sent method NAK (3) (1) eap : Found mutually acceptable type TTLS (21) (1) eap : Calling eap_ttls to process EAP data (1) eap_ttls : Flushing SSL sessions (of #0) (1) eap_ttls : Initiate (1) eap_ttls : Start returned 1 (1) eap : New EAP session, adding 'State' attribute to reply 0xb8056b3bb9077e4b (1) [eap] = handled (1) } # authenticate = handled (1) Sending Access-Challenge packet to host 127.0.0.1 port 53911, id=1, length=0 (1) EAP-Message = 0x010200061520 (1) Message-Authenticator = 0x00000000000000000000000000000000 (1) State = 0xb8056b3bb9077e4b09117badccd65bb6 Sending Access-Challenge Id 1 from 127.0.0.1:1812 to 127.0.0.1:53911 EAP-Message = 0x010200061520 Message-Authenticator = 0x00000000000000000000000000000000 State = 0xb8056b3bb9077e4b09117badccd65bb6 (1) Finished request Waking up in 0.3 seconds. Received Access-Request Id 2 from 127.0.0.1:53911 to 127.0.0.1:1812 length 230 User-Name = 'anonymous' NAS-IP-Address = 127.0.0.1 Calling-Station-Id = '02-00-00-00-00-01' Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11 Connect-Info = 'CONNECT 11Mbps 802.11b' EAP-Message = 0x02020064150016030100590100005503015401bd5bd4390981f7e43ac2f1dd015a0bf7f78e05c04441a793c58758159dd800002e00390038003500160013000a00330032002f009a00990096000500040015001200090014001100080006000300ff0100 State = 0xb8056b3bb9077e4b09117badccd65bb6 Message-Authenticator = 0x23855de8025c4999d346aa2a6c7674a4 (2) Received Access-Request packet from host 127.0.0.1 port 53911, id=2, length=230 (2) User-Name = 'anonymous' (2) NAS-IP-Address = 127.0.0.1 (2) Calling-Station-Id = '02-00-00-00-00-01' (2) Framed-MTU = 1400 (2) NAS-Port-Type = Wireless-802.11 (2) Connect-Info = 'CONNECT 11Mbps 802.11b' (2) EAP-Message = 0x02020064150016030100590100005503015401bd5bd4390981f7e43ac2f1dd015a0bf7f78e05c04441a793c58758159dd800002e00390038003500160013000a00330032002f009a00990096000500040015001200090014001100080006000300ff0100 (2) State = 0xb8056b3bb9077e4b09117badccd65bb6 (2) Message-Authenticator = 0x23855de8025c4999d346aa2a6c7674a4 (2) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default (2) authorize { (2) filter_username filter_username { (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 =~ /\\.\\./ ) (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) } # filter_username 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 = "anonymous", looking up realm NULL (2) suffix : No such realm "NULL" (2) [suffix] = noop (2) eap : Peer sent code Response (2) ID 2 length 100 (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 0xb8056b3bb9077e4b (2) eap : Finished EAP session with state 0xb8056b3bb9077e4b (2) eap : Previous EAP request found for state 0xb8056b3bb9077e4b, released from the list (2) eap : Peer sent method TTLS (21) (2) eap : EAP TTLS (21) (2) eap : Calling eap_ttls to process EAP data (2) eap_ttls : Authenticate (2) eap_ttls : processing EAP-TLS (2) eap_ttls : eaptls_verify returned 7 (2) eap_ttls : Done initial handshake (2) eap_ttls : (other): before/accept initialization (2) eap_ttls : TLS_accept: before/accept initialization (2) eap_ttls : <<< TLS 1.0 Handshake [length 0059], ClientHello (2) eap_ttls : TLS_accept: SSLv3 read client hello A (2) eap_ttls : >>> TLS 1.0 Handshake [length 0051], ServerHello (2) eap_ttls : TLS_accept: SSLv3 write server hello A (2) eap_ttls : >>> TLS 1.0 Handshake [length 08d0], Certificate (2) eap_ttls : TLS_accept: SSLv3 write certificate A (2) eap_ttls : >>> TLS 1.0 Handshake [length 020d], ServerKeyExchange (2) eap_ttls : TLS_accept: SSLv3 write key exchange A (2) eap_ttls : >>> TLS 1.0 Handshake [length 0004], ServerHelloDone (2) eap_ttls : TLS_accept: SSLv3 write server done A (2) eap_ttls : TLS_accept: SSLv3 flush data (2) eap_ttls : TLS_accept: Need to read more data: SSLv3 read client certificate A In SSL Handshake Phase In SSL Accept mode (2) eap_ttls : eaptls_process returned 13 (2) eap : New EAP session, adding 'State' attribute to reply 0xb8056b3bba067e4b (2) [eap] = handled (2) } # authenticate = handled (2) Sending Access-Challenge packet to host 127.0.0.1 port 53911, id=2, length=0 (2) EAP-Message = 0x010303ec15c000000b4616030100510200004d03015401bd5bc0468d2964c159398f7d0ac3cf3257889f6b0bfbc6a200802002b4f520a8c123fda1cf6618790993cdfe6042834a948458e828dd2a0506c0a2d7f4b1530039000005ff0100010016030108d00b0008cc0008c90003de308203da308202c2a003020102020101300d06092a864886f70d01010b0500308193310b3009060355040613024652310f300d060355040813065261646975733112301006035504071309536f6d65776865726531153013060355040a130c4578616d706c6520496e632e3120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d312630240603550403131d4578616d706c6520436572746966696361746520417574686f72697479301e170d3134303831353133343432375a170d3134313031343133343432375a307c310b3009060355040613024652310f300d0603550408130652616469757331153013060355040a130c4578616d706c6520496e632e312330210603550403131a4578616d706c65205365727665722043657274696669636174653120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d30820122300d06092a864886f70d01010105000382010f003082010a0282010100a48017f952242bdca72b30cd557cdb1bf724e1b8 (2) Message-Authenticator = 0x00000000000000000000000000000000 (2) State = 0xb8056b3bba067e4b09117badccd65bb6 Sending Access-Challenge Id 2 from 127.0.0.1:1812 to 127.0.0.1:53911 EAP-Message = 0x010303ec15c000000b4616030100510200004d03015401bd5bc0468d2964c159398f7d0ac3cf3257889f6b0bfbc6a200802002b4f520a8c123fda1cf6618790993cdfe6042834a948458e828dd2a0506c0a2d7f4b1530039000005ff0100010016030108d00b0008cc0008c90003de308203da308202c2a003020102020101300d06092a864886f70d01010b0500308193310b3009060355040613024652310f300d060355040813065261646975733112301006035504071309536f6d65776865726531153013060355040a130c4578616d706c6520496e632e3120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d312630240603550403131d4578616d706c6520436572746966696361746520417574686f72697479301e170d3134303831353133343432375a170d3134313031343133343432375a307c310b3009060355040613024652310f300d0603550408130652616469757331153013060355040a130c4578616d706c6520496e632e312330210603550403131a4578616d706c65205365727665722043657274696669636174653120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d30820122300d06092a864886f70d01010105000382010f003082010a0282010100a48017f952242bdca72b30cd557cdb1bf724e1b Message-Authenticator = 0x00000000000000000000000000000000 State = 0xb8056b3bba067e4b09117badccd65bb6 (2) Finished request Waking up in 0.3 seconds. Received Access-Request Id 3 from 127.0.0.1:53911 to 127.0.0.1:1812 length 136 User-Name = 'anonymous' NAS-IP-Address = 127.0.0.1 Calling-Station-Id = '02-00-00-00-00-01' Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11 Connect-Info = 'CONNECT 11Mbps 802.11b' EAP-Message = 0x020300061500 State = 0xb8056b3bba067e4b09117badccd65bb6 Message-Authenticator = 0x312f78189b4826a001cbff6eb4d28105 (3) Received Access-Request packet from host 127.0.0.1 port 53911, id=3, length=136 (3) User-Name = 'anonymous' (3) NAS-IP-Address = 127.0.0.1 (3) Calling-Station-Id = '02-00-00-00-00-01' (3) Framed-MTU = 1400 (3) NAS-Port-Type = Wireless-802.11 (3) Connect-Info = 'CONNECT 11Mbps 802.11b' (3) EAP-Message = 0x020300061500 (3) State = 0xb8056b3bba067e4b09117badccd65bb6 (3) Message-Authenticator = 0x312f78189b4826a001cbff6eb4d28105 (3) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default (3) authorize { (3) filter_username 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) } # filter_username 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 = "anonymous", looking up realm NULL (3) suffix : No such realm "NULL" (3) [suffix] = noop (3) eap : Peer sent code Response (2) ID 3 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 0xb8056b3bba067e4b (3) eap : Finished EAP session with state 0xb8056b3bba067e4b (3) eap : Previous EAP request found for state 0xb8056b3bba067e4b, released from the list (3) eap : Peer sent method TTLS (21) (3) eap : EAP TTLS (21) (3) eap : Calling eap_ttls to process EAP data (3) eap_ttls : Authenticate (3) eap_ttls : processing EAP-TLS (3) eap_ttls : Received TLS ACK (3) eap_ttls : Received TLS ACK (3) eap_ttls : ACK handshake fragment handler (3) eap_ttls : eaptls_verify returned 1 (3) eap_ttls : eaptls_process returned 13 (3) eap : New EAP session, adding 'State' attribute to reply 0xb8056b3bbb017e4b (3) [eap] = handled (3) } # authenticate = handled (3) Sending Access-Challenge packet to host 127.0.0.1 port 53911, id=3, length=0 (3) EAP-Message = 0x010403ec15c000000b4634fc195e9514be0d5627ea555805674e578e5c04b44c42f0a1e475a5d66cb59588fdf37daa69de99b643a5e195ba76d2a66fd3c9fa97b022602ebfedf632c000d2915ea8820a249055733463352eea0ed88a8313df8b34e9ba621a2e632f162ea10004e5308204e1308203c9a0030201020209008f45b6163e5d5433300d06092a864886f70d0101050500308193310b3009060355040613024652310f300d060355040813065261646975733112301006035504071309536f6d65776865726531153013060355040a130c4578616d706c6520496e632e3120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d312630240603550403131d4578616d706c6520436572746966696361746520417574686f72697479301e170d3134303831353133343432375a170d3134313031343133343432375a308193310b3009060355040613024652310f300d060355040813065261646975733112301006035504071309536f6d65776865726531153013060355040a130c4578616d706c6520496e632e3120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d312630240603550403131d4578616d706c6520436572746966696361746520417574686f7269747930820122300d06092a864886f70d0101010500038201 (3) Message-Authenticator = 0x00000000000000000000000000000000 (3) State = 0xb8056b3bbb017e4b09117badccd65bb6 Sending Access-Challenge Id 3 from 127.0.0.1:1812 to 127.0.0.1:53911 EAP-Message = 0x010403ec15c000000b4634fc195e9514be0d5627ea555805674e578e5c04b44c42f0a1e475a5d66cb59588fdf37daa69de99b643a5e195ba76d2a66fd3c9fa97b022602ebfedf632c000d2915ea8820a249055733463352eea0ed88a8313df8b34e9ba621a2e632f162ea10004e5308204e1308203c9a0030201020209008f45b6163e5d5433300d06092a864886f70d0101050500308193310b3009060355040613024652310f300d060355040813065261646975733112301006035504071309536f6d65776865726531153013060355040a130c4578616d706c6520496e632e3120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d312630240603550403131d4578616d706c6520436572746966696361746520417574686f72697479301e170d3134303831353133343432375a170d3134313031343133343432375a308193310b3009060355040613024652310f300d060355040813065261646975733112301006035504071309536f6d65776865726531153013060355040a130c4578616d706c6520496e632e3120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d312630240603550403131d4578616d706c6520436572746966696361746520417574686f7269747930820122300d06092a864886f70d010101050003820 Message-Authenticator = 0x00000000000000000000000000000000 State = 0xb8056b3bbb017e4b09117badccd65bb6 (3) Finished request Waking up in 0.3 seconds. Received Access-Request Id 4 from 127.0.0.1:53911 to 127.0.0.1:1812 length 136 User-Name = 'anonymous' NAS-IP-Address = 127.0.0.1 Calling-Station-Id = '02-00-00-00-00-01' Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11 Connect-Info = 'CONNECT 11Mbps 802.11b' EAP-Message = 0x020400061500 State = 0xb8056b3bbb017e4b09117badccd65bb6 Message-Authenticator = 0x2cfbd40946326558240fd06ebea5c741 (4) Received Access-Request packet from host 127.0.0.1 port 53911, id=4, length=136 (4) User-Name = 'anonymous' (4) NAS-IP-Address = 127.0.0.1 (4) Calling-Station-Id = '02-00-00-00-00-01' (4) Framed-MTU = 1400 (4) NAS-Port-Type = Wireless-802.11 (4) Connect-Info = 'CONNECT 11Mbps 802.11b' (4) EAP-Message = 0x020400061500 (4) State = 0xb8056b3bbb017e4b09117badccd65bb6 (4) Message-Authenticator = 0x2cfbd40946326558240fd06ebea5c741 (4) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default (4) authorize { (4) filter_username 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) } # filter_username 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 = "anonymous", looking up realm NULL (4) suffix : No such realm "NULL" (4) [suffix] = noop (4) eap : Peer sent code Response (2) ID 4 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 0xb8056b3bbb017e4b (4) eap : Finished EAP session with state 0xb8056b3bbb017e4b (4) eap : Previous EAP request found for state 0xb8056b3bbb017e4b, released from the list (4) eap : Peer sent method TTLS (21) (4) eap : EAP TTLS (21) (4) eap : Calling eap_ttls to process EAP data (4) eap_ttls : Authenticate (4) eap_ttls : processing EAP-TLS (4) eap_ttls : Received TLS ACK (4) eap_ttls : Received TLS ACK (4) eap_ttls : ACK handshake fragment handler (4) eap_ttls : eaptls_verify returned 1 (4) eap_ttls : eaptls_process returned 13 (4) eap : New EAP session, adding 'State' attribute to reply 0xb8056b3bbc007e4b (4) [eap] = handled (4) } # authenticate = handled (4) Sending Access-Challenge packet to host 127.0.0.1 port 53911, id=4, length=0 (4) EAP-Message = 0x0105038c158000000b4674798209008f45b6163e5d5433300c0603551d13040530030101ff30360603551d1f042f302d302ba029a0278625687474703a2f2f7777772e6578616d706c652e636f6d2f6578616d706c655f63612e63726c300d06092a864886f70d010105050003820101007128b4a10a338211884ee9625da069d31967642bc941980bf3d8e6772593fa86be2ca278aa5cf49f6f363ffc0fa52562555d4425c1d71acdf600281d0a101920abe5ee7cd65e27e7228417dde91a45a970ffb194ae6a167ecd39e83c90363e8422c1d1e0fd847203ad8c8c309f9dac5441677bdc1f9e465ddf1ef82936aacc32f6edd5f46cd2375c24d07826dad02ec38ed53611c25bee3acb84f2c24f528ec17088d843c01ba79f77ec434a2f6c2897e03094ad1e6cb1da0d33cf732c462d99ee69c4c5a4c125e15f136432911154cb57a8f4d9ab457b1f6833bd2f0d8fd2cada0388ad7708ee6e72a691950a2df9ff0c6cb9558e77d833fe7b2aeaa407b0da160301020d0c0002090080abea38c938833b93e080655701d1459dd30b961b9591209e1a3d07f69b9994eda85142b80232469fc455b0e60cc9e979624025ee6bd54f082f48d743b9ee1e2091d352b6358ff5e3c698218b2d84f1d83a7364751c606567917ade57cc55856f6a5b07bc02d538190c86cd8956ae7deb95de064566bb11a4eece20 (4) Message-Authenticator = 0x00000000000000000000000000000000 (4) State = 0xb8056b3bbc007e4b09117badccd65bb6 Sending Access-Challenge Id 4 from 127.0.0.1:1812 to 127.0.0.1:53911 EAP-Message = 0x0105038c158000000b4674798209008f45b6163e5d5433300c0603551d13040530030101ff30360603551d1f042f302d302ba029a0278625687474703a2f2f7777772e6578616d706c652e636f6d2f6578616d706c655f63612e63726c300d06092a864886f70d010105050003820101007128b4a10a338211884ee9625da069d31967642bc941980bf3d8e6772593fa86be2ca278aa5cf49f6f363ffc0fa52562555d4425c1d71acdf600281d0a101920abe5ee7cd65e27e7228417dde91a45a970ffb194ae6a167ecd39e83c90363e8422c1d1e0fd847203ad8c8c309f9dac5441677bdc1f9e465ddf1ef82936aacc32f6edd5f46cd2375c24d07826dad02ec38ed53611c25bee3acb84f2c24f528ec17088d843c01ba79f77ec434a2f6c2897e03094ad1e6cb1da0d33cf732c462d99ee69c4c5a4c125e15f136432911154cb57a8f4d9ab457b1f6833bd2f0d8fd2cada0388ad7708ee6e72a691950a2df9ff0c6cb9558e77d833fe7b2aeaa407b0da160301020d0c0002090080abea38c938833b93e080655701d1459dd30b961b9591209e1a3d07f69b9994eda85142b80232469fc455b0e60cc9e979624025ee6bd54f082f48d743b9ee1e2091d352b6358ff5e3c698218b2d84f1d83a7364751c606567917ade57cc55856f6a5b07bc02d538190c86cd8956ae7deb95de064566bb11a4eece2 Message-Authenticator = 0x00000000000000000000000000000000 State = 0xb8056b3bbc007e4b09117badccd65bb6 (4) Finished request Waking up in 0.3 seconds. Received Access-Request Id 5 from 127.0.0.1:53911 to 127.0.0.1:1812 length 334 User-Name = 'anonymous' NAS-IP-Address = 127.0.0.1 Calling-Station-Id = '02-00-00-00-00-01' Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11 Connect-Info = 'CONNECT 11Mbps 802.11b' EAP-Message = 0x020500cc150016030100861000008200805d52f2a81b7d21d8a01e84e521e0f80dbc0077726aaa43b837bb4ce9c6c2befc7ceaba7ed8f2c53caa31dfc2f487ce33406cd96785851f0b5ca72a257c0c44df6e9c8e24cab605f26e15a0e37c9a58b6cb5783d2f4762ca899694e3fecea1b4867f2b0f606d7610d3eb1b7d502be2bba51f5b153ee5ca85547b1edf5ddd72e18140301000101160301003012d689949e6713488d5788f7c1f09d2cd14a46116020cf9f33f096ad78ff286b897e8cb27059f7c216a0343a0a6dc3c0 State = 0xb8056b3bbc007e4b09117badccd65bb6 Message-Authenticator = 0x7bfd995088c61dc73cb1a8a9eea5db22 (5) Received Access-Request packet from host 127.0.0.1 port 53911, id=5, length=334 (5) User-Name = 'anonymous' (5) NAS-IP-Address = 127.0.0.1 (5) Calling-Station-Id = '02-00-00-00-00-01' (5) Framed-MTU = 1400 (5) NAS-Port-Type = Wireless-802.11 (5) Connect-Info = 'CONNECT 11Mbps 802.11b' (5) EAP-Message = 0x020500cc150016030100861000008200805d52f2a81b7d21d8a01e84e521e0f80dbc0077726aaa43b837bb4ce9c6c2befc7ceaba7ed8f2c53caa31dfc2f487ce33406cd96785851f0b5ca72a257c0c44df6e9c8e24cab605f26e15a0e37c9a58b6cb5783d2f4762ca899694e3fecea1b4867f2b0f606d7610d3eb1b7d502be2bba51f5b153ee5ca85547b1edf5ddd72e18140301000101160301003012d689949e6713488d5788f7c1f09d2cd14a46116020cf9f33f096ad78ff286b897e8cb27059f7c216a0343a0a6dc3c0 (5) State = 0xb8056b3bbc007e4b09117badccd65bb6 (5) Message-Authenticator = 0x7bfd995088c61dc73cb1a8a9eea5db22 (5) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default (5) authorize { (5) filter_username 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) } # filter_username 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 = "anonymous", looking up realm NULL (5) suffix : No such realm "NULL" (5) [suffix] = noop (5) eap : Peer sent code Response (2) ID 5 length 204 (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 0xb8056b3bbc007e4b (5) eap : Finished EAP session with state 0xb8056b3bbc007e4b (5) eap : Previous EAP request found for state 0xb8056b3bbc007e4b, released from the list (5) eap : Peer sent method TTLS (21) (5) eap : EAP TTLS (21) (5) eap : Calling eap_ttls to process EAP data (5) eap_ttls : Authenticate (5) eap_ttls : processing EAP-TLS (5) eap_ttls : eaptls_verify returned 7 (5) eap_ttls : Done initial handshake (5) eap_ttls : <<< TLS 1.0 Handshake [length 0086], ClientKeyExchange (5) eap_ttls : TLS_accept: SSLv3 read client key exchange A (5) eap_ttls : <<< TLS 1.0 ChangeCipherSpec [length 0001] (5) eap_ttls : <<< TLS 1.0 Handshake [length 0010], Finished (5) eap_ttls : TLS_accept: SSLv3 read finished A (5) eap_ttls : >>> TLS 1.0 ChangeCipherSpec [length 0001] (5) eap_ttls : TLS_accept: SSLv3 write change cipher spec A (5) eap_ttls : >>> TLS 1.0 Handshake [length 0010], Finished (5) eap_ttls : TLS_accept: SSLv3 write finished A (5) eap_ttls : TLS_accept: SSLv3 flush data SSL: adding session a8c123fda1cf6618790993cdfe6042834a948458e828dd2a0506c0a2d7f4b153 to cache (5) eap_ttls : (other): SSL negotiation finished successfully SSL Connection Established (5) eap_ttls : eaptls_process returned 13 (5) eap : New EAP session, adding 'State' attribute to reply 0xb8056b3bbd037e4b (5) [eap] = handled (5) } # authenticate = handled (5) Sending Access-Challenge packet to host 127.0.0.1 port 53911, id=5, length=0 (5) EAP-Message = 0x0106004515800000003b140301000101160301003021c1ddb1e728b86d587f795a2f72ff6da47234d23a9006c288a958c2af4a8ec5ec4ffacc1aaae4fc0974d09460bf2ab4 (5) Message-Authenticator = 0x00000000000000000000000000000000 (5) State = 0xb8056b3bbd037e4b09117badccd65bb6 Sending Access-Challenge Id 5 from 127.0.0.1:1812 to 127.0.0.1:53911 EAP-Message = 0x0106004515800000003b140301000101160301003021c1ddb1e728b86d587f795a2f72ff6da47234d23a9006c288a958c2af4a8ec5ec4ffacc1aaae4fc0974d09460bf2ab4 Message-Authenticator = 0x00000000000000000000000000000000 State = 0xb8056b3bbd037e4b09117badccd65bb6 (5) Finished request Waking up in 0.3 seconds. Received Access-Request Id 6 from 127.0.0.1:53911 to 127.0.0.1:1812 length 306 User-Name = 'anonymous' NAS-IP-Address = 127.0.0.1 Calling-Station-Id = '02-00-00-00-00-01' Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11 Connect-Info = 'CONNECT 11Mbps 802.11b' EAP-Message = 0x020600b01500170301002084ea9238f865db48b42b92ac958d44ca355c452f266848b804378684438aad7a170301008066e64dde693d78067ed9eb6077a72c6641c9ed7930adf5ec36e18006dca7315d82a5a2d0d4b3bdec5fb06ffb2b28158f739b7e2232bef1bfb86c660496e935f257a8b321ad817bfa0fda8a78d988611b675218a57749aa2a1c8949f6b10fb998a551aed040fcbd624554ff1cc3ceac0f42287126d9d8912bfd5c5da3492f9afe State = 0xb8056b3bbd037e4b09117badccd65bb6 Message-Authenticator = 0xcbb70b1df241b11ad30455d8f5540c32 (6) Received Access-Request packet from host 127.0.0.1 port 53911, id=6, length=306 (6) User-Name = 'anonymous' (6) NAS-IP-Address = 127.0.0.1 (6) Calling-Station-Id = '02-00-00-00-00-01' (6) Framed-MTU = 1400 (6) NAS-Port-Type = Wireless-802.11 (6) Connect-Info = 'CONNECT 11Mbps 802.11b' (6) EAP-Message = 0x020600b01500170301002084ea9238f865db48b42b92ac958d44ca355c452f266848b804378684438aad7a170301008066e64dde693d78067ed9eb6077a72c6641c9ed7930adf5ec36e18006dca7315d82a5a2d0d4b3bdec5fb06ffb2b28158f739b7e2232bef1bfb86c660496e935f257a8b321ad817bfa0fda8a78d988611b675218a57749aa2a1c8949f6b10fb998a551aed040fcbd624554ff1cc3ceac0f42287126d9d8912bfd5c5da3492f9afe (6) State = 0xb8056b3bbd037e4b09117badccd65bb6 (6) Message-Authenticator = 0xcbb70b1df241b11ad30455d8f5540c32 (6) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default (6) authorize { (6) filter_username 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) } # filter_username 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 = "anonymous", looking up realm NULL (6) suffix : No such realm "NULL" (6) [suffix] = noop (6) eap : Peer sent code Response (2) ID 6 length 176 (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 0xb8056b3bbd037e4b (6) eap : Finished EAP session with state 0xb8056b3bbd037e4b (6) eap : Previous EAP request found for state 0xb8056b3bbd037e4b, released from the list (6) eap : Peer sent method TTLS (21) (6) eap : EAP TTLS (21) (6) eap : Calling eap_ttls to process EAP data (6) eap_ttls : Authenticate (6) eap_ttls : processing EAP-TLS (6) eap_ttls : eaptls_verify returned 7 (6) eap_ttls : Done initial handshake (6) eap_ttls : eaptls_process returned 7 (6) eap_ttls : Session established. Proceeding to decode tunneled attributes (6) eap_ttls : Got tunneled request User-Name = 'bob' MS-CHAP-Challenge = 0x2f3e438e52ee686d2b4cd3355348690a MS-CHAP2-Response = 0xa9004ad8b8fb8ea65ebfa44dc4757e5269610000000000000000c94ab2f306da828819235600a2113cc576cc6d53827cd185 (6) eap_ttls : Sending tunneled request (6) server inner-tunnel { (6) Request: User-Name = 'bob' MS-CHAP-Challenge = 0x2f3e438e52ee686d2b4cd3355348690a MS-CHAP2-Response = 0xa9004ad8b8fb8ea65ebfa44dc4757e5269610000000000000000c94ab2f306da828819235600a2113cc576cc6d53827cd185 (6) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/inner-tunnel (6) authorize { (6) [chap] = noop (6) mschap : Found MS-CHAP attributes. Setting 'Auth-Type = mschap' (6) [mschap] = ok (6) suffix : Checking for suffix after "@" (6) suffix : No '@' in User-Name = "bob", 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 : No EAP-Message, not doing EAP (6) [eap] = noop (6) files : users: Matched entry bob at line 88 (6) files : EXPAND Hello, %{User-Name} (6) files : --> Hello, bob (6) [files] = ok (6) [expiration] = noop (6) [logintime] = noop (6) WARNING: pap : Auth-Type already set. Not setting to PAP (6) [pap] = noop (6) } # authorize = ok (6) Found Auth-Type = MSCHAP (6) # Executing group from file /usr/local/etc/raddb/sites-enabled/inner-tunnel (6) Auth-Type MS-CHAP { (6) mschap : Found Cleartext-Password, hashing to create LM-Password (6) mschap : Found Cleartext-Password, hashing to create NT-Password (6) mschap : Creating challenge hash with username: bob (6) mschap : Client is using MS-CHAPv2 (6) mschap : Adding MS-CHAPv2 MPPE keys (6) [mschap] = ok (6) } # Auth-Type MS-CHAP = ok (6) # Executing section post-auth from file /usr/local/etc/raddb/sites-enabled/inner-tunnel (6) post-auth { (6) update outer.reply { (6) EXPAND %{request:User-Name} (6) --> bob (6) User-Name = "bob" (6) } # update outer.reply = noop (6) } # post-auth = noop (6) Reply: Reply-Message = 'Hello, bob' MS-CHAP2-Success = 0xa9533d42434330464436413831454436414141323838413043364530303333344134453943363238453834 MS-MPPE-Recv-Key = 0xe7ea3ecd0dc5e6590509921bf346908b MS-MPPE-Send-Key = 0x53fcf30bdc1da42883bd82ab30e14059 MS-MPPE-Encryption-Policy = Encryption-Allowed MS-MPPE-Encryption-Types = RC4-40or128-bit-Allowed (6) } # server inner-tunnel (6) eap_ttls : Got tunneled Access-Accept (6) eap_ttls : Got MS-CHAP2-Success, tunneling it to the client in a challenge (6) eap_ttls : sending tunneled reply attributes MS-CHAP2-Success = 0xa9533d42434330464436413831454436414141323838413043364530303333344134453943363238453834 (6) eap_ttls : end tunneled reply attributes (6) eap : New EAP session, adding 'State' attribute to reply 0xb8056b3bbe027e4b (6) [eap] = handled (6) } # authenticate = handled (6) Sending Access-Challenge packet to host 127.0.0.1 port 53911, id=6, length=0 (6) User-Name = 'bob' (6) EAP-Message = 0x0107005f1580000000551703010050235c6f82ac6d9cfa91457f1ee6d2219eb1ffeefe6cdfcc8b8adcd9648de093c2c1223adc01533e3f9cedb1072f26dc4e554f49fd4d950bfb856ef773e97e9d81a8bf2af706662675733c21ab961df649 (6) Message-Authenticator = 0x00000000000000000000000000000000 (6) State = 0xb8056b3bbe027e4b09117badccd65bb6 Sending Access-Challenge Id 6 from 127.0.0.1:1812 to 127.0.0.1:53911 User-Name = 'bob' EAP-Message = 0x0107005f1580000000551703010050235c6f82ac6d9cfa91457f1ee6d2219eb1ffeefe6cdfcc8b8adcd9648de093c2c1223adc01533e3f9cedb1072f26dc4e554f49fd4d950bfb856ef773e97e9d81a8bf2af706662675733c21ab961df649 Message-Authenticator = 0x00000000000000000000000000000000 State = 0xb8056b3bbe027e4b09117badccd65bb6 (6) Finished request Waking up in 0.3 seconds. Received Access-Request Id 7 from 127.0.0.1:53911 to 127.0.0.1:1812 length 136 User-Name = 'anonymous' NAS-IP-Address = 127.0.0.1 Calling-Station-Id = '02-00-00-00-00-01' Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11 Connect-Info = 'CONNECT 11Mbps 802.11b' EAP-Message = 0x020700061500 State = 0xb8056b3bbe027e4b09117badccd65bb6 Message-Authenticator = 0x966259fc36d079b4cb89e36c5d87674e (7) Received Access-Request packet from host 127.0.0.1 port 53911, id=7, length=136 (7) User-Name = 'anonymous' (7) NAS-IP-Address = 127.0.0.1 (7) Calling-Station-Id = '02-00-00-00-00-01' (7) Framed-MTU = 1400 (7) NAS-Port-Type = Wireless-802.11 (7) Connect-Info = 'CONNECT 11Mbps 802.11b' (7) EAP-Message = 0x020700061500 (7) State = 0xb8056b3bbe027e4b09117badccd65bb6 (7) Message-Authenticator = 0x966259fc36d079b4cb89e36c5d87674e (7) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default (7) authorize { (7) filter_username 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) } # filter_username 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 = "anonymous", looking up realm NULL (7) suffix : No such realm "NULL" (7) [suffix] = noop (7) eap : Peer sent code Response (2) ID 7 length 6 (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 0xb8056b3bbe027e4b (7) eap : Finished EAP session with state 0xb8056b3bbe027e4b (7) eap : Previous EAP request found for state 0xb8056b3bbe027e4b, released from the list (7) eap : Peer sent method TTLS (21) (7) eap : EAP TTLS (21) (7) eap : Calling eap_ttls to process EAP data (7) eap_ttls : Authenticate (7) eap_ttls : processing EAP-TLS (7) eap_ttls : Received TLS ACK (7) eap_ttls : Received TLS ACK (7) eap_ttls : ACK handshake is finished (7) eap_ttls : eaptls_verify returned 3 (7) eap_ttls : eaptls_process returned 3 (7) eap_ttls : Using saved attributes from the original Access-Accept (7) WARNING: eap_ttls : No information to cache: session caching will be disabled for session a8c123fda1cf6618790993cdfe6042834a948458e828dd2a0506c0a2d7f4b153 SSL: Removing session a8c123fda1cf6618790993cdfe6042834a948458e828dd2a0506c0a2d7f4b153 from the cache (7) eap : Freeing handler (7) [eap] = ok (7) } # authenticate = ok (7) # Executing section post-auth from file /usr/local/etc/raddb/sites-enabled/default (7) post-auth { (7) [exec] = noop (7) remove_reply_message_if_eap remove_reply_message_if_eap { (7) if (&reply:EAP-Message && reply:Reply-Message) (7) if (&reply:EAP-Message && reply:Reply-Message) -> FALSE (7) else else { (7) [noop] = noop (7) } # else else = noop (7) } # remove_reply_message_if_eap remove_reply_message_if_eap = noop (7) } # post-auth = noop (7) Sending Access-Accept packet to host 127.0.0.1 port 53911, id=7, length=0 (7) MS-MPPE-Recv-Key = 0x562f0a31b19420a754d082f098333a5537b8482f509de0a7b9c9e59e4ead86d5 (7) MS-MPPE-Send-Key = 0x52cfb258ede76eff40c3dc09cad19ee0540aec260efbdf32f00b8341c198087b (7) EAP-MSK = 0x562f0a31b19420a754d082f098333a5537b8482f509de0a7b9c9e59e4ead86d552cfb258ede76eff40c3dc09cad19ee0540aec260efbdf32f00b8341c198087b (7) EAP-EMSK = 0x55caa40d812fd8a419dbf2ed7fcb34cd77f14c08c57503ff9acdbbbc4b968dce3c2ffdb9d8ba573025275c57ac451da2e7b57659ce70c2eb7e63f1ed6878bd47 (7) EAP-Session-Id = 0x155401bd5bd4390981f7e43ac2f1dd015a0bf7f78e05c04441a793c58758159dd85401bd5bc0468d2964c159398f7d0ac3cf3257889f6b0bfbc6a200802002b4f5 (7) EAP-Message = 0x03070004 (7) Message-Authenticator = 0x00000000000000000000000000000000 (7) User-Name = 'anonymous' Sending Access-Accept Id 7 from 127.0.0.1:1812 to 127.0.0.1:53911 MS-MPPE-Recv-Key = 0x562f0a31b19420a754d082f098333a5537b8482f509de0a7b9c9e59e4ead86d5 MS-MPPE-Send-Key = 0x52cfb258ede76eff40c3dc09cad19ee0540aec260efbdf32f00b8341c198087b EAP-Message = 0x03070004 Message-Authenticator = 0x00000000000000000000000000000000 User-Name = 'anonymous' (7) Finished request Waking up in 0.2 seconds. Waking up in 4.6 seconds. (0) Cleaning up request packet ID 0 with timestamp +81 (1) Cleaning up request packet ID 1 with timestamp +81 (2) Cleaning up request packet ID 2 with timestamp +81 (3) Cleaning up request packet ID 3 with timestamp +81 (4) Cleaning up request packet ID 4 with timestamp +81 (5) Cleaning up request packet ID 5 with timestamp +81 (6) Cleaning up request packet ID 6 with timestamp +81 (7) Cleaning up request packet ID 7 with timestamp +81 Ready to process requests - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html Janet(UK) is a trading name of Jisc Collections and Janet Limited, a not-for-profit company which is registered in England under No. 2881024 and whose Registered Office is at Lumen House, Library Avenue, Harwell Oxford, Didcot, Oxfordshire. OX11 0SG. VAT No. 614944238
Axel Luttgens wrote:
Starting with raddb as created at compile time: - uncomment the entry for "bob" in the users file - uncomment the "update outer.reply" section in file inner-tunnel Call eapol_test with: - eap=TTLS - phase2="auth=MSCHAPV2" It appears that the reply comes with the outer identity ("anonymous"), not the inner one ("bob"). (see output "WITH update outer.reply" hereafter)
Unfortunately, that is how it works. If you read the debug output, for the last few packets, you will see the inner tunnel being executed... the outer reply being updated, and then ANOTHER packet comes from the client. For this last packet, the inner tunnel is NOT executed. So the "update outer.reply" does NOT get executed, and the User-Name is never set. The issue is that the server treats each packet as separate. You've updated outer.reply for packet X. That's nice, but packet X is an Access-Challenge. Then packet X+1 is an Access-Accept, but you're *not* updating the reply. So it doesn't get set. Read the debug output. It says: (7) eap_ttls : Using saved attributes from the original Access-Accept (7) WARNING: eap_ttls : No information to cache: session caching will be disabled for session There are NO attributes printed out after the first message. So NO attributes will be saved.
Let's then change FR's config: - in file inner-tunnel, replace "outer.reply" with "reply" - set use_tunneled_reply to "yes" in file eap Call eapol_test with the same settings as above. The reply now comes with the inner identity. (see output "WITH update reply / use_tunneled_reply=yes" in my next message)
If someone could provide the rationale, I am very interested. :-)
In this case, the server caches the attributes in the Access-Accept, and uses them for the outer reply. This action is PROTOCOL AWARE. i.e. it knows when to do the right thing. A blind "update outer.reply" is NOT protocol aware, and will sometimes do the wrong thing. Alan DeKok.
Le 30 août 2014 à 16:38, Alan DeKok a écrit :
Alan DeKok wrote:
Unfortunately, that is how it works. If you read the debug output,
I've updated the example inner-tunnel example,
Yes, I noticed that this morning. :-)
and the debug messages in PEAP and TTLS. That should help avoid future confusion.
Hmm... I guess a new compilation round is nearing. Thanks for all, Axel
Le 30 août 2014 à 18:28, Axel Luttgens a écrit :
Le 30 août 2014 à 16:38, Alan DeKok a écrit :
Alan DeKok wrote:
Unfortunately, that is how it works. If you read the debug output,
I've updated the example inner-tunnel example,
Yes, I noticed that this morning. :-)
More exactly, I only had seen the next to last change while writing the above. But the current comment appears to be exactly the one I would have dreamed to write myself. ;-) Perhaps could it be worth to enhance the description of use_tunneled_reply as well? With the current comment, use_tunneled_reply could be understood as a way to convey the inner User-Name only; but, unless I'm wrong, any attribute, even a private one, is liable to be brought to the outer session. Moreover, the mechanism activated by that setting probably deserves a better emphasis; in particular, I'm thinking at its protocol-awareness you have described in a previous message. Regards, Axel
Axel Luttgens wrote:
Perhaps could it be worth to enhance the description of use_tunneled_reply as well?
Perhaps you could suggest some text as well?
With the current comment, use_tunneled_reply could be understood as a way to convey the inner User-Name only; but, unless I'm wrong, any attribute, even a private one, is liable to be brought to the outer session.
That's what the comments say.
Moreover, the mechanism activated by that setting probably deserves a better emphasis; in particular, I'm thinking at its protocol-awareness you have described in a previous message.
Patches are always welcome. I'm prepared to fix bugs. But if you want more documentation, then you need to write it, and submit it. Otherwise, you're asking me to do work that you refuse to do. Alan DeKok.
Le 31 août 2014 à 14:42, Alan DeKok a écrit :
[...] Patches are always welcome.
I'm prepared to fix bugs. But if you want more documentation, then you need to write it, and submit it. Otherwise, you're asking me to do work that you refuse to do.
It's not that I refuse to do it; it's that I fear to write big insanities, given my feeble understanding of all those matters... ;-) I'll try to submit a piece of text as soon as possible. Axel
Le 1 sept. 2014 à 11:18, Axel Luttgens a écrit :
[...] I'll try to submit a piece of text as soon as possible.
So, the idea would be to replace: # The reply attributes sent to the NAS are usually # based on the name of the user 'outside' of the # tunnel (usually 'anonymous'). If you want to send # the reply attributes based on the user name inside # of the tunnel, then set this configuration entry to # 'yes', and the reply to the NAS will be taken from # the reply to the tunneled request. with something like this: # It may sometimes be needed to propagate data from # the inner session to the outer one. # The classical example is to augment the outer reply # packet with a User-Name attribute bearing the user's # inner-identity, so that the NAS emits its subsequent # accounting packets with that identity. # When set to "yes", this configuration entry allows # to add attributes, even private ones, to the inner # reply and to make them available in the reply handled # by the outer session (where they can even be further # massaged). # Note that this setting allows to ensure that the # saved attributes are restored in the last packet of # the outer session that opened the tunnel; this is to # be contrasted with a simple "update outer.reply" # performed in the inner-tunnel. HTH, Axel
Axel Luttgens wrote:
So, the idea would be to replace:
# The reply attributes sent to the NAS are usually # based on the name of the user 'outside' of the # tunnel (usually 'anonymous'). If you want to send # the reply attributes based on the user name inside # of the tunnel, then set this configuration entry to # 'yes', and the reply to the NAS will be taken from # the reply to the tunneled request.
with something like this:
I find that text very convoluted. For now, I think the existing text is OK. Alan DeKok.
Le 30 août 2014 à 16:23, Alan DeKok a écrit :
Axel Luttgens wrote:
Starting with raddb as created at compile time: - uncomment the entry for "bob" in the users file - uncomment the "update outer.reply" section in file inner-tunnel Call eapol_test with: - eap=TTLS - phase2="auth=MSCHAPV2" It appears that the reply comes with the outer identity ("anonymous"), not the inner one ("bob"). (see output "WITH update outer.reply" hereafter)
Unfortunately, that is how it works. If you read the debug output, for the last few packets, you will see the inner tunnel being executed... the outer reply being updated, and then ANOTHER packet comes from the client. For this last packet, the inner tunnel is NOT executed. So the "update outer.reply" does NOT get executed, and the User-Name is never set.
The issue is that the server treats each packet as separate. You've updated outer.reply for packet X. That's nice, but packet X is an Access-Challenge. Then packet X+1 is an Access-Accept, but you're *not* updating the reply. So it doesn't get set.
Read the debug output. It says:
(7) eap_ttls : Using saved attributes from the original Access-Accept (7) WARNING: eap_ttls : No information to cache: session caching will be disabled for session
There are NO attributes printed out after the first message. So NO attributes will be saved.
Let's then change FR's config: - in file inner-tunnel, replace "outer.reply" with "reply" - set use_tunneled_reply to "yes" in file eap Call eapol_test with the same settings as above. The reply now comes with the inner identity. (see output "WITH update reply / use_tunneled_reply=yes" in my next message)
If someone could provide the rationale, I am very interested. :-)
In this case, the server caches the attributes in the Access-Accept, and uses them for the outer reply. This action is PROTOCOL AWARE.
i.e. it knows when to do the right thing.
A blind "update outer.reply" is NOT protocol aware, and will sometimes do the wrong thing.
Hello Alan, Many thanks for your helpful reply. Yes, I ended to suspect the "update outer.reply" mechanism to be somewhat too simplistic, allowing to satisfactorily handle only a subset of authentication methods. And thus was of the intent to ask another set of questions. Since opportunity makes thieves... Could it be said that, as a general rule, the best approach for retrieving information from the inner tunnel is to make use of "use_tunneled_reply = yes"? Conversely, are there particular cases for which that approach won't work? On the other hand, nothing coming for free, does "use_tunneled_reply = yes" significantly increase the load on the server, with perhaps the risk to use too much resources? Finally, in the case of error (a non existing user, for instance), there seems to be no attempt to pass the saved attributes to the "Post-Auth-Type REJECT" section. Am I right? Axel
Axel Luttgens wrote:
Could it be said that, as a general rule, the best approach for retrieving information from the inner tunnel is to make use of "use_tunneled_reply = yes"? Conversely, are there particular cases for which that approach won't work?
Yes.
On the other hand, nothing coming for free, does "use_tunneled_reply = yes" significantly increase the load on the server, with perhaps the risk to use too much resources?
No.
Finally, in the case of error (a non existing user, for instance), there seems to be no attempt to pass the saved attributes to the "Post-Auth-Type REJECT" section. Am I right?
Yes. Alan DeKok.
Le 29 août 2014 à 11:48, Stefan Paetow <Stefan.Paetow@ja.net> a écrit :
My log excerpts provided examples of the problem I was facing with both TTLS-MSCHAPv2 and PEAP-MSCHAPv2; I also tried TTLS-PAP, with the same negative result.
I haven't seen any full debug logs (i.e. running radiusd -X and sending the list the complete output) from you... only snippets, which are not helpful without any context.
And here's the second output, announced in my previous message. Axel WITH update reply / use_tunneled_reply=yes ========================================== radiusd: FreeRADIUS Version 3.0.4, for host i386-apple-darwin12.5.0, built on Aug 15 2014 at 15:27:17 Copyright (C) 1999-2014 The FreeRADIUS server project and contributors There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE You may redistribute copies of FreeRADIUS under the terms of the GNU General Public License For more information about these matters, see the file named COPYRIGHT Starting - reading configuration files ... including dictionary file /usr/local/freeradius-3.0.4-b0bed69cd6/share/freeradius/dictionary including dictionary file /usr/local/freeradius-3.0.4-b0bed69cd6/share/freeradius/dictionary.dhcp including dictionary file /usr/local/freeradius-3.0.4-b0bed69cd6/share/freeradius/dictionary.vqp including dictionary file /usr/local/etc/raddb/dictionary including configuration file /usr/local/etc/raddb/radiusd.conf including configuration file /usr/local/etc/raddb/proxy.conf including configuration file /usr/local/etc/raddb/clients.conf including files in directory /usr/local/etc/raddb/mods-enabled/ including configuration file /usr/local/etc/raddb/mods-enabled/always including configuration file /usr/local/etc/raddb/mods-enabled/attr_filter including configuration file /usr/local/etc/raddb/mods-enabled/cache_eap including configuration file /usr/local/etc/raddb/mods-enabled/chap including configuration file /usr/local/etc/raddb/mods-enabled/detail including configuration file /usr/local/etc/raddb/mods-enabled/detail.log including configuration file /usr/local/etc/raddb/mods-enabled/dhcp including configuration file /usr/local/etc/raddb/mods-enabled/digest including configuration file /usr/local/etc/raddb/mods-enabled/dynamic_clients including configuration file /usr/local/etc/raddb/mods-enabled/eap including configuration file /usr/local/etc/raddb/mods-enabled/echo including configuration file /usr/local/etc/raddb/mods-enabled/exec including configuration file /usr/local/etc/raddb/mods-enabled/expiration including configuration file /usr/local/etc/raddb/mods-enabled/expr including configuration file /usr/local/etc/raddb/mods-enabled/files including configuration file /usr/local/etc/raddb/mods-enabled/linelog including configuration file /usr/local/etc/raddb/mods-enabled/logintime including configuration file /usr/local/etc/raddb/mods-enabled/mschap including configuration file /usr/local/etc/raddb/mods-enabled/ntlm_auth including configuration file /usr/local/etc/raddb/mods-enabled/pap including configuration file /usr/local/etc/raddb/mods-enabled/passwd including configuration file /usr/local/etc/raddb/mods-enabled/preprocess including configuration file /usr/local/etc/raddb/mods-enabled/radutmp including configuration file /usr/local/etc/raddb/mods-enabled/realm including configuration file /usr/local/etc/raddb/mods-enabled/replicate including configuration file /usr/local/etc/raddb/mods-enabled/soh including configuration file /usr/local/etc/raddb/mods-enabled/sradutmp including configuration file /usr/local/etc/raddb/mods-enabled/unix including configuration file /usr/local/etc/raddb/mods-enabled/unpack including configuration file /usr/local/etc/raddb/mods-enabled/utf8 including files in directory /usr/local/etc/raddb/policy.d/ including configuration file /usr/local/etc/raddb/policy.d/accounting including configuration file /usr/local/etc/raddb/policy.d/canonicalization including configuration file /usr/local/etc/raddb/policy.d/control including configuration file /usr/local/etc/raddb/policy.d/cui OPTIMIZING no yes --> FALSE OPTIMIZING no yes --> FALSE including configuration file /usr/local/etc/raddb/policy.d/dhcp including configuration file /usr/local/etc/raddb/policy.d/eap including configuration file /usr/local/etc/raddb/policy.d/filter including configuration file /usr/local/etc/raddb/policy.d/operator-name including files in directory /usr/local/etc/raddb/sites-enabled/ including configuration file /usr/local/etc/raddb/sites-enabled/default including configuration file /usr/local/etc/raddb/sites-enabled/inner-tunnel main { security { allow_core_dumps = no } } main { name = "radiusd" prefix = "/usr/local/freeradius-3.0.4-b0bed69cd6" localstatedir = "/usr/local/var" sbindir = "/usr/local/freeradius-3.0.4-b0bed69cd6/sbin" logdir = "/usr/local/var/log/radius" run_dir = "/usr/local/var/run/radiusd" libdir = "/usr/local/freeradius-3.0.4-b0bed69cd6/lib" radacctdir = "/usr/local/var/log/radius/radacct" hostname_lookups = no max_request_time = 30 cleanup_delay = 5 max_requests = 1024 pidfile = "/usr/local/var/run/radiusd/radiusd.pid" checkrad = "/usr/local/freeradius-3.0.4-b0bed69cd6/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" } security { max_attributes = 200 reject_delay = 1 status_server = yes allow_vulnerable_openssl = "no" } } radiusd: #### Loading Realms and Home Servers #### proxy server { retry_delay = 5 retry_count = 3 default_fallback = no dead_time = 120 wake_all_if_all_dead = no } home_server localhost { ipaddr = 127.0.0.1 port = 1812 type = "auth" secret = <<< secret >>> response_window = 20.000000 response_timeouts = 1 max_outstanding = 65536 zombie_period = 40 status_check = "status-server" ping_interval = 30 check_interval = 30 check_timeout = 4 num_answers_to_alive = 3 revive_interval = 120 coa { irt = 2 mrt = 16 mrc = 5 mrd = 30 } limit { max_connections = 16 max_requests = 0 lifetime = 0 idle_timeout = 0 } } 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 } } radiusd: #### Instantiating modules #### instantiate { } modules { # Loaded module rlm_always # Instantiating module "reject" from file /usr/local/etc/raddb/mods-enabled/always always reject { rcode = "reject" simulcount = 0 mpp = no } # Instantiating module "fail" from file /usr/local/etc/raddb/mods-enabled/always always fail { rcode = "fail" simulcount = 0 mpp = no } # Instantiating module "ok" from file /usr/local/etc/raddb/mods-enabled/always always ok { rcode = "ok" simulcount = 0 mpp = no } # Instantiating module "handled" from file /usr/local/etc/raddb/mods-enabled/always always handled { rcode = "handled" simulcount = 0 mpp = no } # Instantiating module "invalid" from file /usr/local/etc/raddb/mods-enabled/always always invalid { rcode = "invalid" simulcount = 0 mpp = no } # Instantiating module "userlock" from file /usr/local/etc/raddb/mods-enabled/always always userlock { rcode = "userlock" simulcount = 0 mpp = no } # Instantiating module "notfound" from file /usr/local/etc/raddb/mods-enabled/always always notfound { rcode = "notfound" simulcount = 0 mpp = no } # Instantiating module "noop" from file /usr/local/etc/raddb/mods-enabled/always always noop { rcode = "noop" simulcount = 0 mpp = no } # Instantiating module "updated" from file /usr/local/etc/raddb/mods-enabled/always always updated { rcode = "updated" simulcount = 0 mpp = no } # Loaded module rlm_attr_filter # Instantiating module "attr_filter.post-proxy" from file /usr/local/etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.post-proxy { filename = "/usr/local/etc/raddb/mods-config/attr_filter/post-proxy" key = "%{Realm}" relaxed = no } reading pairlist file /usr/local/etc/raddb/mods-config/attr_filter/post-proxy # Instantiating module "attr_filter.pre-proxy" from file /usr/local/etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.pre-proxy { filename = "/usr/local/etc/raddb/mods-config/attr_filter/pre-proxy" key = "%{Realm}" relaxed = no } reading pairlist file /usr/local/etc/raddb/mods-config/attr_filter/pre-proxy # Instantiating module "attr_filter.access_reject" from file /usr/local/etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.access_reject { filename = "/usr/local/etc/raddb/mods-config/attr_filter/access_reject" key = "%{User-Name}" relaxed = no } reading pairlist file /usr/local/etc/raddb/mods-config/attr_filter/access_reject # Instantiating module "attr_filter.access_challenge" from file /usr/local/etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.access_challenge { filename = "/usr/local/etc/raddb/mods-config/attr_filter/access_challenge" key = "%{User-Name}" relaxed = no } reading pairlist file /usr/local/etc/raddb/mods-config/attr_filter/access_challenge # Instantiating module "attr_filter.accounting_response" from file /usr/local/etc/raddb/mods-enabled/attr_filter attr_filter attr_filter.accounting_response { filename = "/usr/local/etc/raddb/mods-config/attr_filter/accounting_response" key = "%{User-Name}" relaxed = no } reading pairlist file /usr/local/etc/raddb/mods-config/attr_filter/accounting_response # Loaded module rlm_cache # Instantiating module "cache_eap" from file /usr/local/etc/raddb/mods-enabled/cache_eap cache cache_eap { key = "%{%{control:State}:-%{%{reply:State}:-%{State}}}" ttl = 15 max_entries = 16384 epoch = 0 add_stats = no } # Loaded module rlm_chap # Instantiating module "chap" from file /usr/local/etc/raddb/mods-enabled/chap # Loaded module rlm_detail # Instantiating module "detail" from file /usr/local/etc/raddb/mods-enabled/detail detail { filename = "/usr/local/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d" header = "%t" permissions = 384 locking = no log_packet_header = no } # Instantiating module "auth_log" from file /usr/local/etc/raddb/mods-enabled/detail.log detail auth_log { filename = "/usr/local/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d" header = "%t" permissions = 384 locking = no log_packet_header = no } rlm_detail (auth_log): 'User-Password' suppressed, will not appear in detail output # Instantiating module "reply_log" from file /usr/local/etc/raddb/mods-enabled/detail.log detail reply_log { filename = "/usr/local/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/reply-detail-%Y%m%d" header = "%t" permissions = 384 locking = no log_packet_header = no } # Instantiating module "pre_proxy_log" from file /usr/local/etc/raddb/mods-enabled/detail.log detail pre_proxy_log { filename = "/usr/local/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/pre-proxy-detail-%Y%m%d" header = "%t" permissions = 384 locking = no log_packet_header = no } # Instantiating module "post_proxy_log" from file /usr/local/etc/raddb/mods-enabled/detail.log detail post_proxy_log { filename = "/usr/local/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/post-proxy-detail-%Y%m%d" header = "%t" permissions = 384 locking = no log_packet_header = no } # Loaded module rlm_dhcp # Instantiating module "dhcp" from file /usr/local/etc/raddb/mods-enabled/dhcp # Loaded module rlm_digest # Instantiating module "digest" from file /usr/local/etc/raddb/mods-enabled/digest # Loaded module rlm_dynamic_clients # Instantiating module "dynamic_clients" from file /usr/local/etc/raddb/mods-enabled/dynamic_clients # Loaded module rlm_eap # Instantiating module "eap" from file /usr/local/etc/raddb/mods-enabled/eap eap { default_eap_type = "md5" timer_expire = 60 ignore_unknown_eap_types = no mod_accounting_username_bug = no max_sessions = 1024 } # 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 = "/usr/local/etc/raddb/certs" pem_file_type = yes private_key_file = "/usr/local/etc/raddb/certs/server.pem" certificate_file = "/usr/local/etc/raddb/certs/server.pem" ca_file = "/usr/local/etc/raddb/certs/ca.pem" private_key_password = <<< secret >>> dh_file = "/usr/local/etc/raddb/certs/dh" fragment_size = 1024 include_length = yes check_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 = yes } } # Linked to sub-module rlm_eap_ttls ttls { tls = "tls-common" default_eap_type = "md5" copy_request_to_tunnel = no use_tunneled_reply = yes virtual_server = "inner-tunnel" include_length = yes require_client_cert = no } Using cached TLS configuration from previous invocation # Linked to sub-module rlm_eap_peap peap { tls = "tls-common" default_method = "mschapv2" copy_request_to_tunnel = no use_tunneled_reply = yes proxy_tunneled_request_as_eap = yes virtual_server = "inner-tunnel" soh = no require_client_cert = no } Using cached TLS configuration from previous invocation # Linked to sub-module rlm_eap_mschapv2 mschapv2 { with_ntdomain_hack = no send_error = no } # Loaded module rlm_exec # Instantiating module "echo" from file /usr/local/etc/raddb/mods-enabled/echo exec echo { wait = yes program = "/bin/echo %{User-Name}" input_pairs = "request" output_pairs = "reply" shell_escape = yes } # Instantiating module "exec" from file /usr/local/etc/raddb/mods-enabled/exec exec { wait = no input_pairs = "request" shell_escape = yes timeout = 10 } # Loaded module rlm_expiration # Instantiating module "expiration" from file /usr/local/etc/raddb/mods-enabled/expiration # Loaded module rlm_expr # Instantiating module "expr" from file /usr/local/etc/raddb/mods-enabled/expr expr { safe_characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /" } # Loaded module rlm_files # Instantiating module "files" from file /usr/local/etc/raddb/mods-enabled/files files { filename = "/usr/local/etc/raddb/mods-config/files/authorize" usersfile = "/usr/local/etc/raddb/mods-config/files/authorize" acctusersfile = "/usr/local/etc/raddb/mods-config/files/accounting" preproxy_usersfile = "/usr/local/etc/raddb/mods-config/files/pre-proxy" compat = "cistron" } reading pairlist file /usr/local/etc/raddb/mods-config/files/authorize [/usr/local/etc/raddb/mods-config/files/authorize]:88 Cistron compatibility checks for entry bob ... [/usr/local/etc/raddb/mods-config/files/authorize]:182 Cistron compatibility checks for entry DEFAULT ... [/usr/local/etc/raddb/mods-config/files/authorize]:189 Cistron compatibility checks for entry DEFAULT ... [/usr/local/etc/raddb/mods-config/files/authorize]:196 Cistron compatibility checks for entry DEFAULT ... reading pairlist file /usr/local/etc/raddb/mods-config/files/authorize [/usr/local/etc/raddb/mods-config/files/authorize]:88 Cistron compatibility checks for entry bob ... [/usr/local/etc/raddb/mods-config/files/authorize]:182 Cistron compatibility checks for entry DEFAULT ... [/usr/local/etc/raddb/mods-config/files/authorize]:189 Cistron compatibility checks for entry DEFAULT ... [/usr/local/etc/raddb/mods-config/files/authorize]:196 Cistron compatibility checks for entry DEFAULT ... reading pairlist file /usr/local/etc/raddb/mods-config/files/accounting reading pairlist file /usr/local/etc/raddb/mods-config/files/pre-proxy # Loaded module rlm_linelog # Instantiating module "linelog" from file /usr/local/etc/raddb/mods-enabled/linelog linelog { filename = "/usr/local/var/log/radius/linelog" permissions = 384 format = "This is a log message for %{User-Name}" reference = "messages.%{%{Packet-Type}:-default}" } # Instantiating module "log_accounting" from file /usr/local/etc/raddb/mods-enabled/linelog linelog log_accounting { filename = "/usr/local/var/log/radius/linelog-accounting" permissions = 384 format = "" reference = "Accounting-Request.%{%{Acct-Status-Type}:-unknown}" } # Loaded module rlm_logintime # Instantiating module "logintime" from file /usr/local/etc/raddb/mods-enabled/logintime logintime { minimum_timeout = 60 } # Loaded module rlm_mschap # Instantiating module "mschap" from file /usr/local/etc/raddb/mods-enabled/mschap mschap { use_mppe = yes require_encryption = no require_strong = no with_ntdomain_hack = yes passchange { } allow_retry = yes } # Instantiating module "ntlm_auth" from file /usr/local/etc/raddb/mods-enabled/ntlm_auth exec ntlm_auth { wait = yes program = "/path/to/ntlm_auth --request-nt-key --domain=MYDOMAIN --username=%{mschap:User-Name} --password=%{User-Password}" shell_escape = yes } # Loaded module rlm_pap # Instantiating module "pap" from file /usr/local/etc/raddb/mods-enabled/pap pap { normalise = yes } # Loaded module rlm_passwd # Instantiating module "etc_passwd" from file /usr/local/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 } rlm_passwd: nfields: 3 keyfield 0(User-Name) listable: no # Loaded module rlm_preprocess # Instantiating module "preprocess" from file /usr/local/etc/raddb/mods-enabled/preprocess preprocess { huntgroups = "/usr/local/etc/raddb/mods-config/preprocess/huntgroups" hints = "/usr/local/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 } reading pairlist file /usr/local/etc/raddb/mods-config/preprocess/huntgroups reading pairlist file /usr/local/etc/raddb/mods-config/preprocess/hints # Loaded module rlm_radutmp # Instantiating module "radutmp" from file /usr/local/etc/raddb/mods-enabled/radutmp radutmp { filename = "/usr/local/var/log/radius/radutmp" username = "%{User-Name}" case_sensitive = yes check_with_nas = yes permissions = 384 caller_id = yes } # Loaded module rlm_realm # Instantiating module "IPASS" from file /usr/local/etc/raddb/mods-enabled/realm realm IPASS { format = "prefix" delimiter = "/" ignore_default = no ignore_null = no } # Instantiating module "suffix" from file /usr/local/etc/raddb/mods-enabled/realm realm suffix { format = "suffix" delimiter = "@" ignore_default = no ignore_null = no } # Instantiating module "realmpercent" from file /usr/local/etc/raddb/mods-enabled/realm realm realmpercent { format = "suffix" delimiter = "%" ignore_default = no ignore_null = no } # Instantiating module "ntdomain" from file /usr/local/etc/raddb/mods-enabled/realm realm ntdomain { format = "prefix" delimiter = "\" ignore_default = no ignore_null = no } # Loaded module rlm_replicate # Instantiating module "replicate" from file /usr/local/etc/raddb/mods-enabled/replicate # Loaded module rlm_soh # Instantiating module "soh" from file /usr/local/etc/raddb/mods-enabled/soh soh { dhcp = yes } # Instantiating module "sradutmp" from file /usr/local/etc/raddb/mods-enabled/sradutmp radutmp sradutmp { filename = "/usr/local/var/log/radius/sradutmp" username = "%{User-Name}" case_sensitive = yes check_with_nas = yes permissions = 420 caller_id = no } # Loaded module rlm_unix # Instantiating module "unix" from file /usr/local/etc/raddb/mods-enabled/unix unix { radwtmp = "/usr/local/var/log/radius/radwtmp" } # Loaded module rlm_unpack # Instantiating module "unpack" from file /usr/local/etc/raddb/mods-enabled/unpack # Loaded module rlm_utf8 # Instantiating module "utf8" from file /usr/local/etc/raddb/mods-enabled/utf8 } # modules radiusd: #### Loading Virtual Servers #### server { # from file /usr/local/etc/raddb/radiusd.conf } # server server default { # from file /usr/local/etc/raddb/sites-enabled/default # Creating Auth-Type = digest # 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 /usr/local/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 as server default Listening on acct address * port 1813 as server default Listening on auth address :: port 1812 as server default Listening on acct address :: port 1813 as server default Listening on auth address 127.0.0.1 port 18120 as server inner-tunnel Opening new proxy socket 'proxy address * port 0' Listening on proxy address * port 53300 Ready to process requests Received Access-Request Id 0 from 127.0.0.1:50453 to 127.0.0.1:1812 length 126 User-Name = 'anonymous' NAS-IP-Address = 127.0.0.1 Calling-Station-Id = '02-00-00-00-00-01' Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11 Connect-Info = 'CONNECT 11Mbps 802.11b' EAP-Message = 0x0200000e01616e6f6e796d6f7573 Message-Authenticator = 0x06939949430546f16b091b175a10d9c2 (0) Received Access-Request packet from host 127.0.0.1 port 50453, id=0, length=126 (0) User-Name = 'anonymous' (0) NAS-IP-Address = 127.0.0.1 (0) Calling-Station-Id = '02-00-00-00-00-01' (0) Framed-MTU = 1400 (0) NAS-Port-Type = Wireless-802.11 (0) Connect-Info = 'CONNECT 11Mbps 802.11b' (0) EAP-Message = 0x0200000e01616e6f6e796d6f7573 (0) Message-Authenticator = 0x06939949430546f16b091b175a10d9c2 (0) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default (0) authorize { (0) filter_username 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) } # filter_username 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 = "anonymous", looking up realm NULL (0) suffix : No such realm "NULL" (0) [suffix] = noop (0) eap : Peer sent code Response (2) ID 0 length 14 (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 /usr/local/etc/raddb/sites-enabled/default (0) authenticate { (0) eap : Peer sent method Identity (1) (0) eap : Calling eap_md5 to process EAP data (0) eap_md5 : Issuing MD5 Challenge (0) eap : New EAP session, adding 'State' attribute to reply 0x4a4352f44a4256a8 (0) [eap] = handled (0) } # authenticate = handled (0) Sending Access-Challenge packet to host 127.0.0.1 port 50453, id=0, length=0 (0) EAP-Message = 0x010100160410b5804e3a730d31f721468fcee0ec147b (0) Message-Authenticator = 0x00000000000000000000000000000000 (0) State = 0x4a4352f44a4256a8ee46f2f8f3146dc3 Sending Access-Challenge Id 0 from 127.0.0.1:1812 to 127.0.0.1:50453 EAP-Message = 0x010100160410b5804e3a730d31f721468fcee0ec147b Message-Authenticator = 0x00000000000000000000000000000000 State = 0x4a4352f44a4256a8ee46f2f8f3146dc3 (0) Finished request Waking up in 0.3 seconds. Received Access-Request Id 1 from 127.0.0.1:50453 to 127.0.0.1:1812 length 136 User-Name = 'anonymous' NAS-IP-Address = 127.0.0.1 Calling-Station-Id = '02-00-00-00-00-01' Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11 Connect-Info = 'CONNECT 11Mbps 802.11b' EAP-Message = 0x020100060315 State = 0x4a4352f44a4256a8ee46f2f8f3146dc3 Message-Authenticator = 0xee63e491a50376c11c18f4ac74086cd7 (1) Received Access-Request packet from host 127.0.0.1 port 50453, id=1, length=136 (1) User-Name = 'anonymous' (1) NAS-IP-Address = 127.0.0.1 (1) Calling-Station-Id = '02-00-00-00-00-01' (1) Framed-MTU = 1400 (1) NAS-Port-Type = Wireless-802.11 (1) Connect-Info = 'CONNECT 11Mbps 802.11b' (1) EAP-Message = 0x020100060315 (1) State = 0x4a4352f44a4256a8ee46f2f8f3146dc3 (1) Message-Authenticator = 0xee63e491a50376c11c18f4ac74086cd7 (1) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default (1) authorize { (1) filter_username 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) } # filter_username 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 = "anonymous", looking up realm NULL (1) suffix : No such realm "NULL" (1) [suffix] = noop (1) eap : Peer sent code Response (2) ID 1 length 6 (1) eap : No EAP Start, assuming it's an on-going EAP conversation (1) [eap] = updated (1) [files] = noop (1) [expiration] = noop (1) [logintime] = noop (1) WARNING: pap : No "known good" password found for the user. Not setting Auth-Type (1) WARNING: pap : Authentication will fail unless a "known good" password is available (1) [pap] = noop (1) } # authorize = updated (1) Found Auth-Type = EAP (1) # Executing group from file /usr/local/etc/raddb/sites-enabled/default (1) authenticate { (1) eap : Expiring EAP session with state 0x4a4352f44a4256a8 (1) eap : Finished EAP session with state 0x4a4352f44a4256a8 (1) eap : Previous EAP request found for state 0x4a4352f44a4256a8, released from the list (1) eap : Peer sent method NAK (3) (1) eap : Found mutually acceptable type TTLS (21) (1) eap : Calling eap_ttls to process EAP data (1) eap_ttls : Flushing SSL sessions (of #0) (1) eap_ttls : Initiate (1) eap_ttls : Start returned 1 (1) eap : New EAP session, adding 'State' attribute to reply 0x4a4352f44b4147a8 (1) [eap] = handled (1) } # authenticate = handled (1) Sending Access-Challenge packet to host 127.0.0.1 port 50453, id=1, length=0 (1) EAP-Message = 0x010200061520 (1) Message-Authenticator = 0x00000000000000000000000000000000 (1) State = 0x4a4352f44b4147a8ee46f2f8f3146dc3 Sending Access-Challenge Id 1 from 127.0.0.1:1812 to 127.0.0.1:50453 EAP-Message = 0x010200061520 Message-Authenticator = 0x00000000000000000000000000000000 State = 0x4a4352f44b4147a8ee46f2f8f3146dc3 (1) Finished request Waking up in 0.3 seconds. Received Access-Request Id 2 from 127.0.0.1:50453 to 127.0.0.1:1812 length 230 User-Name = 'anonymous' NAS-IP-Address = 127.0.0.1 Calling-Station-Id = '02-00-00-00-00-01' Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11 Connect-Info = 'CONNECT 11Mbps 802.11b' EAP-Message = 0x02020064150016030100590100005503015401c1d4ca2271f6d8d7bdbb6ca0e274917dfe0e6ee77b424df7a51a8f7bfe9800002e00390038003500160013000a00330032002f009a00990096000500040015001200090014001100080006000300ff0100 State = 0x4a4352f44b4147a8ee46f2f8f3146dc3 Message-Authenticator = 0xa0ee4d71bdb8bdc16668430534cb7dbe (2) Received Access-Request packet from host 127.0.0.1 port 50453, id=2, length=230 (2) User-Name = 'anonymous' (2) NAS-IP-Address = 127.0.0.1 (2) Calling-Station-Id = '02-00-00-00-00-01' (2) Framed-MTU = 1400 (2) NAS-Port-Type = Wireless-802.11 (2) Connect-Info = 'CONNECT 11Mbps 802.11b' (2) EAP-Message = 0x02020064150016030100590100005503015401c1d4ca2271f6d8d7bdbb6ca0e274917dfe0e6ee77b424df7a51a8f7bfe9800002e00390038003500160013000a00330032002f009a00990096000500040015001200090014001100080006000300ff0100 (2) State = 0x4a4352f44b4147a8ee46f2f8f3146dc3 (2) Message-Authenticator = 0xa0ee4d71bdb8bdc16668430534cb7dbe (2) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default (2) authorize { (2) filter_username filter_username { (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 =~ /\\.\\./ ) (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) } # filter_username 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 = "anonymous", looking up realm NULL (2) suffix : No such realm "NULL" (2) [suffix] = noop (2) eap : Peer sent code Response (2) ID 2 length 100 (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 0x4a4352f44b4147a8 (2) eap : Finished EAP session with state 0x4a4352f44b4147a8 (2) eap : Previous EAP request found for state 0x4a4352f44b4147a8, released from the list (2) eap : Peer sent method TTLS (21) (2) eap : EAP TTLS (21) (2) eap : Calling eap_ttls to process EAP data (2) eap_ttls : Authenticate (2) eap_ttls : processing EAP-TLS (2) eap_ttls : eaptls_verify returned 7 (2) eap_ttls : Done initial handshake (2) eap_ttls : (other): before/accept initialization (2) eap_ttls : TLS_accept: before/accept initialization (2) eap_ttls : <<< TLS 1.0 Handshake [length 0059], ClientHello (2) eap_ttls : TLS_accept: SSLv3 read client hello A (2) eap_ttls : >>> TLS 1.0 Handshake [length 0051], ServerHello (2) eap_ttls : TLS_accept: SSLv3 write server hello A (2) eap_ttls : >>> TLS 1.0 Handshake [length 08d0], Certificate (2) eap_ttls : TLS_accept: SSLv3 write certificate A (2) eap_ttls : >>> TLS 1.0 Handshake [length 020d], ServerKeyExchange (2) eap_ttls : TLS_accept: SSLv3 write key exchange A (2) eap_ttls : >>> TLS 1.0 Handshake [length 0004], ServerHelloDone (2) eap_ttls : TLS_accept: SSLv3 write server done A (2) eap_ttls : TLS_accept: SSLv3 flush data (2) eap_ttls : TLS_accept: Need to read more data: SSLv3 read client certificate A In SSL Handshake Phase In SSL Accept mode (2) eap_ttls : eaptls_process returned 13 (2) eap : New EAP session, adding 'State' attribute to reply 0x4a4352f4484047a8 (2) [eap] = handled (2) } # authenticate = handled (2) Sending Access-Challenge packet to host 127.0.0.1 port 50453, id=2, length=0 (2) EAP-Message = 0x010303ec15c000000b4616030100510200004d03015401c1d4e76ba36b99b107e721873099733adb03d65b4e71941aff9773cdc436202c864d26e7b722723bf80ea9b267274120739b37e81c6b52fc85b283d564fb640039000005ff0100010016030108d00b0008cc0008c90003de308203da308202c2a003020102020101300d06092a864886f70d01010b0500308193310b3009060355040613024652310f300d060355040813065261646975733112301006035504071309536f6d65776865726531153013060355040a130c4578616d706c6520496e632e3120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d312630240603550403131d4578616d706c6520436572746966696361746520417574686f72697479301e170d3134303831353133343432375a170d3134313031343133343432375a307c310b3009060355040613024652310f300d0603550408130652616469757331153013060355040a130c4578616d706c6520496e632e312330210603550403131a4578616d706c65205365727665722043657274696669636174653120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d30820122300d06092a864886f70d01010105000382010f003082010a0282010100a48017f952242bdca72b30cd557cdb1bf724e1b8 (2) Message-Authenticator = 0x00000000000000000000000000000000 (2) State = 0x4a4352f4484047a8ee46f2f8f3146dc3 Sending Access-Challenge Id 2 from 127.0.0.1:1812 to 127.0.0.1:50453 EAP-Message = 0x010303ec15c000000b4616030100510200004d03015401c1d4e76ba36b99b107e721873099733adb03d65b4e71941aff9773cdc436202c864d26e7b722723bf80ea9b267274120739b37e81c6b52fc85b283d564fb640039000005ff0100010016030108d00b0008cc0008c90003de308203da308202c2a003020102020101300d06092a864886f70d01010b0500308193310b3009060355040613024652310f300d060355040813065261646975733112301006035504071309536f6d65776865726531153013060355040a130c4578616d706c6520496e632e3120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d312630240603550403131d4578616d706c6520436572746966696361746520417574686f72697479301e170d3134303831353133343432375a170d3134313031343133343432375a307c310b3009060355040613024652310f300d0603550408130652616469757331153013060355040a130c4578616d706c6520496e632e312330210603550403131a4578616d706c65205365727665722043657274696669636174653120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d30820122300d06092a864886f70d01010105000382010f003082010a0282010100a48017f952242bdca72b30cd557cdb1bf724e1b Message-Authenticator = 0x00000000000000000000000000000000 State = 0x4a4352f4484047a8ee46f2f8f3146dc3 (2) Finished request Waking up in 0.3 seconds. Received Access-Request Id 3 from 127.0.0.1:50453 to 127.0.0.1:1812 length 136 User-Name = 'anonymous' NAS-IP-Address = 127.0.0.1 Calling-Station-Id = '02-00-00-00-00-01' Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11 Connect-Info = 'CONNECT 11Mbps 802.11b' EAP-Message = 0x020300061500 State = 0x4a4352f4484047a8ee46f2f8f3146dc3 Message-Authenticator = 0xf623a04e74cc73d4cd091dabddfbfd1e (3) Received Access-Request packet from host 127.0.0.1 port 50453, id=3, length=136 (3) User-Name = 'anonymous' (3) NAS-IP-Address = 127.0.0.1 (3) Calling-Station-Id = '02-00-00-00-00-01' (3) Framed-MTU = 1400 (3) NAS-Port-Type = Wireless-802.11 (3) Connect-Info = 'CONNECT 11Mbps 802.11b' (3) EAP-Message = 0x020300061500 (3) State = 0x4a4352f4484047a8ee46f2f8f3146dc3 (3) Message-Authenticator = 0xf623a04e74cc73d4cd091dabddfbfd1e (3) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default (3) authorize { (3) filter_username 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) } # filter_username 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 = "anonymous", looking up realm NULL (3) suffix : No such realm "NULL" (3) [suffix] = noop (3) eap : Peer sent code Response (2) ID 3 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 0x4a4352f4484047a8 (3) eap : Finished EAP session with state 0x4a4352f4484047a8 (3) eap : Previous EAP request found for state 0x4a4352f4484047a8, released from the list (3) eap : Peer sent method TTLS (21) (3) eap : EAP TTLS (21) (3) eap : Calling eap_ttls to process EAP data (3) eap_ttls : Authenticate (3) eap_ttls : processing EAP-TLS (3) eap_ttls : Received TLS ACK (3) eap_ttls : Received TLS ACK (3) eap_ttls : ACK handshake fragment handler (3) eap_ttls : eaptls_verify returned 1 (3) eap_ttls : eaptls_process returned 13 (3) eap : New EAP session, adding 'State' attribute to reply 0x4a4352f4494747a8 (3) [eap] = handled (3) } # authenticate = handled (3) Sending Access-Challenge packet to host 127.0.0.1 port 50453, id=3, length=0 (3) EAP-Message = 0x010403ec15c000000b4634fc195e9514be0d5627ea555805674e578e5c04b44c42f0a1e475a5d66cb59588fdf37daa69de99b643a5e195ba76d2a66fd3c9fa97b022602ebfedf632c000d2915ea8820a249055733463352eea0ed88a8313df8b34e9ba621a2e632f162ea10004e5308204e1308203c9a0030201020209008f45b6163e5d5433300d06092a864886f70d0101050500308193310b3009060355040613024652310f300d060355040813065261646975733112301006035504071309536f6d65776865726531153013060355040a130c4578616d706c6520496e632e3120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d312630240603550403131d4578616d706c6520436572746966696361746520417574686f72697479301e170d3134303831353133343432375a170d3134313031343133343432375a308193310b3009060355040613024652310f300d060355040813065261646975733112301006035504071309536f6d65776865726531153013060355040a130c4578616d706c6520496e632e3120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d312630240603550403131d4578616d706c6520436572746966696361746520417574686f7269747930820122300d06092a864886f70d0101010500038201 (3) Message-Authenticator = 0x00000000000000000000000000000000 (3) State = 0x4a4352f4494747a8ee46f2f8f3146dc3 Sending Access-Challenge Id 3 from 127.0.0.1:1812 to 127.0.0.1:50453 EAP-Message = 0x010403ec15c000000b4634fc195e9514be0d5627ea555805674e578e5c04b44c42f0a1e475a5d66cb59588fdf37daa69de99b643a5e195ba76d2a66fd3c9fa97b022602ebfedf632c000d2915ea8820a249055733463352eea0ed88a8313df8b34e9ba621a2e632f162ea10004e5308204e1308203c9a0030201020209008f45b6163e5d5433300d06092a864886f70d0101050500308193310b3009060355040613024652310f300d060355040813065261646975733112301006035504071309536f6d65776865726531153013060355040a130c4578616d706c6520496e632e3120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d312630240603550403131d4578616d706c6520436572746966696361746520417574686f72697479301e170d3134303831353133343432375a170d3134313031343133343432375a308193310b3009060355040613024652310f300d060355040813065261646975733112301006035504071309536f6d65776865726531153013060355040a130c4578616d706c6520496e632e3120301e06092a864886f70d010901161161646d696e406578616d706c652e636f6d312630240603550403131d4578616d706c6520436572746966696361746520417574686f7269747930820122300d06092a864886f70d010101050003820 Message-Authenticator = 0x00000000000000000000000000000000 State = 0x4a4352f4494747a8ee46f2f8f3146dc3 (3) Finished request Waking up in 0.3 seconds. Received Access-Request Id 4 from 127.0.0.1:50453 to 127.0.0.1:1812 length 136 User-Name = 'anonymous' NAS-IP-Address = 127.0.0.1 Calling-Station-Id = '02-00-00-00-00-01' Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11 Connect-Info = 'CONNECT 11Mbps 802.11b' EAP-Message = 0x020400061500 State = 0x4a4352f4494747a8ee46f2f8f3146dc3 Message-Authenticator = 0xa85b14149f2ea3d1235bc15f8720782c (4) Received Access-Request packet from host 127.0.0.1 port 50453, id=4, length=136 (4) User-Name = 'anonymous' (4) NAS-IP-Address = 127.0.0.1 (4) Calling-Station-Id = '02-00-00-00-00-01' (4) Framed-MTU = 1400 (4) NAS-Port-Type = Wireless-802.11 (4) Connect-Info = 'CONNECT 11Mbps 802.11b' (4) EAP-Message = 0x020400061500 (4) State = 0x4a4352f4494747a8ee46f2f8f3146dc3 (4) Message-Authenticator = 0xa85b14149f2ea3d1235bc15f8720782c (4) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default (4) authorize { (4) filter_username 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) } # filter_username 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 = "anonymous", looking up realm NULL (4) suffix : No such realm "NULL" (4) [suffix] = noop (4) eap : Peer sent code Response (2) ID 4 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 0x4a4352f4494747a8 (4) eap : Finished EAP session with state 0x4a4352f4494747a8 (4) eap : Previous EAP request found for state 0x4a4352f4494747a8, released from the list (4) eap : Peer sent method TTLS (21) (4) eap : EAP TTLS (21) (4) eap : Calling eap_ttls to process EAP data (4) eap_ttls : Authenticate (4) eap_ttls : processing EAP-TLS (4) eap_ttls : Received TLS ACK (4) eap_ttls : Received TLS ACK (4) eap_ttls : ACK handshake fragment handler (4) eap_ttls : eaptls_verify returned 1 (4) eap_ttls : eaptls_process returned 13 (4) eap : New EAP session, adding 'State' attribute to reply 0x4a4352f44e4647a8 (4) [eap] = handled (4) } # authenticate = handled (4) Sending Access-Challenge packet to host 127.0.0.1 port 50453, id=4, length=0 (4) EAP-Message = 0x0105038c158000000b4674798209008f45b6163e5d5433300c0603551d13040530030101ff30360603551d1f042f302d302ba029a0278625687474703a2f2f7777772e6578616d706c652e636f6d2f6578616d706c655f63612e63726c300d06092a864886f70d010105050003820101007128b4a10a338211884ee9625da069d31967642bc941980bf3d8e6772593fa86be2ca278aa5cf49f6f363ffc0fa52562555d4425c1d71acdf600281d0a101920abe5ee7cd65e27e7228417dde91a45a970ffb194ae6a167ecd39e83c90363e8422c1d1e0fd847203ad8c8c309f9dac5441677bdc1f9e465ddf1ef82936aacc32f6edd5f46cd2375c24d07826dad02ec38ed53611c25bee3acb84f2c24f528ec17088d843c01ba79f77ec434a2f6c2897e03094ad1e6cb1da0d33cf732c462d99ee69c4c5a4c125e15f136432911154cb57a8f4d9ab457b1f6833bd2f0d8fd2cada0388ad7708ee6e72a691950a2df9ff0c6cb9558e77d833fe7b2aeaa407b0da160301020d0c0002090080abea38c938833b93e080655701d1459dd30b961b9591209e1a3d07f69b9994eda85142b80232469fc455b0e60cc9e979624025ee6bd54f082f48d743b9ee1e2091d352b6358ff5e3c698218b2d84f1d83a7364751c606567917ade57cc55856f6a5b07bc02d538190c86cd8956ae7deb95de064566bb11a4eece20 (4) Message-Authenticator = 0x00000000000000000000000000000000 (4) State = 0x4a4352f44e4647a8ee46f2f8f3146dc3 Sending Access-Challenge Id 4 from 127.0.0.1:1812 to 127.0.0.1:50453 EAP-Message = 0x0105038c158000000b4674798209008f45b6163e5d5433300c0603551d13040530030101ff30360603551d1f042f302d302ba029a0278625687474703a2f2f7777772e6578616d706c652e636f6d2f6578616d706c655f63612e63726c300d06092a864886f70d010105050003820101007128b4a10a338211884ee9625da069d31967642bc941980bf3d8e6772593fa86be2ca278aa5cf49f6f363ffc0fa52562555d4425c1d71acdf600281d0a101920abe5ee7cd65e27e7228417dde91a45a970ffb194ae6a167ecd39e83c90363e8422c1d1e0fd847203ad8c8c309f9dac5441677bdc1f9e465ddf1ef82936aacc32f6edd5f46cd2375c24d07826dad02ec38ed53611c25bee3acb84f2c24f528ec17088d843c01ba79f77ec434a2f6c2897e03094ad1e6cb1da0d33cf732c462d99ee69c4c5a4c125e15f136432911154cb57a8f4d9ab457b1f6833bd2f0d8fd2cada0388ad7708ee6e72a691950a2df9ff0c6cb9558e77d833fe7b2aeaa407b0da160301020d0c0002090080abea38c938833b93e080655701d1459dd30b961b9591209e1a3d07f69b9994eda85142b80232469fc455b0e60cc9e979624025ee6bd54f082f48d743b9ee1e2091d352b6358ff5e3c698218b2d84f1d83a7364751c606567917ade57cc55856f6a5b07bc02d538190c86cd8956ae7deb95de064566bb11a4eece2 Message-Authenticator = 0x00000000000000000000000000000000 State = 0x4a4352f44e4647a8ee46f2f8f3146dc3 (4) Finished request Waking up in 0.3 seconds. Received Access-Request Id 5 from 127.0.0.1:50453 to 127.0.0.1:1812 length 334 User-Name = 'anonymous' NAS-IP-Address = 127.0.0.1 Calling-Station-Id = '02-00-00-00-00-01' Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11 Connect-Info = 'CONNECT 11Mbps 802.11b' EAP-Message = 0x020500cc150016030100861000008200809ad8836ad4ffffa1ab5f7e2bfa5b298e3319bc07b38bc5d1c2fb83e434f02d9c1e23678eec3ae5963c1354295b42a5ddcc663dc173d57d8a706f3ceb081a7b5ef344943ba7843df00cbc6a2e6a627549a0788e38a830251eaab7f662bb75d110babe2477198912bd40d0f45a6d4f91cea39aadd9b9f9ecfe73d0d9e9b91edfca1403010001011603010030fbca1c5ebd6b1f173b878d6f112121b4940f8330ef425406559d7974ba58694f15da3d88158f35a80c6ecd0c2e71e9a8 State = 0x4a4352f44e4647a8ee46f2f8f3146dc3 Message-Authenticator = 0x06f41a7517e6a400fd0b0e9c06bd3c45 (5) Received Access-Request packet from host 127.0.0.1 port 50453, id=5, length=334 (5) User-Name = 'anonymous' (5) NAS-IP-Address = 127.0.0.1 (5) Calling-Station-Id = '02-00-00-00-00-01' (5) Framed-MTU = 1400 (5) NAS-Port-Type = Wireless-802.11 (5) Connect-Info = 'CONNECT 11Mbps 802.11b' (5) EAP-Message = 0x020500cc150016030100861000008200809ad8836ad4ffffa1ab5f7e2bfa5b298e3319bc07b38bc5d1c2fb83e434f02d9c1e23678eec3ae5963c1354295b42a5ddcc663dc173d57d8a706f3ceb081a7b5ef344943ba7843df00cbc6a2e6a627549a0788e38a830251eaab7f662bb75d110babe2477198912bd40d0f45a6d4f91cea39aadd9b9f9ecfe73d0d9e9b91edfca1403010001011603010030fbca1c5ebd6b1f173b878d6f112121b4940f8330ef425406559d7974ba58694f15da3d88158f35a80c6ecd0c2e71e9a8 (5) State = 0x4a4352f44e4647a8ee46f2f8f3146dc3 (5) Message-Authenticator = 0x06f41a7517e6a400fd0b0e9c06bd3c45 (5) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default (5) authorize { (5) filter_username 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) } # filter_username 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 = "anonymous", looking up realm NULL (5) suffix : No such realm "NULL" (5) [suffix] = noop (5) eap : Peer sent code Response (2) ID 5 length 204 (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 0x4a4352f44e4647a8 (5) eap : Finished EAP session with state 0x4a4352f44e4647a8 (5) eap : Previous EAP request found for state 0x4a4352f44e4647a8, released from the list (5) eap : Peer sent method TTLS (21) (5) eap : EAP TTLS (21) (5) eap : Calling eap_ttls to process EAP data (5) eap_ttls : Authenticate (5) eap_ttls : processing EAP-TLS (5) eap_ttls : eaptls_verify returned 7 (5) eap_ttls : Done initial handshake (5) eap_ttls : <<< TLS 1.0 Handshake [length 0086], ClientKeyExchange (5) eap_ttls : TLS_accept: SSLv3 read client key exchange A (5) eap_ttls : <<< TLS 1.0 ChangeCipherSpec [length 0001] (5) eap_ttls : <<< TLS 1.0 Handshake [length 0010], Finished (5) eap_ttls : TLS_accept: SSLv3 read finished A (5) eap_ttls : >>> TLS 1.0 ChangeCipherSpec [length 0001] (5) eap_ttls : TLS_accept: SSLv3 write change cipher spec A (5) eap_ttls : >>> TLS 1.0 Handshake [length 0010], Finished (5) eap_ttls : TLS_accept: SSLv3 write finished A (5) eap_ttls : TLS_accept: SSLv3 flush data SSL: adding session 2c864d26e7b722723bf80ea9b267274120739b37e81c6b52fc85b283d564fb64 to cache (5) eap_ttls : (other): SSL negotiation finished successfully SSL Connection Established (5) eap_ttls : eaptls_process returned 13 (5) eap : New EAP session, adding 'State' attribute to reply 0x4a4352f44f4547a8 (5) [eap] = handled (5) } # authenticate = handled (5) Sending Access-Challenge packet to host 127.0.0.1 port 50453, id=5, length=0 (5) EAP-Message = 0x0106004515800000003b1403010001011603010030113d3589a7068a548eccc02259bc8ced7e955550470aa2710b3f12e238b65b4725b44e971c0600634081d2d48179eac9 (5) Message-Authenticator = 0x00000000000000000000000000000000 (5) State = 0x4a4352f44f4547a8ee46f2f8f3146dc3 Sending Access-Challenge Id 5 from 127.0.0.1:1812 to 127.0.0.1:50453 EAP-Message = 0x0106004515800000003b1403010001011603010030113d3589a7068a548eccc02259bc8ced7e955550470aa2710b3f12e238b65b4725b44e971c0600634081d2d48179eac9 Message-Authenticator = 0x00000000000000000000000000000000 State = 0x4a4352f44f4547a8ee46f2f8f3146dc3 (5) Finished request Waking up in 0.3 seconds. Received Access-Request Id 6 from 127.0.0.1:50453 to 127.0.0.1:1812 length 306 User-Name = 'anonymous' NAS-IP-Address = 127.0.0.1 Calling-Station-Id = '02-00-00-00-00-01' Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11 Connect-Info = 'CONNECT 11Mbps 802.11b' EAP-Message = 0x020600b015001703010020eba569898bd1fc609c91af39eaa6574bb4a8f5ee64ab81e3644c9fca616a9538170301008035cd08373e3a3b29bff222d9fc301bc787e09f570d6b0b5bceccd6c6423005a97c0c80ef7fef49721c79135466135c123064847d99b45ce3e84be45af0a295c22f3bb09774ec7b83d4a1916d69fdbdac9a31804018c2a12eb81eb8255ad88042383b406ed82cfe5a022961a5a4f849d6dc54121fa302c60659171d0c1f7f1c1b State = 0x4a4352f44f4547a8ee46f2f8f3146dc3 Message-Authenticator = 0x2ff3361dc1dc963acc5b953eea68ecd4 (6) Received Access-Request packet from host 127.0.0.1 port 50453, id=6, length=306 (6) User-Name = 'anonymous' (6) NAS-IP-Address = 127.0.0.1 (6) Calling-Station-Id = '02-00-00-00-00-01' (6) Framed-MTU = 1400 (6) NAS-Port-Type = Wireless-802.11 (6) Connect-Info = 'CONNECT 11Mbps 802.11b' (6) EAP-Message = 0x020600b015001703010020eba569898bd1fc609c91af39eaa6574bb4a8f5ee64ab81e3644c9fca616a9538170301008035cd08373e3a3b29bff222d9fc301bc787e09f570d6b0b5bceccd6c6423005a97c0c80ef7fef49721c79135466135c123064847d99b45ce3e84be45af0a295c22f3bb09774ec7b83d4a1916d69fdbdac9a31804018c2a12eb81eb8255ad88042383b406ed82cfe5a022961a5a4f849d6dc54121fa302c60659171d0c1f7f1c1b (6) State = 0x4a4352f44f4547a8ee46f2f8f3146dc3 (6) Message-Authenticator = 0x2ff3361dc1dc963acc5b953eea68ecd4 (6) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default (6) authorize { (6) filter_username 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) } # filter_username 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 = "anonymous", looking up realm NULL (6) suffix : No such realm "NULL" (6) [suffix] = noop (6) eap : Peer sent code Response (2) ID 6 length 176 (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 0x4a4352f44f4547a8 (6) eap : Finished EAP session with state 0x4a4352f44f4547a8 (6) eap : Previous EAP request found for state 0x4a4352f44f4547a8, released from the list (6) eap : Peer sent method TTLS (21) (6) eap : EAP TTLS (21) (6) eap : Calling eap_ttls to process EAP data (6) eap_ttls : Authenticate (6) eap_ttls : processing EAP-TLS (6) eap_ttls : eaptls_verify returned 7 (6) eap_ttls : Done initial handshake (6) eap_ttls : eaptls_process returned 7 (6) eap_ttls : Session established. Proceeding to decode tunneled attributes (6) eap_ttls : Got tunneled request User-Name = 'bob' MS-CHAP-Challenge = 0x4dce02c40caf7653947b68efb958de5e MS-CHAP2-Response = 0xb200fee7b26ee2fe1b42b8f31d67b868d0ec0000000000000000e604797f7bb681809b7d1815fedab7f5d5c0f46283ae87b6 (6) eap_ttls : Sending tunneled request (6) server inner-tunnel { (6) Request: User-Name = 'bob' MS-CHAP-Challenge = 0x4dce02c40caf7653947b68efb958de5e MS-CHAP2-Response = 0xb200fee7b26ee2fe1b42b8f31d67b868d0ec0000000000000000e604797f7bb681809b7d1815fedab7f5d5c0f46283ae87b6 (6) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/inner-tunnel (6) authorize { (6) [chap] = noop (6) mschap : Found MS-CHAP attributes. Setting 'Auth-Type = mschap' (6) [mschap] = ok (6) suffix : Checking for suffix after "@" (6) suffix : No '@' in User-Name = "bob", 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 : No EAP-Message, not doing EAP (6) [eap] = noop (6) files : users: Matched entry bob at line 88 (6) files : EXPAND Hello, %{User-Name} (6) files : --> Hello, bob (6) [files] = ok (6) [expiration] = noop (6) [logintime] = noop (6) WARNING: pap : Auth-Type already set. Not setting to PAP (6) [pap] = noop (6) } # authorize = ok (6) Found Auth-Type = MSCHAP (6) # Executing group from file /usr/local/etc/raddb/sites-enabled/inner-tunnel (6) Auth-Type MS-CHAP { (6) mschap : Found Cleartext-Password, hashing to create LM-Password (6) mschap : Found Cleartext-Password, hashing to create NT-Password (6) mschap : Creating challenge hash with username: bob (6) mschap : Client is using MS-CHAPv2 (6) mschap : Adding MS-CHAPv2 MPPE keys (6) [mschap] = ok (6) } # Auth-Type MS-CHAP = ok (6) # Executing section post-auth from file /usr/local/etc/raddb/sites-enabled/inner-tunnel (6) post-auth { (6) update reply { (6) EXPAND %{request:User-Name} (6) --> bob (6) User-Name = "bob" (6) } # update reply = noop (6) } # post-auth = noop (6) Reply: Reply-Message = 'Hello, bob' MS-CHAP2-Success = 0xb2533d32423045373333433643453843383944343241324336344243383035334434323242314244344634 MS-MPPE-Recv-Key = 0x64606f914c71ce51029762c1e3042abc MS-MPPE-Send-Key = 0x872417c1b90ef4e53736875f404de6a9 MS-MPPE-Encryption-Policy = Encryption-Allowed MS-MPPE-Encryption-Types = RC4-40or128-bit-Allowed User-Name = 'bob' (6) } # server inner-tunnel (6) eap_ttls : Got tunneled Access-Accept (6) eap_ttls : Got MS-CHAP2-Success, tunneling it to the client in a challenge (6) eap_ttls : sending tunneled reply attributes MS-CHAP2-Success = 0xb2533d32423045373333433643453843383944343241324336344243383035334434323242314244344634 (6) eap_ttls : end tunneled reply attributes (6) eap : New EAP session, adding 'State' attribute to reply 0x4a4352f44c4447a8 (6) [eap] = handled (6) } # authenticate = handled (6) Sending Access-Challenge packet to host 127.0.0.1 port 50453, id=6, length=0 (6) EAP-Message = 0x0107005f15800000005517030100505e5d8f392ec7ec96fdee1b5da5474c1f750518635cb8d558a2e93a9e700ecdfa11a3b1a528b5fddd0605cb84a6319c6d4badb71be565bbe0e42e4d8e4320422ce311a95a21c7d65c6cc3d55fe5a0e264 (6) Message-Authenticator = 0x00000000000000000000000000000000 (6) State = 0x4a4352f44c4447a8ee46f2f8f3146dc3 Sending Access-Challenge Id 6 from 127.0.0.1:1812 to 127.0.0.1:50453 EAP-Message = 0x0107005f15800000005517030100505e5d8f392ec7ec96fdee1b5da5474c1f750518635cb8d558a2e93a9e700ecdfa11a3b1a528b5fddd0605cb84a6319c6d4badb71be565bbe0e42e4d8e4320422ce311a95a21c7d65c6cc3d55fe5a0e264 Message-Authenticator = 0x00000000000000000000000000000000 State = 0x4a4352f44c4447a8ee46f2f8f3146dc3 (6) Finished request Waking up in 0.2 seconds. Received Access-Request Id 7 from 127.0.0.1:50453 to 127.0.0.1:1812 length 136 User-Name = 'anonymous' NAS-IP-Address = 127.0.0.1 Calling-Station-Id = '02-00-00-00-00-01' Framed-MTU = 1400 NAS-Port-Type = Wireless-802.11 Connect-Info = 'CONNECT 11Mbps 802.11b' EAP-Message = 0x020700061500 State = 0x4a4352f44c4447a8ee46f2f8f3146dc3 Message-Authenticator = 0x08ac57175c6a13c046178e4f6f056291 (7) Received Access-Request packet from host 127.0.0.1 port 50453, id=7, length=136 (7) User-Name = 'anonymous' (7) NAS-IP-Address = 127.0.0.1 (7) Calling-Station-Id = '02-00-00-00-00-01' (7) Framed-MTU = 1400 (7) NAS-Port-Type = Wireless-802.11 (7) Connect-Info = 'CONNECT 11Mbps 802.11b' (7) EAP-Message = 0x020700061500 (7) State = 0x4a4352f44c4447a8ee46f2f8f3146dc3 (7) Message-Authenticator = 0x08ac57175c6a13c046178e4f6f056291 (7) # Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default (7) authorize { (7) filter_username 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) } # filter_username 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 = "anonymous", looking up realm NULL (7) suffix : No such realm "NULL" (7) [suffix] = noop (7) eap : Peer sent code Response (2) ID 7 length 6 (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 0x4a4352f44c4447a8 (7) eap : Finished EAP session with state 0x4a4352f44c4447a8 (7) eap : Previous EAP request found for state 0x4a4352f44c4447a8, released from the list (7) eap : Peer sent method TTLS (21) (7) eap : EAP TTLS (21) (7) eap : Calling eap_ttls to process EAP data (7) eap_ttls : Authenticate (7) eap_ttls : processing EAP-TLS (7) eap_ttls : Received TLS ACK (7) eap_ttls : Received TLS ACK (7) eap_ttls : ACK handshake is finished (7) eap_ttls : eaptls_verify returned 3 (7) eap_ttls : eaptls_process returned 3 (7) eap_ttls : Using saved attributes from the original Access-Accept Reply-Message = 'Hello, bob' User-Name = 'bob' (7) eap_ttls : Saving session 2c864d26e7b722723bf80ea9b267274120739b37e81c6b52fc85b283d564fb64 vps 0x7fe8b15bfca0 in the cache (7) eap : Freeing handler (7) [eap] = ok (7) } # authenticate = ok (7) # Executing section post-auth from file /usr/local/etc/raddb/sites-enabled/default (7) post-auth { (7) [exec] = noop (7) remove_reply_message_if_eap remove_reply_message_if_eap { (7) if (&reply:EAP-Message && reply:Reply-Message) (7) if (&reply:EAP-Message && reply:Reply-Message) -> TRUE (7) if (&reply:EAP-Message && reply:Reply-Message) { (7) update reply { (7) Reply-Message !* ANY (7) } # update reply = noop (7) } # if (&reply:EAP-Message && reply:Reply-Message) = noop (7) ... skipping else for request 7: Preceding "if" was taken (7) } # remove_reply_message_if_eap remove_reply_message_if_eap = noop (7) } # post-auth = noop (7) Sending Access-Accept packet to host 127.0.0.1 port 50453, id=7, length=0 (7) User-Name = 'bob' (7) MS-MPPE-Recv-Key = 0x8967e3957463d13ac1b94b5914d1097da7501e06638306a7ead68fe7266363c9 (7) MS-MPPE-Send-Key = 0x3b7142c8db938ae9adbdd45f6fb23293e7c331a03514b220176dcaaa46b00dad (7) EAP-MSK = 0x8967e3957463d13ac1b94b5914d1097da7501e06638306a7ead68fe7266363c93b7142c8db938ae9adbdd45f6fb23293e7c331a03514b220176dcaaa46b00dad (7) EAP-EMSK = 0xd43629eba36ae4ca7ea40b738a33034f6097a6333200ae312cb18565cc3f8d0ac8e43738965977e12d6a94e67396458994bd66c68ab6b46e4513040e4a70ec0c (7) EAP-Session-Id = 0x155401c1d4ca2271f6d8d7bdbb6ca0e274917dfe0e6ee77b424df7a51a8f7bfe985401c1d4e76ba36b99b107e721873099733adb03d65b4e71941aff9773cdc436 (7) EAP-Message = 0x03070004 (7) Message-Authenticator = 0x00000000000000000000000000000000 Sending Access-Accept Id 7 from 127.0.0.1:1812 to 127.0.0.1:50453 User-Name = 'bob' MS-MPPE-Recv-Key = 0x8967e3957463d13ac1b94b5914d1097da7501e06638306a7ead68fe7266363c9 MS-MPPE-Send-Key = 0x3b7142c8db938ae9adbdd45f6fb23293e7c331a03514b220176dcaaa46b00dad EAP-Message = 0x03070004 Message-Authenticator = 0x00000000000000000000000000000000 (7) Finished request Waking up in 0.2 seconds. Waking up in 4.6 seconds. (0) Cleaning up request packet ID 0 with timestamp +66 (1) Cleaning up request packet ID 1 with timestamp +66 (2) Cleaning up request packet ID 2 with timestamp +66 (3) Cleaning up request packet ID 3 with timestamp +66 (4) Cleaning up request packet ID 4 with timestamp +66 (5) Cleaning up request packet ID 5 with timestamp +66 (6) Cleaning up request packet ID 6 with timestamp +67 (7) Cleaning up request packet ID 7 with timestamp +67 Ready to process requests
participants (4)
-
Alan DeKok -
Axel Luttgens -
Bhavesh Kamani -
Stefan Paetow