Freeradius-Users
Threads by month
- ----- 2026 -----
- July
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2005 -----
- December
- November
- October
- September
- August
- July
- June
- May
December 2024
- 25 participants
- 29 discussions
As we're working to finalize v4 (real soon now!) one question which came up is MongDB.
The Mongo team is currently looking into creating a fully async API for Mongo. We would need to use this in v4 in order to increase scalability. If we don't have such an API, then the Mongo drivers would be significantly slower than other databases.
Their forum as a poll available at: https://feedback.mongodb.com/forums/924286-drivers/suggestions/47080057-asy…
If you're interested in using Mongo with FreeRADIUS please vote on that page for their async API.
Alan DeKok.
5
7
All,
I've got authentication working nicely with MSCHAP, but now I'd like to
only allow users that are members of a certain AD group.
I would prefer to have this happen only when requests come from a
specific client (wireless access point). In this case the idea is to
have users only be able to get wireless access when they're in a
specific AD group.
How can I do this in freeradius?
Thanks,
Brian
7
18
14 Jan '25
Thanks.
> OK. I suspect the problem is your local mailing system then. No one else has issues.
You do not have to guess / suspect, I am pretty sure it is on our side, but it is hard do find this needle in a haystack in this kind of big setup. Strangely it was only related to this explicit thread "Add TLS version to logs with linelog in FreeRADIUS 3.2.4".
> Please post the *full* debug output.
Here we go:
(182) Received Access-Request Id 31 from 9.9.9.9:60533 to 130.92.10.33:1812 length 446
(182) User-Name = "xyz(a)unibe.ch"
(182) Service-Type = Framed-User
(182) Cisco-AVPair = "service-type=Framed"
(182) Framed-MTU = 1485
(182) EAP-Message = 0x0201001d01646f6d696e69632e7374616c64657240756e6962652e6368
(182) Message-Authenticator = 0x11a30dec371519f50eb0809f117144db
(182) Cisco-AVPair = "audit-session-id=0F2A5C820000093C2FFBA7DF"
(182) Cisco-AVPair = "method=dot1x"
(182) Cisco-AVPair = "client-iif-id=3724547122"
(182) Cisco-AVPair = "vlan-id=1876"
(182) NAS-IP-Address = 9.9.9.9
(182) NAS-Port-Type = Wireless-802.11
(182) NAS-Port = 4211
(182) Cisco-AVPair = "cisco-wlan-ssid=eduroam"
(182) Cisco-AVPair = "wlan-profile-name=eduroam-DEV"
(182) Called-Station-Id = "60-b9-c0-04-c4-40:eduroam"
(182) Calling-Station-Id = "22-e0-73-f2-50-23"
(182) Airespace-Wlan-Id = 98
(182) NAS-Identifier = "60-b9-c0-04-c4-40:eduroam"
(182) WLAN-Group-Cipher = 1027076
(182) WLAN-Pairwise-Cipher = 1027076
(182) WLAN-AKM-Suite = 1027075
(182) # Executing section authorize from file /etc/freeradius/sites-enabled/default
(182) authorize {
(182) policy rewrite_called_station_id {
(182) if (&Called-Station-Id && (&Called-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))?$/i)) {
(182) if (&Called-Station-Id && (&Called-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))?$/i)) -> TRUE
(182) if (&Called-Station-Id && (&Called-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))?$/i)) {
(182) update request {
(182) EXPAND %{toupper:%{1}-%{2}-%{3}-%{4}-%{5}-%{6}}
(182) --> 60-B9-C0-04-C4-40
(182) &Called-Station-Id := 60-B9-C0-04-C4-40
(182) } # update request = noop
(182) if ("%{8}") {
(182) EXPAND %{8}
(182) --> eduroam
(182) if ("%{8}") -> TRUE
(182) if ("%{8}") {
(182) update request {
(182) EXPAND %{8}
(182) --> eduroam
(182) &Called-Station-SSID := eduroam
(182) EXPAND %{Called-Station-Id}:%{8}
(182) --> 60-B9-C0-04-C4-40:eduroam
(182) &Called-Station-Id := 60-B9-C0-04-C4-40:eduroam
(182) } # update request = noop
(182) } # if ("%{8}") = noop
(182) [updated] = updated
(182) } # if (&Called-Station-Id && (&Called-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))?$/i)) = updated
(182) ... skipping else: Preceding "if" was taken
(182) } # policy rewrite_called_station_id = updated
(182) policy rewrite_calling_station_id {
(182) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) {
(182) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) -> TRUE
(182) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) {
(182) update request {
(182) EXPAND %{toupper:%{1}-%{2}-%{3}-%{4}-%{5}-%{6}}
(182) --> 22-E0-73-F2-50-23
(182) &Calling-Station-Id := 22-E0-73-F2-50-23
(182) EXPAND %{toupper:%{1}:%{2}:%{3}:%{4}:%{5}:%{6}}
(182) --> 22:E0:73:F2:50:23
(182) &locMacAuth-Calling-Station-Id := 22:E0:73:F2:50:23
(182) } # update request = noop
(182) [updated] = updated
(182) } # if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) = updated
(182) ... skipping else: Preceding "if" was taken
(182) } # policy rewrite_calling_station_id = updated
(182) if (NAS-Identifier == "uvisrz0215.insel.ch") {
(182) if (NAS-Identifier == "uvisrz0215.insel.ch") -> FALSE
(182) if (Service-Type == Call-Check) {
(182) if (Service-Type == Call-Check) -> FALSE
(182) if (Packet-Src-IP-Address == 130.59.31.24 || Packet-Src-IP-Address == 130.59.31.25) {
(182) EXPAND Packet-Src-IP-Address
(182) --> 9.9.9.9
(182) EXPAND Packet-Src-IP-Address
(182) --> 9.9.9.9
(182) if (Packet-Src-IP-Address == 130.59.31.24 || Packet-Src-IP-Address == 130.59.31.25) -> FALSE
(182) if (EAP-Message) {
(182) if (EAP-Message) -> TRUE
(182) if (EAP-Message) {
(182) policy filter_username {
(182) if (&User-Name) {
(182) if (&User-Name) -> TRUE
(182) if (&User-Name) {
(182) if (&User-Name =~ / /) {
(182) if (&User-Name =~ / /) -> FALSE
(182) if (&User-Name =~ /@[^@]*@/ ) {
(182) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(182) if (&User-Name =~ /\.\./ ) {
(182) if (&User-Name =~ /\.\./ ) -> FALSE
(182) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(182) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) -> FALSE
(182) if (&User-Name =~ /\.$/) {
(182) if (&User-Name =~ /\.$/) -> FALSE
(182) if (&User-Name =~ /(a)\./) {
(182) if (&User-Name =~ /(a)\./) -> FALSE
(182) } # if (&User-Name) = updated
(182) } # policy filter_username = updated
(182) suffix: Checking for suffix after "@"
(182) suffix: Looking up realm "unibe.ch" for User-Name = "xyz(a)unibe.ch"
(182) suffix: Found realm "UNIBE.CH"
(182) suffix: Adding Realm = "UNIBE.CH"
(182) suffix: Authentication realm is LOCAL
(182) [suffix] = ok
(182) policy deny_no_realm {
(182) if (User-Name && (User-Name !~ /@/)) {
(182) if (User-Name && (User-Name !~ /@/)) -> FALSE
(182) } # policy deny_no_realm = updated
(182) update request {
(182) EXPAND %{toupper:%{Realm}}
(182) --> UNIBE.CH
(182) Realm := UNIBE.CH
(182) } # update request = noop
(182) eap: Peer sent EAP Response (code 2) ID 1 length 29
(182) eap: EAP-Identity reply, returning 'ok' so we can short-circuit the rest of authorize
(182) [eap] = ok
(182) } # if (EAP-Message) = ok
(182) } # authorize = updated
(182) Found Auth-Type = eap
(182) # Executing group from file /etc/freeradius/sites-enabled/default
(182) Auth-Type eap {
(182) eap: Peer sent packet with method EAP Identity (1)
(182) eap: Calling submodule eap_peap to process data
(182) eap_peap: (TLS) PEAP -Initiating new session
(182) eap: Sending EAP Request (code 1) ID 2 length 6
(182) eap: EAP session adding &reply:State = 0xcf8ae573cf88fce6
(182) [eap] = handled
(182) if (handled && (Response-Packet-Type == Access-Challenge)) {
(182) EXPAND Response-Packet-Type
(182) --> Access-Challenge
(182) if (handled && (Response-Packet-Type == Access-Challenge)) -> TRUE
(182) if (handled && (Response-Packet-Type == Access-Challenge)) {
(182) attr_filter.access_challenge: EXPAND %{User-Name}
(182) attr_filter.access_challenge: --> xyz(a)unibe.ch
(182) attr_filter.access_challenge: Matched entry DEFAULT at line 12
(182) [attr_filter.access_challenge.post-auth] = updated
(182) [handled] = handled
(182) } # if (handled && (Response-Packet-Type == Access-Challenge)) = handled
(182) } # Auth-Type eap = handled
(182) Using Post-Auth-Type Challenge
(182) Post-Auth-Type sub-section not found. Ignoring.
(182) # Executing group from file /etc/freeradius/sites-enabled/default
(182) session-state: Saving cached attributes
(182) Framed-MTU = 1014
(182) Sent Access-Challenge Id 31 from 130.92.10.33:1812 to 9.9.9.9:60533 length 64
(182) EAP-Message = 0x010200061920
(182) Message-Authenticator = 0x00000000000000000000000000000000
(182) State = 0xcf8ae573cf88fce6e3b6e72de6bf5cbc
(182) Finished request
Waking up in 4.9 seconds.
(183) Received Access-Request Id 39 from 9.9.9.9:60533 to 130.92.10.33:1812 length 596
(183) User-Name = "xyz(a)unibe.ch"
(183) Service-Type = Framed-User
(183) Cisco-AVPair = "service-type=Framed"
(183) Framed-MTU = 1485
(183) EAP-Message = 0x020200a119800000009716030100920100008e030367374aaa0dddaf0e7d100625e3cfeeb8cd6518161994daa1847ad3002739d57600002c00ffc02cc02bc024c023c00ac009c008c030c02fc028c027c014c013c012009d009c003d003c0035002f000a01000039000a00080006001700180019000b00020100000d00120010040102010501060104030203050306030005000501000000000012000000170000
(183) Message-Authenticator = 0x29862be28b4764a547e61644a45d82bf
(183) Cisco-AVPair = "audit-session-id=0F2A5C820000093C2FFBA7DF"
(183) Cisco-AVPair = "method=dot1x"
(183) Cisco-AVPair = "client-iif-id=3724547122"
(183) Cisco-AVPair = "vlan-id=1876"
(183) NAS-IP-Address = 9.9.9.9
(183) NAS-Port-Type = Wireless-802.11
(183) NAS-Port = 4211
(183) State = 0xcf8ae573cf88fce6e3b6e72de6bf5cbc
(183) Cisco-AVPair = "cisco-wlan-ssid=eduroam"
(183) Cisco-AVPair = "wlan-profile-name=eduroam-DEV"
(183) Called-Station-Id = "60-b9-c0-04-c4-40:eduroam"
(183) Calling-Station-Id = "22-e0-73-f2-50-23"
(183) Airespace-Wlan-Id = 98
(183) NAS-Identifier = "60-b9-c0-04-c4-40:eduroam"
(183) WLAN-Group-Cipher = 1027076
(183) WLAN-Pairwise-Cipher = 1027076
(183) WLAN-AKM-Suite = 1027075
(183) Restoring &session-state
(183) &session-state:Framed-MTU = 1014
(183) # Executing section authorize from file /etc/freeradius/sites-enabled/default
(183) authorize {
(183) policy rewrite_called_station_id {
(183) if (&Called-Station-Id && (&Called-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))?$/i)) {
(183) if (&Called-Station-Id && (&Called-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))?$/i)) -> TRUE
(183) if (&Called-Station-Id && (&Called-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))?$/i)) {
(183) update request {
(183) EXPAND %{toupper:%{1}-%{2}-%{3}-%{4}-%{5}-%{6}}
(183) --> 60-B9-C0-04-C4-40
(183) &Called-Station-Id := 60-B9-C0-04-C4-40
(183) } # update request = noop
(183) if ("%{8}") {
(183) EXPAND %{8}
(183) --> eduroam
(183) if ("%{8}") -> TRUE
(183) if ("%{8}") {
(183) update request {
(183) EXPAND %{8}
(183) --> eduroam
(183) &Called-Station-SSID := eduroam
(183) EXPAND %{Called-Station-Id}:%{8}
(183) --> 60-B9-C0-04-C4-40:eduroam
(183) &Called-Station-Id := 60-B9-C0-04-C4-40:eduroam
(183) } # update request = noop
(183) } # if ("%{8}") = noop
(183) [updated] = updated
(183) } # if (&Called-Station-Id && (&Called-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))?$/i)) = updated
(183) ... skipping else: Preceding "if" was taken
(183) } # policy rewrite_called_station_id = updated
(183) policy rewrite_calling_station_id {
(183) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) {
(183) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) -> TRUE
(183) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) {
(183) update request {
(183) EXPAND %{toupper:%{1}-%{2}-%{3}-%{4}-%{5}-%{6}}
(183) --> 22-E0-73-F2-50-23
(183) &Calling-Station-Id := 22-E0-73-F2-50-23
(183) EXPAND %{toupper:%{1}:%{2}:%{3}:%{4}:%{5}:%{6}}
(183) --> 22:E0:73:F2:50:23
(183) &locMacAuth-Calling-Station-Id := 22:E0:73:F2:50:23
(183) } # update request = noop
(183) [updated] = updated
(183) } # if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) = updated
(183) ... skipping else: Preceding "if" was taken
(183) } # policy rewrite_calling_station_id = updated
(183) if (NAS-Identifier == "uvisrz0215.insel.ch") {
(183) if (NAS-Identifier == "uvisrz0215.insel.ch") -> FALSE
(183) if (Service-Type == Call-Check) {
(183) if (Service-Type == Call-Check) -> FALSE
(183) if (Packet-Src-IP-Address == 130.59.31.24 || Packet-Src-IP-Address == 130.59.31.25) {
(183) EXPAND Packet-Src-IP-Address
(183) --> 9.9.9.9
(183) EXPAND Packet-Src-IP-Address
(183) --> 9.9.9.9
(183) if (Packet-Src-IP-Address == 130.59.31.24 || Packet-Src-IP-Address == 130.59.31.25) -> FALSE
(183) if (EAP-Message) {
(183) if (EAP-Message) -> TRUE
(183) if (EAP-Message) {
(183) policy filter_username {
(183) if (&User-Name) {
(183) if (&User-Name) -> TRUE
(183) if (&User-Name) {
(183) if (&User-Name =~ / /) {
(183) if (&User-Name =~ / /) -> FALSE
(183) if (&User-Name =~ /@[^@]*@/ ) {
(183) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(183) if (&User-Name =~ /\.\./ ) {
(183) if (&User-Name =~ /\.\./ ) -> FALSE
(183) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(183) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) -> FALSE
(183) if (&User-Name =~ /\.$/) {
(183) if (&User-Name =~ /\.$/) -> FALSE
(183) if (&User-Name =~ /(a)\./) {
(183) if (&User-Name =~ /(a)\./) -> FALSE
(183) } # if (&User-Name) = updated
(183) } # policy filter_username = updated
(183) suffix: Checking for suffix after "@"
(183) suffix: Looking up realm "unibe.ch" for User-Name = "xyz(a)unibe.ch"
(183) suffix: Found realm "UNIBE.CH"
(183) suffix: Adding Realm = "UNIBE.CH"
(183) suffix: Authentication realm is LOCAL
(183) [suffix] = ok
(183) policy deny_no_realm {
(183) if (User-Name && (User-Name !~ /@/)) {
(183) if (User-Name && (User-Name !~ /@/)) -> FALSE
(183) } # policy deny_no_realm = updated
(183) update request {
(183) EXPAND %{toupper:%{Realm}}
(183) --> UNIBE.CH
(183) Realm := UNIBE.CH
(183) } # update request = noop
(183) eap: Peer sent EAP Response (code 2) ID 2 length 161
(183) eap: Continuing tunnel setup
(183) [eap] = ok
(183) } # if (EAP-Message) = ok
(183) } # authorize = updated
(183) Found Auth-Type = eap
(183) # Executing group from file /etc/freeradius/sites-enabled/default
(183) Auth-Type eap {
(183) eap: Removing EAP session with state 0xcf8ae573cf88fce6
(183) eap: Previous EAP request found for state 0xcf8ae573cf88fce6, released from the list
(183) eap: Peer sent packet with method EAP PEAP (25)
(183) eap: Calling submodule eap_peap to process data
(183) eap_peap: (TLS) EAP Peer says that the final record size will be 151 bytes
(183) eap_peap: (TLS) EAP Got all data (151 bytes)
(183) eap_peap: (TLS) PEAP - Handshake state - before SSL initialization
(183) eap_peap: (TLS) PEAP - Handshake state - Server before SSL initialization
(183) eap_peap: (TLS) PEAP - Handshake state - Server before SSL initialization
(183) eap_peap: (TLS) PEAP - recv TLS 1.3 Handshake, ClientHello
(183) eap_peap: (TLS) PEAP - Handshake state - Server SSLv3/TLS read client hello
(183) eap_peap: (TLS) PEAP - send TLS 1.2 Handshake, ServerHello
(183) eap_peap: (TLS) PEAP - Handshake state - Server SSLv3/TLS write server hello
(183) eap_peap: (TLS) PEAP - send TLS 1.2 Handshake, Certificate
(183) eap_peap: (TLS) PEAP - Handshake state - Server SSLv3/TLS write certificate
(183) eap_peap: (TLS) PEAP - send TLS 1.2 Handshake, ServerKeyExchange
(183) eap_peap: (TLS) PEAP - Handshake state - Server SSLv3/TLS write key exchange
(183) eap_peap: (TLS) PEAP - send TLS 1.2 Handshake, ServerHelloDone
(183) eap_peap: (TLS) PEAP - Handshake state - Server SSLv3/TLS write server done
(183) eap_peap: (TLS) PEAP - Server : Need to read more data: SSLv3/TLS write server done
(183) eap_peap: (TLS) PEAP - In Handshake Phase
(183) eap: Sending EAP Request (code 1) ID 3 length 1024
(183) eap: EAP session adding &reply:State = 0xcf8ae573ce89fce6
(183) [eap] = handled
(183) if (handled && (Response-Packet-Type == Access-Challenge)) {
(183) EXPAND Response-Packet-Type
(183) --> Access-Challenge
(183) if (handled && (Response-Packet-Type == Access-Challenge)) -> TRUE
(183) if (handled && (Response-Packet-Type == Access-Challenge)) {
(183) attr_filter.access_challenge: EXPAND %{User-Name}
(183) attr_filter.access_challenge: --> xyz(a)unibe.ch
(183) attr_filter.access_challenge: Matched entry DEFAULT at line 12
(183) [attr_filter.access_challenge.post-auth] = updated
(183) [handled] = handled
(183) } # if (handled && (Response-Packet-Type == Access-Challenge)) = handled
(183) } # Auth-Type eap = handled
(183) Using Post-Auth-Type Challenge
(183) Post-Auth-Type sub-section not found. Ignoring.
(183) # Executing group from file /etc/freeradius/sites-enabled/default
(183) session-state: Saving cached attributes
(183) Framed-MTU = 1014
(183) TLS-Session-Information = "(TLS) PEAP - recv TLS 1.3 Handshake, ClientHello"
(183) TLS-Session-Information = "(TLS) PEAP - send TLS 1.2 Handshake, ServerHello"
(183) TLS-Session-Information = "(TLS) PEAP - send TLS 1.2 Handshake, Certificate"
(183) TLS-Session-Information = "(TLS) PEAP - send TLS 1.2 Handshake, ServerKeyExchange"
(183) TLS-Session-Information = "(TLS) PEAP - send TLS 1.2 Handshake, ServerHelloDone"
(183) Sent Access-Challenge Id 39 from 130.92.10.33:1812 to 9.9.9.9:60533 length 1090
(183) EAP-Message = 0x0103040019c000001135160303003d020000390303deaa040a2cd12b855def85a0f1cda085f35e6014c26e22fc444f574e4752440100c030000011ff01000100000b000403000102001700001603030f930b000f8f000f8c0007253082072130820609a003020102021006387c8dc0feba6f5f4a0c47e7c561cd300d06092a864886f70d01010b05003059310b300906035504061302555331153013060355040a130c446967694365727420496e63313330310603550403132a446967694365727420476c6f62616c20473220544c532052534120534841323536203230323020434131301e170d3234303532393030303030305a170d3235303532383233353935395a305f310b3009060355040613024348310d300b060355040813044265726e310d300b060355040713044265726e311b3019060355040a1312556e6976657273697479206f66204265726e311530130603550403130c6161692e756e6962652e636830820122300d06092a864886f70d01010105
(183) Message-Authenticator = 0x00000000000000000000000000000000
(183) State = 0xcf8ae573ce89fce6e3b6e72de6bf5cbc
(183) Finished request
Waking up in 4.9 seconds.
(184) Received Access-Request Id 47 from 9.9.9.9:60533 to 130.92.10.33:1812 length 441
(184) User-Name = "xyz(a)unibe.ch"
(184) Service-Type = Framed-User
(184) Cisco-AVPair = "service-type=Framed"
(184) Framed-MTU = 1485
(184) EAP-Message = 0x020300061900
(184) Message-Authenticator = 0xf94531ec1c265e936b60a676448e5edf
(184) Cisco-AVPair = "audit-session-id=0F2A5C820000093C2FFBA7DF"
(184) Cisco-AVPair = "method=dot1x"
(184) Cisco-AVPair = "client-iif-id=3724547122"
(184) Cisco-AVPair = "vlan-id=1876"
(184) NAS-IP-Address = 9.9.9.9
(184) NAS-Port-Type = Wireless-802.11
(184) NAS-Port = 4211
(184) State = 0xcf8ae573ce89fce6e3b6e72de6bf5cbc
(184) Cisco-AVPair = "cisco-wlan-ssid=eduroam"
(184) Cisco-AVPair = "wlan-profile-name=eduroam-DEV"
(184) Called-Station-Id = "60-b9-c0-04-c4-40:eduroam"
(184) Calling-Station-Id = "22-e0-73-f2-50-23"
(184) Airespace-Wlan-Id = 98
(184) NAS-Identifier = "60-b9-c0-04-c4-40:eduroam"
(184) WLAN-Group-Cipher = 1027076
(184) WLAN-Pairwise-Cipher = 1027076
(184) WLAN-AKM-Suite = 1027075
(184) Restoring &session-state
(184) &session-state:Framed-MTU = 1014
(184) &session-state:TLS-Session-Information = "(TLS) PEAP - recv TLS 1.3 Handshake, ClientHello"
(184) &session-state:TLS-Session-Information = "(TLS) PEAP - send TLS 1.2 Handshake, ServerHello"
(184) &session-state:TLS-Session-Information = "(TLS) PEAP - send TLS 1.2 Handshake, Certificate"
(184) &session-state:TLS-Session-Information = "(TLS) PEAP - send TLS 1.2 Handshake, ServerKeyExchange"
(184) &session-state:TLS-Session-Information = "(TLS) PEAP - send TLS 1.2 Handshake, ServerHelloDone"
(184) # Executing section authorize from file /etc/freeradius/sites-enabled/default
(184) authorize {
(184) policy rewrite_called_station_id {
(184) if (&Called-Station-Id && (&Called-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))?$/i)) {
(184) if (&Called-Station-Id && (&Called-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))?$/i)) -> TRUE
(184) if (&Called-Station-Id && (&Called-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))?$/i)) {
(184) update request {
(184) EXPAND %{toupper:%{1}-%{2}-%{3}-%{4}-%{5}-%{6}}
(184) --> 60-B9-C0-04-C4-40
(184) &Called-Station-Id := 60-B9-C0-04-C4-40
(184) } # update request = noop
(184) if ("%{8}") {
(184) EXPAND %{8}
(184) --> eduroam
(184) if ("%{8}") -> TRUE
(184) if ("%{8}") {
(184) update request {
(184) EXPAND %{8}
(184) --> eduroam
(184) &Called-Station-SSID := eduroam
(184) EXPAND %{Called-Station-Id}:%{8}
(184) --> 60-B9-C0-04-C4-40:eduroam
(184) &Called-Station-Id := 60-B9-C0-04-C4-40:eduroam
(184) } # update request = noop
(184) } # if ("%{8}") = noop
(184) [updated] = updated
(184) } # if (&Called-Station-Id && (&Called-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))?$/i)) = updated
(184) ... skipping else: Preceding "if" was taken
(184) } # policy rewrite_called_station_id = updated
(184) policy rewrite_calling_station_id {
(184) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) {
(184) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) -> TRUE
(184) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) {
(184) update request {
(184) EXPAND %{toupper:%{1}-%{2}-%{3}-%{4}-%{5}-%{6}}
(184) --> 22-E0-73-F2-50-23
(184) &Calling-Station-Id := 22-E0-73-F2-50-23
(184) EXPAND %{toupper:%{1}:%{2}:%{3}:%{4}:%{5}:%{6}}
(184) --> 22:E0:73:F2:50:23
(184) &locMacAuth-Calling-Station-Id := 22:E0:73:F2:50:23
(184) } # update request = noop
(184) [updated] = updated
(184) } # if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) = updated
(184) ... skipping else: Preceding "if" was taken
(184) } # policy rewrite_calling_station_id = updated
(184) if (NAS-Identifier == "uvisrz0215.insel.ch") {
(184) if (NAS-Identifier == "uvisrz0215.insel.ch") -> FALSE
(184) if (Service-Type == Call-Check) {
(184) if (Service-Type == Call-Check) -> FALSE
(184) if (Packet-Src-IP-Address == 130.59.31.24 || Packet-Src-IP-Address == 130.59.31.25) {
(184) EXPAND Packet-Src-IP-Address
(184) --> 9.9.9.9
(184) EXPAND Packet-Src-IP-Address
(184) --> 9.9.9.9
(184) if (Packet-Src-IP-Address == 130.59.31.24 || Packet-Src-IP-Address == 130.59.31.25) -> FALSE
(184) if (EAP-Message) {
(184) if (EAP-Message) -> TRUE
(184) if (EAP-Message) {
(184) policy filter_username {
(184) if (&User-Name) {
(184) if (&User-Name) -> TRUE
(184) if (&User-Name) {
(184) if (&User-Name =~ / /) {
(184) if (&User-Name =~ / /) -> FALSE
(184) if (&User-Name =~ /@[^@]*@/ ) {
(184) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(184) if (&User-Name =~ /\.\./ ) {
(184) if (&User-Name =~ /\.\./ ) -> FALSE
(184) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(184) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) -> FALSE
(184) if (&User-Name =~ /\.$/) {
(184) if (&User-Name =~ /\.$/) -> FALSE
(184) if (&User-Name =~ /(a)\./) {
(184) if (&User-Name =~ /(a)\./) -> FALSE
(184) } # if (&User-Name) = updated
(184) } # policy filter_username = updated
(184) suffix: Checking for suffix after "@"
(184) suffix: Looking up realm "unibe.ch" for User-Name = "xyz(a)unibe.ch"
(184) suffix: Found realm "UNIBE.CH"
(184) suffix: Adding Realm = "UNIBE.CH"
(184) suffix: Authentication realm is LOCAL
(184) [suffix] = ok
(184) policy deny_no_realm {
(184) if (User-Name && (User-Name !~ /@/)) {
(184) if (User-Name && (User-Name !~ /@/)) -> FALSE
(184) } # policy deny_no_realm = updated
(184) update request {
(184) EXPAND %{toupper:%{Realm}}
(184) --> UNIBE.CH
(184) Realm := UNIBE.CH
(184) } # update request = noop
(184) eap: Peer sent EAP Response (code 2) ID 3 length 6
(184) eap: Continuing tunnel setup
(184) [eap] = ok
(184) } # if (EAP-Message) = ok
(184) } # authorize = updated
(184) Found Auth-Type = eap
(184) # Executing group from file /etc/freeradius/sites-enabled/default
(184) Auth-Type eap {
(184) eap: Removing EAP session with state 0xcf8ae573ce89fce6
(184) eap: Previous EAP request found for state 0xcf8ae573ce89fce6, released from the list
(184) eap: Peer sent packet with method EAP PEAP (25)
(184) eap: Calling submodule eap_peap to process data
(184) eap_peap: (TLS) Peer ACKed our handshake fragment
(184) eap: Sending EAP Request (code 1) ID 4 length 1020
(184) eap: EAP session adding &reply:State = 0xcf8ae573cd8efce6
(184) [eap] = handled
(184) if (handled && (Response-Packet-Type == Access-Challenge)) {
(184) EXPAND Response-Packet-Type
(184) --> Access-Challenge
(184) if (handled && (Response-Packet-Type == Access-Challenge)) -> TRUE
(184) if (handled && (Response-Packet-Type == Access-Challenge)) {
(184) attr_filter.access_challenge: EXPAND %{User-Name}
(184) attr_filter.access_challenge: --> xyz(a)unibe.ch
(184) attr_filter.access_challenge: Matched entry DEFAULT at line 12
(184) [attr_filter.access_challenge.post-auth] = updated
(184) [handled] = handled
(184) } # if (handled && (Response-Packet-Type == Access-Challenge)) = handled
(184) } # Auth-Type eap = handled
(184) Using Post-Auth-Type Challenge
(184) Post-Auth-Type sub-section not found. Ignoring.
(184) # Executing group from file /etc/freeradius/sites-enabled/default
(184) session-state: Saving cached attributes
(184) Framed-MTU = 1014
(184) TLS-Session-Information = "(TLS) PEAP - recv TLS 1.3 Handshake, ClientHello"
(184) TLS-Session-Information = "(TLS) PEAP - send TLS 1.2 Handshake, ServerHello"
(184) TLS-Session-Information = "(TLS) PEAP - send TLS 1.2 Handshake, Certificate"
(184) TLS-Session-Information = "(TLS) PEAP - send TLS 1.2 Handshake, ServerKeyExchange"
(184) TLS-Session-Information = "(TLS) PEAP - send TLS 1.2 Handshake, ServerHelloDone"
(184) Sent Access-Challenge Id 47 from 130.92.10.33:1812 to 9.9.9.9:60533 length 1086
(184) EAP-Message = 0x010403fc1940312d312e63726c3048a046a0448642687474703a2f2f63726c342e64696769636572742e636f6d2f4469676943657274476c6f62616c4732544c53525341534841323536323032304341312d312e63726c30818706082b06010505070101047b3079302406082b060105050730018618687474703a2f2f6f6373702e64696769636572742e636f6d305106082b060105050730028645687474703a2f2f636163657274732e64696769636572742e636f6d2f4469676943657274476c6f62616c4732544c53525341534841323536323032304341312d312e637274300c0603551d130101ff040230003082017f060a2b06010401d6790204020482016f0482016b01690077004e75a3275c9a10c3385b6cd4df3f52eb1df0e08e1b8d69c0b1fa64b1629a39df0000018fc49a2e690000040300483046022100c3703d534899e5150ee51285759f020d6d69574d1db223e7a6fba90105e34a98022100a96786ea2924a95667b25b5efae9fb8e9b5e2b8494
(184) Message-Authenticator = 0x00000000000000000000000000000000
(184) State = 0xcf8ae573cd8efce6e3b6e72de6bf5cbc
(184) Finished request
Waking up in 4.9 seconds.
(185) Received Access-Request Id 55 from 9.9.9.9:60533 to 130.92.10.33:1812 length 441
(185) User-Name = "xyz(a)unibe.ch"
(185) Service-Type = Framed-User
(185) Cisco-AVPair = "service-type=Framed"
(185) Framed-MTU = 1485
(185) EAP-Message = 0x020400061900
(185) Message-Authenticator = 0x762039fe48480c9dd55c1af554ae2e9e
(185) Cisco-AVPair = "audit-session-id=0F2A5C820000093C2FFBA7DF"
(185) Cisco-AVPair = "method=dot1x"
(185) Cisco-AVPair = "client-iif-id=3724547122"
(185) Cisco-AVPair = "vlan-id=1876"
(185) NAS-IP-Address = 9.9.9.9
(185) NAS-Port-Type = Wireless-802.11
(185) NAS-Port = 4211
(185) State = 0xcf8ae573cd8efce6e3b6e72de6bf5cbc
(185) Cisco-AVPair = "cisco-wlan-ssid=eduroam"
(185) Cisco-AVPair = "wlan-profile-name=eduroam-DEV"
(185) Called-Station-Id = "60-b9-c0-04-c4-40:eduroam"
(185) Calling-Station-Id = "22-e0-73-f2-50-23"
(185) Airespace-Wlan-Id = 98
(185) NAS-Identifier = "60-b9-c0-04-c4-40:eduroam"
(185) WLAN-Group-Cipher = 1027076
(185) WLAN-Pairwise-Cipher = 1027076
(185) WLAN-AKM-Suite = 1027075
(185) Restoring &session-state
(185) &session-state:Framed-MTU = 1014
(185) &session-state:TLS-Session-Information = "(TLS) PEAP - recv TLS 1.3 Handshake, ClientHello"
(185) &session-state:TLS-Session-Information = "(TLS) PEAP - send TLS 1.2 Handshake, ServerHello"
(185) &session-state:TLS-Session-Information = "(TLS) PEAP - send TLS 1.2 Handshake, Certificate"
(185) &session-state:TLS-Session-Information = "(TLS) PEAP - send TLS 1.2 Handshake, ServerKeyExchange"
(185) &session-state:TLS-Session-Information = "(TLS) PEAP - send TLS 1.2 Handshake, ServerHelloDone"
(185) # Executing section authorize from file /etc/freeradius/sites-enabled/default
(185) authorize {
(185) policy rewrite_called_station_id {
(185) if (&Called-Station-Id && (&Called-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))?$/i)) {
(185) if (&Called-Station-Id && (&Called-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))?$/i)) -> TRUE
(185) if (&Called-Station-Id && (&Called-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))?$/i)) {
(185) update request {
(185) EXPAND %{toupper:%{1}-%{2}-%{3}-%{4}-%{5}-%{6}}
(185) --> 60-B9-C0-04-C4-40
(185) &Called-Station-Id := 60-B9-C0-04-C4-40
(185) } # update request = noop
(185) if ("%{8}") {
(185) EXPAND %{8}
(185) --> eduroam
(185) if ("%{8}") -> TRUE
(185) if ("%{8}") {
(185) update request {
(185) EXPAND %{8}
(185) --> eduroam
(185) &Called-Station-SSID := eduroam
(185) EXPAND %{Called-Station-Id}:%{8}
(185) --> 60-B9-C0-04-C4-40:eduroam
(185) &Called-Station-Id := 60-B9-C0-04-C4-40:eduroam
(185) } # update request = noop
(185) } # if ("%{8}") = noop
(185) [updated] = updated
(185) } # if (&Called-Station-Id && (&Called-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))?$/i)) = updated
(185) ... skipping else: Preceding "if" was taken
(185) } # policy rewrite_called_station_id = updated
(185) policy rewrite_calling_station_id {
(185) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) {
(185) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) -> TRUE
(185) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) {
(185) update request {
(185) EXPAND %{toupper:%{1}-%{2}-%{3}-%{4}-%{5}-%{6}}
(185) --> 22-E0-73-F2-50-23
(185) &Calling-Station-Id := 22-E0-73-F2-50-23
(185) EXPAND %{toupper:%{1}:%{2}:%{3}:%{4}:%{5}:%{6}}
(185) --> 22:E0:73:F2:50:23
(185) &locMacAuth-Calling-Station-Id := 22:E0:73:F2:50:23
(185) } # update request = noop
(185) [updated] = updated
(185) } # if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) = updated
(185) ... skipping else: Preceding "if" was taken
(185) } # policy rewrite_calling_station_id = updated
(185) if (NAS-Identifier == "uvisrz0215.insel.ch") {
(185) if (NAS-Identifier == "uvisrz0215.insel.ch") -> FALSE
(185) if (Service-Type == Call-Check) {
(185) if (Service-Type == Call-Check) -> FALSE
(185) if (Packet-Src-IP-Address == 130.59.31.24 || Packet-Src-IP-Address == 130.59.31.25) {
(185) EXPAND Packet-Src-IP-Address
(185) --> 9.9.9.9
(185) EXPAND Packet-Src-IP-Address
(185) --> 9.9.9.9
(185) if (Packet-Src-IP-Address == 130.59.31.24 || Packet-Src-IP-Address == 130.59.31.25) -> FALSE
(185) if (EAP-Message) {
(185) if (EAP-Message) -> TRUE
(185) if (EAP-Message) {
(185) policy filter_username {
(185) if (&User-Name) {
(185) if (&User-Name) -> TRUE
(185) if (&User-Name) {
(185) if (&User-Name =~ / /) {
(185) if (&User-Name =~ / /) -> FALSE
(185) if (&User-Name =~ /@[^@]*@/ ) {
(185) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(185) if (&User-Name =~ /\.\./ ) {
(185) if (&User-Name =~ /\.\./ ) -> FALSE
(185) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(185) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) -> FALSE
(185) if (&User-Name =~ /\.$/) {
(185) if (&User-Name =~ /\.$/) -> FALSE
(185) if (&User-Name =~ /(a)\./) {
(185) if (&User-Name =~ /(a)\./) -> FALSE
(185) } # if (&User-Name) = updated
(185) } # policy filter_username = updated
(185) suffix: Checking for suffix after "@"
(185) suffix: Looking up realm "unibe.ch" for User-Name = "xyz(a)unibe.ch"
(185) suffix: Found realm "UNIBE.CH"
(185) suffix: Adding Realm = "UNIBE.CH"
(185) suffix: Authentication realm is LOCAL
(185) [suffix] = ok
(185) policy deny_no_realm {
(185) if (User-Name && (User-Name !~ /@/)) {
(185) if (User-Name && (User-Name !~ /@/)) -> FALSE
(185) } # policy deny_no_realm = updated
(185) update request {
(185) EXPAND %{toupper:%{Realm}}
(185) --> UNIBE.CH
(185) Realm := UNIBE.CH
(185) } # update request = noop
(185) eap: Peer sent EAP Response (code 2) ID 4 length 6
(185) eap: Continuing tunnel setup
(185) [eap] = ok
(185) } # if (EAP-Message) = ok
(185) } # authorize = updated
(185) Found Auth-Type = eap
(185) # Executing group from file /etc/freeradius/sites-enabled/default
(185) Auth-Type eap {
(185) eap: Removing EAP session with state 0xcf8ae573cd8efce6
(185) eap: Previous EAP request found for state 0xcf8ae573cd8efce6, released from the list
(185) eap: Peer sent packet with method EAP PEAP (25)
(185) eap: Calling submodule eap_peap to process data
(185) eap_peap: (TLS) Peer ACKed our handshake fragment
(185) eap: Sending EAP Request (code 1) ID 5 length 1020
(185) eap: EAP session adding &reply:State = 0xcf8ae573cc8ffce6
(185) [eap] = handled
(185) if (handled && (Response-Packet-Type == Access-Challenge)) {
(185) EXPAND Response-Packet-Type
(185) --> Access-Challenge
(185) if (handled && (Response-Packet-Type == Access-Challenge)) -> TRUE
(185) if (handled && (Response-Packet-Type == Access-Challenge)) {
(185) attr_filter.access_challenge: EXPAND %{User-Name}
(185) attr_filter.access_challenge: --> xyz(a)unibe.ch
(185) attr_filter.access_challenge: Matched entry DEFAULT at line 12
(185) [attr_filter.access_challenge.post-auth] = updated
(185) [handled] = handled
(185) } # if (handled && (Response-Packet-Type == Access-Challenge)) = handled
(185) } # Auth-Type eap = handled
(185) Using Post-Auth-Type Challenge
(185) Post-Auth-Type sub-section not found. Ignoring.
(185) # Executing group from file /etc/freeradius/sites-enabled/default
(185) session-state: Saving cached attributes
(185) Framed-MTU = 1014
(185) TLS-Session-Information = "(TLS) PEAP - recv TLS 1.3 Handshake, ClientHello"
(185) TLS-Session-Information = "(TLS) PEAP - send TLS 1.2 Handshake, ServerHello"
(185) TLS-Session-Information = "(TLS) PEAP - send TLS 1.2 Handshake, Certificate"
(185) TLS-Session-Information = "(TLS) PEAP - send TLS 1.2 Handshake, ServerKeyExchange"
(185) TLS-Session-Information = "(TLS) PEAP - send TLS 1.2 Handshake, ServerHelloDone"
(185) Sent Access-Challenge Id 55 from 130.92.10.33:1812 to 9.9.9.9:60533 length 1086
(185) EAP-Message = 0x010503fc194006035504031317446967694365727420476c6f62616c20526f6f74204732301e170d3231303333303030303030305a170d3331303332393233353935395a3059310b300906035504061302555331153013060355040a130c446967694365727420496e63313330310603550403132a446967694365727420476c6f62616c20473220544c53205253412053484132353620323032302043413130820122300d06092a864886f70d01010105000382010f003082010a0282010100ccf710624fa6bb636fed905256c56d277b7a12568af1f4f9d6e7e18fbd95abf260411570db1200fa270ab557385b7db2519371950e6a41945b351bfa7bfabbc5be2430fe56efc4f37d97e314f5144dcba710f216eaab22f031221161699026ba78d9971fe37d66ab75449573c8acffef5d0a8a5943e1acb23a0ff348fcd76b37c163dcde46d6db45fe7d23fd90e851071e51a35fed4946547f2c88c5f4139c97153c03e8a139dc690c32c1af16574c9447427ca2c89c7d
(185) Message-Authenticator = 0x00000000000000000000000000000000
(185) State = 0xcf8ae573cc8ffce6e3b6e72de6bf5cbc
(185) Finished request
Waking up in 4.9 seconds.
(186) Received Access-Request Id 63 from 9.9.9.9:60533 to 130.92.10.33:1812 length 441
(186) User-Name = "xyz(a)unibe.ch"
(186) Service-Type = Framed-User
(186) Cisco-AVPair = "service-type=Framed"
(186) Framed-MTU = 1485
(186) EAP-Message = 0x020500061900
(186) Message-Authenticator = 0xe9653667a164bcf3999f9734716b49db
(186) Cisco-AVPair = "audit-session-id=0F2A5C820000093C2FFBA7DF"
(186) Cisco-AVPair = "method=dot1x"
(186) Cisco-AVPair = "client-iif-id=3724547122"
(186) Cisco-AVPair = "vlan-id=1876"
(186) NAS-IP-Address = 9.9.9.9
(186) NAS-Port-Type = Wireless-802.11
(186) NAS-Port = 4211
(186) State = 0xcf8ae573cc8ffce6e3b6e72de6bf5cbc
(186) Cisco-AVPair = "cisco-wlan-ssid=eduroam"
(186) Cisco-AVPair = "wlan-profile-name=eduroam-DEV"
(186) Called-Station-Id = "60-b9-c0-04-c4-40:eduroam"
(186) Calling-Station-Id = "22-e0-73-f2-50-23"
(186) Airespace-Wlan-Id = 98
(186) NAS-Identifier = "60-b9-c0-04-c4-40:eduroam"
(186) WLAN-Group-Cipher = 1027076
(186) WLAN-Pairwise-Cipher = 1027076
(186) WLAN-AKM-Suite = 1027075
(186) Restoring &session-state
(186) &session-state:Framed-MTU = 1014
(186) &session-state:TLS-Session-Information = "(TLS) PEAP - recv TLS 1.3 Handshake, ClientHello"
(186) &session-state:TLS-Session-Information = "(TLS) PEAP - send TLS 1.2 Handshake, ServerHello"
(186) &session-state:TLS-Session-Information = "(TLS) PEAP - send TLS 1.2 Handshake, Certificate"
(186) &session-state:TLS-Session-Information = "(TLS) PEAP - send TLS 1.2 Handshake, ServerKeyExchange"
(186) &session-state:TLS-Session-Information = "(TLS) PEAP - send TLS 1.2 Handshake, ServerHelloDone"
(186) # Executing section authorize from file /etc/freeradius/sites-enabled/default
(186) authorize {
(186) policy rewrite_called_station_id {
(186) if (&Called-Station-Id && (&Called-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))?$/i)) {
(186) if (&Called-Station-Id && (&Called-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))?$/i)) -> TRUE
(186) if (&Called-Station-Id && (&Called-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))?$/i)) {
(186) update request {
(186) EXPAND %{toupper:%{1}-%{2}-%{3}-%{4}-%{5}-%{6}}
(186) --> 60-B9-C0-04-C4-40
(186) &Called-Station-Id := 60-B9-C0-04-C4-40
(186) } # update request = noop
(186) if ("%{8}") {
(186) EXPAND %{8}
(186) --> eduroam
(186) if ("%{8}") -> TRUE
(186) if ("%{8}") {
(186) update request {
(186) EXPAND %{8}
(186) --> eduroam
(186) &Called-Station-SSID := eduroam
(186) EXPAND %{Called-Station-Id}:%{8}
(186) --> 60-B9-C0-04-C4-40:eduroam
(186) &Called-Station-Id := 60-B9-C0-04-C4-40:eduroam
(186) } # update request = noop
(186) } # if ("%{8}") = noop
(186) [updated] = updated
(186) } # if (&Called-Station-Id && (&Called-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))?$/i)) = updated
(186) ... skipping else: Preceding "if" was taken
(186) } # policy rewrite_called_station_id = updated
(186) policy rewrite_calling_station_id {
(186) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) {
(186) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) -> TRUE
(186) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) {
(186) update request {
(186) EXPAND %{toupper:%{1}-%{2}-%{3}-%{4}-%{5}-%{6}}
(186) --> 22-E0-73-F2-50-23
(186) &Calling-Station-Id := 22-E0-73-F2-50-23
(186) EXPAND %{toupper:%{1}:%{2}:%{3}:%{4}:%{5}:%{6}}
(186) --> 22:E0:73:F2:50:23
(186) &locMacAuth-Calling-Station-Id := 22:E0:73:F2:50:23
(186) } # update request = noop
(186) [updated] = updated
(186) } # if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) = updated
(186) ... skipping else: Preceding "if" was taken
(186) } # policy rewrite_calling_station_id = updated
(186) if (NAS-Identifier == "uvisrz0215.insel.ch") {
(186) if (NAS-Identifier == "uvisrz0215.insel.ch") -> FALSE
(186) if (Service-Type == Call-Check) {
(186) if (Service-Type == Call-Check) -> FALSE
(186) if (Packet-Src-IP-Address == 130.59.31.24 || Packet-Src-IP-Address == 130.59.31.25) {
(186) EXPAND Packet-Src-IP-Address
(186) --> 9.9.9.9
(186) EXPAND Packet-Src-IP-Address
(186) --> 9.9.9.9
(186) if (Packet-Src-IP-Address == 130.59.31.24 || Packet-Src-IP-Address == 130.59.31.25) -> FALSE
(186) if (EAP-Message) {
(186) if (EAP-Message) -> TRUE
(186) if (EAP-Message) {
(186) policy filter_username {
(186) if (&User-Name) {
(186) if (&User-Name) -> TRUE
(186) if (&User-Name) {
(186) if (&User-Name =~ / /) {
(186) if (&User-Name =~ / /) -> FALSE
(186) if (&User-Name =~ /@[^@]*@/ ) {
(186) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(186) if (&User-Name =~ /\.\./ ) {
(186) if (&User-Name =~ /\.\./ ) -> FALSE
(186) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(186) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) -> FALSE
(186) if (&User-Name =~ /\.$/) {
(186) if (&User-Name =~ /\.$/) -> FALSE
(186) if (&User-Name =~ /(a)\./) {
(186) if (&User-Name =~ /(a)\./) -> FALSE
(186) } # if (&User-Name) = updated
(186) } # policy filter_username = updated
(186) suffix: Checking for suffix after "@"
(186) suffix: Looking up realm "unibe.ch" for User-Name = "xyz(a)unibe.ch"
(186) suffix: Found realm "UNIBE.CH"
(186) suffix: Adding Realm = "UNIBE.CH"
(186) suffix: Authentication realm is LOCAL
(186) [suffix] = ok
(186) policy deny_no_realm {
(186) if (User-Name && (User-Name !~ /@/)) {
(186) if (User-Name && (User-Name !~ /@/)) -> FALSE
(186) } # policy deny_no_realm = updated
(186) update request {
(186) EXPAND %{toupper:%{Realm}}
(186) --> UNIBE.CH
(186) Realm := UNIBE.CH
(186) } # update request = noop
(186) eap: Peer sent EAP Response (code 2) ID 5 length 6
(186) eap: Continuing tunnel setup
(186) [eap] = ok
(186) } # if (EAP-Message) = ok
(186) } # authorize = updated
(186) Found Auth-Type = eap
(186) # Executing group from file /etc/freeradius/sites-enabled/default
(186) Auth-Type eap {
(186) eap: Removing EAP session with state 0xcf8ae573cc8ffce6
(186) eap: Previous EAP request found for state 0xcf8ae573cc8ffce6, released from the list
(186) eap: Peer sent packet with method EAP PEAP (25)
(186) eap: Calling submodule eap_peap to process data
(186) eap_peap: (TLS) Peer ACKed our handshake fragment
(186) eap: Sending EAP Request (code 1) ID 6 length 1020
(186) eap: EAP session adding &reply:State = 0xcf8ae573cb8cfce6
(186) [eap] = handled
(186) if (handled && (Response-Packet-Type == Access-Challenge)) {
(186) EXPAND Response-Packet-Type
(186) --> Access-Challenge
(186) if (handled && (Response-Packet-Type == Access-Challenge)) -> TRUE
(186) if (handled && (Response-Packet-Type == Access-Challenge)) {
(186) attr_filter.access_challenge: EXPAND %{User-Name}
(186) attr_filter.access_challenge: --> xyz(a)unibe.ch
(186) attr_filter.access_challenge: Matched entry DEFAULT at line 12
(186) [attr_filter.access_challenge.post-auth] = updated
(186) [handled] = handled
(186) } # if (handled && (Response-Packet-Type == Access-Challenge)) = handled
(186) } # Auth-Type eap = handled
(186) Using Post-Auth-Type Challenge
(186) Post-Auth-Type sub-section not found. Ignoring.
(186) # Executing group from file /etc/freeradius/sites-enabled/default
(186) session-state: Saving cached attributes
(186) Framed-MTU = 1014
(186) TLS-Session-Information = "(TLS) PEAP - recv TLS 1.3 Handshake, ClientHello"
(186) TLS-Session-Information = "(TLS) PEAP - send TLS 1.2 Handshake, ServerHello"
(186) TLS-Session-Information = "(TLS) PEAP - send TLS 1.2 Handshake, Certificate"
(186) TLS-Session-Information = "(TLS) PEAP - send TLS 1.2 Handshake, ServerKeyExchange"
(186) TLS-Session-Information = "(TLS) PEAP - send TLS 1.2 Handshake, ServerHelloDone"
(186) Sent Access-Challenge Id 63 from 130.92.10.33:1812 to 9.9.9.9:60533 length 1086
(186) EAP-Message = 0x010603fc1940c6278481d47e8c8ca39b52e7c688ec377c2afbf0555a387210d80013cf4c73dbaa3735a82981699c76bcde187b90d4cacfef6703fd045a2116b1ffea3fdfdc82f5ebf45992230d242a95254ccaa191e6d4b7ac8774b3f16da399dbf9d5bd84409f07980003923082038e30820276a0030201020210033af1e6a711a9a0bb2864b11d09fae5300d06092a864886f70d01010b05003061310b300906035504061302555331153013060355040a130c446967694365727420496e6331193017060355040b13107777772e64696769636572742e636f6d3120301e06035504031317446967694365727420476c6f62616c20526f6f74204732301e170d3133303830313132303030305a170d3338303131353132303030305a3061310b300906035504061302555331153013060355040a130c446967694365727420496e6331193017060355040b13107777772e64696769636572742e636f6d3120301e06035504031317446967694365727420476c6f6261
(186) Message-Authenticator = 0x00000000000000000000000000000000
(186) State = 0xcf8ae573cb8cfce6e3b6e72de6bf5cbc
(186) Finished request
Waking up in 4.9 seconds.
(187) Received Access-Request Id 71 from 9.9.9.9:60533 to 130.92.10.33:1812 length 441
(187) User-Name = "xyz(a)unibe.ch"
(187) Service-Type = Framed-User
(187) Cisco-AVPair = "service-type=Framed"
(187) Framed-MTU = 1485
(187) EAP-Message = 0x020600061900
(187) Message-Authenticator = 0x242a03db3080449327126d09317dcedf
(187) Cisco-AVPair = "audit-session-id=0F2A5C820000093C2FFBA7DF"
(187) Cisco-AVPair = "method=dot1x"
(187) Cisco-AVPair = "client-iif-id=3724547122"
(187) Cisco-AVPair = "vlan-id=1876"
(187) NAS-IP-Address = 9.9.9.9
(187) NAS-Port-Type = Wireless-802.11
(187) NAS-Port = 4211
(187) State = 0xcf8ae573cb8cfce6e3b6e72de6bf5cbc
(187) Cisco-AVPair = "cisco-wlan-ssid=eduroam"
(187) Cisco-AVPair = "wlan-profile-name=eduroam-DEV"
(187) Called-Station-Id = "60-b9-c0-04-c4-40:eduroam"
(187) Calling-Station-Id = "22-e0-73-f2-50-23"
(187) Airespace-Wlan-Id = 98
(187) NAS-Identifier = "60-b9-c0-04-c4-40:eduroam"
(187) WLAN-Group-Cipher = 1027076
(187) WLAN-Pairwise-Cipher = 1027076
(187) WLAN-AKM-Suite = 1027075
(187) Restoring &session-state
(187) &session-state:Framed-MTU = 1014
(187) &session-state:TLS-Session-Information = "(TLS) PEAP - recv TLS 1.3 Handshake, ClientHello"
(187) &session-state:TLS-Session-Information = "(TLS) PEAP - send TLS 1.2 Handshake, ServerHello"
(187) &session-state:TLS-Session-Information = "(TLS) PEAP - send TLS 1.2 Handshake, Certificate"
(187) &session-state:TLS-Session-Information = "(TLS) PEAP - send TLS 1.2 Handshake, ServerKeyExchange"
(187) &session-state:TLS-Session-Information = "(TLS) PEAP - send TLS 1.2 Handshake, ServerHelloDone"
(187) # Executing section authorize from file /etc/freeradius/sites-enabled/default
(187) authorize {
(187) policy rewrite_called_station_id {
(187) if (&Called-Station-Id && (&Called-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))?$/i)) {
(187) if (&Called-Station-Id && (&Called-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))?$/i)) -> TRUE
(187) if (&Called-Station-Id && (&Called-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))?$/i)) {
(187) update request {
(187) EXPAND %{toupper:%{1}-%{2}-%{3}-%{4}-%{5}-%{6}}
(187) --> 60-B9-C0-04-C4-40
(187) &Called-Station-Id := 60-B9-C0-04-C4-40
(187) } # update request = noop
(187) if ("%{8}") {
(187) EXPAND %{8}
(187) --> eduroam
(187) if ("%{8}") -> TRUE
(187) if ("%{8}") {
(187) update request {
(187) EXPAND %{8}
(187) --> eduroam
(187) &Called-Station-SSID := eduroam
(187) EXPAND %{Called-Station-Id}:%{8}
(187) --> 60-B9-C0-04-C4-40:eduroam
(187) &Called-Station-Id := 60-B9-C0-04-C4-40:eduroam
(187) } # update request = noop
(187) } # if ("%{8}") = noop
(187) [updated] = updated
(187) } # if (&Called-Station-Id && (&Called-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))?$/i)) = updated
(187) ... skipping else: Preceding "if" was taken
(187) } # policy rewrite_called_station_id = updated
(187) policy rewrite_calling_station_id {
(187) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) {
(187) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) -> TRUE
(187) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) {
(187) update request {
(187) EXPAND %{toupper:%{1}-%{2}-%{3}-%{4}-%{5}-%{6}}
(187) --> 22-E0-73-F2-50-23
(187) &Calling-Station-Id := 22-E0-73-F2-50-23
(187) EXPAND %{toupper:%{1}:%{2}:%{3}:%{4}:%{5}:%{6}}
(187) --> 22:E0:73:F2:50:23
(187) &locMacAuth-Calling-Station-Id := 22:E0:73:F2:50:23
(187) } # update request = noop
(187) [updated] = updated
(187) } # if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) = updated
(187) ... skipping else: Preceding "if" was taken
(187) } # policy rewrite_calling_station_id = updated
(187) if (NAS-Identifier == "uvisrz0215.insel.ch") {
(187) if (NAS-Identifier == "uvisrz0215.insel.ch") -> FALSE
(187) if (Service-Type == Call-Check) {
(187) if (Service-Type == Call-Check) -> FALSE
(187) if (Packet-Src-IP-Address == 130.59.31.24 || Packet-Src-IP-Address == 130.59.31.25) {
(187) EXPAND Packet-Src-IP-Address
(187) --> 9.9.9.9
(187) EXPAND Packet-Src-IP-Address
(187) --> 9.9.9.9
(187) if (Packet-Src-IP-Address == 130.59.31.24 || Packet-Src-IP-Address == 130.59.31.25) -> FALSE
(187) if (EAP-Message) {
(187) if (EAP-Message) -> TRUE
(187) if (EAP-Message) {
(187) policy filter_username {
(187) if (&User-Name) {
(187) if (&User-Name) -> TRUE
(187) if (&User-Name) {
(187) if (&User-Name =~ / /) {
(187) if (&User-Name =~ / /) -> FALSE
(187) if (&User-Name =~ /@[^@]*@/ ) {
(187) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(187) if (&User-Name =~ /\.\./ ) {
(187) if (&User-Name =~ /\.\./ ) -> FALSE
(187) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(187) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) -> FALSE
(187) if (&User-Name =~ /\.$/) {
(187) if (&User-Name =~ /\.$/) -> FALSE
(187) if (&User-Name =~ /(a)\./) {
(187) if (&User-Name =~ /(a)\./) -> FALSE
(187) } # if (&User-Name) = updated
(187) } # policy filter_username = updated
(187) suffix: Checking for suffix after "@"
(187) suffix: Looking up realm "unibe.ch" for User-Name = "xyz(a)unibe.ch"
(187) suffix: Found realm "UNIBE.CH"
(187) suffix: Adding Realm = "UNIBE.CH"
(187) suffix: Authentication realm is LOCAL
(187) [suffix] = ok
(187) policy deny_no_realm {
(187) if (User-Name && (User-Name !~ /@/)) {
(187) if (User-Name && (User-Name !~ /@/)) -> FALSE
(187) } # policy deny_no_realm = updated
(187) update request {
(187) EXPAND %{toupper:%{Realm}}
(187) --> UNIBE.CH
(187) Realm := UNIBE.CH
(187) } # update request = noop
(187) eap: Peer sent EAP Response (code 2) ID 6 length 6
(187) eap: Continuing tunnel setup
(187) [eap] = ok
(187) } # if (EAP-Message) = ok
(187) } # authorize = updated
(187) Found Auth-Type = eap
(187) # Executing group from file /etc/freeradius/sites-enabled/default
(187) Auth-Type eap {
(187) eap: Removing EAP session with state 0xcf8ae573cb8cfce6
(187) eap: Previous EAP request found for state 0xcf8ae573cb8cfce6, released from the list
(187) eap: Peer sent packet with method EAP PEAP (25)
(187) eap: Calling submodule eap_peap to process data
(187) eap_peap: (TLS) Peer ACKed our handshake fragment
(187) eap: Sending EAP Request (code 1) ID 7 length 355
(187) eap: EAP session adding &reply:State = 0xcf8ae573ca8dfce6
(187) [eap] = handled
(187) if (handled && (Response-Packet-Type == Access-Challenge)) {
(187) EXPAND Response-Packet-Type
(187) --> Access-Challenge
(187) if (handled && (Response-Packet-Type == Access-Challenge)) -> TRUE
(187) if (handled && (Response-Packet-Type == Access-Challenge)) {
(187) attr_filter.access_challenge: EXPAND %{User-Name}
(187) attr_filter.access_challenge: --> xyz(a)unibe.ch
(187) attr_filter.access_challenge: Matched entry DEFAULT at line 12
(187) [attr_filter.access_challenge.post-auth] = updated
(187) [handled] = handled
(187) } # if (handled && (Response-Packet-Type == Access-Challenge)) = handled
(187) } # Auth-Type eap = handled
(187) Using Post-Auth-Type Challenge
(187) Post-Auth-Type sub-section not found. Ignoring.
(187) # Executing group from file /etc/freeradius/sites-enabled/default
(187) session-state: Saving cached attributes
(187) Framed-MTU = 1014
(187) TLS-Session-Information = "(TLS) PEAP - recv TLS 1.3 Handshake, ClientHello"
(187) TLS-Session-Information = "(TLS) PEAP - send TLS 1.2 Handshake, ServerHello"
(187) TLS-Session-Information = "(TLS) PEAP - send TLS 1.2 Handshake, Certificate"
(187) TLS-Session-Information = "(TLS) PEAP - send TLS 1.2 Handshake, ServerKeyExchange"
(187) TLS-Session-Information = "(TLS) PEAP - send TLS 1.2 Handshake, ServerHelloDone"
(187) Sent Access-Challenge Id 71 from 130.92.10.33:1812 to 9.9.9.9:60533 length 415
(187) EAP-Message = 0x01070163190032b6160303014d0c00014903001741042ecf4619c88bd3f9d2564d80ccf135283bc2bf397860861137ed899ad3521a198102a135ceee9d6c4a1f365b28ca6fa1abcb775e7e39e54dd612eb5ea0af4c4704010100a678c60510cecc8151c293799b383fe4f21878672e4c20666f9ffbc3ee8b6ca2c799b658371ca3e82a5758e91dc96d03d419fd4a932df264d4568b93bbd88395b905d1d80917f36fd8c3bf5c88e446eabfe1b16a1c6e2d34514955ea4939e33714149c6fd768a2b751326ce3d5efcd074dc01a14d4e6cf1c21be0873fb694c9f1c06533e3788bcd5a8f3c4dfe09dedf9d6a305597ef549c9a5e270d5ed0da6e7bac6cf43a793922384b33438ef8c270441d243379e2bcaf877c216a6757c4a87cc867650abd212201fcee3745132d5988be5e2a355565b413277794fa983b381bc7d3ef806fe84e20259008fde46fbec88934273fcb43051eb51e6ffc7bc215516030300040e000000
(187) Message-Authenticator = 0x00000000000000000000000000000000
(187) State = 0xcf8ae573ca8dfce6e3b6e72de6bf5cbc
(187) Finished request
Waking up in 4.9 seconds.
(188) Received Access-Request Id 79 from 9.9.9.9:60533 to 130.92.10.33:1812 length 571
(188) User-Name = "xyz(a)unibe.ch"
(188) Service-Type = Framed-User
(188) Cisco-AVPair = "service-type=Framed"
(188) Framed-MTU = 1485
(188) EAP-Message = 0x0207008819800000007e1603030046100000424104e6595813fcf61f0bcf33212269292b56b96c43fa1c8521b7e9ca6253bc8ba93a42bbf48836d9cd888fe082cfa6fab40327beb814a7fb7f88dd37f9af6caafe2c1403030001011603030028205b847b10fba1568b03991cae85dab7c8553e4b8fbf36eca8a4ec3411939e1e7f4d5270df2d81d8
(188) Message-Authenticator = 0x5dc9e821834fdb1a0dbda25c60505863
(188) Cisco-AVPair = "audit-session-id=0F2A5C820000093C2FFBA7DF"
(188) Cisco-AVPair = "method=dot1x"
(188) Cisco-AVPair = "client-iif-id=3724547122"
(188) Cisco-AVPair = "vlan-id=1876"
(188) NAS-IP-Address = 9.9.9.9
(188) NAS-Port-Type = Wireless-802.11
(188) NAS-Port = 4211
(188) State = 0xcf8ae573ca8dfce6e3b6e72de6bf5cbc
(188) Cisco-AVPair = "cisco-wlan-ssid=eduroam"
(188) Cisco-AVPair = "wlan-profile-name=eduroam-DEV"
(188) Called-Station-Id = "60-b9-c0-04-c4-40:eduroam"
(188) Calling-Station-Id = "22-e0-73-f2-50-23"
(188) Airespace-Wlan-Id = 98
(188) NAS-Identifier = "60-b9-c0-04-c4-40:eduroam"
(188) WLAN-Group-Cipher = 1027076
(188) WLAN-Pairwise-Cipher = 1027076
(188) WLAN-AKM-Suite = 1027075
(188) Restoring &session-state
(188) &session-state:Framed-MTU = 1014
(188) &session-state:TLS-Session-Information = "(TLS) PEAP - recv TLS 1.3 Handshake, ClientHello"
(188) &session-state:TLS-Session-Information = "(TLS) PEAP - send TLS 1.2 Handshake, ServerHello"
(188) &session-state:TLS-Session-Information = "(TLS) PEAP - send TLS 1.2 Handshake, Certificate"
(188) &session-state:TLS-Session-Information = "(TLS) PEAP - send TLS 1.2 Handshake, ServerKeyExchange"
(188) &session-state:TLS-Session-Information = "(TLS) PEAP - send TLS 1.2 Handshake, ServerHelloDone"
(188) # Executing section authorize from file /etc/freeradius/sites-enabled/default
(188) authorize {
(188) policy rewrite_called_station_id {
(188) if (&Called-Station-Id && (&Called-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))?$/i)) {
(188) if (&Called-Station-Id && (&Called-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))?$/i)) -> TRUE
(188) if (&Called-Station-Id && (&Called-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))?$/i)) {
(188) update request {
(188) EXPAND %{toupper:%{1}-%{2}-%{3}-%{4}-%{5}-%{6}}
(188) --> 60-B9-C0-04-C4-40
(188) &Called-Station-Id := 60-B9-C0-04-C4-40
(188) } # update request = noop
(188) if ("%{8}") {
(188) EXPAND %{8}
(188) --> eduroam
(188) if ("%{8}") -> TRUE
(188) if ("%{8}") {
(188) update request {
(188) EXPAND %{8}
(188) --> eduroam
(188) &Called-Station-SSID := eduroam
(188) EXPAND %{Called-Station-Id}:%{8}
(188) --> 60-B9-C0-04-C4-40:eduroam
(188) &Called-Station-Id := 60-B9-C0-04-C4-40:eduroam
(188) } # update request = noop
(188) } # if ("%{8}") = noop
(188) [updated] = updated
(188) } # if (&Called-Station-Id && (&Called-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))?$/i)) = updated
(188) ... skipping else: Preceding "if" was taken
(188) } # policy rewrite_called_station_id = updated
(188) policy rewrite_calling_station_id {
(188) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) {
(188) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) -> TRUE
(188) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) {
(188) update request {
(188) EXPAND %{toupper:%{1}-%{2}-%{3}-%{4}-%{5}-%{6}}
(188) --> 22-E0-73-F2-50-23
(188) &Calling-Station-Id := 22-E0-73-F2-50-23
(188) EXPAND %{toupper:%{1}:%{2}:%{3}:%{4}:%{5}:%{6}}
(188) --> 22:E0:73:F2:50:23
(188) &locMacAuth-Calling-Station-Id := 22:E0:73:F2:50:23
(188) } # update request = noop
(188) [updated] = updated
(188) } # if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) = updated
(188) ... skipping else: Preceding "if" was taken
(188) } # policy rewrite_calling_station_id = updated
(188) if (NAS-Identifier == "uvisrz0215.insel.ch") {
(188) if (NAS-Identifier == "uvisrz0215.insel.ch") -> FALSE
(188) if (Service-Type == Call-Check) {
(188) if (Service-Type == Call-Check) -> FALSE
(188) if (Packet-Src-IP-Address == 130.59.31.24 || Packet-Src-IP-Address == 130.59.31.25) {
(188) EXPAND Packet-Src-IP-Address
(188) --> 9.9.9.9
(188) EXPAND Packet-Src-IP-Address
(188) --> 9.9.9.9
(188) if (Packet-Src-IP-Address == 130.59.31.24 || Packet-Src-IP-Address == 130.59.31.25) -> FALSE
(188) if (EAP-Message) {
(188) if (EAP-Message) -> TRUE
(188) if (EAP-Message) {
(188) policy filter_username {
(188) if (&User-Name) {
(188) if (&User-Name) -> TRUE
(188) if (&User-Name) {
(188) if (&User-Name =~ / /) {
(188) if (&User-Name =~ / /) -> FALSE
(188) if (&User-Name =~ /@[^@]*@/ ) {
(188) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(188) if (&User-Name =~ /\.\./ ) {
(188) if (&User-Name =~ /\.\./ ) -> FALSE
(188) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(188) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) -> FALSE
(188) if (&User-Name =~ /\.$/) {
(188) if (&User-Name =~ /\.$/) -> FALSE
(188) if (&User-Name =~ /(a)\./) {
(188) if (&User-Name =~ /(a)\./) -> FALSE
(188) } # if (&User-Name) = updated
(188) } # policy filter_username = updated
(188) suffix: Checking for suffix after "@"
(188) suffix: Looking up realm "unibe.ch" for User-Name = "xyz(a)unibe.ch"
(188) suffix: Found realm "UNIBE.CH"
(188) suffix: Adding Realm = "UNIBE.CH"
(188) suffix: Authentication realm is LOCAL
(188) [suffix] = ok
(188) policy deny_no_realm {
(188) if (User-Name && (User-Name !~ /@/)) {
(188) if (User-Name && (User-Name !~ /@/)) -> FALSE
(188) } # policy deny_no_realm = updated
(188) update request {
(188) EXPAND %{toupper:%{Realm}}
(188) --> UNIBE.CH
(188) Realm := UNIBE.CH
(188) } # update request = noop
(188) eap: Peer sent EAP Response (code 2) ID 7 length 136
(188) eap: Continuing tunnel setup
(188) [eap] = ok
(188) } # if (EAP-Message) = ok
(188) } # authorize = updated
(188) Found Auth-Type = eap
(188) # Executing group from file /etc/freeradius/sites-enabled/default
(188) Auth-Type eap {
(188) eap: Removing EAP session with state 0xcf8ae573ca8dfce6
(188) eap: Previous EAP request found for state 0xcf8ae573ca8dfce6, released from the list
(188) eap: Peer sent packet with method EAP PEAP (25)
(188) eap: Calling submodule eap_peap to process data
(188) eap_peap: (TLS) EAP Peer says that the final record size will be 126 bytes
(188) eap_peap: (TLS) EAP Got all data (126 bytes)
(188) eap_peap: (TLS) PEAP - Handshake state - Server SSLv3/TLS write server done
(188) eap_peap: (TLS) PEAP - recv TLS 1.2 Handshake, ClientKeyExchange
(188) eap_peap: (TLS) PEAP - Handshake state - Server SSLv3/TLS read client key exchange
(188) eap_peap: (TLS) PEAP - Handshake state - Server SSLv3/TLS read change cipher spec
(188) eap_peap: (TLS) PEAP - recv TLS 1.2 Handshake, Finished
(188) eap_peap: (TLS) PEAP - Handshake state - Server SSLv3/TLS read finished
(188) eap_peap: (TLS) PEAP - send TLS 1.2 ChangeCipherSpec
(188) eap_peap: (TLS) PEAP - Handshake state - Server SSLv3/TLS write change cipher spec
(188) eap_peap: (TLS) PEAP - send TLS 1.2 Handshake, Finished
(188) eap_peap: (TLS) PEAP - Handshake state - Server SSLv3/TLS write finished
(188) eap_peap: (TLS) PEAP - Handshake state - SSL negotiation finished successfully
(188) eap_peap: (TLS) PEAP - Connection Established
(188) eap_peap: TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(188) eap_peap: TLS-Session-Version = "TLS 1.2"
(188) eap: Sending EAP Request (code 1) ID 8 length 57
(188) eap: EAP session adding &reply:State = 0xcf8ae573c982fce6
(188) [eap] = handled
(188) if (handled && (Response-Packet-Type == Access-Challenge)) {
(188) EXPAND Response-Packet-Type
(188) --> Access-Challenge
(188) if (handled && (Response-Packet-Type == Access-Challenge)) -> TRUE
(188) if (handled && (Response-Packet-Type == Access-Challenge)) {
(188) attr_filter.access_challenge: EXPAND %{User-Name}
(188) attr_filter.access_challenge: --> xyz(a)unibe.ch
(188) attr_filter.access_challenge: Matched entry DEFAULT at line 12
(188) [attr_filter.access_challenge.post-auth] = updated
(188) [handled] = handled
(188) } # if (handled && (Response-Packet-Type == Access-Challenge)) = handled
(188) } # Auth-Type eap = handled
(188) Using Post-Auth-Type Challenge
(188) Post-Auth-Type sub-section not found. Ignoring.
(188) # Executing group from file /etc/freeradius/sites-enabled/default
(188) session-state: Saving cached attributes
(188) Framed-MTU = 1014
(188) TLS-Session-Information = "(TLS) PEAP - recv TLS 1.3 Handshake, ClientHello"
(188) TLS-Session-Information = "(TLS) PEAP - send TLS 1.2 Handshake, ServerHello"
(188) TLS-Session-Information = "(TLS) PEAP - send TLS 1.2 Handshake, Certificate"
(188) TLS-Session-Information = "(TLS) PEAP - send TLS 1.2 Handshake, ServerKeyExchange"
(188) TLS-Session-Information = "(TLS) PEAP - send TLS 1.2 Handshake, ServerHelloDone"
(188) TLS-Session-Information = "(TLS) PEAP - recv TLS 1.2 Handshake, ClientKeyExchange"
(188) TLS-Session-Information = "(TLS) PEAP - recv TLS 1.2 Handshake, Finished"
(188) TLS-Session-Information = "(TLS) PEAP - send TLS 1.2 ChangeCipherSpec"
(188) TLS-Session-Information = "(TLS) PEAP - send TLS 1.2 Handshake, Finished"
(188) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(188) TLS-Session-Version = "TLS 1.2"
(188) Sent Access-Challenge Id 79 from 130.92.10.33:1812 to 9.9.9.9:60533 length 115
(188) EAP-Message = 0x010800391900140303000101160303002804f99461d03fc2be43b472810aaccc1082398a50bfe278395884ee9a22cacc6e5f0aa86dc8a3021e
(188) Message-Authenticator = 0x00000000000000000000000000000000
(188) State = 0xcf8ae573c982fce6e3b6e72de6bf5cbc
(188) Finished request
Waking up in 2.0 seconds.
(189) Received Access-Request Id 87 from 9.9.9.9:60533 to 130.92.10.33:1812 length 441
(189) User-Name = "xyz(a)unibe.ch"
(189) Service-Type = Framed-User
(189) Cisco-AVPair = "service-type=Framed"
(189) Framed-MTU = 1485
(189) EAP-Message = 0x020800061900
(189) Message-Authenticator = 0xa5b00fd17fe7b04da57e577d073ddcf4
(189) Cisco-AVPair = "audit-session-id=0F2A5C820000093C2FFBA7DF"
(189) Cisco-AVPair = "method=dot1x"
(189) Cisco-AVPair = "client-iif-id=3724547122"
(189) Cisco-AVPair = "vlan-id=1876"
(189) NAS-IP-Address = 9.9.9.9
(189) NAS-Port-Type = Wireless-802.11
(189) NAS-Port = 4211
(189) State = 0xcf8ae573c982fce6e3b6e72de6bf5cbc
(189) Cisco-AVPair = "cisco-wlan-ssid=eduroam"
(189) Cisco-AVPair = "wlan-profile-name=eduroam-DEV"
(189) Called-Station-Id = "60-b9-c0-04-c4-40:eduroam"
(189) Calling-Station-Id = "22-e0-73-f2-50-23"
(189) Airespace-Wlan-Id = 98
(189) NAS-Identifier = "60-b9-c0-04-c4-40:eduroam"
(189) WLAN-Group-Cipher = 1027076
(189) WLAN-Pairwise-Cipher = 1027076
(189) WLAN-AKM-Suite = 1027075
(189) Restoring &session-state
(189) &session-state:Framed-MTU = 1014
(189) &session-state:TLS-Session-Information = "(TLS) PEAP - recv TLS 1.3 Handshake, ClientHello"
(189) &session-state:TLS-Session-Information = "(TLS) PEAP - send TLS 1.2 Handshake, ServerHello"
(189) &session-state:TLS-Session-Information = "(TLS) PEAP - send TLS 1.2 Handshake, Certificate"
(189) &session-state:TLS-Session-Information = "(TLS) PEAP - send TLS 1.2 Handshake, ServerKeyExchange"
(189) &session-state:TLS-Session-Information = "(TLS) PEAP - send TLS 1.2 Handshake, ServerHelloDone"
(189) &session-state:TLS-Session-Information = "(TLS) PEAP - recv TLS 1.2 Handshake, ClientKeyExchange"
(189) &session-state:TLS-Session-Information = "(TLS) PEAP - recv TLS 1.2 Handshake, Finished"
(189) &session-state:TLS-Session-Information = "(TLS) PEAP - send TLS 1.2 ChangeCipherSpec"
(189) &session-state:TLS-Session-Information = "(TLS) PEAP - send TLS 1.2 Handshake, Finished"
(189) &session-state:TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(189) &session-state:TLS-Session-Version = "TLS 1.2"
(189) # Executing section authorize from file /etc/freeradius/sites-enabled/default
(189) authorize {
(189) policy rewrite_called_station_id {
(189) if (&Called-Station-Id && (&Called-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))?$/i)) {
(189) if (&Called-Station-Id && (&Called-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))?$/i)) -> TRUE
(189) if (&Called-Station-Id && (&Called-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))?$/i)) {
(189) update request {
(189) EXPAND %{toupper:%{1}-%{2}-%{3}-%{4}-%{5}-%{6}}
(189) --> 60-B9-C0-04-C4-40
(189) &Called-Station-Id := 60-B9-C0-04-C4-40
(189) } # update request = noop
(189) if ("%{8}") {
(189) EXPAND %{8}
(189) --> eduroam
(189) if ("%{8}") -> TRUE
(189) if ("%{8}") {
(189) update request {
(189) EXPAND %{8}
(189) --> eduroam
(189) &Called-Station-SSID := eduroam
(189) EXPAND %{Called-Station-Id}:%{8}
(189) --> 60-B9-C0-04-C4-40:eduroam
(189) &Called-Station-Id := 60-B9-C0-04-C4-40:eduroam
(189) } # update request = noop
(189) } # if ("%{8}") = noop
(189) [updated] = updated
(189) } # if (&Called-Station-Id && (&Called-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))?$/i)) = updated
(189) ... skipping else: Preceding "if" was taken
(189) } # policy rewrite_called_station_id = updated
(189) policy rewrite_calling_station_id {
(189) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) {
(189) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) -> TRUE
(189) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) {
(189) update request {
(189) EXPAND %{toupper:%{1}-%{2}-%{3}-%{4}-%{5}-%{6}}
(189) --> 22-E0-73-F2-50-23
(189) &Calling-Station-Id := 22-E0-73-F2-50-23
(189) EXPAND %{toupper:%{1}:%{2}:%{3}:%{4}:%{5}:%{6}}
(189) --> 22:E0:73:F2:50:23
(189) &locMacAuth-Calling-Station-Id := 22:E0:73:F2:50:23
(189) } # update request = noop
(189) [updated] = updated
(189) } # if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) = updated
(189) ... skipping else: Preceding "if" was taken
(189) } # policy rewrite_calling_station_id = updated
(189) if (NAS-Identifier == "uvisrz0215.insel.ch") {
(189) if (NAS-Identifier == "uvisrz0215.insel.ch") -> FALSE
(189) if (Service-Type == Call-Check) {
(189) if (Service-Type == Call-Check) -> FALSE
(189) if (Packet-Src-IP-Address == 130.59.31.24 || Packet-Src-IP-Address == 130.59.31.25) {
(189) EXPAND Packet-Src-IP-Address
(189) --> 9.9.9.9
(189) EXPAND Packet-Src-IP-Address
(189) --> 9.9.9.9
(189) if (Packet-Src-IP-Address == 130.59.31.24 || Packet-Src-IP-Address == 130.59.31.25) -> FALSE
(189) if (EAP-Message) {
(189) if (EAP-Message) -> TRUE
(189) if (EAP-Message) {
(189) policy filter_username {
(189) if (&User-Name) {
(189) if (&User-Name) -> TRUE
(189) if (&User-Name) {
(189) if (&User-Name =~ / /) {
(189) if (&User-Name =~ / /) -> FALSE
(189) if (&User-Name =~ /@[^@]*@/ ) {
(189) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(189) if (&User-Name =~ /\.\./ ) {
(189) if (&User-Name =~ /\.\./ ) -> FALSE
(189) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(189) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) -> FALSE
(189) if (&User-Name =~ /\.$/) {
(189) if (&User-Name =~ /\.$/) -> FALSE
(189) if (&User-Name =~ /(a)\./) {
(189) if (&User-Name =~ /(a)\./) -> FALSE
(189) } # if (&User-Name) = updated
(189) } # policy filter_username = updated
(189) suffix: Checking for suffix after "@"
(189) suffix: Looking up realm "unibe.ch" for User-Name = "xyz(a)unibe.ch"
(189) suffix: Found realm "UNIBE.CH"
(189) suffix: Adding Realm = "UNIBE.CH"
(189) suffix: Authentication realm is LOCAL
(189) [suffix] = ok
(189) policy deny_no_realm {
(189) if (User-Name && (User-Name !~ /@/)) {
(189) if (User-Name && (User-Name !~ /@/)) -> FALSE
(189) } # policy deny_no_realm = updated
(189) update request {
(189) EXPAND %{toupper:%{Realm}}
(189) --> UNIBE.CH
(189) Realm := UNIBE.CH
(189) } # update request = noop
(189) eap: Peer sent EAP Response (code 2) ID 8 length 6
(189) eap: Continuing tunnel setup
(189) [eap] = ok
(189) } # if (EAP-Message) = ok
(189) } # authorize = updated
(189) Found Auth-Type = eap
(189) # Executing group from file /etc/freeradius/sites-enabled/default
(189) Auth-Type eap {
(189) eap: Removing EAP session with state 0xcf8ae573c982fce6
(189) eap: Previous EAP request found for state 0xcf8ae573c982fce6, released from the list
(189) eap: Peer sent packet with method EAP PEAP (25)
(189) eap: Calling submodule eap_peap to process data
(189) eap_peap: (TLS) Peer ACKed our handshake fragment. handshake is finished
(189) eap_peap: Session established. Decoding tunneled attributes
(189) eap_peap: PEAP state TUNNEL ESTABLISHED
(189) eap: Sending EAP Request (code 1) ID 9 length 40
(189) eap: EAP session adding &reply:State = 0xcf8ae573c883fce6
(189) [eap] = handled
(189) if (handled && (Response-Packet-Type == Access-Challenge)) {
(189) EXPAND Response-Packet-Type
(189) --> Access-Challenge
(189) if (handled && (Response-Packet-Type == Access-Challenge)) -> TRUE
(189) if (handled && (Response-Packet-Type == Access-Challenge)) {
(189) attr_filter.access_challenge: EXPAND %{User-Name}
(189) attr_filter.access_challenge: --> xyz(a)unibe.ch
(189) attr_filter.access_challenge: Matched entry DEFAULT at line 12
(189) [attr_filter.access_challenge.post-auth] = updated
(189) [handled] = handled
(189) } # if (handled && (Response-Packet-Type == Access-Challenge)) = handled
(189) } # Auth-Type eap = handled
(189) Using Post-Auth-Type Challenge
(189) Post-Auth-Type sub-section not found. Ignoring.
(189) # Executing group from file /etc/freeradius/sites-enabled/default
(189) session-state: Saving cached attributes
(189) Framed-MTU = 1014
(189) TLS-Session-Information = "(TLS) PEAP - recv TLS 1.3 Handshake, ClientHello"
(189) TLS-Session-Information = "(TLS) PEAP - send TLS 1.2 Handshake, ServerHello"
(189) TLS-Session-Information = "(TLS) PEAP - send TLS 1.2 Handshake, Certificate"
(189) TLS-Session-Information = "(TLS) PEAP - send TLS 1.2 Handshake, ServerKeyExchange"
(189) TLS-Session-Information = "(TLS) PEAP - send TLS 1.2 Handshake, ServerHelloDone"
(189) TLS-Session-Information = "(TLS) PEAP - recv TLS 1.2 Handshake, ClientKeyExchange"
(189) TLS-Session-Information = "(TLS) PEAP - recv TLS 1.2 Handshake, Finished"
(189) TLS-Session-Information = "(TLS) PEAP - send TLS 1.2 ChangeCipherSpec"
(189) TLS-Session-Information = "(TLS) PEAP - send TLS 1.2 Handshake, Finished"
(189) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(189) TLS-Session-Version = "TLS 1.2"
(189) Sent Access-Challenge Id 87 from 130.92.10.33:1812 to 9.9.9.9:60533 length 98
(189) EAP-Message = 0x010900281900170303001d04f99461d03fc2bfcba8de001c3d804bdee9841e17c66ad8e895cc716f
(189) Message-Authenticator = 0x00000000000000000000000000000000
(189) State = 0xcf8ae573c883fce6e3b6e72de6bf5cbc
(189) Finished request
Waking up in 2.0 seconds.
(190) Received Access-Request Id 95 from 9.9.9.9:60533 to 130.92.10.33:1812 length 495
(190) User-Name = "xyz(a)unibe.ch"
(190) Service-Type = Framed-User
(190) Cisco-AVPair = "service-type=Framed"
(190) Framed-MTU = 1485
(190) EAP-Message = 0x0209003c19001703030031205b847b10fba1571aeefaf72e8f9d6bacb5c5b0c60ea6e48b4fbe8b47377db78af34cb6696f2d542aac549b9d859dfb64
(190) Message-Authenticator = 0x4798ae57b2ed9970df767d1ac0b91c74
(190) Cisco-AVPair = "audit-session-id=0F2A5C820000093C2FFBA7DF"
(190) Cisco-AVPair = "method=dot1x"
(190) Cisco-AVPair = "client-iif-id=3724547122"
(190) Cisco-AVPair = "vlan-id=1876"
(190) NAS-IP-Address = 9.9.9.9
(190) NAS-Port-Type = Wireless-802.11
(190) NAS-Port = 4211
(190) State = 0xcf8ae573c883fce6e3b6e72de6bf5cbc
(190) Cisco-AVPair = "cisco-wlan-ssid=eduroam"
(190) Cisco-AVPair = "wlan-profile-name=eduroam-DEV"
(190) Called-Station-Id = "60-b9-c0-04-c4-40:eduroam"
(190) Calling-Station-Id = "22-e0-73-f2-50-23"
(190) Airespace-Wlan-Id = 98
(190) NAS-Identifier = "60-b9-c0-04-c4-40:eduroam"
(190) WLAN-Group-Cipher = 1027076
(190) WLAN-Pairwise-Cipher = 1027076
(190) WLAN-AKM-Suite = 1027075
(190) Restoring &session-state
(190) &session-state:Framed-MTU = 1014
(190) &session-state:TLS-Session-Information = "(TLS) PEAP - recv TLS 1.3 Handshake, ClientHello"
(190) &session-state:TLS-Session-Information = "(TLS) PEAP - send TLS 1.2 Handshake, ServerHello"
(190) &session-state:TLS-Session-Information = "(TLS) PEAP - send TLS 1.2 Handshake, Certificate"
(190) &session-state:TLS-Session-Information = "(TLS) PEAP - send TLS 1.2 Handshake, ServerKeyExchange"
(190) &session-state:TLS-Session-Information = "(TLS) PEAP - send TLS 1.2 Handshake, ServerHelloDone"
(190) &session-state:TLS-Session-Information = "(TLS) PEAP - recv TLS 1.2 Handshake, ClientKeyExchange"
(190) &session-state:TLS-Session-Information = "(TLS) PEAP - recv TLS 1.2 Handshake, Finished"
(190) &session-state:TLS-Session-Information = "(TLS) PEAP - send TLS 1.2 ChangeCipherSpec"
(190) &session-state:TLS-Session-Information = "(TLS) PEAP - send TLS 1.2 Handshake, Finished"
(190) &session-state:TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(190) &session-state:TLS-Session-Version = "TLS 1.2"
(190) # Executing section authorize from file /etc/freeradius/sites-enabled/default
(190) authorize {
(190) policy rewrite_called_station_id {
(190) if (&Called-Station-Id && (&Called-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))?$/i)) {
(190) if (&Called-Station-Id && (&Called-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))?$/i)) -> TRUE
(190) if (&Called-Station-Id && (&Called-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))?$/i)) {
(190) update request {
(190) EXPAND %{toupper:%{1}-%{2}-%{3}-%{4}-%{5}-%{6}}
(190) --> 60-B9-C0-04-C4-40
(190) &Called-Station-Id := 60-B9-C0-04-C4-40
(190) } # update request = noop
(190) if ("%{8}") {
(190) EXPAND %{8}
(190) --> eduroam
(190) if ("%{8}") -> TRUE
(190) if ("%{8}") {
(190) update request {
(190) EXPAND %{8}
(190) --> eduroam
(190) &Called-Station-SSID := eduroam
(190) EXPAND %{Called-Station-Id}:%{8}
(190) --> 60-B9-C0-04-C4-40:eduroam
(190) &Called-Station-Id := 60-B9-C0-04-C4-40:eduroam
(190) } # update request = noop
(190) } # if ("%{8}") = noop
(190) [updated] = updated
(190) } # if (&Called-Station-Id && (&Called-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))?$/i)) = updated
(190) ... skipping else: Preceding "if" was taken
(190) } # policy rewrite_called_station_id = updated
(190) policy rewrite_calling_station_id {
(190) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) {
(190) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) -> TRUE
(190) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) {
(190) update request {
(190) EXPAND %{toupper:%{1}-%{2}-%{3}-%{4}-%{5}-%{6}}
(190) --> 22-E0-73-F2-50-23
(190) &Calling-Station-Id := 22-E0-73-F2-50-23
(190) EXPAND %{toupper:%{1}:%{2}:%{3}:%{4}:%{5}:%{6}}
(190) --> 22:E0:73:F2:50:23
(190) &locMacAuth-Calling-Station-Id := 22:E0:73:F2:50:23
(190) } # update request = noop
(190) [updated] = updated
(190) } # if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) = updated
(190) ... skipping else: Preceding "if" was taken
(190) } # policy rewrite_calling_station_id = updated
(190) if (NAS-Identifier == "uvisrz0215.insel.ch") {
(190) if (NAS-Identifier == "uvisrz0215.insel.ch") -> FALSE
(190) if (Service-Type == Call-Check) {
(190) if (Service-Type == Call-Check) -> FALSE
(190) if (Packet-Src-IP-Address == 130.59.31.24 || Packet-Src-IP-Address == 130.59.31.25) {
(190) EXPAND Packet-Src-IP-Address
(190) --> 9.9.9.9
(190) EXPAND Packet-Src-IP-Address
(190) --> 9.9.9.9
(190) if (Packet-Src-IP-Address == 130.59.31.24 || Packet-Src-IP-Address == 130.59.31.25) -> FALSE
(190) if (EAP-Message) {
(190) if (EAP-Message) -> TRUE
(190) if (EAP-Message) {
(190) policy filter_username {
(190) if (&User-Name) {
(190) if (&User-Name) -> TRUE
(190) if (&User-Name) {
(190) if (&User-Name =~ / /) {
(190) if (&User-Name =~ / /) -> FALSE
(190) if (&User-Name =~ /@[^@]*@/ ) {
(190) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(190) if (&User-Name =~ /\.\./ ) {
(190) if (&User-Name =~ /\.\./ ) -> FALSE
(190) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(190) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) -> FALSE
(190) if (&User-Name =~ /\.$/) {
(190) if (&User-Name =~ /\.$/) -> FALSE
(190) if (&User-Name =~ /(a)\./) {
(190) if (&User-Name =~ /(a)\./) -> FALSE
(190) } # if (&User-Name) = updated
(190) } # policy filter_username = updated
(190) suffix: Checking for suffix after "@"
(190) suffix: Looking up realm "unibe.ch" for User-Name = "xyz(a)unibe.ch"
(190) suffix: Found realm "UNIBE.CH"
(190) suffix: Adding Realm = "UNIBE.CH"
(190) suffix: Authentication realm is LOCAL
(190) [suffix] = ok
(190) policy deny_no_realm {
(190) if (User-Name && (User-Name !~ /@/)) {
(190) if (User-Name && (User-Name !~ /@/)) -> FALSE
(190) } # policy deny_no_realm = updated
(190) update request {
(190) EXPAND %{toupper:%{Realm}}
(190) --> UNIBE.CH
(190) Realm := UNIBE.CH
(190) } # update request = noop
(190) eap: Peer sent EAP Response (code 2) ID 9 length 60
(190) eap: Continuing tunnel setup
(190) [eap] = ok
(190) } # if (EAP-Message) = ok
(190) } # authorize = updated
(190) Found Auth-Type = eap
(190) # Executing group from file /etc/freeradius/sites-enabled/default
(190) Auth-Type eap {
(190) eap: Removing EAP session with state 0xcf8ae573c883fce6
(190) eap: Previous EAP request found for state 0xcf8ae573c883fce6, released from the list
(190) eap: Peer sent packet with method EAP PEAP (25)
(190) eap: Calling submodule eap_peap to process data
(190) eap_peap: (TLS) EAP Done initial handshake
(190) eap_peap: Session established. Decoding tunneled attributes
(190) eap_peap: PEAP state WAITING FOR INNER IDENTITY
(190) eap_peap: Identity - xyz(a)unibe.ch
(190) eap_peap: Got inner identity 'xyz(a)unibe.ch'
(190) eap_peap: Setting default EAP type for tunneled EAP session
(190) eap_peap: Got tunneled request
(190) eap_peap: EAP-Message = 0x0209001d01646f6d696e69632e7374616c64657240756e6962652e6368
(190) eap_peap: Setting User-Name to xyz(a)unibe.ch
(190) eap_peap: Sending tunneled request to proxy-inner-tunnel
(190) eap_peap: EAP-Message = 0x0209001d01646f6d696e69632e7374616c64657240756e6962652e6368
(190) eap_peap: FreeRADIUS-Proxied-To = 127.0.0.1
(190) eap_peap: User-Name = "xyz(a)unibe.ch"
(190) eap_peap: Service-Type = Framed-User
(190) eap_peap: Cisco-AVPair = "service-type=Framed"
(190) eap_peap: Cisco-AVPair = "audit-session-id=0F2A5C820000093C2FFBA7DF"
(190) eap_peap: Cisco-AVPair = "method=dot1x"
(190) eap_peap: Cisco-AVPair = "client-iif-id=3724547122"
(190) eap_peap: Cisco-AVPair = "vlan-id=1876"
(190) eap_peap: Cisco-AVPair = "cisco-wlan-ssid=eduroam"
(190) eap_peap: Cisco-AVPair = "wlan-profile-name=eduroam-DEV"
(190) eap_peap: Framed-MTU = 1485
(190) eap_peap: NAS-IP-Address = 9.9.9.9
(190) eap_peap: NAS-Port-Type = Wireless-802.11
(190) eap_peap: NAS-Port = 4211
(190) eap_peap: Called-Station-Id := "60-B9-C0-04-C4-40:eduroam"
(190) eap_peap: Calling-Station-Id := "22-E0-73-F2-50-23"
(190) eap_peap: Airespace-Wlan-Id = 98
(190) eap_peap: NAS-Identifier = "60-b9-c0-04-c4-40:eduroam"
(190) eap_peap: WLAN-Group-Cipher = 1027076
(190) eap_peap: WLAN-Pairwise-Cipher = 1027076
(190) eap_peap: WLAN-AKM-Suite = 1027075
(190) Virtual server proxy-inner-tunnel received request
(190) EAP-Message = 0x0209001d01646f6d696e69632e7374616c64657240756e6962652e6368
(190) FreeRADIUS-Proxied-To = 127.0.0.1
(190) User-Name = "xyz(a)unibe.ch"
(190) Service-Type = Framed-User
(190) Cisco-AVPair = "service-type=Framed"
(190) Cisco-AVPair = "audit-session-id=0F2A5C820000093C2FFBA7DF"
(190) Cisco-AVPair = "method=dot1x"
(190) Cisco-AVPair = "client-iif-id=3724547122"
(190) Cisco-AVPair = "vlan-id=1876"
(190) Cisco-AVPair = "cisco-wlan-ssid=eduroam"
(190) Cisco-AVPair = "wlan-profile-name=eduroam-DEV"
(190) Framed-MTU = 1485
(190) NAS-IP-Address = 9.9.9.9
(190) NAS-Port-Type = Wireless-802.11
(190) NAS-Port = 4211
(190) Called-Station-Id := "60-B9-C0-04-C4-40:eduroam"
(190) Calling-Station-Id := "22-E0-73-F2-50-23"
(190) Airespace-Wlan-Id = 98
(190) NAS-Identifier = "60-b9-c0-04-c4-40:eduroam"
(190) WLAN-Group-Cipher = 1027076
(190) WLAN-Pairwise-Cipher = 1027076
(190) WLAN-AKM-Suite = 1027075
(190) WARNING: Outer and inner identities are the same. User privacy is compromised.
(190) server proxy-inner-tunnel {
(190) # Executing section authorize from file /etc/freeradius/sites-enabled/proxy-inner-tunnel
(190) authorize {
(190) if (User-Name !~ /^([\w-.]{1,}\.[\w-.]{1,}@((unibe\.ch)|(faculty\.unibe\.ch)|(students\.unibe\.ch)|(ext\.unibe\.ch)))|(^[\w-]{1,20}@((campus\.unibe\.ch)|(unibe\.ch)))/) {
(190) if (User-Name !~ /^([\w-.]{1,}\.[\w-.]{1,}@((unibe\.ch)|(faculty\.unibe\.ch)|(students\.unibe\.ch)|(ext\.unibe\.ch)))|(^[\w-]{1,20}@((campus\.unibe\.ch)|(unibe\.ch)))/) -> FALSE
(190) if (!NAS-Port-Type){
(190) if (!NAS-Port-Type) -> FALSE
(190) update control {
(190) &Proxy-To-Realm := REALM-NPS-DEV
(190) } # update control = noop
(190) } # authorize = noop
(190) } # server proxy-inner-tunnel
(190) Virtual server sending reply
(190) eap_peap: Got tunneled reply code 0
(190) eap_peap: Tunnelled authentication will be proxied to REALM-NPS-DEV
(190) eap: WARNING: Tunneled session will be proxied. Not doing EAP
(190) [eap] = handled
(190) if (handled && (Response-Packet-Type == Access-Challenge)) {
(190) EXPAND Response-Packet-Type
(190) -->
(190) if (handled && (Response-Packet-Type == Access-Challenge)) -> FALSE
(190) } # Auth-Type eap = handled
(190) Starting proxy to home server 130.92.14.27 port 1812
(190) server default {
(190) # Executing section pre-proxy from file /etc/freeradius/sites-enabled/default
(190) pre-proxy {
(190) attr_filter.pre-proxy: EXPAND %{Realm}
(190) attr_filter.pre-proxy: --> UNIBE.CH
(190) attr_filter.pre-proxy: Matched entry DEFAULT at line 58
(190) [attr_filter.pre-proxy] = updated
(190) } # pre-proxy = updated
(190) }
(190) Proxying request to home server 130.92.14.27 port 1812 timeout 20.000000
(190) Sent Access-Request Id 190 from 0.0.0.0:38376 to 130.92.14.27:1812 length 195
(190) Operator-Name := "1unibe.ch"
(190) EAP-Message = 0x0209001d01646f6d696e69632e7374616c64657240756e6962652e6368
(190) User-Name = "xyz(a)unibe.ch"
(190) NAS-IP-Address = 9.9.9.9
(190) NAS-Port-Type = Wireless-802.11
(190) Called-Station-Id := "60-B9-C0-04-C4-40:eduroam"
(190) Calling-Station-Id := "22-E0-73-F2-50-23"
(190) NAS-Identifier = "60-b9-c0-04-c4-40:eduroam"
(190) Message-Authenticator = 0x
(190) Proxy-State = 0x3935
Waking up in 0.3 seconds.
(190) Clearing existing &reply: attributes
(190) Received Access-Challenge Id 190 from 130.92.14.27:1812 to 130.92.10.33:38376 length 127
(190) Proxy-State = 0x3935
(190) Session-Timeout = 60
(190) EAP-Message = 0x010a00271a010a002210c83761488cca2718c679660556394dee4141492d4e50532d4544555632
(190) State = 0x22df03070000013700010200825c0e1b000000000000000000000000000000043a958c65
(190) Message-Authenticator = 0xa3812c370e044725e89c60fee08004f3
(190) server default {
(190) # Executing section post-proxy from file /etc/freeradius/sites-enabled/default
(190) post-proxy {
(190) attr_filter.post-proxy: EXPAND %{Realm}
(190) attr_filter.post-proxy: --> UNIBE.CH
(190) attr_filter.post-proxy: Matched entry UNIBE.CH at line 102
(190) [attr_filter.post-proxy] = updated
(190) eap: Doing post-proxy callback
(190) eap: Passing reply from proxy back into the tunnel
(190) eap: Got tunneled reply RADIUS code 11
(190) eap: Tunnel-Type := VLAN
(190) eap: Tunnel-Medium-Type := IEEE-802
(190) eap: Proxy-State = 0x3935
(190) eap: EAP-Message = 0x010a00271a010a002210c83761488cca2718c679660556394dee4141492d4e50532d4544555632
(190) eap: State = 0x22df03070000013700010200825c0e1b000000000000000000000000000000043a958c65
(190) eap: Message-Authenticator = 0xa3812c370e044725e89c60fee08004f3
(190) eap: Got tunneled Access-Challenge
(190) eap: Reply was handled
(190) eap: Sending EAP Request (code 1) ID 10 length 70
(190) eap: EAP session adding &reply:State = 0xcf8ae573c780fce6
(190) [eap] = ok
(190) } # post-proxy = updated
(190) }
(190) session-state: Saving cached attributes
(190) Framed-MTU = 1014
(190) TLS-Session-Information = "(TLS) PEAP - recv TLS 1.3 Handshake, ClientHello"
(190) TLS-Session-Information = "(TLS) PEAP - send TLS 1.2 Handshake, ServerHello"
(190) TLS-Session-Information = "(TLS) PEAP - send TLS 1.2 Handshake, Certificate"
(190) TLS-Session-Information = "(TLS) PEAP - send TLS 1.2 Handshake, ServerKeyExchange"
(190) TLS-Session-Information = "(TLS) PEAP - send TLS 1.2 Handshake, ServerHelloDone"
(190) TLS-Session-Information = "(TLS) PEAP - recv TLS 1.2 Handshake, ClientKeyExchange"
(190) TLS-Session-Information = "(TLS) PEAP - recv TLS 1.2 Handshake, Finished"
(190) TLS-Session-Information = "(TLS) PEAP - send TLS 1.2 ChangeCipherSpec"
(190) TLS-Session-Information = "(TLS) PEAP - send TLS 1.2 Handshake, Finished"
(190) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(190) TLS-Session-Version = "TLS 1.2"
(190) Using Post-Auth-Type Challenge
(190) Post-Auth-Type sub-section not found. Ignoring.
(190) # Executing group from file /etc/freeradius/sites-enabled/default
(190) Sent Access-Challenge Id 95 from 130.92.10.33:1812 to 9.9.9.9:60533 length 128
(190) EAP-Message = 0x010a00461900170303003b04f99461d03fc2c0ac23d67f4ddb067ebf0aab5a9c002f61bc4a0be3c85a32f413a556f4f955e47114a5bd3076e920126f217073cb89e19f73e9b7
(190) Message-Authenticator = 0x00000000000000000000000000000000
(190) State = 0xcf8ae573c780fce6e3b6e72de6bf5cbc
(190) Finished request
Waking up in 2.0 seconds.
(191) Received Access-Request Id 103 from 9.9.9.9:60533 to 130.92.10.33:1812 length 549
(191) User-Name = "xyz(a)unibe.ch"
(191) Service-Type = Framed-User
(191) Cisco-AVPair = "service-type=Framed"
(191) Framed-MTU = 1485
(191) EAP-Message = 0x020a007219001703030067205b847b10fba1584559915251d4673e0abf889721cd70283f669b7bc2790a707ee10b32db67326f5dc5ff040d06c69d2abac6cc1d42f3121fd59414b1064d38037caa197e338ac30a55ba2f77cc8e976d46335a5dfb2dd86e2f89a299d8ea1d97945192b49dbe
(191) Message-Authenticator = 0xf3f378571c227125d81046d457c56823
(191) Cisco-AVPair = "audit-session-id=0F2A5C820000093C2FFBA7DF"
(191) Cisco-AVPair = "method=dot1x"
(191) Cisco-AVPair = "client-iif-id=3724547122"
(191) Cisco-AVPair = "vlan-id=1876"
(191) NAS-IP-Address = 9.9.9.9
(191) NAS-Port-Type = Wireless-802.11
(191) NAS-Port = 4211
(191) State = 0xcf8ae573c780fce6e3b6e72de6bf5cbc
(191) Cisco-AVPair = "cisco-wlan-ssid=eduroam"
(191) Cisco-AVPair = "wlan-profile-name=eduroam-DEV"
(191) Called-Station-Id = "60-b9-c0-04-c4-40:eduroam"
(191) Calling-Station-Id = "22-e0-73-f2-50-23"
(191) Airespace-Wlan-Id = 98
(191) NAS-Identifier = "60-b9-c0-04-c4-40:eduroam"
(191) WLAN-Group-Cipher = 1027076
(191) WLAN-Pairwise-Cipher = 1027076
(191) WLAN-AKM-Suite = 1027075
(191) session-state: No cached attributes
(191) # Executing section authorize from file /etc/freeradius/sites-enabled/default
(191) authorize {
(191) policy rewrite_called_station_id {
(191) if (&Called-Station-Id && (&Called-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))?$/i)) {
(191) if (&Called-Station-Id && (&Called-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))?$/i)) -> TRUE
(191) if (&Called-Station-Id && (&Called-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))?$/i)) {
(191) update request {
(191) EXPAND %{toupper:%{1}-%{2}-%{3}-%{4}-%{5}-%{6}}
(191) --> 60-B9-C0-04-C4-40
(191) &Called-Station-Id := 60-B9-C0-04-C4-40
(191) } # update request = noop
(191) if ("%{8}") {
(191) EXPAND %{8}
(191) --> eduroam
(191) if ("%{8}") -> TRUE
(191) if ("%{8}") {
(191) update request {
(191) EXPAND %{8}
(191) --> eduroam
(191) &Called-Station-SSID := eduroam
(191) EXPAND %{Called-Station-Id}:%{8}
(191) --> 60-B9-C0-04-C4-40:eduroam
(191) &Called-Station-Id := 60-B9-C0-04-C4-40:eduroam
(191) } # update request = noop
(191) } # if ("%{8}") = noop
(191) [updated] = updated
(191) } # if (&Called-Station-Id && (&Called-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))?$/i)) = updated
(191) ... skipping else: Preceding "if" was taken
(191) } # policy rewrite_called_station_id = updated
(191) policy rewrite_calling_station_id {
(191) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) {
(191) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) -> TRUE
(191) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) {
(191) update request {
(191) EXPAND %{toupper:%{1}-%{2}-%{3}-%{4}-%{5}-%{6}}
(191) --> 22-E0-73-F2-50-23
(191) &Calling-Station-Id := 22-E0-73-F2-50-23
(191) EXPAND %{toupper:%{1}:%{2}:%{3}:%{4}:%{5}:%{6}}
(191) --> 22:E0:73:F2:50:23
(191) &locMacAuth-Calling-Station-Id := 22:E0:73:F2:50:23
(191) } # update request = noop
(191) [updated] = updated
(191) } # if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) = updated
(191) ... skipping else: Preceding "if" was taken
(191) } # policy rewrite_calling_station_id = updated
(191) if (NAS-Identifier == "uvisrz0215.insel.ch") {
(191) if (NAS-Identifier == "uvisrz0215.insel.ch") -> FALSE
(191) if (Service-Type == Call-Check) {
(191) if (Service-Type == Call-Check) -> FALSE
(191) if (Packet-Src-IP-Address == 130.59.31.24 || Packet-Src-IP-Address == 130.59.31.25) {
(191) EXPAND Packet-Src-IP-Address
(191) --> 9.9.9.9
(191) EXPAND Packet-Src-IP-Address
(191) --> 9.9.9.9
(191) if (Packet-Src-IP-Address == 130.59.31.24 || Packet-Src-IP-Address == 130.59.31.25) -> FALSE
(191) if (EAP-Message) {
(191) if (EAP-Message) -> TRUE
(191) if (EAP-Message) {
(191) policy filter_username {
(191) if (&User-Name) {
(191) if (&User-Name) -> TRUE
(191) if (&User-Name) {
(191) if (&User-Name =~ / /) {
(191) if (&User-Name =~ / /) -> FALSE
(191) if (&User-Name =~ /@[^@]*@/ ) {
(191) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(191) if (&User-Name =~ /\.\./ ) {
(191) if (&User-Name =~ /\.\./ ) -> FALSE
(191) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(191) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) -> FALSE
(191) if (&User-Name =~ /\.$/) {
(191) if (&User-Name =~ /\.$/) -> FALSE
(191) if (&User-Name =~ /(a)\./) {
(191) if (&User-Name =~ /(a)\./) -> FALSE
(191) } # if (&User-Name) = updated
(191) } # policy filter_username = updated
(191) suffix: Checking for suffix after "@"
(191) suffix: Looking up realm "unibe.ch" for User-Name = "xyz(a)unibe.ch"
(191) suffix: Found realm "UNIBE.CH"
(191) suffix: Adding Realm = "UNIBE.CH"
(191) suffix: Authentication realm is LOCAL
(191) [suffix] = ok
(191) policy deny_no_realm {
(191) if (User-Name && (User-Name !~ /@/)) {
(191) if (User-Name && (User-Name !~ /@/)) -> FALSE
(191) } # policy deny_no_realm = updated
(191) update request {
(191) EXPAND %{toupper:%{Realm}}
(191) --> UNIBE.CH
(191) Realm := UNIBE.CH
(191) } # update request = noop
(191) eap: Peer sent EAP Response (code 2) ID 10 length 114
(191) eap: Continuing tunnel setup
(191) [eap] = ok
(191) } # if (EAP-Message) = ok
(191) } # authorize = updated
(191) Found Auth-Type = eap
(191) # Executing group from file /etc/freeradius/sites-enabled/default
(191) Auth-Type eap {
(191) eap: Removing EAP session with state 0xcf8ae573c780fce6
(191) eap: Previous EAP request found for state 0xcf8ae573c780fce6, released from the list
(191) eap: Peer sent packet with method EAP PEAP (25)
(191) eap: Calling submodule eap_peap to process data
(191) eap_peap: (TLS) EAP Done initial handshake
(191) eap_peap: Session established. Decoding tunneled attributes
(191) eap_peap: PEAP state phase2
(191) eap_peap: EAP method MSCHAPv2 (26)
(191) eap_peap: Got tunneled request
(191) eap_peap: EAP-Message = 0x020a00531a020a004e3197d74d4a32fbacd2fa345e05a04b070700000000000000008c45061c2def02f04f327c8c1994b030c364f8a9115efe2a00646f6d696e69632e7374616c64657240756e6962652e6368
(191) eap_peap: Setting User-Name to xyz(a)unibe.ch
(191) eap_peap: Sending tunneled request to proxy-inner-tunnel
(191) eap_peap: EAP-Message = 0x020a00531a020a004e3197d74d4a32fbacd2fa345e05a04b070700000000000000008c45061c2def02f04f327c8c1994b030c364f8a9115efe2a00646f6d696e69632e7374616c64657240756e6962652e6368
(191) eap_peap: FreeRADIUS-Proxied-To = 127.0.0.1
(191) eap_peap: User-Name = "xyz(a)unibe.ch"
(191) eap_peap: State = 0x22df03070000013700010200825c0e1b000000000000000000000000000000043a958c65
(191) eap_peap: Service-Type = Framed-User
(191) eap_peap: Cisco-AVPair = "service-type=Framed"
(191) eap_peap: Cisco-AVPair = "audit-session-id=0F2A5C820000093C2FFBA7DF"
(191) eap_peap: Cisco-AVPair = "method=dot1x"
(191) eap_peap: Cisco-AVPair = "client-iif-id=3724547122"
(191) eap_peap: Cisco-AVPair = "vlan-id=1876"
(191) eap_peap: Cisco-AVPair = "cisco-wlan-ssid=eduroam"
(191) eap_peap: Cisco-AVPair = "wlan-profile-name=eduroam-DEV"
(191) eap_peap: Framed-MTU = 1485
(191) eap_peap: NAS-IP-Address = 9.9.9.9
(191) eap_peap: NAS-Port-Type = Wireless-802.11
(191) eap_peap: NAS-Port = 4211
(191) eap_peap: Called-Station-Id := "60-B9-C0-04-C4-40:eduroam"
(191) eap_peap: Calling-Station-Id := "22-E0-73-F2-50-23"
(191) eap_peap: Airespace-Wlan-Id = 98
(191) eap_peap: NAS-Identifier = "60-b9-c0-04-c4-40:eduroam"
(191) eap_peap: WLAN-Group-Cipher = 1027076
(191) eap_peap: WLAN-Pairwise-Cipher = 1027076
(191) eap_peap: WLAN-AKM-Suite = 1027075
(191) Virtual server proxy-inner-tunnel received request
(191) EAP-Message = 0x020a00531a020a004e3197d74d4a32fbacd2fa345e05a04b070700000000000000008c45061c2def02f04f327c8c1994b030c364f8a9115efe2a00646f6d696e69632e7374616c64657240756e6962652e6368
(191) FreeRADIUS-Proxied-To = 127.0.0.1
(191) User-Name = "xyz(a)unibe.ch"
(191) State = 0x22df03070000013700010200825c0e1b000000000000000000000000000000043a958c65
(191) Service-Type = Framed-User
(191) Cisco-AVPair = "service-type=Framed"
(191) Cisco-AVPair = "audit-session-id=0F2A5C820000093C2FFBA7DF"
(191) Cisco-AVPair = "method=dot1x"
(191) Cisco-AVPair = "client-iif-id=3724547122"
(191) Cisco-AVPair = "vlan-id=1876"
(191) Cisco-AVPair = "cisco-wlan-ssid=eduroam"
(191) Cisco-AVPair = "wlan-profile-name=eduroam-DEV"
(191) Framed-MTU = 1485
(191) NAS-IP-Address = 9.9.9.9
(191) NAS-Port-Type = Wireless-802.11
(191) NAS-Port = 4211
(191) Called-Station-Id := "60-B9-C0-04-C4-40:eduroam"
(191) Calling-Station-Id := "22-E0-73-F2-50-23"
(191) Airespace-Wlan-Id = 98
(191) NAS-Identifier = "60-b9-c0-04-c4-40:eduroam"
(191) WLAN-Group-Cipher = 1027076
(191) WLAN-Pairwise-Cipher = 1027076
(191) WLAN-AKM-Suite = 1027075
(191) WARNING: Outer and inner identities are the same. User privacy is compromised.
(191) server proxy-inner-tunnel {
(191) session-state: No cached attributes
(191) # Executing section authorize from file /etc/freeradius/sites-enabled/proxy-inner-tunnel
(191) authorize {
(191) if (User-Name !~ /^([\w-.]{1,}\.[\w-.]{1,}@((unibe\.ch)|(faculty\.unibe\.ch)|(students\.unibe\.ch)|(ext\.unibe\.ch)))|(^[\w-]{1,20}@((campus\.unibe\.ch)|(unibe\.ch)))/) {
(191) if (User-Name !~ /^([\w-.]{1,}\.[\w-.]{1,}@((unibe\.ch)|(faculty\.unibe\.ch)|(students\.unibe\.ch)|(ext\.unibe\.ch)))|(^[\w-]{1,20}@((campus\.unibe\.ch)|(unibe\.ch)))/) -> FALSE
(191) if (!NAS-Port-Type){
(191) if (!NAS-Port-Type) -> FALSE
(191) update control {
(191) &Proxy-To-Realm := REALM-NPS-DEV
(191) } # update control = noop
(191) } # authorize = noop
(191) } # server proxy-inner-tunnel
(191) Virtual server sending reply
(191) eap_peap: Got tunneled reply code 0
(191) eap_peap: Tunnelled authentication will be proxied to REALM-NPS-DEV
(191) eap: WARNING: Tunneled session will be proxied. Not doing EAP
(191) [eap] = handled
(191) if (handled && (Response-Packet-Type == Access-Challenge)) {
(191) EXPAND Response-Packet-Type
(191) -->
(191) if (handled && (Response-Packet-Type == Access-Challenge)) -> FALSE
(191) } # Auth-Type eap = handled
(191) Starting proxy to home server 130.92.14.27 port 1812
(191) server default {
(191) # Executing section pre-proxy from file /etc/freeradius/sites-enabled/default
(191) pre-proxy {
(191) attr_filter.pre-proxy: EXPAND %{Realm}
(191) attr_filter.pre-proxy: --> UNIBE.CH
(191) attr_filter.pre-proxy: Matched entry DEFAULT at line 58
(191) [attr_filter.pre-proxy] = updated
(191) } # pre-proxy = updated
(191) }
(191) Proxying request to home server 130.92.14.27 port 1812 timeout 20.000000
(191) Sent Access-Request Id 191 from 0.0.0.0:38376 to 130.92.14.27:1812 length 288
(191) Operator-Name := "1unibe.ch"
(191) EAP-Message = 0x020a00531a020a004e3197d74d4a32fbacd2fa345e05a04b070700000000000000008c45061c2def02f04f327c8c1994b030c364f8a9115efe2a00646f6d696e69632e7374616c64657240756e6962652e6368
(191) User-Name = "xyz(a)unibe.ch"
(191) State = 0x22df03070000013700010200825c0e1b000000000000000000000000000000043a958c65
(191) NAS-IP-Address = 9.9.9.9
(191) NAS-Port-Type = Wireless-802.11
(191) Called-Station-Id := "60-B9-C0-04-C4-40:eduroam"
(191) Calling-Station-Id := "22-E0-73-F2-50-23"
(191) NAS-Identifier = "60-b9-c0-04-c4-40:eduroam"
(191) Message-Authenticator = 0x
(191) Proxy-State = 0x313033
Waking up in 0.3 seconds.
(191) Clearing existing &reply: attributes
(191) Received Access-Challenge Id 191 from 130.92.14.27:1812 to 130.92.10.33:38376 length 140
(191) Proxy-State = 0x313033
(191) Session-Timeout = 60
(191) EAP-Message = 0x010b00331a030a002e533d36323537434330314631324434464143463944453131333631363541363935354444423345344438
(191) State = 0x22df03070000013700010200825c0e1b000000000000000000000000000000043a958c65
(191) Message-Authenticator = 0x8ca6aae399c7f203dc1a20ce85e5750b
(191) server default {
(191) # Executing section post-proxy from file /etc/freeradius/sites-enabled/default
(191) post-proxy {
(191) attr_filter.post-proxy: EXPAND %{Realm}
(191) attr_filter.post-proxy: --> UNIBE.CH
(191) attr_filter.post-proxy: Matched entry UNIBE.CH at line 102
(191) [attr_filter.post-proxy] = updated
(191) eap: Doing post-proxy callback
(191) eap: Passing reply from proxy back into the tunnel
(191) eap: Got tunneled reply RADIUS code 11
(191) eap: Tunnel-Type := VLAN
(191) eap: Tunnel-Medium-Type := IEEE-802
(191) eap: Proxy-State = 0x313033
(191) eap: EAP-Message = 0x010b00331a030a002e533d36323537434330314631324434464143463944453131333631363541363935354444423345344438
(191) eap: State = 0x22df03070000013700010200825c0e1b000000000000000000000000000000043a958c65
(191) eap: Message-Authenticator = 0x8ca6aae399c7f203dc1a20ce85e5750b
(191) eap: Got tunneled Access-Challenge
(191) eap: Reply was handled
(191) eap: Sending EAP Request (code 1) ID 11 length 82
(191) eap: EAP session adding &reply:State = 0xcf8ae573c681fce6
(191) [eap] = ok
(191) } # post-proxy = updated
(191) }
(191) Using Post-Auth-Type Challenge
(191) Post-Auth-Type sub-section not found. Ignoring.
(191) # Executing group from file /etc/freeradius/sites-enabled/default
(191) Sent Access-Challenge Id 103 from 130.92.10.33:1812 to 9.9.9.9:60533 length 140
(191) EAP-Message = 0x010b00521900170303004704f99461d03fc2c1394041037baef530edfd9b8bf3fa86b0e63dd7b2ccbec2333eb2a290f24dcaa4882575e6ace41e0ab2b5a7b86b753145bb360713633e4a7d4d11d21c93b2d4
(191) Message-Authenticator = 0x00000000000000000000000000000000
(191) State = 0xcf8ae573c681fce6e3b6e72de6bf5cbc
(191) Finished request
Waking up in 1.9 seconds.
(192) Received Access-Request Id 111 from 9.9.9.9:60533 to 130.92.10.33:1812 length 472
(192) User-Name = "xyz(a)unibe.ch"
(192) Service-Type = Framed-User
(192) Cisco-AVPair = "service-type=Framed"
(192) Framed-MTU = 1485
(192) EAP-Message = 0x020b00251900170303001a205b847b10fba159867591b547327317b26e0f7da7607738977b
(192) Message-Authenticator = 0x80bb23fad6417fe1677e1055aac4907e
(192) Cisco-AVPair = "audit-session-id=0F2A5C820000093C2FFBA7DF"
(192) Cisco-AVPair = "method=dot1x"
(192) Cisco-AVPair = "client-iif-id=3724547122"
(192) Cisco-AVPair = "vlan-id=1876"
(192) NAS-IP-Address = 9.9.9.9
(192) NAS-Port-Type = Wireless-802.11
(192) NAS-Port = 4211
(192) State = 0xcf8ae573c681fce6e3b6e72de6bf5cbc
(192) Cisco-AVPair = "cisco-wlan-ssid=eduroam"
(192) Cisco-AVPair = "wlan-profile-name=eduroam-DEV"
(192) Called-Station-Id = "60-b9-c0-04-c4-40:eduroam"
(192) Calling-Station-Id = "22-e0-73-f2-50-23"
(192) Airespace-Wlan-Id = 98
(192) NAS-Identifier = "60-b9-c0-04-c4-40:eduroam"
(192) WLAN-Group-Cipher = 1027076
(192) WLAN-Pairwise-Cipher = 1027076
(192) WLAN-AKM-Suite = 1027075
(192) session-state: No cached attributes
(192) # Executing section authorize from file /etc/freeradius/sites-enabled/default
(192) authorize {
(192) policy rewrite_called_station_id {
(192) if (&Called-Station-Id && (&Called-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))?$/i)) {
(192) if (&Called-Station-Id && (&Called-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))?$/i)) -> TRUE
(192) if (&Called-Station-Id && (&Called-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))?$/i)) {
(192) update request {
(192) EXPAND %{toupper:%{1}-%{2}-%{3}-%{4}-%{5}-%{6}}
(192) --> 60-B9-C0-04-C4-40
(192) &Called-Station-Id := 60-B9-C0-04-C4-40
(192) } # update request = noop
(192) if ("%{8}") {
(192) EXPAND %{8}
(192) --> eduroam
(192) if ("%{8}") -> TRUE
(192) if ("%{8}") {
(192) update request {
(192) EXPAND %{8}
(192) --> eduroam
(192) &Called-Station-SSID := eduroam
(192) EXPAND %{Called-Station-Id}:%{8}
(192) --> 60-B9-C0-04-C4-40:eduroam
(192) &Called-Station-Id := 60-B9-C0-04-C4-40:eduroam
(192) } # update request = noop
(192) } # if ("%{8}") = noop
(192) [updated] = updated
(192) } # if (&Called-Station-Id && (&Called-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))?$/i)) = updated
(192) ... skipping else: Preceding "if" was taken
(192) } # policy rewrite_called_station_id = updated
(192) policy rewrite_calling_station_id {
(192) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) {
(192) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) -> TRUE
(192) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) {
(192) update request {
(192) EXPAND %{toupper:%{1}-%{2}-%{3}-%{4}-%{5}-%{6}}
(192) --> 22-E0-73-F2-50-23
(192) &Calling-Station-Id := 22-E0-73-F2-50-23
(192) EXPAND %{toupper:%{1}:%{2}:%{3}:%{4}:%{5}:%{6}}
(192) --> 22:E0:73:F2:50:23
(192) &locMacAuth-Calling-Station-Id := 22:E0:73:F2:50:23
(192) } # update request = noop
(192) [updated] = updated
(192) } # if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) = updated
(192) ... skipping else: Preceding "if" was taken
(192) } # policy rewrite_calling_station_id = updated
(192) if (NAS-Identifier == "uvisrz0215.insel.ch") {
(192) if (NAS-Identifier == "uvisrz0215.insel.ch") -> FALSE
(192) if (Service-Type == Call-Check) {
(192) if (Service-Type == Call-Check) -> FALSE
(192) if (Packet-Src-IP-Address == 130.59.31.24 || Packet-Src-IP-Address == 130.59.31.25) {
(192) EXPAND Packet-Src-IP-Address
(192) --> 9.9.9.9
(192) EXPAND Packet-Src-IP-Address
(192) --> 9.9.9.9
(192) if (Packet-Src-IP-Address == 130.59.31.24 || Packet-Src-IP-Address == 130.59.31.25) -> FALSE
(192) if (EAP-Message) {
(192) if (EAP-Message) -> TRUE
(192) if (EAP-Message) {
(192) policy filter_username {
(192) if (&User-Name) {
(192) if (&User-Name) -> TRUE
(192) if (&User-Name) {
(192) if (&User-Name =~ / /) {
(192) if (&User-Name =~ / /) -> FALSE
(192) if (&User-Name =~ /@[^@]*@/ ) {
(192) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(192) if (&User-Name =~ /\.\./ ) {
(192) if (&User-Name =~ /\.\./ ) -> FALSE
(192) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(192) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) -> FALSE
(192) if (&User-Name =~ /\.$/) {
(192) if (&User-Name =~ /\.$/) -> FALSE
(192) if (&User-Name =~ /(a)\./) {
(192) if (&User-Name =~ /(a)\./) -> FALSE
(192) } # if (&User-Name) = updated
(192) } # policy filter_username = updated
(192) suffix: Checking for suffix after "@"
(192) suffix: Looking up realm "unibe.ch" for User-Name = "xyz(a)unibe.ch"
(192) suffix: Found realm "UNIBE.CH"
(192) suffix: Adding Realm = "UNIBE.CH"
(192) suffix: Authentication realm is LOCAL
(192) [suffix] = ok
(192) policy deny_no_realm {
(192) if (User-Name && (User-Name !~ /@/)) {
(192) if (User-Name && (User-Name !~ /@/)) -> FALSE
(192) } # policy deny_no_realm = updated
(192) update request {
(192) EXPAND %{toupper:%{Realm}}
(192) --> UNIBE.CH
(192) Realm := UNIBE.CH
(192) } # update request = noop
(192) eap: Peer sent EAP Response (code 2) ID 11 length 37
(192) eap: Continuing tunnel setup
(192) [eap] = ok
(192) } # if (EAP-Message) = ok
(192) } # authorize = updated
(192) Found Auth-Type = eap
(192) # Executing group from file /etc/freeradius/sites-enabled/default
(192) Auth-Type eap {
(192) eap: Removing EAP session with state 0xcf8ae573c681fce6
(192) eap: Previous EAP request found for state 0xcf8ae573c681fce6, released from the list
(192) eap: Peer sent packet with method EAP PEAP (25)
(192) eap: Calling submodule eap_peap to process data
(192) eap_peap: (TLS) EAP Done initial handshake
(192) eap_peap: Session established. Decoding tunneled attributes
(192) eap_peap: PEAP state phase2
(192) eap_peap: EAP method MSCHAPv2 (26)
(192) eap_peap: Got tunneled request
(192) eap_peap: EAP-Message = 0x020b00061a03
(192) eap_peap: Setting User-Name to xyz(a)unibe.ch
(192) eap_peap: Sending tunneled request to proxy-inner-tunnel
(192) eap_peap: EAP-Message = 0x020b00061a03
(192) eap_peap: FreeRADIUS-Proxied-To = 127.0.0.1
(192) eap_peap: User-Name = "xyz(a)unibe.ch"
(192) eap_peap: State = 0x22df03070000013700010200825c0e1b000000000000000000000000000000043a958c65
(192) eap_peap: Service-Type = Framed-User
(192) eap_peap: Cisco-AVPair = "service-type=Framed"
(192) eap_peap: Cisco-AVPair = "audit-session-id=0F2A5C820000093C2FFBA7DF"
(192) eap_peap: Cisco-AVPair = "method=dot1x"
(192) eap_peap: Cisco-AVPair = "client-iif-id=3724547122"
(192) eap_peap: Cisco-AVPair = "vlan-id=1876"
(192) eap_peap: Cisco-AVPair = "cisco-wlan-ssid=eduroam"
(192) eap_peap: Cisco-AVPair = "wlan-profile-name=eduroam-DEV"
(192) eap_peap: Framed-MTU = 1485
(192) eap_peap: NAS-IP-Address = 9.9.9.9
(192) eap_peap: NAS-Port-Type = Wireless-802.11
(192) eap_peap: NAS-Port = 4211
(192) eap_peap: Called-Station-Id := "60-B9-C0-04-C4-40:eduroam"
(192) eap_peap: Calling-Station-Id := "22-E0-73-F2-50-23"
(192) eap_peap: Airespace-Wlan-Id = 98
(192) eap_peap: NAS-Identifier = "60-b9-c0-04-c4-40:eduroam"
(192) eap_peap: WLAN-Group-Cipher = 1027076
(192) eap_peap: WLAN-Pairwise-Cipher = 1027076
(192) eap_peap: WLAN-AKM-Suite = 1027075
(192) Virtual server proxy-inner-tunnel received request
(192) EAP-Message = 0x020b00061a03
(192) FreeRADIUS-Proxied-To = 127.0.0.1
(192) User-Name = "xyz(a)unibe.ch"
(192) State = 0x22df03070000013700010200825c0e1b000000000000000000000000000000043a958c65
(192) Service-Type = Framed-User
(192) Cisco-AVPair = "service-type=Framed"
(192) Cisco-AVPair = "audit-session-id=0F2A5C820000093C2FFBA7DF"
(192) Cisco-AVPair = "method=dot1x"
(192) Cisco-AVPair = "client-iif-id=3724547122"
(192) Cisco-AVPair = "vlan-id=1876"
(192) Cisco-AVPair = "cisco-wlan-ssid=eduroam"
(192) Cisco-AVPair = "wlan-profile-name=eduroam-DEV"
(192) Framed-MTU = 1485
(192) NAS-IP-Address = 9.9.9.9
(192) NAS-Port-Type = Wireless-802.11
(192) NAS-Port = 4211
(192) Called-Station-Id := "60-B9-C0-04-C4-40:eduroam"
(192) Calling-Station-Id := "22-E0-73-F2-50-23"
(192) Airespace-Wlan-Id = 98
(192) NAS-Identifier = "60-b9-c0-04-c4-40:eduroam"
(192) WLAN-Group-Cipher = 1027076
(192) WLAN-Pairwise-Cipher = 1027076
(192) WLAN-AKM-Suite = 1027075
(192) WARNING: Outer and inner identities are the same. User privacy is compromised.
(192) server proxy-inner-tunnel {
(192) session-state: No cached attributes
(192) # Executing section authorize from file /etc/freeradius/sites-enabled/proxy-inner-tunnel
(192) authorize {
(192) if (User-Name !~ /^([\w-.]{1,}\.[\w-.]{1,}@((unibe\.ch)|(faculty\.unibe\.ch)|(students\.unibe\.ch)|(ext\.unibe\.ch)))|(^[\w-]{1,20}@((campus\.unibe\.ch)|(unibe\.ch)))/) {
(192) if (User-Name !~ /^([\w-.]{1,}\.[\w-.]{1,}@((unibe\.ch)|(faculty\.unibe\.ch)|(students\.unibe\.ch)|(ext\.unibe\.ch)))|(^[\w-]{1,20}@((campus\.unibe\.ch)|(unibe\.ch)))/) -> FALSE
(192) if (!NAS-Port-Type){
(192) if (!NAS-Port-Type) -> FALSE
(192) update control {
(192) &Proxy-To-Realm := REALM-NPS-DEV
(192) } # update control = noop
(192) } # authorize = noop
(192) } # server proxy-inner-tunnel
(192) Virtual server sending reply
(192) eap_peap: Got tunneled reply code 0
(192) eap_peap: Tunnelled authentication will be proxied to REALM-NPS-DEV
(192) eap: WARNING: Tunneled session will be proxied. Not doing EAP
(192) [eap] = handled
(192) if (handled && (Response-Packet-Type == Access-Challenge)) {
(192) EXPAND Response-Packet-Type
(192) -->
(192) if (handled && (Response-Packet-Type == Access-Challenge)) -> FALSE
(192) } # Auth-Type eap = handled
(192) Starting proxy to home server 130.92.14.27 port 1812
(192) server default {
(192) # Executing section pre-proxy from file /etc/freeradius/sites-enabled/default
(192) pre-proxy {
(192) attr_filter.pre-proxy: EXPAND %{Realm}
(192) attr_filter.pre-proxy: --> UNIBE.CH
(192) attr_filter.pre-proxy: Matched entry DEFAULT at line 58
(192) [attr_filter.pre-proxy] = updated
(192) } # pre-proxy = updated
(192) }
(192) Proxying request to home server 130.92.14.27 port 1812 timeout 20.000000
(192) Sent Access-Request Id 192 from 0.0.0.0:38376 to 130.92.14.27:1812 length 211
(192) Operator-Name := "1unibe.ch"
(192) EAP-Message = 0x020b00061a03
(192) User-Name = "xyz(a)unibe.ch"
(192) State = 0x22df03070000013700010200825c0e1b000000000000000000000000000000043a958c65
(192) NAS-IP-Address = 9.9.9.9
(192) NAS-Port-Type = Wireless-802.11
(192) Called-Station-Id := "60-B9-C0-04-C4-40:eduroam"
(192) Calling-Station-Id := "22-E0-73-F2-50-23"
(192) NAS-Identifier = "60-b9-c0-04-c4-40:eduroam"
(192) Message-Authenticator = 0x
(192) Proxy-State = 0x313131
Waking up in 0.3 seconds.
(192) Clearing existing &reply: attributes
(192) Received Access-Accept Id 192 from 130.92.14.27:1812 to 130.92.10.33:38376 length 289
(192) Proxy-State = 0x313131
(192) Class = 0x7374616666
(192) Filter-Id = "staff"
(192) Framed-Protocol = PPP
(192) Service-Type = Framed-User
(192) Tunnel-Medium-Type:0 = IEEE-802
(192) Tunnel-Private-Group-Id:0 = "1874"
(192) Tunnel-Type:0 = VLAN
(192) EAP-Message = 0x030b0004
(192) Class = 0x577206960000013700010200825c0e1b00000000000000000000000001dac0032e975ae0000000000057c996
(192) MS-CHAP-Domain = "\001CAMPUS"
(192) MS-MPPE-Send-Key = 0xfe66eab21e8b02b3e1c4b4f57f508f7a
(192) MS-MPPE-Recv-Key = 0x1d45747249960c52c1ceeaf9378ad8aa
(192) MS-CHAP2-Success = 0x01533d36323537434330314631324434464143463944453131333631363541363935354444423345344438
(192) Message-Authenticator = 0x332c0b8965d8c87621614cec5d9820b5
(192) server default {
(192) # Executing section post-proxy from file /etc/freeradius/sites-enabled/default
(192) post-proxy {
(192) attr_filter.post-proxy: EXPAND %{Realm}
(192) attr_filter.post-proxy: --> UNIBE.CH
(192) attr_filter.post-proxy: Matched entry UNIBE.CH at line 102
(192) [attr_filter.post-proxy] = updated
(192) eap: Doing post-proxy callback
(192) eap: Passing reply from proxy back into the tunnel
(192) eap: Got tunneled reply RADIUS code 2
(192) eap: Tunnel-Type := VLAN
(192) eap: Tunnel-Medium-Type := IEEE-802
(192) eap: Proxy-State = 0x313131
(192) eap: Class = 0x7374616666
(192) eap: Filter-Id = "staff"
(192) eap: Tunnel-Private-Group-Id:0 = "1874"
(192) eap: EAP-Message = 0x030b0004
(192) eap: Class = 0x577206960000013700010200825c0e1b00000000000000000000000001dac0032e975ae0000000000057c996
(192) eap: MS-MPPE-Send-Key = 0xfe66eab21e8b02b3e1c4b4f57f508f7a
(192) eap: MS-MPPE-Recv-Key = 0x1d45747249960c52c1ceeaf9378ad8aa
(192) eap: Message-Authenticator = 0x332c0b8965d8c87621614cec5d9820b5
(192) eap: Tunneled authentication was successful
(192) eap: SUCCESS
(192) eap: Saving tunneled attributes for later
(192) eap: Reply was handled
(192) eap: Sending EAP Request (code 1) ID 12 length 46
(192) eap: EAP session adding &reply:State = 0xcf8ae573c586fce6
(192) [eap] = ok
(192) } # post-proxy = updated
(192) }
(192) Using Post-Auth-Type Challenge
(192) Post-Auth-Type sub-section not found. Ignoring.
(192) # Executing group from file /etc/freeradius/sites-enabled/default
(192) Sent Access-Challenge Id 111 from 130.92.10.33:1812 to 9.9.9.9:60533 length 104
(192) EAP-Message = 0x010c002e1900170303002304f99461d03fc2c2b4dd16ee98eb7b0ed3a137545de5ddc88bf5b3423c2b5f193225fc
(192) Message-Authenticator = 0x00000000000000000000000000000000
(192) State = 0xcf8ae573c586fce6e3b6e72de6bf5cbc
(192) Finished request
Waking up in 1.9 seconds.
(193) Received Access-Request Id 119 from 9.9.9.9:60533 to 130.92.10.33:1812 length 481
(193) User-Name = "xyz(a)unibe.ch"
(193) Service-Type = Framed-User
(193) Cisco-AVPair = "service-type=Framed"
(193) Framed-MTU = 1485
(193) EAP-Message = 0x020c002e19001703030023205b847b10fba15afce16997166d4cb19322461fe577bbdaf9ad0ee9efac33751092a9
(193) Message-Authenticator = 0xb4660f308f2de4f2c559a9a233219dd9
(193) Cisco-AVPair = "audit-session-id=0F2A5C820000093C2FFBA7DF"
(193) Cisco-AVPair = "method=dot1x"
(193) Cisco-AVPair = "client-iif-id=3724547122"
(193) Cisco-AVPair = "vlan-id=1876"
(193) NAS-IP-Address = 9.9.9.9
(193) NAS-Port-Type = Wireless-802.11
(193) NAS-Port = 4211
(193) State = 0xcf8ae573c586fce6e3b6e72de6bf5cbc
(193) Cisco-AVPair = "cisco-wlan-ssid=eduroam"
(193) Cisco-AVPair = "wlan-profile-name=eduroam-DEV"
(193) Called-Station-Id = "60-b9-c0-04-c4-40:eduroam"
(193) Calling-Station-Id = "22-e0-73-f2-50-23"
(193) Airespace-Wlan-Id = 98
(193) NAS-Identifier = "60-b9-c0-04-c4-40:eduroam"
(193) WLAN-Group-Cipher = 1027076
(193) WLAN-Pairwise-Cipher = 1027076
(193) WLAN-AKM-Suite = 1027075
(193) session-state: No cached attributes
(193) # Executing section authorize from file /etc/freeradius/sites-enabled/default
(193) authorize {
(193) policy rewrite_called_station_id {
(193) if (&Called-Station-Id && (&Called-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))?$/i)) {
(193) if (&Called-Station-Id && (&Called-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))?$/i)) -> TRUE
(193) if (&Called-Station-Id && (&Called-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))?$/i)) {
(193) update request {
(193) EXPAND %{toupper:%{1}-%{2}-%{3}-%{4}-%{5}-%{6}}
(193) --> 60-B9-C0-04-C4-40
(193) &Called-Station-Id := 60-B9-C0-04-C4-40
(193) } # update request = noop
(193) if ("%{8}") {
(193) EXPAND %{8}
(193) --> eduroam
(193) if ("%{8}") -> TRUE
(193) if ("%{8}") {
(193) update request {
(193) EXPAND %{8}
(193) --> eduroam
(193) &Called-Station-SSID := eduroam
(193) EXPAND %{Called-Station-Id}:%{8}
(193) --> 60-B9-C0-04-C4-40:eduroam
(193) &Called-Station-Id := 60-B9-C0-04-C4-40:eduroam
(193) } # update request = noop
(193) } # if ("%{8}") = noop
(193) [updated] = updated
(193) } # if (&Called-Station-Id && (&Called-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))?$/i)) = updated
(193) ... skipping else: Preceding "if" was taken
(193) } # policy rewrite_called_station_id = updated
(193) policy rewrite_calling_station_id {
(193) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) {
(193) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) -> TRUE
(193) if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) {
(193) update request {
(193) EXPAND %{toupper:%{1}-%{2}-%{3}-%{4}-%{5}-%{6}}
(193) --> 22-E0-73-F2-50-23
(193) &Calling-Station-Id := 22-E0-73-F2-50-23
(193) EXPAND %{toupper:%{1}:%{2}:%{3}:%{4}:%{5}:%{6}}
(193) --> 22:E0:73:F2:50:23
(193) &locMacAuth-Calling-Station-Id := 22:E0:73:F2:50:23
(193) } # update request = noop
(193) [updated] = updated
(193) } # if (&Calling-Station-Id && (&Calling-Station-Id =~ /^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})$/i)) = updated
(193) ... skipping else: Preceding "if" was taken
(193) } # policy rewrite_calling_station_id = updated
(193) if (NAS-Identifier == "uvisrz0215.insel.ch") {
(193) if (NAS-Identifier == "uvisrz0215.insel.ch") -> FALSE
(193) if (Service-Type == Call-Check) {
(193) if (Service-Type == Call-Check) -> FALSE
(193) if (Packet-Src-IP-Address == 130.59.31.24 || Packet-Src-IP-Address == 130.59.31.25) {
(193) EXPAND Packet-Src-IP-Address
(193) --> 9.9.9.9
(193) EXPAND Packet-Src-IP-Address
(193) --> 9.9.9.9
(193) if (Packet-Src-IP-Address == 130.59.31.24 || Packet-Src-IP-Address == 130.59.31.25) -> FALSE
(193) if (EAP-Message) {
(193) if (EAP-Message) -> TRUE
(193) if (EAP-Message) {
(193) policy filter_username {
(193) if (&User-Name) {
(193) if (&User-Name) -> TRUE
(193) if (&User-Name) {
(193) if (&User-Name =~ / /) {
(193) if (&User-Name =~ / /) -> FALSE
(193) if (&User-Name =~ /@[^@]*@/ ) {
(193) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(193) if (&User-Name =~ /\.\./ ) {
(193) if (&User-Name =~ /\.\./ ) -> FALSE
(193) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(193) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) -> FALSE
(193) if (&User-Name =~ /\.$/) {
(193) if (&User-Name =~ /\.$/) -> FALSE
(193) if (&User-Name =~ /(a)\./) {
(193) if (&User-Name =~ /(a)\./) -> FALSE
(193) } # if (&User-Name) = updated
(193) } # policy filter_username = updated
(193) suffix: Checking for suffix after "@"
(193) suffix: Looking up realm "unibe.ch" for User-Name = "xyz(a)unibe.ch"
(193) suffix: Found realm "UNIBE.CH"
(193) suffix: Adding Realm = "UNIBE.CH"
(193) suffix: Authentication realm is LOCAL
(193) [suffix] = ok
(193) policy deny_no_realm {
(193) if (User-Name && (User-Name !~ /@/)) {
(193) if (User-Name && (User-Name !~ /@/)) -> FALSE
(193) } # policy deny_no_realm = updated
(193) update request {
(193) EXPAND %{toupper:%{Realm}}
(193) --> UNIBE.CH
(193) Realm := UNIBE.CH
(193) } # update request = noop
(193) eap: Peer sent EAP Response (code 2) ID 12 length 46
(193) eap: Continuing tunnel setup
(193) [eap] = ok
(193) } # if (EAP-Message) = ok
(193) } # authorize = updated
(193) Found Auth-Type = eap
(193) # Executing group from file /etc/freeradius/sites-enabled/default
(193) Auth-Type eap {
(193) eap: Removing EAP session with state 0xcf8ae573c586fce6
(193) eap: Previous EAP request found for state 0xcf8ae573c586fce6, released from the list
(193) eap: Peer sent packet with method EAP PEAP (25)
(193) eap: Calling submodule eap_peap to process data
(193) eap_peap: (TLS) EAP Done initial handshake
(193) eap_peap: Session established. Decoding tunneled attributes
(193) eap_peap: PEAP state send tlv success
(193) eap_peap: Received EAP-TLV response
(193) eap_peap: Success
(193) eap_peap: Using saved attributes from the original Access-Accept
(193) eap_peap: Tunnel-Type := VLAN
(193) eap_peap: Tunnel-Medium-Type := IEEE-802
(193) eap_peap: Class = 0x7374616666
(193) eap_peap: Filter-Id = "staff"
(193) eap_peap: Tunnel-Private-Group-Id:0 = "1874"
(193) eap_peap: Class = 0x577206960000013700010200825c0e1b00000000000000000000000001dac0032e975ae0000000000057c996
(193) eap: Sending EAP Success (code 3) ID 12 length 4
(193) eap: Freeing handler
(193) [eap] = ok
(193) if (handled && (Response-Packet-Type == Access-Challenge)) {
(193) if (handled && (Response-Packet-Type == Access-Challenge)) -> FALSE
(193) } # Auth-Type eap = ok
(193) # Executing section post-auth from file /etc/freeradius/sites-enabled/default
(193) post-auth {
(193) update {
(193) No attributes updated for RHS &session-state:
(193) } # update = noop
(193) 802.1x_authz_log: EXPAND sp.%{%{reply:Packet-Type}:-format}
(193) 802.1x_authz_log: --> sp.Access-Accept
(193) 802.1x_authz_log: EXPAND %t : AuthZ: (%I) Access-Accept: [%{%{reply:User-Name}:-%{User-Name}}] TLS-Version=%{%{session-state:TLS-Session-Version}:-NULL} TLS-Ciphers=%{%{session-state:TLS-Session-Cipher-Suite}:-NULL} SSID=%{%{request:Called-Station-SSID}:-NULL} Calling-Station-Id=%{%{request:Calling-Station-Id}:-Unknown} Called-Station-Id=%{%{request:Called-Station-Id}:-Unknown} Filter-ID=%{%{reply:Filter-Id}:-NULL} VLAN=%{%{reply:Tunnel-Private-Group-Id}:-NULL} Class=%{%{reply:Class}:-NULL} (from client %{Client-Shortname} port %{%{request:Nas-Port}:-0} operator-name %{%{request:Operator-Name}:-Unknown})
(193) 802.1x_authz_log: --> Fri Nov 15 14:20:45 2024 : AuthZ: (119) Access-Accept: [xyz(a)unibe.ch] TLS-Version=NULL TLS-Ciphers=NULL SSID=eduroam Calling-Station-Id=22-E0-73-F2-50-23 Called-Station-Id=60-B9-C0-04-C4-40:eduroam Filter-ID=staff VLAN=1874 Class=0x7374616666 (from client cisco-wlc-9800-dev-mgmt.wifi.unibe.ch port 4211 operator-name Unknown)
(193) 802.1x_authz_log: EXPAND /var/log/freeradius/authz.log
(193) 802.1x_authz_log: --> /var/log/freeradius/authz.log
(193) [802.1x_authz_log] = ok
(193) policy remove_reply_message_if_eap {
(193) if (&reply:EAP-Message && &reply:Reply-Message) {
(193) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE
(193) else {
(193) [noop] = noop
(193) } # else = noop
(193) } # policy remove_reply_message_if_eap = noop
(193) } # post-auth = ok
(193) Login OK: [xyz(a)unibe.ch] (from client cisco-wlc-9800-dev-mgmt.wifi.unibe.ch port 4211 cli 22-E0-73-F2-50-23)
(193) Sent Access-Accept Id 119 from 130.92.10.33:1812 to 9.9.9.9:60533 length 264
(193) Tunnel-Type := VLAN
(193) Tunnel-Medium-Type := IEEE-802
(193) Class = 0x7374616666
(193) Filter-Id = "staff"
(193) Tunnel-Private-Group-Id:0 = "1874"
(193) Class = 0x577206960000013700010200825c0e1b00000000000000000000000001dac0032e975ae0000000000057c996
(193) MS-MPPE-Recv-Key = 0xa0c1ae0b7eeb1e5c11689f0921a1cd1bda85111a84912ecbbb853107fe90372a
(193) MS-MPPE-Send-Key = 0x4f4bdb175d9d487f81ddf1e819a82c37de9d37605d47a226923fc335d3e805a4
(193) EAP-Message = 0x030c0004
(193) Message-Authenticator = 0x00000000000000000000000000000000
(193) User-Name = "xyz(a)unibe.ch"
(193) Finished request
Waking up in 1.9 seconds.
If you look at src/main/tls.c, it adds that attribute when the debug output shows "Connection established". And, it prints out the attribute it's added.
(188) eap_peap: (TLS) PEAP - Connection Established
(188) eap_peap: TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(188) eap_peap: TLS-Session-Version = "TLS 1.2"
Why the f**k did I miss this in version 3.2.4? Or was it maybe "reintroduced" in 3.2.6 since I upgraded to this version lately; is is this another “SSL thing” patched by Nick?
- More debugging for SSL ciphers. Patch from Nick Porter.
Nonetheless, I am going to figure out how adjust my linelog module configuration to get it back into the logs, because at the moment I still see NULL (example):
linelog 802.1x_authz_log {
filename = ${logdir}/authz.log
reference = "sp.%{%{reply:Packet-Type}:-format}"
sp {
Access-Accept = "%t : AuthZ: (%I) Access-Accept: [%{%{reply:User-Name}:-%{User-Name}}] TLS-Version=%{%{session-state:TLS-Session-Version}:-NULL} TLS-Ciphers=%{%{session-state:TLS-Session-Cipher-Suite}:-NULL} SSID=%{%{request:Called-Station-SSID}:-NULL} Calling-Station-Id=%{%{request:Calling-Station-Id}:-Unknown} Called-Station-Id=%{%{request:Called-Station-Id}:-Unknown} Filter-ID=%{%{reply:Filter-Id}:-NULL} VLAN=%{%{reply:Tunnel-Private-Group-Id}:-NULL} Class=%{%{reply:Class}:-NULL} (from client %{Client-Shortname} port %{%{request:Nas-Port}:-0} operator-name %{%{request:Operator-Name}:-Unknown})"
}
}
Fri Nov 15 14:25:34 2024 : AuthZ: (11) Access-Accept: [anonymous(a)unibe.ch] TLS-Version=NULL TLS-Ciphers=NULL SSID=eduroam Calling-Station-Id=02-00-00-00-00-01 Called-Station-Id=11-22-33-44-55-66:eduroam Filter-ID=external VLAN=1876 Class=0x65787465726e616c (from client localhost port 0 operator-name Unknown)
4
7
In process of authorization user when user has a list of group, and one of
them too long as example:
memberOf: cn=DMB - System Administration Department - System
Administrator,cn= DMB - System Administration Department,cn=DMB - Internal
IT Support Departmen t,cn=DMB - Infrastructure Department,cn=DMB - Global
Finance Department,cn=DM B - Global Services,cn=DMB -
Corporate,cn=Departments,cn=Example,cn=Tenants,cn
=Access Control Root,ou=Keycloak,ou=Groups,dc=example,dc=com
and target group for authorization located after that group, freeradius
authorization process rejecting request with login incorrect:
Auth: (0) Login incorrect (Group DN "cn=DMB - System Administration
Department - System Administrator,cn=DMB - System Administration
Department,cn=DMB - Internal IT Support Department,cn=DMB - Infrastructure
Department,cn=DMB - Global Finance Department,cn=DMB - Global Services,cn=:
[username] (from client Incubator_switch port 0)
2
3
03 Jan '25
Hi there,
I want to make some additional checks for RadSec connections.
After I’ve set `check_client_connections` to `yes`, the server is handling the connection over the auth type "Autz-Type New-TLS-Connection”. So far so good but after the connection has accepted, no further traffic is reaching the radius server.
I can see in packet captures that Access-Requests are send to the server and on the server netstat is also showing that packets are going to the socket which FreeRADIUS opens but only the queue is getting higher and never processed.
After seeing this behaviour, of course also tested the behaviour with the default config. Just enabled tls, changed the `check_client_connections` and added a ip wildcard to the radsec clients.
Since I haven’t found any open GitHub issue or something on this list I assume either no one is using the functionality or there is something I’ve overlooked.
The radius server is running as docker container but that shouldn't make any difference.
Output from $ netstat -apc:
```
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node PID/Program name Path
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:2083 0.0.0.0:* LISTEN 61/radiusd
tcp 468 0 ae7fb3711088:2083 192.168.215.1:19729 ESTABLISHED 61/radiusd
udp 0 0 0.0.0.0:45552 0.0.0.0:* 61/radiusd
udp 0 0 localhost:18120 0.0.0.0:* 61/radiusd
udp 0 0 0.0.0.0:radius 0.0.0.0:* 61/radiusd
udp 0 0 0.0.0.0:radius-acct 0.0.0.0:* 61/radiusd
udp6 0 0 [::]:radius [::]:* 61/radiusd
udp6 0 0 [::]:radius-acct [::]:* 61/radiusd
udp6 0 0 [::]:52860 [::]:* 61/radiusd
```
FreeRADIUS debug log:
FreeRADIUS Version 3.2.4
Copyright (C) 1999-2023 The FreeRADIUS server project and contributors
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE
You may redistribute copies of FreeRADIUS under the terms of the
GNU General Public License
For more information about these matters, see the file named COPYRIGHT
Starting - reading configuration files ...
including dictionary file /usr/local/share/freeradius/dictionary
including dictionary file /usr/local/share/freeradius/dictionary.dhcp
including dictionary file /usr/local/share/freeradius/dictionary.vqp
including dictionary file /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/chap
including configuration file /usr/local/etc/raddb/mods-enabled/date
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/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/totp
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/abfab-tr
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
including configuration file /usr/local/etc/raddb/policy.d/debug
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/moonshot-targeted-ids
including configuration file /usr/local/etc/raddb/policy.d/operator-name
including configuration file /usr/local/etc/raddb/policy.d/rfc7542
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
including configuration file /usr/local/etc/raddb/sites-enabled/tls
main {
security {
allow_core_dumps = no
}
name = "radiusd"
prefix = "/usr/local"
localstatedir = "/usr/local/var"
logdir = "/usr/local/var/log/radius"
run_dir = "/usr/local/var/run/radiusd"
}
main {
name = "radiusd"
prefix = "/usr/local"
localstatedir = "/usr/local/var"
sbindir = "/usr/local/sbin"
logdir = "/usr/local/var/log/radius"
run_dir = "/usr/local/var/run/radiusd"
libdir = "/usr/local/lib"
radacctdir = "/usr/local/var/log/radius/radacct"
hostname_lookups = no
max_request_time = 30
proxy_dedup_window = 1
cleanup_delay = 5
max_requests = 16384
postauth_client_lost = no
pidfile = "/usr/local/var/run/radiusd/radiusd.pid"
checkrad = "/usr/local/sbin/checkrad"
debug_level = 0
proxy_requests = yes
log {
stripped_names = no
auth = no
auth_badpass = no
auth_goodpass = no
colourise = yes
msg_denied = "You are already logged in - access denied"
}
resources {
}
security {
max_attributes = 200
reject_delay = 1.000000
status_server = yes
allow_vulnerable_openssl = "no"
}
}
radiusd: #### Loading Realms and Home Servers ####
proxy server {
retry_delay = 5
retry_count = 3
default_fallback = no
dead_time = 120
wake_all_if_all_dead = no
}
home_server localhost {
nonblock = no
ipaddr = 127.0.0.1
port = 1812
type = "auth"
secret = <<< secret >>>
response_window = 20.000000
response_timeouts = 1
max_outstanding = 65536
zombie_period = 40
status_check = "status-server"
ping_interval = 30
check_interval = 30
check_timeout = 4
num_answers_to_alive = 3
revive_interval = 120
limit {
max_connections = 16
max_requests = 0
lifetime = 0
idle_timeout = 0
}
coa {
irt = 2
mrt = 16
mrc = 5
mrd = 30
}
}
home_server tls {
nonblock = no
ipaddr = 127.0.0.1
port = 2083
type = "auth"
proto = "tcp"
secret = <<< secret >>>
response_window = 30.000000
response_timeouts = 1
max_outstanding = 65536
zombie_period = 40
status_check = "none"
ping_interval = 30
check_timeout = 4
num_answers_to_alive = 3
revive_interval = 300
limit {
max_connections = 16
max_requests = 0
lifetime = 0
idle_timeout = 0
}
coa {
irt = 2
mrt = 16
mrc = 5
mrd = 30
}
}
tls {
verify_depth = 0
ca_path = "/usr/local/etc/raddb/certs"
pem_file_type = yes
private_key_file = "/usr/local/etc/raddb/certs/client.pem"
certificate_file = "/usr/local/etc/raddb/certs/client.pem"
ca_file = "/usr/local/etc/raddb/certs/ca.pem"
private_key_password = <<< secret >>>
fragment_size = 8192
include_length = yes
check_crl = no
cipher_list = "DEFAULT"
ca_path_reload_interval = 0
ecdh_curve = "prime256v1"
tls_min_version = "1.2"
}
connect_timeout = 30
home_server_pool my_auth_failover {
type = fail-over
home_server = localhost
}
realm example.com {
auth_pool = my_auth_failover
}
realm LOCAL {
}
home_server_pool tls {
type = fail-over
home_server = tls
}
realm tls {
auth_pool = tls
}
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
}
}
Debugger not attached
# Creating Auth-Type = mschap
# Creating Auth-Type = digest
# Creating Auth-Type = eap
# Creating Auth-Type = PAP
# Creating Auth-Type = CHAP
# Creating Auth-Type = MS-CHAP
# Creating Autz-Type = New-TLS-Connection
radiusd: #### Instantiating modules ####
modules {
# Loaded module rlm_always
# Loading module "reject" from file /usr/local/etc/raddb/mods-enabled/always
always reject {
rcode = "reject"
simulcount = 0
mpp = no
}
# Loading module "fail" from file /usr/local/etc/raddb/mods-enabled/always
always fail {
rcode = "fail"
simulcount = 0
mpp = no
}
# Loading module "ok" from file /usr/local/etc/raddb/mods-enabled/always
always ok {
rcode = "ok"
simulcount = 0
mpp = no
}
# Loading module "handled" from file /usr/local/etc/raddb/mods-enabled/always
always handled {
rcode = "handled"
simulcount = 0
mpp = no
}
# Loading module "invalid" from file /usr/local/etc/raddb/mods-enabled/always
always invalid {
rcode = "invalid"
simulcount = 0
mpp = no
}
# Loading module "userlock" from file /usr/local/etc/raddb/mods-enabled/always
always userlock {
rcode = "userlock"
simulcount = 0
mpp = no
}
# Loading module "notfound" from file /usr/local/etc/raddb/mods-enabled/always
always notfound {
rcode = "notfound"
simulcount = 0
mpp = no
}
# Loading module "noop" from file /usr/local/etc/raddb/mods-enabled/always
always noop {
rcode = "noop"
simulcount = 0
mpp = no
}
# Loading module "updated" from file /usr/local/etc/raddb/mods-enabled/always
always updated {
rcode = "updated"
simulcount = 0
mpp = no
}
# Loaded module rlm_attr_filter
# Loading module "attr_filter.post-proxy" from file /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
}
# Loading 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
}
# Loading 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
}
# Loading 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
}
# Loading 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
}
# Loading module "attr_filter.coa" from file /usr/local/etc/raddb/mods-enabled/attr_filter
attr_filter attr_filter.coa {
filename = "/usr/local/etc/raddb/mods-config/attr_filter/coa"
key = "%{User-Name}"
relaxed = no
}
# Loaded module rlm_chap
# Loading module "chap" from file /usr/local/etc/raddb/mods-enabled/chap
# Loaded module rlm_date
# Loading module "date" from file /usr/local/etc/raddb/mods-enabled/date
date {
format = "%b %e %Y %H:%M:%S %Z"
utc = no
}
# Loading module "wispr2date" from file /usr/local/etc/raddb/mods-enabled/date
date wispr2date {
format = "%Y-%m-%dT%H:%M:%S"
utc = no
}
# Loaded module rlm_detail
# Loading module "detail" from file /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
dates_as_integer = no
escape_filenames = no
log_packet_header = no
}
# Loading 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
dates_as_integer = no
escape_filenames = no
log_packet_header = no
}
# Loading 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
dates_as_integer = no
escape_filenames = no
log_packet_header = no
}
# Loading 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
dates_as_integer = no
escape_filenames = no
log_packet_header = no
}
# Loading 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
dates_as_integer = no
escape_filenames = no
log_packet_header = no
}
# Loaded module rlm_digest
# Loading module "digest" from file /usr/local/etc/raddb/mods-enabled/digest
# Loaded module rlm_dynamic_clients
# Loading module "dynamic_clients" from file /usr/local/etc/raddb/mods-enabled/dynamic_clients
# Loaded module rlm_eap
# Loading module "eap" from file /usr/local/etc/raddb/mods-enabled/eap
eap {
default_eap_type = "md5"
timer_expire = 60
max_eap_type = 52
ignore_unknown_eap_types = no
cisco_accounting_username_bug = no
max_sessions = 16384
dedup_key = ""
}
# Loaded module rlm_exec
# Loading 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
}
# Loading 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
# Loading module "expiration" from file /usr/local/etc/raddb/mods-enabled/expiration
# Loaded module rlm_expr
# Loading module "expr" from file /usr/local/etc/raddb/mods-enabled/expr
expr {
safe_characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /äéöüàâæçèéêëîïôœùûüaÿÄÉÖÜßÀÂÆÇÈÉÊËÎÏÔŒÙÛÜŸ"
}
# Loaded module rlm_files
# Loading module "files" from file /usr/local/etc/raddb/mods-enabled/files
files {
filename = "/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"
}
# Loaded module rlm_linelog
# Loading module "linelog" from file /usr/local/etc/raddb/mods-enabled/linelog
linelog {
filename = "/usr/local/var/log/radius/linelog"
escape_filenames = no
syslog_severity = "info"
permissions = 384
format = "This is a log message for %{User-Name}"
reference = "messages.%{%{reply:Packet-Type}:-default}"
}
# Loading module "log_accounting" from file /usr/local/etc/raddb/mods-enabled/linelog
linelog log_accounting {
filename = "/usr/local/var/log/radius/linelog-accounting"
escape_filenames = no
syslog_severity = "info"
permissions = 384
format = ""
reference = "Accounting-Request.%{%{Acct-Status-Type}:-unknown}"
}
# Loaded module rlm_logintime
# Loading module "logintime" from file /usr/local/etc/raddb/mods-enabled/logintime
logintime {
minimum_timeout = 60
}
# Loaded module rlm_mschap
# Loading 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
winbind_retry_with_normalised_username = no
}
# Loading 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
# Loading module "pap" from file /usr/local/etc/raddb/mods-enabled/pap
pap {
normalise = yes
}
# Loaded module rlm_passwd
# Loading 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
}
# Loaded module rlm_preprocess
# Loading 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
}
# Loaded module rlm_radutmp
# Loading 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
# Loading module "IPASS" from file /usr/local/etc/raddb/mods-enabled/realm
realm IPASS {
format = "prefix"
delimiter = "/"
ignore_default = no
ignore_null = no
}
# Loading module "suffix" from file /usr/local/etc/raddb/mods-enabled/realm
realm suffix {
format = "suffix"
delimiter = "@"
ignore_default = no
ignore_null = no
}
# Loading module "bangpath" from file /usr/local/etc/raddb/mods-enabled/realm
realm bangpath {
format = "prefix"
delimiter = "!"
ignore_default = no
ignore_null = no
}
# Loading module "realmpercent" from file /usr/local/etc/raddb/mods-enabled/realm
realm realmpercent {
format = "suffix"
delimiter = "%"
ignore_default = no
ignore_null = no
}
# Loading 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
# Loading module "replicate" from file /usr/local/etc/raddb/mods-enabled/replicate
# Loaded module rlm_soh
# Loading module "soh" from file /usr/local/etc/raddb/mods-enabled/soh
soh {
dhcp = yes
}
# Loading 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_totp
# Loading module "totp" from file /usr/local/etc/raddb/mods-enabled/totp
totp {
time_step = 30
otp_length = 8
lookback_steps = 1
lookback_interval = 30
}
# Loaded module rlm_unix
# Loading module "unix" from file /usr/local/etc/raddb/mods-enabled/unix
unix {
radwtmp = "/usr/local/var/log/radius/radwtmp"
}
Creating attribute Unix-Group
# Loaded module rlm_unpack
# Loading module "unpack" from file /usr/local/etc/raddb/mods-enabled/unpack
# Loaded module rlm_utf8
# Loading module "utf8" from file /usr/local/etc/raddb/mods-enabled/utf8
instantiate {
}
# Instantiating module "reject" from file /usr/local/etc/raddb/mods-enabled/always
# Instantiating module "fail" from file /usr/local/etc/raddb/mods-enabled/always
# Instantiating module "ok" from file /usr/local/etc/raddb/mods-enabled/always
# Instantiating module "handled" from file /usr/local/etc/raddb/mods-enabled/always
# Instantiating module "invalid" from file /usr/local/etc/raddb/mods-enabled/always
# Instantiating module "userlock" from file /usr/local/etc/raddb/mods-enabled/always
# Instantiating module "notfound" from file /usr/local/etc/raddb/mods-enabled/always
# Instantiating module "noop" from file /usr/local/etc/raddb/mods-enabled/always
# Instantiating module "updated" from file /usr/local/etc/raddb/mods-enabled/always
# Instantiating module "attr_filter.post-proxy" from file /usr/local/etc/raddb/mods-enabled/attr_filter
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
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
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
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
reading pairlist file /usr/local/etc/raddb/mods-config/attr_filter/accounting_response
# Instantiating module "attr_filter.coa" from file /usr/local/etc/raddb/mods-enabled/attr_filter
reading pairlist file /usr/local/etc/raddb/mods-config/attr_filter/coa
# Instantiating module "detail" from file /usr/local/etc/raddb/mods-enabled/detail
# Instantiating module "auth_log" from file /usr/local/etc/raddb/mods-enabled/detail.log
rlm_detail (auth_log): 'User-Password' suppressed, will not appear in detail output
# Instantiating module "reply_log" from file /usr/local/etc/raddb/mods-enabled/detail.log
# Instantiating module "pre_proxy_log" from file /usr/local/etc/raddb/mods-enabled/detail.log
# Instantiating module "post_proxy_log" from file /usr/local/etc/raddb/mods-enabled/detail.log
# Instantiating module "eap" from file /usr/local/etc/raddb/mods-enabled/eap
# Linked to sub-module rlm_eap_md5
# Linked to sub-module rlm_eap_gtc
gtc {
challenge = "Password: "
auth_type = "PAP"
}
# Linked to sub-module rlm_eap_tls
tls {
tls = "tls-common"
}
tls-config tls-common {
verify_depth = 0
ca_path = "/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 >>>
fragment_size = 1024
include_length = yes
auto_chain = yes
check_crl = no
check_all_crl = no
ca_path_reload_interval = 0
cipher_list = "DEFAULT"
cipher_server_preference = no
reject_unknown_intermediate_ca = no
ecdh_curve = ""
tls_max_version = "1.2"
tls_min_version = "1.2"
cache {
enable = no
lifetime = 24
max_entries = 255
}
verify {
skip_if_ocsp_ok = no
}
ocsp {
enable = no
override_cert_url = yes
url = "http://127.0.0.1/ocsp/"
use_nonce = yes
timeout = 0
softfail = no
}
}
# Linked to sub-module rlm_eap_ttls
ttls {
tls = "tls-common"
default_eap_type = "md5"
copy_request_to_tunnel = no
use_tunneled_reply = no
virtual_server = "inner-tunnel"
include_length = yes
require_client_cert = no
}
tls: Using cached TLS configuration from previous invocation
# Linked to sub-module rlm_eap_peap
peap {
tls = "tls-common"
default_eap_type = "mschapv2"
copy_request_to_tunnel = no
use_tunneled_reply = no
proxy_tunneled_request_as_eap = yes
virtual_server = "inner-tunnel"
soh = no
require_client_cert = no
}
tls: Using cached TLS configuration from previous invocation
# Linked to sub-module rlm_eap_mschapv2
mschapv2 {
with_ntdomain_hack = no
send_error = no
}
# Instantiating module "expiration" from file /usr/local/etc/raddb/mods-enabled/expiration
# Instantiating module "files" from file /usr/local/etc/raddb/mods-enabled/files
reading pairlist file /usr/local/etc/raddb/mods-config/files/authorize
reading pairlist file /usr/local/etc/raddb/mods-config/files/accounting
reading pairlist file /usr/local/etc/raddb/mods-config/files/pre-proxy
# Instantiating module "linelog" from file /usr/local/etc/raddb/mods-enabled/linelog
# Instantiating module "log_accounting" from file /usr/local/etc/raddb/mods-enabled/linelog
# Instantiating module "logintime" from file /usr/local/etc/raddb/mods-enabled/logintime
# Instantiating module "mschap" from file /usr/local/etc/raddb/mods-enabled/mschap
rlm_mschap (mschap): using internal authentication
# Instantiating module "pap" from file /usr/local/etc/raddb/mods-enabled/pap
# Instantiating module "etc_passwd" from file /usr/local/etc/raddb/mods-enabled/passwd
rlm_passwd: nfields: 3 keyfield 0(User-Name) listable: no
# Instantiating module "preprocess" from file /usr/local/etc/raddb/mods-enabled/preprocess
reading pairlist file /usr/local/etc/raddb/mods-config/preprocess/huntgroups
reading pairlist file /usr/local/etc/raddb/mods-config/preprocess/hints
# Instantiating module "IPASS" from file /usr/local/etc/raddb/mods-enabled/realm
# Instantiating module "suffix" from file /usr/local/etc/raddb/mods-enabled/realm
# Instantiating module "bangpath" from file /usr/local/etc/raddb/mods-enabled/realm
# Instantiating module "realmpercent" from file /usr/local/etc/raddb/mods-enabled/realm
# Instantiating module "ntdomain" from file /usr/local/etc/raddb/mods-enabled/realm
# Instantiating module "totp" from file /usr/local/etc/raddb/mods-enabled/totp
} # 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
# Loading authenticate {...}
Compiling Auth-Type PAP for attr Auth-Type
Compiling Auth-Type CHAP for attr Auth-Type
Compiling Auth-Type MS-CHAP for attr Auth-Type
# Loading authorize {...}
Ignoring "sql" (see raddb/mods-available/README.rst)
Ignoring "ldap" (see raddb/mods-available/README.rst)
Compiling Autz-Type New-TLS-Connection for attr Autz-Type
# Loading preacct {...}
# Loading accounting {...}
# Loading post-proxy {...}
# Loading post-auth {...}
Compiling Post-Auth-Type REJECT for attr Post-Auth-Type
Compiling Post-Auth-Type Challenge for attr Post-Auth-Type
Compiling Post-Auth-Type Client-Lost for attr Post-Auth-Type
} # server default
server inner-tunnel { # from file /usr/local/etc/raddb/sites-enabled/inner-tunnel
# Loading authenticate {...}
Compiling Auth-Type PAP for attr Auth-Type
Compiling Auth-Type CHAP for attr Auth-Type
Compiling Auth-Type MS-CHAP for attr Auth-Type
# Loading authorize {...}
# Loading session {...}
# Loading post-proxy {...}
# Loading post-auth {...}
# Skipping contents of 'if' as it is always 'false' -- /usr/local/etc/raddb/sites-enabled/inner-tunnel:366
Compiling Post-Auth-Type REJECT for attr Post-Auth-Type
} # server inner-tunnel
thread pool {
start_servers = 5
max_servers = 32
min_spare_servers = 3
max_spare_servers = 10
max_requests_per_server = 0
cleanup_delay = 5
max_queue_size = 65536
auto_limit_acct = no
}
Thread spawned new child 1. Total threads in pool: 1
Thread spawned new child 2. Total threads in pool: 2
Thread spawned new child 3. Total threads in pool: 3
Thread 1 waiting to be assigned a request
Thread spawned new child 4. Total threads in pool: 4
Thread 3 waiting to be assigned a request
Thread 4 waiting to be assigned a request
Thread spawned new child 5. Total threads in pool: 5
Thread pool initialized
radiusd: #### Opening IP addresses and Ports ####
Thread 2 waiting to be assigned a request
Thread 5 waiting to be assigned a request
listen {
type = "auth+acct"
virtual_server = "default"
ipaddr = *
port = 2083
proto = "tcp"
tls {
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 >>>
fragment_size = 8192
include_length = yes
auto_chain = yes
check_crl = no
check_all_crl = no
ca_path_reload_interval = 3600
cipher_list = "DEFAULT"
cipher_server_preference = no
require_client_cert = yes
reject_unknown_intermediate_ca = no
ecdh_curve = "prime256v1"
tls_max_version = "1.3"
tls_min_version = "1.2"
cache {
enable = no
lifetime = 24
max_entries = 255
}
verify {
skip_if_ocsp_ok = no
}
ocsp {
enable = no
override_cert_url = no
use_nonce = yes
timeout = 0
softfail = no
}
}
check_client_connections = yes
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
clients = "radsec"
client 127.0.0.1 {
ipaddr = *
require_message_authenticator = no
secret = <<< secret >>>
proto = "tls"
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
}
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+acct proto tcp address * port 2083 (TLS) bound to server default
Listening on auth address * port 1812 bound to server default
Listening on acct address * port 1813 bound to server default
Listening on auth address :: port 1812 bound to server default
Listening on acct address :: port 1813 bound to server default
Listening on auth address 127.0.0.1 port 18120 bound to server inner-tunnel
Listening on proxy address * port 45552
Listening on proxy address :: port 52860
Ready to process requests
... new connection request on TCP socket
Listening on auth+acct from client (192.168.215.1, 19729) -> (*, 2083, virtual-server=default)
Waking up in 0.4 seconds.
(0) (TLS) RADIUS/TLS -Initiating new session
(0) (TLS) RADIUS/TLS - Setting verify mode to require certificate from client
(0) (TLS) RADIUS/TLS - Handshake state - before SSL initialization
(0) (TLS) RADIUS/TLS - Handshake state - Server before SSL initialization
(0) (TLS) RADIUS/TLS - Handshake state - Server before SSL initialization
(0) (TLS) RADIUS/TLS - recv TLS 1.3 Handshake, ClientHello
(0) (TLS) RADIUS/TLS - Handshake state - Server SSLv3/TLS read client hello
(0) (TLS) RADIUS/TLS - send TLS 1.3 Handshake, ServerHello
(0) (TLS) RADIUS/TLS - Handshake state - Server SSLv3/TLS write server hello
(0) (TLS) RADIUS/TLS - send TLS 1.3 ChangeCipherSpec
(0) (TLS) RADIUS/TLS - Handshake state - Server SSLv3/TLS write change cipher spec
(0) (TLS) RADIUS/TLS - Handshake state - Server TLSv1.3 early data
(0) (TLS) RADIUS/TLS - Server : Need to read more data: TLSv1.3 early data
(0) (TLS) RADIUS/TLS - In Handshake Phase
Waking up in 0.4 seconds.
(0) (TLS) RADIUS/TLS - Handshake state - Server TLSv1.3 early data
(0) (TLS) RADIUS/TLS - recv TLS 1.3 Handshake, ClientHello
(0) (TLS) RADIUS/TLS - Handshake state - Server SSLv3/TLS read client hello
(0) (TLS) RADIUS/TLS - send TLS 1.3 Handshake, ServerHello
(0) (TLS) RADIUS/TLS - Handshake state - Server SSLv3/TLS write server hello
(0) (TLS) RADIUS/TLS - send TLS 1.3 Handshake, EncryptedExtensions
(0) (TLS) RADIUS/TLS - Handshake state - Server TLSv1.3 write encrypted extensions
(0) (TLS) RADIUS/TLS - send TLS 1.3 Handshake, CertificateRequest
(0) (TLS) RADIUS/TLS - Handshake state - Server SSLv3/TLS write certificate request
(0) (TLS) RADIUS/TLS - send TLS 1.3 Handshake, Certificate
(0) (TLS) RADIUS/TLS - Handshake state - Server SSLv3/TLS write certificate
(0) (TLS) RADIUS/TLS - send TLS 1.3 Handshake, CertificateVerify
(0) (TLS) RADIUS/TLS - Handshake state - Server TLSv1.3 write server certificate verify
(0) (TLS) RADIUS/TLS - send TLS 1.3 Handshake, Finished
(0) (TLS) RADIUS/TLS - Handshake state - Server SSLv3/TLS write finished
(0) (TLS) RADIUS/TLS - Handshake state - Server TLSv1.3 early data
(0) (TLS) RADIUS/TLS - Server : Need to read more data: TLSv1.3 early data
(0) (TLS) RADIUS/TLS - In Handshake Phase
Waking up in 0.4 seconds.
(0) (TLS) RADIUS/TLS - Handshake state - Server TLSv1.3 early data
(0) (TLS) RADIUS/TLS - recv TLS 1.3 Handshake, Certificate
(0) (TLS) RADIUS/TLS - Creating attributes from client certificate
(0) TLS-Client-Cert-Serial := "2aef75f0ea7f49c68b28781d7a6a2ff9"
(0) TLS-Client-Cert-Expiration := "340208105559Z"
(0) TLS-Client-Cert-Valid-Since := "240208104559Z"
(0) TLS-Client-Cert-Subject := "/CN=BoilerPlate"
(0) TLS-Client-Cert-Issuer := "/CN=BoilerPlate"
(0) TLS-Client-Cert-Common-Name := "BoilerPlate"
(0) TLS-Client-Cert-Subject-Alt-Name-Dns := "radius.BoilerPlate.net"
(0) TLS-Client-Cert-X509v3-Basic-Constraints += "CA:FALSE"
(0) TLS-Client-Cert-X509v3-Authority-Key-Identifier += "73:D2:45:9F:1A:5B:BB:04:31:0D:2B:52:A8:66:F9:72:EB:12:D1:54"
(0) TLS-Client-Cert-X509v3-Subject-Key-Identifier += "73:D2:45:9F:1A:5B:BB:04:31:0D:2B:52:A8:66:F9:72:EB:12:D1:54"
Certificate chain - 0 intermediate CA cert(s) untrusted
To forbid these certificates see 'reject_unknown_intermediate_ca'
(TLS) untrusted certificate with depth [0] subject name /CN=BoilerPlate
(0) (TLS) RADIUS/TLS - Handshake state - Server SSLv3/TLS read client certificate
(0) (TLS) RADIUS/TLS - recv TLS 1.3 Handshake, CertificateVerify
(0) (TLS) RADIUS/TLS - Handshake state - Server SSLv3/TLS read certificate verify
(0) (TLS) RADIUS/TLS - recv TLS 1.3 Handshake, Finished
(0) (TLS) RADIUS/TLS - Handshake state - Server SSLv3/TLS read finished
(0) (TLS) RADIUS/TLS - Handshake state - SSL negotiation finished successfully
(0) (TLS) RADIUS/TLS - Connection Established
(0) TLS-Session-Cipher-Suite = "TLS_AES_256_GCM_SHA384"
(0) TLS-Session-Version = "TLS 1.3"
(0) (TLS) RADIUS/TLS - Application data.
Threads: total/active/spare threads = 5/0/5
Waking up in 0.3 seconds.
Thread 5 got semaphore
Thread 5 handling request 0, (1 handled so far)
(0) (TLS) Checking connection to see if it is authorized.
(0) # Executing group from file /usr/local/etc/raddb/sites-enabled/default
(0) Autz-Type New-TLS-Connection {
(0) [ok] = ok
(0) } # Autz-Type New-TLS-Connection = ok
(0) (TLS) Connection is authorized
(0) Sent Access-Accept Id 4294967295 from 0.0.0.0:2083 to 192.168.215.1:19729 length 0
(0) Finished request
Thread 5 waiting to be assigned a request
Waking up in 4.5 seconds.
(0) Cleaning up request packet ID 4294967295 with timestamp +7 due to cleanup_delay was reached
Ready to process requests
BR,
Lineconnect
3
11
Hi all,
FreeRADIUS v3.2.6
I'm trying to setup the rest module to authenticate with data to an API but
using a fixed API token every time to authenticate the API request itself.
I've configured the authenticate section of the rest config to have a
username = xxx and password = yyy as per the example/docs.
modules {
rest {
tls {
check_cert = no
check_cert_cn = no
}
connect_uri = https://xxx
connect_timeout = 4.0
authenticate {
uri = "${..connect_uri}/api/v1/auth"
method = "post"
body = "json"
auth = "basic"
username = "api-user123"
password = "api-password123"
data = '{"username": "%{User-Name}", "password":
"%{User-Password}"}'
tls = ${..tls}
}
}
}
But. the API post basic auth header always has the username and password of
the end user being checked (%{User-Name}:%{User-Password}), not my
configured static username and password (api-user123:api-password123).
I'm not using an authorize section, but as a test I've also configured it as
above and this correctly EXPANDs the configured static username and password
in the auth header.
The freeradius -X log shows them EXPANDed correctly in the authorize call,
but not mentioned in the authenticate call.
(0) authorize {
rlm_rest (rest): Reserved connection (0)
(0) rest: Expanding URI components
(0) rest: EXPAND https://xxx
(0) rest: --> https://xxx
(0) rest: EXPAND /api/v1/auth
(0) rest: --> /api/v1/auth
(0) rest: Sending HTTP POST to https://xxx/api/v1/auth
(0) rest: EXPAND api-user123
(0) rest: --> api-user123
(0) rest: EXPAND api-password123
(0) rest: --> api-password123
(0) rest: EXPAND {"username": "%{User-Name}", "password":
"%{User-Password}"}
(0) rest: --> {"username": "user555", "password": "pass555"}
(0) rest: Processing response header
(0) rest: Status : 204 (User authenticated successfully)
But the authenticate section gives:
(0) authenticate {
rlm_rest (rest): Reserved connection (1)
(0) rest: Expanding URI components
(0) rest: EXPAND https://xxx
(0) rest: --> https://xxx
(0) rest: EXPAND /api/v1/auth
(0) rest: --> /api/v1/auth
(0) rest: Sending HTTP POST to https://xxx/api/v1/auth
(0) rest: EXPAND {"username": "%{User-Name}", "password":
"%{User-Password}"}
(0) rest: --> {"username": "user555", "password": "pass555"}
(0) rest: Processing response header
(0) rest: Status : 401 (AUTHENTICATION FAILED)
No EXPAND lines for the username or password this time.
The example mods-available/rest file contains:
# The following config items may be listed in any of the sections:
<snip>
# username - User to authenticate as, will be expanded.
# password - Password to use for authentication, will be
expanded.
It says you can add them to 'any' of the sections but doesn't seen to work
in authenticate.
So.
Q: Is there a way to configure the rest module authenticate section to use
configured static credentials?
And.
One other idea I had was not to use the builtin auth and just add my own
additional header containing the basic auth base64 static credentials.
But no matter what I try in the authenticate (or authorize for that) section
I can't get any additional headers to appear at all.
I'm using:
control:REST-HTTP-Header := "Authorization: Basic abc123<snip>=="
control:REST-HTTP-Header := "X-KP-TEST: testing123"
And even if I put an invalid value format for the header I don't get any
config error or warning.
Have I done something wrong here?
Thanks all!
Kev/.
3
2
Thank you for the confirmation Nick, any ETA about 3.2.7?
Regards,
Rahman Duran
Bilgi İşlem Daire Başkanlığı
Erzurum Teknik Üniversitesi
444 5 388 - 2730
<freeradius-users-request(a)lists.freeradius.org> adresine sahip kullanıcı 24
Ara 2024 Sal, 15:00 tarihinde şunu yazdı:
> Send Freeradius-Users mailing list submissions to
> freeradius-users(a)lists.freeradius.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.freeradius.org/mailman/listinfo/freeradius-users
> or, via email, send a message with subject or body 'help' to
> freeradius-users-request(a)lists.freeradius.org
>
> You can reach the person managing the list at
> freeradius-users-owner(a)lists.freeradius.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Freeradius-Users digest..."
>
>
> Today's Topics:
>
> 1. Re: Broken proxy requests with 3.2.6 Docker Container image?
> (Nick Porter)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 24 Dec 2024 10:54:07 +0000
> From: Nick Porter <nick(a)portercomputing.co.uk>
> To: freeradius-users(a)lists.freeradius.org
> Subject: Re: Broken proxy requests with 3.2.6 Docker Container image?
> Message-ID:
> <a664b346-db56-4f04-b752-1b640c97d0a5(a)portercomputing.co.uk>
> Content-Type: text/plain; charset="utf-8"; Format="flowed"
>
> On 24/12/2024 10:46, Rahman DURAN via Freeradius-Users wrote:
> > It just disables unused things and copies over my custom config from my
> git
> > repo. It was working without any problem until version 3.2.6. After I
> > upgraded to 3.2.6 outgoing eduroam proxy requests all started to fail
> with
> > same error:
> >
> > "Tue Dec 24 06:05:10 2024 : Auth: (1) Login incorrect (No Auth-Type
> found:
> > rejecting the user via Post-Auth-Type = Reject): [test08(a)artvin.edu.tr]
> > (from client etu_wifi_rektorluk port 0 cli 7e8623ae0401)"
> >
> > Returning back to the 3.2.5 version container fixes the problem.
> >
> > I just tried to debug the problem and started the 3.2.6 version container
> > with "-X" but surprisingly it works ok in debug mode. It is reproducible
> > every time. If I run the container normally without "-X" it all fails
> with
> > the above error. If I run the same container with the same config with
> "-X"
> > it all works as expected.
> >
> > Is this a known problem? I tried the official "freeradius/freeradius-dev"
> > image with "v3.2.x" tag to see if the development image works and it
> works
> > without any problem too in normal mode (without debug mode).
>
> There is a known issue in 3.2.6 where proxying uses Home-Server-Pool or
> Home-Server-Name to direct the proxying - using Proxy-To-Realm works as
> expected.
>
> The issue will be resolved in 3.2.7 - hence the dev image working.
>
> Nick
>
> --
> Nick Porter
>
> Porter Computing Ltd
> Registered in England No 12659380
>
>
1
0
Hi,
I am using official Freeradius Docker container for my custom container
image: https://hub.docker.com/r/freeradius/freeradius-server
Here is my DockerFile:
FROM docker.io/freeradius/freeradius-server:3.2.6### Kullanmayacağımız
Freeradius site ve modüllerini devre dışı bırakalımRUN rm -rf
/etc/raddb/certs/* && \ rm -rf /etc/raddb/sites-enabled/* && \
rm -rf /etc/raddb/mods-enabled/eap && \ rm -rf
/etc/raddb/mods-enabled/files && \ rm -rf
/etc/raddb/mods-enabled/ldap && \ rm -rf
/etc/raddb/mods-enabled/linelog && \ rm -rf
/etc/raddb/mods-enabled/sql && \ rm -rf /etc/raddb/dictionaryRUN mv
/etc/raddb/proxy.conf /etc/raddb/proxy.conf.orig && \ mv
/etc/raddb/radiusd.conf /etc/raddb/radiusd.conf.orig && \ mv
/etc/raddb/clients.conf /etc/raddb/clients.conf.orig### Bize ait
özelleşmiş dosyaları yerlerine kopyalayalımWORKDIR /etc/raddbCOPY
--chown=root:freerad --chmod=640 raddb/certs/* certs/COPY
--chown=root:freerad --chmod=640 raddb/mods-available/*
mods-available/COPY --chown=root:freerad --chmod=640
raddb/mods-config/files.etu/* mods-config/files.etu/COPY
--chown=root:freerad --chmod=640 raddb/policy.d/* policy.d/COPY
--chown=root:freerad --chmod=640 raddb/sites-available/*
sites-available/COPY --chown=root:freerad --chmod=640
raddb/proxy.etu.conf ./COPY --chown=root:freerad --chmod=640
raddb/clients.etu.conf ./COPY --chown=root:freerad --chmod=640
raddb/dictionary ./COPY --chown=root:freerad --chmod=640
raddb/radiusd.etu.conf ./radiusd.confWORKDIR
/etc/raddb/sites-enabledRUN ln -s ../sites-available/default.etu
default.etu && \ ln -s ../sites-available/inner-tunnel.etu
inner-tunnel.etuWORKDIR /etc/raddb/mods-enabledRUN ln -s
../mods-available/eap.etu eap.etu && \ ln -s
../mods-available/files.etu files.etu && \ ln -s
../mods-available/ldap.etu ldap.etu && \ ln -s
../mods-available/linelog.etu linelog.etu && \ ln -s
../mods-available/sql.etu sql.etuWORKDIR /etc/raddb/
It just disables unused things and copies over my custom config from my git
repo. It was working without any problem until version 3.2.6. After I
upgraded to 3.2.6 outgoing eduroam proxy requests all started to fail with
same error:
"Tue Dec 24 06:05:10 2024 : Auth: (1) Login incorrect (No Auth-Type found:
rejecting the user via Post-Auth-Type = Reject): [test08(a)artvin.edu.tr]
(from client etu_wifi_rektorluk port 0 cli 7e8623ae0401)"
Returning back to the 3.2.5 version container fixes the problem.
I just tried to debug the problem and started the 3.2.6 version container
with "-X" but surprisingly it works ok in debug mode. It is reproducible
every time. If I run the container normally without "-X" it all fails with
the above error. If I run the same container with the same config with "-X"
it all works as expected.
Is this a known problem? I tried the official "freeradius/freeradius-dev"
image with "v3.2.x" tag to see if the development image works and it works
without any problem too in normal mode (without debug mode).
I attach the 3.2.6 container debug mod logs if it has any value (as it is
working in debug mode)
Regards,
Rahman Duran
Bilgi İşlem Daire Başkanlığı
Erzurum Teknik Üniversitesi
444 5 388 - 2730
[root@radius-test ~]# podman run --name etu-nac-debug -it -p 1812:1812/udp
-p 1812:1812/udp gitlab.erzurum.edu.tr:5050/sysadmin/freeradius-nac:latest
-X
FreeRADIUS Version 3.2.6
Copyright (C) 1999-2023 The FreeRADIUS server project and contributors
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE
You may redistribute copies of FreeRADIUS under the terms of the
GNU General Public License
For more information about these matters, see the file named COPYRIGHT
Starting - reading configuration files ...
including dictionary file /usr/share/freeradius/dictionary
including dictionary file /usr/share/freeradius/dictionary.dhcp
including dictionary file /usr/share/freeradius/dictionary.vqp
including dictionary file /etc/freeradius/dictionary
including configuration file /etc/freeradius/radiusd.conf
including configuration file /etc/freeradius/proxy.etu.conf
including configuration file /etc/freeradius/clients.etu.conf
including files in directory /etc/freeradius/mods-enabled/
including configuration file /etc/freeradius/mods-enabled/always
including configuration file /etc/freeradius/mods-enabled/attr_filter
including configuration file /etc/freeradius/mods-enabled/chap
including configuration file /etc/freeradius/mods-enabled/date
including configuration file /etc/freeradius/mods-enabled/detail
including configuration file /etc/freeradius/mods-enabled/detail.log
including configuration file /etc/freeradius/mods-enabled/digest
including configuration file /etc/freeradius/mods-enabled/dynamic_clients
including configuration file /etc/freeradius/mods-enabled/echo
including configuration file /etc/freeradius/mods-enabled/exec
including configuration file /etc/freeradius/mods-enabled/expiration
including configuration file /etc/freeradius/mods-enabled/expr
including configuration file /etc/freeradius/mods-enabled/logintime
including configuration file /etc/freeradius/mods-enabled/mschap
including configuration file /etc/freeradius/mods-enabled/ntlm_auth
including configuration file /etc/freeradius/mods-enabled/pap
including configuration file /etc/freeradius/mods-enabled/passwd
including configuration file /etc/freeradius/mods-enabled/preprocess
including configuration file /etc/freeradius/mods-enabled/radutmp
including configuration file /etc/freeradius/mods-enabled/realm
including configuration file /etc/freeradius/mods-enabled/replicate
including configuration file /etc/freeradius/mods-enabled/soh
including configuration file /etc/freeradius/mods-enabled/sradutmp
including configuration file /etc/freeradius/mods-enabled/totp
including configuration file /etc/freeradius/mods-enabled/unix
including configuration file /etc/freeradius/mods-enabled/unpack
including configuration file /etc/freeradius/mods-enabled/utf8
including configuration file /etc/freeradius/mods-enabled/eap.etu
including configuration file /etc/freeradius/mods-enabled/files.etu
including configuration file /etc/freeradius/mods-enabled/ldap.etu
including configuration file /etc/freeradius/mods-enabled/linelog.etu
including configuration file /etc/freeradius/mods-enabled/sql.etu
including configuration file
/etc/freeradius/mods-config/sql/main/mysql/queries.conf
including configuration file /etc/freeradius/policy.d/canonicalization
including configuration file /etc/freeradius/policy.d/canonicalization.etu
including files in directory /etc/freeradius/policy.d/
including configuration file /etc/freeradius/policy.d/abfab-tr
including configuration file /etc/freeradius/policy.d/accounting
including configuration file /etc/freeradius/policy.d/control
including configuration file /etc/freeradius/policy.d/cui
including configuration file /etc/freeradius/policy.d/debug
including configuration file /etc/freeradius/policy.d/dhcp
including configuration file /etc/freeradius/policy.d/eap
including configuration file /etc/freeradius/policy.d/filter
including configuration file /etc/freeradius/policy.d/moonshot-targeted-ids
including configuration file /etc/freeradius/policy.d/operator-name
including configuration file /etc/freeradius/policy.d/rfc7542
including configuration file /etc/freeradius/policy.d/policy.etu
including files in directory /etc/freeradius/sites-enabled/
including configuration file /etc/freeradius/sites-enabled/default.etu
including configuration file /etc/freeradius/sites-enabled/inner-tunnel.etu
main {
security {
user = "freerad"
group = "freerad"
allow_core_dumps = no
}
name = "freeradius"
prefix = "/usr"
localstatedir = "/var"
logdir = "/var/log/freeradius"
run_dir = "/var/run/freeradius"
}
main {
name = "freeradius"
prefix = "/usr"
localstatedir = "/var"
sbindir = "/usr/sbin"
logdir = "/var/log/freeradius"
run_dir = "/var/run/freeradius"
libdir = "/usr/lib/freeradius"
radacctdir = "/var/log/freeradius/radacct"
hostname_lookups = no
max_request_time = 30
proxy_dedup_window = 1
cleanup_delay = 5
max_requests = 16384
max_fds = 512
postauth_client_lost = yes
pidfile = "/var/run/freeradius/freeradius.pid"
checkrad = "/usr/sbin/checkrad"
debug_level = 0
proxy_requests = yes
log {
stripped_names = no
auth = yes
auth_badpass = no
auth_goodpass = no
colourise = yes
msg_denied = "You are already logged in - access denied"
}
resources {
}
security {
max_attributes = 200
reject_delay = 1.000000
status_server = yes
require_message_authenticator = "auto"
limit_proxy_state = "auto"
}
}
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 trrad01 {
nonblock = no
ipaddr = 193.140.83.100
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 = 300
limit {
max_connections = 16
max_requests = 0
lifetime = 0
idle_timeout = 0
}
coa {
irt = 2
mrt = 16
mrc = 5
mrd = 30
}
}
home_server trrad02 {
nonblock = no
ipaddr = 193.140.100.35
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 = 300
limit {
max_connections = 16
max_requests = 0
lifetime = 0
idle_timeout = 0
}
coa {
irt = 2
mrt = 16
mrc = 5
mrd = 30
}
}
realm LOCAL {
nostrip
}
realm NULL {
}
realm DEFAULT {
nostrip
}
home_server_pool eduroam_trrrad_pool {
type = fail-over
home_server = trrad01
home_server = trrad02
}
radiusd: #### Loading Clients ####
client localhost {
ipaddr = 127.0.0.1
secret = <<< secret >>>
nas_type = "other"
proto = "*"
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
Shared secret for client localhost is short, and likely can be broken by an
attacker.
client localhost_ipv6 {
ipv6addr = ::1
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
Shared secret for client localhost_ipv6 is short, and likely can be broken
by an attacker.
client ulakbim_eduroamtr_a {
ipaddr = 193.140.83.100
limit_proxy_state = "no"
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client ulakbim_eduroamtr_b {
ipaddr = 193.140.100.35
limit_proxy_state = "no"
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client ulakbim_eduroam_monitor {
ipv4addr = 193.140.12.244
limit_proxy_state = "no"
secret = <<< secret >>>
shortname = "TRmonitor"
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client etu_wifi_cisco5500 {
ipaddr = 172.31.0.1
secret = <<< secret >>>
nas_type = "other"
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
Shared secret for client etu_wifi_cisco5500 is short, and likely can be
broken by an attacker.
client etu_wifi_konukevi {
ipaddr = 10.10.250.0/24
secret = <<< secret >>>
nas_type = "other"
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
Shared secret for client etu_wifi_konukevi is short, and likely can be
broken by an attacker.
client etu_wifi_konukevi_captive {
ipaddr = 10.0.10.182
secret = <<< secret >>>
nas_type = "other"
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
Shared secret for client etu_wifi_konukevi_captive is short, and likely can
be broken by an attacker.
client etu_wifi_konukevi_captive {
ipaddr = 10.0.10.181
secret = <<< secret >>>
nas_type = "other"
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
Shared secret for client etu_wifi_konukevi_captive is short, and likely can
be broken by an attacker.
client etu_wifi_muhendislik {
ipaddr = 10.10.249.0/24
secret = <<< secret >>>
nas_type = "other"
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
Shared secret for client etu_wifi_muhendislik is short, and likely can be
broken by an attacker.
client etu_wifi_yutam {
ipaddr = 10.10.248.0/24
secret = <<< secret >>>
nas_type = "other"
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
Shared secret for client etu_wifi_yutam is short, and likely can be broken
by an attacker.
client etu_wifi_bakimatölyesi {
ipaddr = 10.10.247.0/24
secret = <<< secret >>>
nas_type = "other"
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
Shared secret for client etu_wifi_bakimatölyesi is short, and likely can be
broken by an attacker.
client etu_wifi_yemekhane {
ipaddr = 10.10.246.0/24
secret = <<< secret >>>
nas_type = "other"
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
Shared secret for client etu_wifi_yemekhane is short, and likely can be
broken by an attacker.
client etu_wifi_etukristal {
ipaddr = 10.10.245.0/24
secret = <<< secret >>>
nas_type = "other"
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
Shared secret for client etu_wifi_etukristal is short, and likely can be
broken by an attacker.
client etu_wifi_yasammerkezi {
ipaddr = 10.10.244.0/24
secret = <<< secret >>>
nas_type = "other"
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
Shared secret for client etu_wifi_yasammerkezi is short, and likely can be
broken by an attacker.
client etu_wifi_rektorluk {
ipaddr = 10.10.243.0/24
secret = <<< secret >>>
nas_type = "other"
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
Shared secret for client etu_wifi_rektorluk is short, and likely can be
broken by an attacker.
client etu_wifi_kutuphane {
ipaddr = 10.10.242.0/24
secret = <<< secret >>>
nas_type = "other"
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
Shared secret for client etu_wifi_kutuphane is short, and likely can be
broken by an attacker.
client etu_wifi_sporsalonu {
ipaddr = 10.10.241.0/24
secret = <<< secret >>>
nas_type = "other"
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
Shared secret for client etu_wifi_sporsalonu is short, and likely can be
broken by an attacker.
client etu_wifi_fenfakultesi {
ipaddr = 10.10.238.0/24
secret = <<< secret >>>
nas_type = "other"
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
Shared secret for client etu_wifi_fenfakultesi is short, and likely can be
broken by an attacker.
client etu_wifi_saglikbilimleri {
ipaddr = 10.10.237.0/24
secret = <<< secret >>>
nas_type = "other"
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
Shared secret for client etu_wifi_saglikbilimleri is short, and likely can
be broken by an attacker.
client etu_wired {
ipaddr = 192.168.10.0/24
secret = <<< secret >>>
nas_type = "other"
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client etu_nms {
ipaddr = 10.0.1.95/32
secret = <<< secret >>>
nas_type = "other"
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
Debug state unknown (cap_sys_ptrace capability not set)
systemd watchdog is disabled
# Creating Auth-Type = mschap
# Creating Auth-Type = eap.etu
# Creating Auth-Type = PAP
# Creating Auth-Type = MS-CHAP
# Creating Auth-Type = eap
# Creating Autz-Type = New-TLS-Connection
radiusd: #### Instantiating modules ####
modules {
# Loaded module rlm_always
# Loading module "reject" from file /etc/freeradius/mods-enabled/always
always reject {
rcode = "reject"
simulcount = 0
mpp = no
}
# Loading module "fail" from file /etc/freeradius/mods-enabled/always
always fail {
rcode = "fail"
simulcount = 0
mpp = no
}
# Loading module "ok" from file /etc/freeradius/mods-enabled/always
always ok {
rcode = "ok"
simulcount = 0
mpp = no
}
# Loading module "handled" from file /etc/freeradius/mods-enabled/always
always handled {
rcode = "handled"
simulcount = 0
mpp = no
}
# Loading module "invalid" from file /etc/freeradius/mods-enabled/always
always invalid {
rcode = "invalid"
simulcount = 0
mpp = no
}
# Loading module "userlock" from file /etc/freeradius/mods-enabled/always
always userlock {
rcode = "userlock"
simulcount = 0
mpp = no
}
# Loading module "notfound" from file /etc/freeradius/mods-enabled/always
always notfound {
rcode = "notfound"
simulcount = 0
mpp = no
}
# Loading module "noop" from file /etc/freeradius/mods-enabled/always
always noop {
rcode = "noop"
simulcount = 0
mpp = no
}
# Loading module "updated" from file /etc/freeradius/mods-enabled/always
always updated {
rcode = "updated"
simulcount = 0
mpp = no
}
# Loaded module rlm_attr_filter
# Loading module "attr_filter.post-proxy" from file
/etc/freeradius/mods-enabled/attr_filter
attr_filter attr_filter.post-proxy {
filename = "/etc/freeradius/mods-config/attr_filter/post-proxy"
key = "%{Realm}"
relaxed = no
}
# Loading module "attr_filter.pre-proxy" from file
/etc/freeradius/mods-enabled/attr_filter
attr_filter attr_filter.pre-proxy {
filename = "/etc/freeradius/mods-config/attr_filter/pre-proxy"
key = "%{Realm}"
relaxed = no
}
# Loading module "attr_filter.access_reject" from file
/etc/freeradius/mods-enabled/attr_filter
attr_filter attr_filter.access_reject {
filename = "/etc/freeradius/mods-config/attr_filter/access_reject"
key = "%{User-Name}"
relaxed = no
}
# Loading module "attr_filter.access_challenge" from file
/etc/freeradius/mods-enabled/attr_filter
attr_filter attr_filter.access_challenge {
filename =
"/etc/freeradius/mods-config/attr_filter/access_challenge"
key = "%{User-Name}"
relaxed = no
}
# Loading module "attr_filter.accounting_response" from file
/etc/freeradius/mods-enabled/attr_filter
attr_filter attr_filter.accounting_response {
filename =
"/etc/freeradius/mods-config/attr_filter/accounting_response"
key = "%{User-Name}"
relaxed = no
}
# Loading module "attr_filter.coa" from file
/etc/freeradius/mods-enabled/attr_filter
attr_filter attr_filter.coa {
filename = "/etc/freeradius/mods-config/attr_filter/coa"
key = "%{User-Name}"
relaxed = no
}
# Loaded module rlm_chap
# Loading module "chap" from file /etc/freeradius/mods-enabled/chap
# Loaded module rlm_date
# Loading module "date" from file /etc/freeradius/mods-enabled/date
date {
format = "%b %e %Y %H:%M:%S %Z"
utc = no
}
# Loading module "wispr2date" from file /etc/freeradius/mods-enabled/date
date wispr2date {
format = "%Y-%m-%dT%H:%M:%S"
utc = no
}
# Loaded module rlm_detail
# Loading module "detail" from file /etc/freeradius/mods-enabled/detail
detail {
filename =
"/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
dates_as_integer = no
escape_filenames = no
log_packet_header = no
}
# Loading module "auth_log" from file
/etc/freeradius/mods-enabled/detail.log
detail auth_log {
filename =
"/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
dates_as_integer = no
escape_filenames = no
log_packet_header = no
}
# Loading module "reply_log" from file
/etc/freeradius/mods-enabled/detail.log
detail reply_log {
filename =
"/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/reply-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
dates_as_integer = no
escape_filenames = no
log_packet_header = no
}
# Loading module "pre_proxy_log" from file
/etc/freeradius/mods-enabled/detail.log
detail pre_proxy_log {
filename =
"/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/pre-proxy-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
dates_as_integer = no
escape_filenames = no
log_packet_header = no
}
# Loading module "post_proxy_log" from file
/etc/freeradius/mods-enabled/detail.log
detail post_proxy_log {
filename =
"/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/post-proxy-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
dates_as_integer = no
escape_filenames = no
log_packet_header = no
}
# Loaded module rlm_digest
# Loading module "digest" from file /etc/freeradius/mods-enabled/digest
# Loaded module rlm_dynamic_clients
# Loading module "dynamic_clients" from file
/etc/freeradius/mods-enabled/dynamic_clients
# Loaded module rlm_exec
# Loading module "echo" from file /etc/freeradius/mods-enabled/echo
exec echo {
wait = yes
program = "/bin/echo %{User-Name}"
input_pairs = "request"
output_pairs = "reply"
shell_escape = yes
}
# Loading module "exec" from file /etc/freeradius/mods-enabled/exec
exec {
wait = no
input_pairs = "request"
shell_escape = yes
timeout = 10
}
# Loaded module rlm_expiration
# Loading module "expiration" from file
/etc/freeradius/mods-enabled/expiration
# Loaded module rlm_expr
# Loading module "expr" from file /etc/freeradius/mods-enabled/expr
expr {
safe_characters =
"@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_:
/äéöüàâæçèéêëîïôœùûüaÿÄÉÖÜßÀÂÆÇÈÉÊËÎÏÔŒÙÛÜŸ"
}
# Loaded module rlm_logintime
# Loading module "logintime" from file
/etc/freeradius/mods-enabled/logintime
logintime {
minimum_timeout = 60
}
# Loaded module rlm_mschap
# Loading module "mschap" from file /etc/freeradius/mods-enabled/mschap
mschap {
use_mppe = yes
require_encryption = no
require_strong = no
with_ntdomain_hack = yes
passchange {
}
allow_retry = yes
winbind_retry_with_normalised_username = no
}
# Loading module "ntlm_auth" from file
/etc/freeradius/mods-enabled/ntlm_auth
exec ntlm_auth {
wait = yes
program = "/path/to/ntlm_auth --request-nt-key --domain=MYDOMAIN
--username=%{mschap:User-Name} --password=%{User-Password}"
shell_escape = yes
}
# Loaded module rlm_pap
# Loading module "pap" from file /etc/freeradius/mods-enabled/pap
pap {
normalise = yes
}
# Loaded module rlm_passwd
# Loading module "etc_passwd" from file
/etc/freeradius/mods-enabled/passwd
passwd etc_passwd {
filename = "/etc/passwd"
format = "*User-Name:Crypt-Password:"
delimiter = ":"
ignore_nislike = no
ignore_empty = yes
allow_multiple_keys = no
hash_size = 100
}
# Loaded module rlm_preprocess
# Loading module "preprocess" from file
/etc/freeradius/mods-enabled/preprocess
preprocess {
huntgroups = "/etc/freeradius/mods-config/preprocess/huntgroups"
hints = "/etc/freeradius/mods-config/preprocess/hints"
with_ascend_hack = no
ascend_channels_per_line = 23
with_ntdomain_hack = no
with_specialix_jetstream_hack = no
with_cisco_vsa_hack = no
with_alvarion_vsa_hack = no
}
# Loaded module rlm_radutmp
# Loading module "radutmp" from file /etc/freeradius/mods-enabled/radutmp
radutmp {
filename = "/var/log/freeradius/radutmp"
username = "%{User-Name}"
case_sensitive = yes
check_with_nas = yes
permissions = 384
caller_id = yes
}
# Loaded module rlm_realm
# Loading module "IPASS" from file /etc/freeradius/mods-enabled/realm
realm IPASS {
format = "prefix"
delimiter = "/"
ignore_default = no
ignore_null = no
}
# Loading module "suffix" from file /etc/freeradius/mods-enabled/realm
realm suffix {
format = "suffix"
delimiter = "@"
ignore_default = no
ignore_null = no
}
# Loading module "bangpath" from file /etc/freeradius/mods-enabled/realm
realm bangpath {
format = "prefix"
delimiter = "!"
ignore_default = no
ignore_null = no
}
# Loading module "realmpercent" from file
/etc/freeradius/mods-enabled/realm
realm realmpercent {
format = "suffix"
delimiter = "%"
ignore_default = no
ignore_null = no
}
# Loading module "ntdomain" from file /etc/freeradius/mods-enabled/realm
realm ntdomain {
format = "prefix"
delimiter = "\"
ignore_default = no
ignore_null = no
}
# Loaded module rlm_replicate
# Loading module "replicate" from file
/etc/freeradius/mods-enabled/replicate
# Loaded module rlm_soh
# Loading module "soh" from file /etc/freeradius/mods-enabled/soh
soh {
dhcp = yes
}
# Loading module "sradutmp" from file
/etc/freeradius/mods-enabled/sradutmp
radutmp sradutmp {
filename = "/var/log/freeradius/sradutmp"
username = "%{User-Name}"
case_sensitive = yes
check_with_nas = yes
permissions = 420
caller_id = no
}
# Loaded module rlm_totp
# Loading module "totp" from file /etc/freeradius/mods-enabled/totp
totp {
time_step = 30
otp_length = 6
lookback_steps = 1
lookback_interval = 30
lookforward_steps = 0
}
# Loaded module rlm_unix
# Loading module "unix" from file /etc/freeradius/mods-enabled/unix
unix {
radwtmp = "/var/log/freeradius/radwtmp"
}
Creating attribute Unix-Group
# Loaded module rlm_unpack
# Loading module "unpack" from file /etc/freeradius/mods-enabled/unpack
# Loaded module rlm_utf8
# Loading module "utf8" from file /etc/freeradius/mods-enabled/utf8
# Loaded module rlm_eap
# Loading module "eap.etu" from file /etc/freeradius/mods-enabled/eap.etu
eap eap.etu {
default_eap_type = "peap"
timer_expire = 60
max_eap_type = 52
ignore_unknown_eap_types = no
cisco_accounting_username_bug = no
max_sessions = 16384
dedup_key = ""
}
# Loaded module rlm_files
# Loading module "files_saglik_bilimleri_sim_lab_mac_list" from file
/etc/freeradius/mods-enabled/files.etu
files files_saglik_bilimleri_sim_lab_mac_list {
filename =
"/etc/freeradius/mods-config/files.etu/saglik_bilimleri_sim_lab_mac_list"
}
# Loading module "files_bidb_test_mac_list" from file
/etc/freeradius/mods-enabled/files.etu
files files_bidb_test_mac_list {
filename =
"/etc/freeradius/mods-config/files.etu/bidb_test_mac_list"
}
# Loading module "files_yutam_lab_cihaz_mac_list" from file
/etc/freeradius/mods-enabled/files.etu
files files_yutam_lab_cihaz_mac_list {
filename =
"/etc/freeradius/mods-config/files.etu/yutam_lab_cihaz_mac_list"
}
# Loaded module rlm_ldap
# Loading module "ldap_tek_hesap" from file
/etc/freeradius/mods-enabled/ldap.etu
ldap ldap_tek_hesap {
server = "ldaps://95.183.213.8"
identity = "cn=ro,cn=admin,dc=etu"
password = <<< secret >>>
sasl {
}
user_dn = "ldap_tek_hesap-LDAP-UserDn"
user {
scope = "sub"
access_positive = yes
sasl {
}
}
group {
scope = "sub"
name_attribute = "cn"
cacheable_name = no
cacheable_dn = no
allow_dangling_group_ref = no
}
client {
scope = "sub"
base_dn = ""
}
profile {
}
options {
ldap_debug = 40
chase_referrals = yes
rebind = yes
net_timeout = 1
res_timeout = 10
srv_timelimit = 3
idle = 60
probes = 3
interval = 3
}
tls {
ca_file = "/etc/freeradius/certs/ldap_ca.pem"
ca_path = "/etc/freeradius/certs"
tls_min_version = "1.2"
cipher_list = "DEFAULT"
check_crl = no
start_tls = no
require_cert = "demand"
}
}
Creating attribute ldap_tek_hesap-LDAP-Group
# Loading module "ldap_librenms_login" from file
/etc/freeradius/mods-enabled/ldap.etu
ldap ldap_librenms_login {
server = "ldaps://95.183.213.8"
identity = "cn=ro,cn=admin,dc=etu"
password = <<< secret >>>
sasl {
}
user_dn = "ldap_librenms_login-LDAP-UserDn"
user {
scope = "sub"
access_positive = yes
sasl {
}
}
group {
scope = "sub"
name_attribute = "cn"
cacheable_name = no
cacheable_dn = no
allow_dangling_group_ref = no
}
client {
scope = "sub"
base_dn = ""
}
profile {
}
options {
ldap_debug = 40
chase_referrals = yes
rebind = yes
net_timeout = 1
res_timeout = 10
srv_timelimit = 3
idle = 60
probes = 3
interval = 3
}
tls {
ca_file = "/etc/freeradius/certs/ldap_ca.pem"
ca_path = "/etc/freeradius/certs"
tls_min_version = "1.2"
cipher_list = "DEFAULT"
check_crl = no
start_tls = no
require_cert = "demand"
}
}
Creating attribute ldap_librenms_login-LDAP-Group
# Loaded module rlm_linelog
# Loading module "linelog.etu" from file
/etc/freeradius/mods-enabled/linelog.etu
linelog linelog.etu {
filename = "/dev/stdout"
escape_filenames = no
syslog_severity = "info"
permissions = 384
format = "This is a log message for %{User-Name}"
reference = "Access-Request.%{%{reply:Packet-Type}:-default}"
}
# Loading module "linelog_accounting.etu" from file
/etc/freeradius/mods-enabled/linelog.etu
linelog linelog_accounting.etu {
filename = "/dev/stdout"
escape_filenames = no
syslog_severity = "info"
permissions = 384
format = ""
reference = "Accounting-Request.%{%{Acct-Status-Type}:-unknown}"
}
# Loading module "linelog_client_lost.etu" from file
/etc/freeradius/mods-enabled/linelog.etu
linelog linelog_client_lost.etu {
filename = "/dev/stdout"
escape_filenames = no
syslog_severity = "info"
permissions = 384
format = "Client lost: [%{&session-state:ETU-Outer-User-Name}]
calling_station_id: [%{&session-state:Calling-Station-Id}]
called_station_id: [%{&session-state:Called-Station-Id}] ssid:
[%{&session-state:Called-Station-SSID}] etu_service:
[%{&session-state:ETU-Radius-Service-Name}]"
}
# Loaded module rlm_sql
# Loading module "sql_konukevi" from file
/etc/freeradius/mods-enabled/sql.etu
sql sql_konukevi {
driver = "rlm_sql_mysql"
server = "maria.db.erzurum.edu.tr"
port = 3306
login = "konukeviwifi"
password = <<< secret >>>
radius_db = "konukeviwifi"
read_groups = yes
read_profiles = yes
read_clients = no
delete_stale_sessions = yes
sql_user_name = "%{User-Name}"
default_user_profile = ""
client_query = "SELECT id, nasname, shortname, type, secret, server
FROM nas"
authorize_check_query = "SELECT id, username, attribute, value, op
FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id"
authorize_reply_query = "SELECT id, username, attribute, value, op
FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id"
authorize_group_check_query = "SELECT id, groupname, attribute,
Value, op FROM radgroupcheck WHERE groupname = '%{sql_konukevi-SQL-Group}'
ORDER BY id"
authorize_group_reply_query = "SELECT id, groupname, attribute,
value, op FROM radgroupreply WHERE groupname = '%{sql_konukevi-SQL-Group}'
ORDER BY id"
group_membership_query = "SELECT groupname FROM radusergroup WHERE
username = '%{SQL-User-Name}' ORDER BY priority"
simul_count_query = "SELECT COUNT(*) FROM radacct a LEFT OUTER JOIN
nasreload n USING (nasipaddress) WHERE username = '%{SQL-User-Name}' AND
acctstoptime IS NULL AND (a.acctstarttime > n.reloadtime OR n.reloadtime IS
NULL)"
simul_verify_query = "SELECT radacctid, acctsessionid, username,
nasipaddress, nasportid, framedipaddress, callingstationid, framedprotocol
FROM radacct a LEFT OUTER JOIN nasreload n USING (nasipaddress) WHERE
username = '%{SQL-User-Name}' AND acctstoptime IS NULL AND (a.acctstarttime
> n.reloadtime OR n.reloadtime IS NULL)"
safe_characters =
"@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /"
auto_escape = no
accounting {
reference =
"%{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query}"
type {
accounting-on {
query = "UPDATE radacct SET acctstoptime =
FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctsessiontime =
'%{%{integer:Event-Timestamp}:-%l}' - UNIX_TIMESTAMP(acctstarttime),
acctterminatecause = '%{%{Acct-Terminate-Cause}:-NAS-Reboot}' WHERE
acctstoptime IS NULL AND nasipaddress = '%{NAS-IP-Address}' AND
acctstarttime <= FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l})"
}
accounting-off {
query = "UPDATE radacct SET acctstoptime =
FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctsessiontime =
'%{%{integer:Event-Timestamp}:-%l}' - UNIX_TIMESTAMP(acctstarttime),
acctterminatecause = '%{%{Acct-Terminate-Cause}:-NAS-Reboot}' WHERE
acctstoptime IS NULL AND nasipaddress = '%{NAS-IP-Address}' AND
acctstarttime <= FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l})"
}
start {
query = "INSERT INTO radacct (acctsessionid,
acctuniqueid, username, realm,
nasipaddress, nasportid, nasporttype, acctstarttime,
acctupdatetime, acctstoptime, acctsessiontime,
acctauthentic, connectinfo_start, connectinfo_stop,
acctinputoctets, acctoutputoctets, calledstationid,
callingstationid, acctterminatecause, servicetype,
framedprotocol, framedipaddress, framedipv6address,
framedipv6prefix, framedinterfaceid, delegatedipv6prefix ) VALUES
('%{Acct-Session-Id}', '%{Acct-Unique-Session-Id}', '%{SQL-User-Name}',
'%{Realm}', '%{NAS-IP-Address}', '%{%{NAS-Port-ID}:-%{NAS-Port}}',
'%{NAS-Port-Type}', FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}),
FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), NULL, '0',
'%{Acct-Authentic}', '%{Connect-Info}', '', '0', '0',
'%{Called-Station-Id}', '%{Calling-Station-Id}', '', '%{Service-Type}',
'%{Framed-Protocol}', '%{Framed-IP-Address}', '%{Framed-IPv6-Address}',
'%{Framed-IPv6-Prefix}', '%{Framed-Interface-Id}',
'%{Delegated-IPv6-Prefix}' )"
}
interim-update {
query = "UPDATE radacct SET acctupdatetime =
(@acctupdatetime_old:=acctupdatetime), acctupdatetime =
FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval =
%{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old),
framedipaddress = '%{Framed-IP-Address}', framedipv6address =
'%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}',
framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix =
'%{Delegated-IPv6-Prefix}', acctsessiontime =
%{%{Acct-Session-Time}:-NULL}, acctinputoctets =
'%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}',
acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 |
'%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId =
'%{Acct-Unique-Session-Id}'"
}
stop {
query = "UPDATE radacct SET acctstoptime =
FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctsessiontime =
%{%{Acct-Session-Time}:-NULL}, acctinputoctets =
'%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}',
acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 |
'%{%{Acct-Output-Octets}:-0}', acctterminatecause =
'%{Acct-Terminate-Cause}', connectinfo_stop = '%{Connect-Info}' WHERE
AcctUniqueId = '%{Acct-Unique-Session-Id}'"
}
}
}
post-auth {
reference = ".query"
query = "INSERT INTO radpostauth (username, pass, reply, authdate )
VALUES ( '%{SQL-User-Name}', '%{%{User-Password}:-%{Chap-Password}}',
'%{reply:Packet-Type}', '%S.%M' )"
}
}
rlm_sql (sql_konukevi): Driver rlm_sql_mysql (module rlm_sql_mysql) loaded
and linked
Creating attribute sql_konukevi-SQL-Group
instantiate {
}
# Instantiating module "reject" from file
/etc/freeradius/mods-enabled/always
# Instantiating module "fail" from file
/etc/freeradius/mods-enabled/always
# Instantiating module "ok" from file /etc/freeradius/mods-enabled/always
# Instantiating module "handled" from file
/etc/freeradius/mods-enabled/always
# Instantiating module "invalid" from file
/etc/freeradius/mods-enabled/always
# Instantiating module "userlock" from file
/etc/freeradius/mods-enabled/always
# Instantiating module "notfound" from file
/etc/freeradius/mods-enabled/always
# Instantiating module "noop" from file
/etc/freeradius/mods-enabled/always
# Instantiating module "updated" from file
/etc/freeradius/mods-enabled/always
# Instantiating module "attr_filter.post-proxy" from file
/etc/freeradius/mods-enabled/attr_filter
reading pairlist file /etc/freeradius/mods-config/attr_filter/post-proxy
# Instantiating module "attr_filter.pre-proxy" from file
/etc/freeradius/mods-enabled/attr_filter
reading pairlist file /etc/freeradius/mods-config/attr_filter/pre-proxy
# Instantiating module "attr_filter.access_reject" from file
/etc/freeradius/mods-enabled/attr_filter
reading pairlist file /etc/freeradius/mods-config/attr_filter/access_reject
# Instantiating module "attr_filter.access_challenge" from file
/etc/freeradius/mods-enabled/attr_filter
reading pairlist file
/etc/freeradius/mods-config/attr_filter/access_challenge
# Instantiating module "attr_filter.accounting_response" from file
/etc/freeradius/mods-enabled/attr_filter
reading pairlist file
/etc/freeradius/mods-config/attr_filter/accounting_response
# Instantiating module "attr_filter.coa" from file
/etc/freeradius/mods-enabled/attr_filter
reading pairlist file /etc/freeradius/mods-config/attr_filter/coa
# Instantiating module "detail" from file
/etc/freeradius/mods-enabled/detail
# Instantiating module "auth_log" from file
/etc/freeradius/mods-enabled/detail.log
rlm_detail (auth_log): 'User-Password' suppressed, will not appear in
detail output
# Instantiating module "reply_log" from file
/etc/freeradius/mods-enabled/detail.log
# Instantiating module "pre_proxy_log" from file
/etc/freeradius/mods-enabled/detail.log
# Instantiating module "post_proxy_log" from file
/etc/freeradius/mods-enabled/detail.log
# Instantiating module "expiration" from file
/etc/freeradius/mods-enabled/expiration
# Instantiating module "logintime" from file
/etc/freeradius/mods-enabled/logintime
# Instantiating module "mschap" from file
/etc/freeradius/mods-enabled/mschap
rlm_mschap (mschap): using internal authentication
# Instantiating module "pap" from file /etc/freeradius/mods-enabled/pap
# Instantiating module "etc_passwd" from file
/etc/freeradius/mods-enabled/passwd
rlm_passwd: nfields: 3 keyfield 0(User-Name) listable: no
# Instantiating module "preprocess" from file
/etc/freeradius/mods-enabled/preprocess
reading pairlist file /etc/freeradius/mods-config/preprocess/huntgroups
reading pairlist file /etc/freeradius/mods-config/preprocess/hints
# Instantiating module "IPASS" from file
/etc/freeradius/mods-enabled/realm
# Instantiating module "suffix" from file
/etc/freeradius/mods-enabled/realm
# Instantiating module "bangpath" from file
/etc/freeradius/mods-enabled/realm
# Instantiating module "realmpercent" from file
/etc/freeradius/mods-enabled/realm
# Instantiating module "ntdomain" from file
/etc/freeradius/mods-enabled/realm
# Instantiating module "totp" from file /etc/freeradius/mods-enabled/totp
# Instantiating module "eap.etu" from file
/etc/freeradius/mods-enabled/eap.etu
# Linked to sub-module rlm_eap_md5
# Linked to sub-module rlm_eap_tls
tls {
tls = "tls-common"
}
tls-config tls-common {
verify_depth = 0
ca_path = "/etc/freeradius/certs"
pem_file_type = yes
private_key_file = "/etc/freeradius/certs/etu.server.key"
certificate_file = "/etc/freeradius/certs/etu.server.pem"
ca_file = "/etc/freeradius/certs/etu.ca.pem"
private_key_password = <<< secret >>>
fragment_size = 1024
include_length = yes
auto_chain = yes
check_crl = no
check_all_crl = no
ca_path_reload_interval = 0
cipher_list = "DEFAULT@SECLEVEL=0"
cipher_server_preference = no
reject_unknown_intermediate_ca = no
ecdh_curve = ""
tls_max_version = "1.3"
tls_min_version = "1.0"
cache {
enable = no
lifetime = 24
max_entries = 255
}
verify {
skip_if_ocsp_ok = no
}
ocsp {
enable = no
override_cert_url = yes
url = "http://127.0.0.1/ocsp/"
use_nonce = yes
timeout = 0
softfail = no
}
}
# Linked to sub-module rlm_eap_ttls
ttls {
tls = "tls-common"
default_eap_type = "md5"
copy_request_to_tunnel = yes
use_tunneled_reply = no
virtual_server = "inner-tunnel.etu"
include_length = yes
require_client_cert = no
}
tls: Using cached TLS configuration from previous invocation
# Linked to sub-module rlm_eap_peap
peap {
tls = "tls-common"
default_eap_type = "mschapv2"
copy_request_to_tunnel = yes
use_tunneled_reply = no
proxy_tunneled_request_as_eap = yes
virtual_server = "inner-tunnel.etu"
soh = no
require_client_cert = no
}
tls: Using cached TLS configuration from previous invocation
# Linked to sub-module rlm_eap_mschapv2
mschapv2 {
with_ntdomain_hack = no
send_error = no
}
# Instantiating module "files_saglik_bilimleri_sim_lab_mac_list" from
file /etc/freeradius/mods-enabled/files.etu
reading pairlist file
/etc/freeradius/mods-config/files.etu/saglik_bilimleri_sim_lab_mac_list
# Instantiating module "files_bidb_test_mac_list" from file
/etc/freeradius/mods-enabled/files.etu
reading pairlist file
/etc/freeradius/mods-config/files.etu/bidb_test_mac_list
# Instantiating module "files_yutam_lab_cihaz_mac_list" from file
/etc/freeradius/mods-enabled/files.etu
reading pairlist file
/etc/freeradius/mods-config/files.etu/yutam_lab_cihaz_mac_list
# Instantiating module "ldap_tek_hesap" from file
/etc/freeradius/mods-enabled/ldap.etu
rlm_ldap: libldap vendor: OpenLDAP, version: 20518
accounting {
reference = "."
}
post-auth {
reference = "."
}
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! libldap is using GnuTLS, while FreeRADIUS is using OpenSSL
!! There may be random issues with TLS connections due to this conflict.
!! The server may also crash.
!! See https://wiki.freeradius.org/modules/Rlm_ldap for more information.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
rlm_ldap (ldap_tek_hesap): Initialising connection pool
pool {
start = 5
min = 3
max = 32
spare = 10
uses = 0
lifetime = 0
cleanup_interval = 30
idle_timeout = 60
retry_delay = 30
max_retries = 5
spread = no
}
rlm_ldap (ldap_tek_hesap): Opening additional connection (0), 1 of 32
pending slots used
rlm_ldap (ldap_tek_hesap): Connecting to ldaps://95.183.213.8:636
rlm_ldap (ldap_tek_hesap): Waiting for bind result...
rlm_ldap (ldap_tek_hesap): Bind successful
rlm_ldap (ldap_tek_hesap): Opening additional connection (1), 1 of 31
pending slots used
rlm_ldap (ldap_tek_hesap): Connecting to ldaps://95.183.213.8:636
rlm_ldap (ldap_tek_hesap): Waiting for bind result...
rlm_ldap (ldap_tek_hesap): Bind successful
rlm_ldap (ldap_tek_hesap): Opening additional connection (2), 1 of 30
pending slots used
rlm_ldap (ldap_tek_hesap): Connecting to ldaps://95.183.213.8:636
rlm_ldap (ldap_tek_hesap): Waiting for bind result...
rlm_ldap (ldap_tek_hesap): Bind successful
rlm_ldap (ldap_tek_hesap): Opening additional connection (3), 1 of 29
pending slots used
rlm_ldap (ldap_tek_hesap): Connecting to ldaps://95.183.213.8:636
rlm_ldap (ldap_tek_hesap): Waiting for bind result...
rlm_ldap (ldap_tek_hesap): Bind successful
rlm_ldap (ldap_tek_hesap): Opening additional connection (4), 1 of 28
pending slots used
rlm_ldap (ldap_tek_hesap): Connecting to ldaps://95.183.213.8:636
rlm_ldap (ldap_tek_hesap): Waiting for bind result...
rlm_ldap (ldap_tek_hesap): Bind successful
# Instantiating module "ldap_librenms_login" from file
/etc/freeradius/mods-enabled/ldap.etu
accounting {
reference = "."
}
post-auth {
reference = "."
}
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! libldap is using GnuTLS, while FreeRADIUS is using OpenSSL
!! There may be random issues with TLS connections due to this conflict.
!! The server may also crash.
!! See https://wiki.freeradius.org/modules/Rlm_ldap for more information.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
rlm_ldap (ldap_librenms_login): Initialising connection pool
pool {
start = 5
min = 3
max = 32
spare = 10
uses = 0
lifetime = 0
cleanup_interval = 30
idle_timeout = 60
retry_delay = 30
max_retries = 5
spread = no
}
rlm_ldap (ldap_librenms_login): Opening additional connection (0), 1 of 32
pending slots used
rlm_ldap (ldap_librenms_login): Connecting to ldaps://95.183.213.8:636
rlm_ldap (ldap_librenms_login): Waiting for bind result...
rlm_ldap (ldap_librenms_login): Bind successful
rlm_ldap (ldap_librenms_login): Opening additional connection (1), 1 of 31
pending slots used
rlm_ldap (ldap_librenms_login): Connecting to ldaps://95.183.213.8:636
rlm_ldap (ldap_librenms_login): Waiting for bind result...
rlm_ldap (ldap_librenms_login): Bind successful
rlm_ldap (ldap_librenms_login): Opening additional connection (2), 1 of 30
pending slots used
rlm_ldap (ldap_librenms_login): Connecting to ldaps://95.183.213.8:636
rlm_ldap (ldap_librenms_login): Waiting for bind result...
rlm_ldap (ldap_librenms_login): Bind successful
rlm_ldap (ldap_librenms_login): Opening additional connection (3), 1 of 29
pending slots used
rlm_ldap (ldap_librenms_login): Connecting to ldaps://95.183.213.8:636
rlm_ldap (ldap_librenms_login): Waiting for bind result...
rlm_ldap (ldap_librenms_login): Bind successful
rlm_ldap (ldap_librenms_login): Opening additional connection (4), 1 of 28
pending slots used
rlm_ldap (ldap_librenms_login): Connecting to ldaps://95.183.213.8:636
rlm_ldap (ldap_librenms_login): Waiting for bind result...
rlm_ldap (ldap_librenms_login): Bind successful
# Instantiating module "linelog.etu" from file
/etc/freeradius/mods-enabled/linelog.etu
# Instantiating module "linelog_accounting.etu" from file
/etc/freeradius/mods-enabled/linelog.etu
# Instantiating module "linelog_client_lost.etu" from file
/etc/freeradius/mods-enabled/linelog.etu
# Instantiating module "sql_konukevi" from file
/etc/freeradius/mods-enabled/sql.etu
rlm_sql_mysql: libmysql version: 8.0.39
mysql {
tls {
tls_required = no
check_cert = no
check_cert_cn = no
}
warnings = "auto"
}
rlm_sql (sql_konukevi): Attempting to connect to database "konukeviwifi"
rlm_sql (sql_konukevi): Initialising connection pool
pool {
start = 5
min = 3
max = 32
spare = 10
uses = 0
lifetime = 0
cleanup_interval = 30
idle_timeout = 60
retry_delay = 30
max_retries = 5
spread = no
}
rlm_sql (sql_konukevi): Opening additional connection (0), 1 of 32 pending
slots used
rlm_sql_mysql: Starting connect to MySQL server
WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future
version.
rlm_sql_mysql: Connected to database 'konukeviwifi' on
maria.db.erzurum.edu.tr via TCP/IP, server version
11.2.3-MariaDB-1:11.2.3+maria~ubu2204, protocol version 10
rlm_sql (sql_konukevi): Opening additional connection (1), 1 of 31 pending
slots used
rlm_sql_mysql: Starting connect to MySQL server
WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future
version.
rlm_sql_mysql: Connected to database 'konukeviwifi' on
maria.db.erzurum.edu.tr via TCP/IP, server version
11.2.3-MariaDB-1:11.2.3+maria~ubu2204, protocol version 10
rlm_sql (sql_konukevi): Opening additional connection (2), 1 of 30 pending
slots used
rlm_sql_mysql: Starting connect to MySQL server
WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future
version.
rlm_sql_mysql: Connected to database 'konukeviwifi' on
maria.db.erzurum.edu.tr via TCP/IP, server version
11.2.3-MariaDB-1:11.2.3+maria~ubu2204, protocol version 10
rlm_sql (sql_konukevi): Opening additional connection (3), 1 of 29 pending
slots used
rlm_sql_mysql: Starting connect to MySQL server
WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future
version.
rlm_sql_mysql: Connected to database 'konukeviwifi' on
maria.db.erzurum.edu.tr via TCP/IP, server version
11.2.3-MariaDB-1:11.2.3+maria~ubu2204, protocol version 10
rlm_sql (sql_konukevi): Opening additional connection (4), 1 of 28 pending
slots used
rlm_sql_mysql: Starting connect to MySQL server
WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future
version.
rlm_sql_mysql: Connected to database 'konukeviwifi' on
maria.db.erzurum.edu.tr via TCP/IP, server version
11.2.3-MariaDB-1:11.2.3+maria~ubu2204, protocol version 10
} # modules
radiusd: #### Loading Virtual Servers ####
server { # from file /etc/freeradius/radiusd.conf
} # server
server default.etu { # from file /etc/freeradius/sites-enabled/default.etu
# Loading authenticate {...}
Compiling Auth-Type PAP for attr Auth-Type
Compiling Auth-Type MS-CHAP for attr Auth-Type
Compiling Auth-Type eap for attr Auth-Type
# Loading authorize {...}
Compiling Autz-Type New-TLS-Connection for attr Autz-Type
# Loading preacct {...}
# Loading accounting {...}
# Loading post-proxy {...}
Compiling Post-Proxy-Type Fail-Authentication for attr Post-Proxy-Type
# Loading post-auth {...}
Compiling Post-Auth-Type REJECT for attr Post-Auth-Type
Compiling Post-Auth-Type Challenge for attr Post-Auth-Type
Compiling Post-Auth-Type Client-Lost for attr Post-Auth-Type
} # server default.etu
server inner-tunnel.etu { # from file
/etc/freeradius/sites-enabled/inner-tunnel.etu
# Loading authenticate {...}
Compiling Auth-Type PAP for attr Auth-Type
Compiling Auth-Type MS-CHAP for attr Auth-Type
# Loading authorize {...}
# Loading post-auth {...}
Compiling Post-Auth-Type REJECT for attr Post-Auth-Type
} # server inner-tunnel.etu
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"
ipaddr = 127.0.0.1
port = 18120
}
Listening on auth address * port 1812 bound to server default.etu
Listening on acct address * port 1813 bound to server default.etu
Listening on auth address 127.0.0.1 port 18120 bound to server
inner-tunnel.etu
Listening on proxy address * port 49432
Ready to process requests
(0) Received Access-Request Id 109 from 10.10.243.69:50507 to
10.88.0.10:1812 length 233
(0) User-Name = "test08(a)artvin.edu.tr"
(0) NAS-IP-Address = 10.10.243.69
(0) NAS-Port = 0
(0) NAS-Identifier = "10.10.243.69"
(0) NAS-Port-Type = Wireless-802.11
(0) Calling-Station-Id = "7e8623ae0401"
(0) Called-Station-Id = "a8bd27c5752c"
(0) Service-Type = Login-User
(0) Framed-MTU = 1100
(0) EAP-Message = 0x02010019017465737430384061727476696e2e6564752e7472
(0) Aruba-Essid-Name = "bidb-test"
(0) Aruba-Location-Id = "REKTORLUK_KAT1R_MEHMETRASIMODA"
(0) Aruba-AP-Group = "Rektörlük"
(0) Message-Authenticator = 0x05053dceaccd74ceb91725e22f1872f5
(0) # Executing section authorize from file
/etc/freeradius/sites-enabled/default.etu
(0) authorize {
(0) policy filter_username {
(0) if (&User-Name) {
(0) if (&User-Name) -> TRUE
(0) if (&User-Name) {
(0) if (&User-Name =~ / /) {
(0) if (&User-Name =~ / /) -> FALSE
(0) if (&User-Name =~ /@[^@]*@/ ) {
(0) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(0) if (&User-Name =~ /\.\./ ) {
(0) if (&User-Name =~ /\.\./ ) -> FALSE
(0) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(0) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) ->
FALSE
(0) if (&User-Name =~ /\.$/) {
(0) if (&User-Name =~ /\.$/) -> FALSE
(0) if (&User-Name =~ /(a)\./) {
(0) if (&User-Name =~ /(a)\./) -> FALSE
(0) } # if (&User-Name) = notfound
(0) } # policy filter_username = notfound
(0) [preprocess] = ok
(0) policy etu_extract_ssid {
(0) if (&Called-Station-Id && (&Called-Station-Id =~
/^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))$/i))
{
(0) if (&Called-Station-Id && (&Called-Station-Id =~
/^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))$/i))
-> FALSE
(0) elsif (&Aruba-Essid-Name) {
(0) elsif (&Aruba-Essid-Name) -> TRUE
(0) elsif (&Aruba-Essid-Name) {
(0) update request {
(0) EXPAND %{Aruba-Essid-Name}
(0) --> bidb-test
(0) &Called-Station-SSID := bidb-test
(0) } # update request = noop
(0) [updated] = updated
(0) } # elsif (&Aruba-Essid-Name) = updated
(0) ... skipping elsif: Preceding "if" was taken
(0) ... skipping else: Preceding "if" was taken
(0) } # policy etu_extract_ssid = updated
(0) policy etu_policy_service_selector {
(0) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name =~
/^.+(a)erzurum\.edu\.tr$/i) ) {
(0) EXPAND %{client:shortname}
(0) --> etu_wifi_rektorluk
(0) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name =~
/^.+(a)erzurum\.edu\.tr$/i) ) -> FALSE
(0) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) {
(0) EXPAND %{client:shortname}
(0) --> etu_wifi_rektorluk
(0) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) -> TRUE
(0) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) {
(0) update request {
(0) &ETU-Radius-Service-Name := "etu_service_bidb_test_eduroam"
(0) } # update request = noop
(0) if (&Virtual-Server == "inner-tunnel.etu") {
(0) EXPAND &Virtual-Server
(0) --> default.etu
(0) if (&Virtual-Server == "inner-tunnel.etu") -> FALSE
(0) [updated] = updated
(0) } # if ( ("%{client:shortname}" == "etu_wifi_rektorluk")
&& (&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) = updated
(0) ... skipping elsif: Preceding "if" was taken
(0) ... skipping elsif: Preceding "if" was taken
(0) ... skipping elsif: Preceding "if" was taken
(0) ... skipping elsif: Preceding "if" was taken
(0) ... skipping elsif: Preceding "if" was taken
(0) ... skipping elsif: Preceding "if" was taken
(0) ... skipping elsif: Preceding "if" was taken
(0) ... skipping elsif: Preceding "if" was taken
(0) ... skipping elsif: Preceding "if" was taken
(0) ... skipping elsif: Preceding "if" was taken
(0) ... skipping elsif: Preceding "if" was taken
(0) ... skipping elsif: Preceding "if" was taken
(0) ... skipping else: Preceding "if" was taken
(0) } # policy etu_policy_service_selector = updated
(0) policy etu_session_state_populate {
(0) if (&Virtual-Server != "inner-tunnel.etu") {
(0) EXPAND &Virtual-Server
(0) --> default.etu
(0) if (&Virtual-Server != "inner-tunnel.etu") -> TRUE
(0) if (&Virtual-Server != "inner-tunnel.etu") {
(0) if (!(&session-state:Calling-Station-Id)) {
(0) if (!(&session-state:Calling-Station-Id)) -> TRUE
(0) if (!(&session-state:Calling-Station-Id)) {
(0) update session-state {
(0) &Calling-Station-Id := request:Calling-Station-Id ->
'7e8623ae0401'
(0) } # update session-state = noop
(0) } # if (!(&session-state:Calling-Station-Id)) = noop
(0) if (!(&session-state:Called-Station-Id)) {
(0) if (!(&session-state:Called-Station-Id)) -> TRUE
(0) if (!(&session-state:Called-Station-Id)) {
(0) update session-state {
(0) &Called-Station-Id := request:Called-Station-Id ->
'a8bd27c5752c'
(0) } # update session-state = noop
(0) } # if (!(&session-state:Called-Station-Id)) = noop
(0) if (!(&session-state:Called-Station-SSID)) {
(0) if (!(&session-state:Called-Station-SSID)) -> TRUE
(0) if (!(&session-state:Called-Station-SSID)) {
(0) update session-state {
(0) &Called-Station-SSID := request:Called-Station-SSID ->
'bidb-test'
(0) } # update session-state = noop
(0) } # if (!(&session-state:Called-Station-SSID)) = noop
(0) if (!(&session-state:ETU-Radius-Service-Name)) {
(0) if (!(&session-state:ETU-Radius-Service-Name)) -> TRUE
(0) if (!(&session-state:ETU-Radius-Service-Name)) {
(0) update session-state {
(0) &ETU-Radius-Service-Name := request:ETU-Radius-Service-Name
-> 'etu_service_bidb_test_eduroam'
(0) } # update session-state = noop
(0) } # if (!(&session-state:ETU-Radius-Service-Name)) = noop
(0) if (!(&session-state:ETU-Outer-User-Name)) {
(0) if (!(&session-state:ETU-Outer-User-Name)) -> TRUE
(0) if (!(&session-state:ETU-Outer-User-Name)) {
(0) update session-state {
(0) &ETU-Outer-User-Name := request:User-Name -> '
test08(a)artvin.edu.tr'
(0) } # update session-state = noop
(0) } # if (!(&session-state:ETU-Outer-User-Name)) = noop
(0) } # if (&Virtual-Server != "inner-tunnel.etu") = noop
(0) } # policy etu_session_state_populate = noop
(0) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test" ) {
(0) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test" ) -> FALSE
(0) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test_eduroam" ) {
(0) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test_eduroam" )
-> TRUE
(0) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test_eduroam" )
{
(0) group {
(0) policy etu_proxy_to_eduroam_trrad {
(0) update control {
(0) Home-Server-Pool = "eduroam_trrrad_pool"
(0) } # update control = noop
(0) [updated] = updated
(0) } # policy etu_proxy_to_eduroam_trrad = updated
(0) } # group = updated
(0) etu_auth_modules { ... } # empty sub-section is ignored
(0) return
(0) } # if ( &ETU-Radius-Service-Name ==
"etu_service_bidb_test_eduroam" ) = updated
(0) } # authorize = updated
(0) Proxying due to Home-Server-Pool = "eduroam_trrrad_pool"
(0) Starting proxy to home server 193.140.83.100 port 1812
(0) server default.etu {
(0) }
(0) Proxying request to home server 193.140.83.100 port 1812 timeout
20.000000
(0) Sent Access-Request Id 166 from 0.0.0.0:49432 to 193.140.83.100:1812
length 244
(0) User-Name = "test08(a)artvin.edu.tr"
(0) NAS-IP-Address = 10.10.243.69
(0) NAS-Port = 0
(0) NAS-Identifier = "10.10.243.69"
(0) NAS-Port-Type = Wireless-802.11
(0) Calling-Station-Id = "7e8623ae0401"
(0) Called-Station-Id = "a8bd27c5752c"
(0) Service-Type = Login-User
(0) Framed-MTU = 1100
(0) EAP-Message = 0x02010019017465737430384061727476696e2e6564752e7472
(0) Aruba-Essid-Name = "bidb-test"
(0) Aruba-Location-Id = "REKTORLUK_KAT1R_MEHMETRASIMODA"
(0) Aruba-AP-Group = "Rektörlük"
(0) Message-Authenticator = 0x05053dceaccd74ceb91725e22f1872f5
(0) Event-Timestamp = "Dec 24 2024 06:14:06 UTC"
(0) Proxy-State = 0x313039
Waking up in 0.3 seconds.
(0) Marking home server 193.140.83.100 port 1812 alive
(0) Clearing existing &reply: attributes
(0) Received Access-Challenge Id 166 from 193.140.83.100:1812 to
10.88.0.10:49432 length 93
(0) Message-Authenticator = 0x8584a1cfa5969ec47be156cad9042152
(0) EAP-Message = 0x010200061921
(0) State =
0x414e774172514144414b7072536b3043506e3153544e346c34634a3075543153706a795657673d3d
(0) Proxy-State = 0x313039
(0) server default.etu {
(0) # Executing section post-proxy from file
/etc/freeradius/sites-enabled/default.etu
(0) post-proxy {
(0) if ("%{proxy-reply:Packet-Type}" == "Access-Reject" ){
(0) EXPAND %{proxy-reply:Packet-Type}
(0) --> Access-Challenge
(0) if ("%{proxy-reply:Packet-Type}" == "Access-Reject" ) -> FALSE
(0) } # post-proxy = noop
(0) }
(0) session-state: Saving cached attributes
(0) Calling-Station-Id := "7e8623ae0401"
(0) Called-Station-Id := "a8bd27c5752c"
(0) Called-Station-SSID := "bidb-test"
(0) ETU-Radius-Service-Name := "etu_service_bidb_test_eduroam"
(0) ETU-Outer-User-Name := "test08(a)artvin.edu.tr"
(0) Using Post-Auth-Type Challenge
(0) # Executing group from file /etc/freeradius/sites-enabled/default.etu
(0) Challenge { ... } # empty sub-section is ignored
(0) Sent Access-Challenge Id 109 from 10.88.0.10:1812 to 10.10.243.69:50507
length 88
(0) Message-Authenticator = 0x8584a1cfa5969ec47be156cad9042152
(0) EAP-Message = 0x010200061921
(0) State =
0x414e774172514144414b7072536b3043506e3153544e346c34634a3075543153706a795657673d3d
(0) Finished request
Waking up in 4.9 seconds.
(1) Received Access-Request Id 100 from 10.10.243.69:50507 to
10.88.0.10:1812 length 387
(1) User-Name = "test08(a)artvin.edu.tr"
(1) NAS-IP-Address = 10.10.243.69
(1) NAS-Port = 0
(1) NAS-Identifier = "10.10.243.69"
(1) NAS-Port-Type = Wireless-802.11
(1) Calling-Station-Id = "7e8623ae0401"
(1) Called-Station-Id = "a8bd27c5752c"
(1) Service-Type = Login-User
(1) Framed-MTU = 1100
(1) EAP-Message =
0x020200891901160301007e0100007a030329622b9a892a27bb05701168ab1d2403bd515343d080acc995606e487db0f88200001ec02bc02fc02cc030cca9cca8c009c013c00ac014009c009d002f0035000a0100003300170000ff01000100000a00080006001d00170018000b00020100000d00140012040308040401050308050501080606010201
(1) State =
0x414e774172514144414b7072536b3043506e3153544e346c34634a3075543153706a795657673d3d
(1) Aruba-Essid-Name = "bidb-test"
(1) Aruba-Location-Id = "REKTORLUK_KAT1R_MEHMETRASIMODA"
(1) Aruba-AP-Group = "Rektörlük"
(1) Message-Authenticator = 0x0897461dae4fdc947b7d149232280fca
(1) Restoring &session-state
(1) &session-state:Calling-Station-Id := "7e8623ae0401"
(1) &session-state:Called-Station-Id := "a8bd27c5752c"
(1) &session-state:Called-Station-SSID := "bidb-test"
(1) &session-state:ETU-Radius-Service-Name :=
"etu_service_bidb_test_eduroam"
(1) &session-state:ETU-Outer-User-Name := "test08(a)artvin.edu.tr"
(1) # Executing section authorize from file
/etc/freeradius/sites-enabled/default.etu
(1) authorize {
(1) policy filter_username {
(1) if (&User-Name) {
(1) if (&User-Name) -> TRUE
(1) if (&User-Name) {
(1) if (&User-Name =~ / /) {
(1) if (&User-Name =~ / /) -> FALSE
(1) if (&User-Name =~ /@[^@]*@/ ) {
(1) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(1) if (&User-Name =~ /\.\./ ) {
(1) if (&User-Name =~ /\.\./ ) -> FALSE
(1) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(1) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) ->
FALSE
(1) if (&User-Name =~ /\.$/) {
(1) if (&User-Name =~ /\.$/) -> FALSE
(1) if (&User-Name =~ /(a)\./) {
(1) if (&User-Name =~ /(a)\./) -> FALSE
(1) } # if (&User-Name) = notfound
(1) } # policy filter_username = notfound
(1) [preprocess] = ok
(1) policy etu_extract_ssid {
(1) if (&Called-Station-Id && (&Called-Station-Id =~
/^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))$/i))
{
(1) if (&Called-Station-Id && (&Called-Station-Id =~
/^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))$/i))
-> FALSE
(1) elsif (&Aruba-Essid-Name) {
(1) elsif (&Aruba-Essid-Name) -> TRUE
(1) elsif (&Aruba-Essid-Name) {
(1) update request {
(1) EXPAND %{Aruba-Essid-Name}
(1) --> bidb-test
(1) &Called-Station-SSID := bidb-test
(1) } # update request = noop
(1) [updated] = updated
(1) } # elsif (&Aruba-Essid-Name) = updated
(1) ... skipping elsif: Preceding "if" was taken
(1) ... skipping else: Preceding "if" was taken
(1) } # policy etu_extract_ssid = updated
(1) policy etu_policy_service_selector {
(1) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name =~
/^.+(a)erzurum\.edu\.tr$/i) ) {
(1) EXPAND %{client:shortname}
(1) --> etu_wifi_rektorluk
(1) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name =~
/^.+(a)erzurum\.edu\.tr$/i) ) -> FALSE
(1) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) {
(1) EXPAND %{client:shortname}
(1) --> etu_wifi_rektorluk
(1) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) -> TRUE
(1) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) {
(1) update request {
(1) &ETU-Radius-Service-Name := "etu_service_bidb_test_eduroam"
(1) } # update request = noop
(1) if (&Virtual-Server == "inner-tunnel.etu") {
(1) EXPAND &Virtual-Server
(1) --> default.etu
(1) if (&Virtual-Server == "inner-tunnel.etu") -> FALSE
(1) [updated] = updated
(1) } # if ( ("%{client:shortname}" == "etu_wifi_rektorluk")
&& (&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) = updated
(1) ... skipping elsif: Preceding "if" was taken
(1) ... skipping elsif: Preceding "if" was taken
(1) ... skipping elsif: Preceding "if" was taken
(1) ... skipping elsif: Preceding "if" was taken
(1) ... skipping elsif: Preceding "if" was taken
(1) ... skipping elsif: Preceding "if" was taken
(1) ... skipping elsif: Preceding "if" was taken
(1) ... skipping elsif: Preceding "if" was taken
(1) ... skipping elsif: Preceding "if" was taken
(1) ... skipping elsif: Preceding "if" was taken
(1) ... skipping elsif: Preceding "if" was taken
(1) ... skipping elsif: Preceding "if" was taken
(1) ... skipping else: Preceding "if" was taken
(1) } # policy etu_policy_service_selector = updated
(1) policy etu_session_state_populate {
(1) if (&Virtual-Server != "inner-tunnel.etu") {
(1) EXPAND &Virtual-Server
(1) --> default.etu
(1) if (&Virtual-Server != "inner-tunnel.etu") -> TRUE
(1) if (&Virtual-Server != "inner-tunnel.etu") {
(1) if (!(&session-state:Calling-Station-Id)) {
(1) if (!(&session-state:Calling-Station-Id)) -> FALSE
(1) if (!(&session-state:Called-Station-Id)) {
(1) if (!(&session-state:Called-Station-Id)) -> FALSE
(1) if (!(&session-state:Called-Station-SSID)) {
(1) if (!(&session-state:Called-Station-SSID)) -> FALSE
(1) if (!(&session-state:ETU-Radius-Service-Name)) {
(1) if (!(&session-state:ETU-Radius-Service-Name)) -> FALSE
(1) if (!(&session-state:ETU-Outer-User-Name)) {
(1) if (!(&session-state:ETU-Outer-User-Name)) -> FALSE
(1) } # if (&Virtual-Server != "inner-tunnel.etu") = updated
(1) } # policy etu_session_state_populate = updated
(1) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test" ) {
(1) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test" ) -> FALSE
(1) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test_eduroam" ) {
(1) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test_eduroam" )
-> TRUE
(1) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test_eduroam" )
{
(1) group {
(1) policy etu_proxy_to_eduroam_trrad {
(1) update control {
(1) Home-Server-Pool = "eduroam_trrrad_pool"
(1) } # update control = noop
(1) [updated] = updated
(1) } # policy etu_proxy_to_eduroam_trrad = updated
(1) } # group = updated
(1) etu_auth_modules { ... } # empty sub-section is ignored
(1) return
(1) } # if ( &ETU-Radius-Service-Name ==
"etu_service_bidb_test_eduroam" ) = updated
(1) } # authorize = updated
(1) Proxying due to Home-Server-Pool = "eduroam_trrrad_pool"
(1) Starting proxy to home server 193.140.83.100 port 1812
(1) server default.etu {
(1) }
(1) Proxying request to home server 193.140.83.100 port 1812 timeout
20.000000
(1) Sent Access-Request Id 94 from 0.0.0.0:49432 to 193.140.83.100:1812
length 398
(1) User-Name = "test08(a)artvin.edu.tr"
(1) NAS-IP-Address = 10.10.243.69
(1) NAS-Port = 0
(1) NAS-Identifier = "10.10.243.69"
(1) NAS-Port-Type = Wireless-802.11
(1) Calling-Station-Id = "7e8623ae0401"
(1) Called-Station-Id = "a8bd27c5752c"
(1) Service-Type = Login-User
(1) Framed-MTU = 1100
(1) EAP-Message =
0x020200891901160301007e0100007a030329622b9a892a27bb05701168ab1d2403bd515343d080acc995606e487db0f88200001ec02bc02fc02cc030cca9cca8c009c013c00ac014009c009d002f0035000a0100003300170000ff01000100000a00080006001d00170018000b00020100000d00140012040308040401050308050501080606010201
(1) State =
0x414e774172514144414b7072536b3043506e3153544e346c34634a3075543153706a795657673d3d
(1) Aruba-Essid-Name = "bidb-test"
(1) Aruba-Location-Id = "REKTORLUK_KAT1R_MEHMETRASIMODA"
(1) Aruba-AP-Group = "Rektörlük"
(1) Message-Authenticator = 0x0897461dae4fdc947b7d149232280fca
(1) Event-Timestamp = "Dec 24 2024 06:14:06 UTC"
(1) Proxy-State = 0x313030
Waking up in 0.3 seconds.
(1) Clearing existing &reply: attributes
(1) Received Access-Challenge Id 94 from 193.140.83.100:1812 to
10.88.0.10:49432 length 1129
(1) Message-Authenticator = 0xe4ace9bc70bfefcd54c6c6c86b7599fb
(1) EAP-Message =
0x0103040a19c100000e5a16030300540200005003034dc272c6e90197033657e046420ddbeb69528b4c2fece38b017fa43f2cb8c96520fb3e827412cd75542dd9e0d9243582b911635cc629cf28a2394a25e19e861adcc030000008000b0004030001021603030ca10b000c9d000c9a0006c7308206c3308204aba00302010202137500000003104e8caca674f11d000000000003300d06092a864886f70d01010b0500306b31123010060a0992268993f22c6401191602747231133011060a0992268993f22c640119160365647531163014060a0992268993f22c640119160661727476696e31123010060a0992268993f22c64011916026164311430120603550403130b6163754144526f6f744341301e170d3137313031313037303630325a170d3237313031313037313630325a3081bc310b3009060355040613025452310f300d0603550408130641727476696e310f300d0603550407130641727476696e31223020060355040a131941727476696e20436f72
(1) State =
0x414867413867425141437873536b3043423653384366306f5739557a6f62412f484d35696d773d3d
(1) Proxy-State = 0x313030
(1) server default.etu {
(1) # Executing section post-proxy from file
/etc/freeradius/sites-enabled/default.etu
(1) post-proxy {
(1) if ("%{proxy-reply:Packet-Type}" == "Access-Reject" ){
(1) EXPAND %{proxy-reply:Packet-Type}
(1) --> Access-Challenge
(1) if ("%{proxy-reply:Packet-Type}" == "Access-Reject" ) -> FALSE
(1) } # post-proxy = noop
(1) }
(1) session-state: Saving cached attributes
(1) Calling-Station-Id := "7e8623ae0401"
(1) Called-Station-Id := "a8bd27c5752c"
(1) Called-Station-SSID := "bidb-test"
(1) ETU-Radius-Service-Name := "etu_service_bidb_test_eduroam"
(1) ETU-Outer-User-Name := "test08(a)artvin.edu.tr"
(1) Using Post-Auth-Type Challenge
(1) # Executing group from file /etc/freeradius/sites-enabled/default.etu
(1) Challenge { ... } # empty sub-section is ignored
(1) Sent Access-Challenge Id 100 from 10.88.0.10:1812 to 10.10.243.69:50507
length 1124
(1) Message-Authenticator = 0xe4ace9bc70bfefcd54c6c6c86b7599fb
(1) EAP-Message =
0x0103040a19c100000e5a16030300540200005003034dc272c6e90197033657e046420ddbeb69528b4c2fece38b017fa43f2cb8c96520fb3e827412cd75542dd9e0d9243582b911635cc629cf28a2394a25e19e861adcc030000008000b0004030001021603030ca10b000c9d000c9a0006c7308206c3308204aba00302010202137500000003104e8caca674f11d000000000003300d06092a864886f70d01010b0500306b31123010060a0992268993f22c6401191602747231133011060a0992268993f22c640119160365647531163014060a0992268993f22c640119160661727476696e31123010060a0992268993f22c64011916026164311430120603550403130b6163754144526f6f744341301e170d3137313031313037303630325a170d3237313031313037313630325a3081bc310b3009060355040613025452310f300d0603550408130641727476696e310f300d0603550407130641727476696e31223020060355040a131941727476696e20436f72
(1) State =
0x414867413867425141437873536b3043423653384366306f5739557a6f62412f484d35696d773d3d
(1) Finished request
Waking up in 4.9 seconds.
(2) Received Access-Request Id 110 from 10.10.243.69:50507 to
10.88.0.10:1812 length 256
(2) User-Name = "test08(a)artvin.edu.tr"
(2) NAS-IP-Address = 10.10.243.69
(2) NAS-Port = 0
(2) NAS-Identifier = "10.10.243.69"
(2) NAS-Port-Type = Wireless-802.11
(2) Calling-Station-Id = "7e8623ae0401"
(2) Called-Station-Id = "a8bd27c5752c"
(2) Service-Type = Login-User
(2) Framed-MTU = 1100
(2) EAP-Message = 0x020300061901
(2) State =
0x414867413867425141437873536b3043423653384366306f5739557a6f62412f484d35696d773d3d
(2) Aruba-Essid-Name = "bidb-test"
(2) Aruba-Location-Id = "REKTORLUK_KAT1R_MEHMETRASIMODA"
(2) Aruba-AP-Group = "Rektörlük"
(2) Message-Authenticator = 0x4fd35950ae854c104be9ab8eb17e5287
(2) Restoring &session-state
(2) &session-state:Calling-Station-Id := "7e8623ae0401"
(2) &session-state:Called-Station-Id := "a8bd27c5752c"
(2) &session-state:Called-Station-SSID := "bidb-test"
(2) &session-state:ETU-Radius-Service-Name :=
"etu_service_bidb_test_eduroam"
(2) &session-state:ETU-Outer-User-Name := "test08(a)artvin.edu.tr"
(2) # Executing section authorize from file
/etc/freeradius/sites-enabled/default.etu
(2) authorize {
(2) policy filter_username {
(2) if (&User-Name) {
(2) if (&User-Name) -> TRUE
(2) if (&User-Name) {
(2) if (&User-Name =~ / /) {
(2) if (&User-Name =~ / /) -> FALSE
(2) if (&User-Name =~ /@[^@]*@/ ) {
(2) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(2) if (&User-Name =~ /\.\./ ) {
(2) if (&User-Name =~ /\.\./ ) -> FALSE
(2) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(2) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) ->
FALSE
(2) if (&User-Name =~ /\.$/) {
(2) if (&User-Name =~ /\.$/) -> FALSE
(2) if (&User-Name =~ /(a)\./) {
(2) if (&User-Name =~ /(a)\./) -> FALSE
(2) } # if (&User-Name) = notfound
(2) } # policy filter_username = notfound
(2) [preprocess] = ok
(2) policy etu_extract_ssid {
(2) if (&Called-Station-Id && (&Called-Station-Id =~
/^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))$/i))
{
(2) if (&Called-Station-Id && (&Called-Station-Id =~
/^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))$/i))
-> FALSE
(2) elsif (&Aruba-Essid-Name) {
(2) elsif (&Aruba-Essid-Name) -> TRUE
(2) elsif (&Aruba-Essid-Name) {
(2) update request {
(2) EXPAND %{Aruba-Essid-Name}
(2) --> bidb-test
(2) &Called-Station-SSID := bidb-test
(2) } # update request = noop
(2) [updated] = updated
(2) } # elsif (&Aruba-Essid-Name) = updated
(2) ... skipping elsif: Preceding "if" was taken
(2) ... skipping else: Preceding "if" was taken
(2) } # policy etu_extract_ssid = updated
(2) policy etu_policy_service_selector {
(2) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name =~
/^.+(a)erzurum\.edu\.tr$/i) ) {
(2) EXPAND %{client:shortname}
(2) --> etu_wifi_rektorluk
(2) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name =~
/^.+(a)erzurum\.edu\.tr$/i) ) -> FALSE
(2) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) {
(2) EXPAND %{client:shortname}
(2) --> etu_wifi_rektorluk
(2) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) -> TRUE
(2) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) {
(2) update request {
(2) &ETU-Radius-Service-Name := "etu_service_bidb_test_eduroam"
(2) } # update request = noop
(2) if (&Virtual-Server == "inner-tunnel.etu") {
(2) EXPAND &Virtual-Server
(2) --> default.etu
(2) if (&Virtual-Server == "inner-tunnel.etu") -> FALSE
(2) [updated] = updated
(2) } # if ( ("%{client:shortname}" == "etu_wifi_rektorluk")
&& (&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) = updated
(2) ... skipping elsif: Preceding "if" was taken
(2) ... skipping elsif: Preceding "if" was taken
(2) ... skipping elsif: Preceding "if" was taken
(2) ... skipping elsif: Preceding "if" was taken
(2) ... skipping elsif: Preceding "if" was taken
(2) ... skipping elsif: Preceding "if" was taken
(2) ... skipping elsif: Preceding "if" was taken
(2) ... skipping elsif: Preceding "if" was taken
(2) ... skipping elsif: Preceding "if" was taken
(2) ... skipping elsif: Preceding "if" was taken
(2) ... skipping elsif: Preceding "if" was taken
(2) ... skipping elsif: Preceding "if" was taken
(2) ... skipping else: Preceding "if" was taken
(2) } # policy etu_policy_service_selector = updated
(2) policy etu_session_state_populate {
(2) if (&Virtual-Server != "inner-tunnel.etu") {
(2) EXPAND &Virtual-Server
(2) --> default.etu
(2) if (&Virtual-Server != "inner-tunnel.etu") -> TRUE
(2) if (&Virtual-Server != "inner-tunnel.etu") {
(2) if (!(&session-state:Calling-Station-Id)) {
(2) if (!(&session-state:Calling-Station-Id)) -> FALSE
(2) if (!(&session-state:Called-Station-Id)) {
(2) if (!(&session-state:Called-Station-Id)) -> FALSE
(2) if (!(&session-state:Called-Station-SSID)) {
(2) if (!(&session-state:Called-Station-SSID)) -> FALSE
(2) if (!(&session-state:ETU-Radius-Service-Name)) {
(2) if (!(&session-state:ETU-Radius-Service-Name)) -> FALSE
(2) if (!(&session-state:ETU-Outer-User-Name)) {
(2) if (!(&session-state:ETU-Outer-User-Name)) -> FALSE
(2) } # if (&Virtual-Server != "inner-tunnel.etu") = updated
(2) } # policy etu_session_state_populate = updated
(2) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test" ) {
(2) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test" ) -> FALSE
(2) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test_eduroam" ) {
(2) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test_eduroam" )
-> TRUE
(2) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test_eduroam" )
{
(2) group {
(2) policy etu_proxy_to_eduroam_trrad {
(2) update control {
(2) Home-Server-Pool = "eduroam_trrrad_pool"
(2) } # update control = noop
(2) [updated] = updated
(2) } # policy etu_proxy_to_eduroam_trrad = updated
(2) } # group = updated
(2) etu_auth_modules { ... } # empty sub-section is ignored
(2) return
(2) } # if ( &ETU-Radius-Service-Name ==
"etu_service_bidb_test_eduroam" ) = updated
(2) } # authorize = updated
(2) Proxying due to Home-Server-Pool = "eduroam_trrrad_pool"
(2) Starting proxy to home server 193.140.83.100 port 1812
(2) server default.etu {
(2) }
(2) Proxying request to home server 193.140.83.100 port 1812 timeout
20.000000
(2) Sent Access-Request Id 209 from 0.0.0.0:49432 to 193.140.83.100:1812
length 267
(2) User-Name = "test08(a)artvin.edu.tr"
(2) NAS-IP-Address = 10.10.243.69
(2) NAS-Port = 0
(2) NAS-Identifier = "10.10.243.69"
(2) NAS-Port-Type = Wireless-802.11
(2) Calling-Station-Id = "7e8623ae0401"
(2) Called-Station-Id = "a8bd27c5752c"
(2) Service-Type = Login-User
(2) Framed-MTU = 1100
(2) EAP-Message = 0x020300061901
(2) State =
0x414867413867425141437873536b3043423653384366306f5739557a6f62412f484d35696d773d3d
(2) Aruba-Essid-Name = "bidb-test"
(2) Aruba-Location-Id = "REKTORLUK_KAT1R_MEHMETRASIMODA"
(2) Aruba-AP-Group = "Rektörlük"
(2) Message-Authenticator = 0x4fd35950ae854c104be9ab8eb17e5287
(2) Event-Timestamp = "Dec 24 2024 06:14:06 UTC"
(2) Proxy-State = 0x313130
Waking up in 0.3 seconds.
(2) Clearing existing &reply: attributes
(2) Received Access-Challenge Id 209 from 193.140.83.100:1812 to
10.88.0.10:49432 length 1125
(2) Message-Authenticator = 0x02c3c8ac71afafc1e8b4cc4723fab5c6
(2) EAP-Message =
0x010404061941696f6e4c6973743f626173653f6f626a656374436c6173733d63524c446973747269627574696f6e506f696e743081c806082b060105050701010481bb3081b83081b506082b060105050730028681a86c6461703a2f2f2f434e3d6163754144526f6f7443412c434e3d4149412c434e3d5075626c69632532304b657925323053657276696365732c434e3d53657276696365732c434e3d436f6e66696775726174696f6e2c44433d61642c44433d61727476696e2c44433d6564752c44433d74723f634143657274696669636174653f626173653f6f626a656374436c6173733d63657274696669636174696f6e417574686f72697479300c0603551d130101ff0402300030130603551d25040c300a06082b06010505070301300d06092a864886f70d01010b050003820201002497742a9faca4a2fe689bc265e37f3adeda2e66ed32491a99e85026a879d10e97513940d36f4eafd397fb0d95ad458757e2ca94f4dee5ecaffb8d20e882829ed7be
(2) State =
0x414a59416967417741454a74536b304371624c2f3455615536684c395345356b5953344370513d3d
(2) Proxy-State = 0x313130
(2) server default.etu {
(2) # Executing section post-proxy from file
/etc/freeradius/sites-enabled/default.etu
(2) post-proxy {
(2) if ("%{proxy-reply:Packet-Type}" == "Access-Reject" ){
(2) EXPAND %{proxy-reply:Packet-Type}
(2) --> Access-Challenge
(2) if ("%{proxy-reply:Packet-Type}" == "Access-Reject" ) -> FALSE
(2) } # post-proxy = noop
(2) }
(2) session-state: Saving cached attributes
(2) Calling-Station-Id := "7e8623ae0401"
(2) Called-Station-Id := "a8bd27c5752c"
(2) Called-Station-SSID := "bidb-test"
(2) ETU-Radius-Service-Name := "etu_service_bidb_test_eduroam"
(2) ETU-Outer-User-Name := "test08(a)artvin.edu.tr"
(2) Using Post-Auth-Type Challenge
(2) # Executing group from file /etc/freeradius/sites-enabled/default.etu
(2) Challenge { ... } # empty sub-section is ignored
(2) Sent Access-Challenge Id 110 from 10.88.0.10:1812 to 10.10.243.69:50507
length 1120
(2) Message-Authenticator = 0x02c3c8ac71afafc1e8b4cc4723fab5c6
(2) EAP-Message =
0x010404061941696f6e4c6973743f626173653f6f626a656374436c6173733d63524c446973747269627574696f6e506f696e743081c806082b060105050701010481bb3081b83081b506082b060105050730028681a86c6461703a2f2f2f434e3d6163754144526f6f7443412c434e3d4149412c434e3d5075626c69632532304b657925323053657276696365732c434e3d53657276696365732c434e3d436f6e66696775726174696f6e2c44433d61642c44433d61727476696e2c44433d6564752c44433d74723f634143657274696669636174653f626173653f6f626a656374436c6173733d63657274696669636174696f6e417574686f72697479300c0603551d130101ff0402300030130603551d25040c300a06082b06010505070301300d06092a864886f70d01010b050003820201002497742a9faca4a2fe689bc265e37f3adeda2e66ed32491a99e85026a879d10e97513940d36f4eafd397fb0d95ad458757e2ca94f4dee5ecaffb8d20e882829ed7be
(2) State =
0x414a59416967417741454a74536b304371624c2f3455615536684c395345356b5953344370513d3d
(2) Finished request
Waking up in 4.8 seconds.
(3) Received Access-Request Id 112 from 10.10.243.69:50507 to
10.88.0.10:1812 length 256
(3) User-Name = "test08(a)artvin.edu.tr"
(3) NAS-IP-Address = 10.10.243.69
(3) NAS-Port = 0
(3) NAS-Identifier = "10.10.243.69"
(3) NAS-Port-Type = Wireless-802.11
(3) Calling-Station-Id = "7e8623ae0401"
(3) Called-Station-Id = "a8bd27c5752c"
(3) Service-Type = Login-User
(3) Framed-MTU = 1100
(3) EAP-Message = 0x020400061901
(3) State =
0x414a59416967417741454a74536b304371624c2f3455615536684c395345356b5953344370513d3d
(3) Aruba-Essid-Name = "bidb-test"
(3) Aruba-Location-Id = "REKTORLUK_KAT1R_MEHMETRASIMODA"
(3) Aruba-AP-Group = "Rektörlük"
(3) Message-Authenticator = 0xc08719c46cf552296574e1603c4cab4e
(3) Restoring &session-state
(3) &session-state:Calling-Station-Id := "7e8623ae0401"
(3) &session-state:Called-Station-Id := "a8bd27c5752c"
(3) &session-state:Called-Station-SSID := "bidb-test"
(3) &session-state:ETU-Radius-Service-Name :=
"etu_service_bidb_test_eduroam"
(3) &session-state:ETU-Outer-User-Name := "test08(a)artvin.edu.tr"
(3) # Executing section authorize from file
/etc/freeradius/sites-enabled/default.etu
(3) authorize {
(3) policy filter_username {
(3) if (&User-Name) {
(3) if (&User-Name) -> TRUE
(3) if (&User-Name) {
(3) if (&User-Name =~ / /) {
(3) if (&User-Name =~ / /) -> FALSE
(3) if (&User-Name =~ /@[^@]*@/ ) {
(3) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(3) if (&User-Name =~ /\.\./ ) {
(3) if (&User-Name =~ /\.\./ ) -> FALSE
(3) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(3) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) ->
FALSE
(3) if (&User-Name =~ /\.$/) {
(3) if (&User-Name =~ /\.$/) -> FALSE
(3) if (&User-Name =~ /(a)\./) {
(3) if (&User-Name =~ /(a)\./) -> FALSE
(3) } # if (&User-Name) = notfound
(3) } # policy filter_username = notfound
(3) [preprocess] = ok
(3) policy etu_extract_ssid {
(3) if (&Called-Station-Id && (&Called-Station-Id =~
/^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))$/i))
{
(3) if (&Called-Station-Id && (&Called-Station-Id =~
/^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))$/i))
-> FALSE
(3) elsif (&Aruba-Essid-Name) {
(3) elsif (&Aruba-Essid-Name) -> TRUE
(3) elsif (&Aruba-Essid-Name) {
(3) update request {
(3) EXPAND %{Aruba-Essid-Name}
(3) --> bidb-test
(3) &Called-Station-SSID := bidb-test
(3) } # update request = noop
(3) [updated] = updated
(3) } # elsif (&Aruba-Essid-Name) = updated
(3) ... skipping elsif: Preceding "if" was taken
(3) ... skipping else: Preceding "if" was taken
(3) } # policy etu_extract_ssid = updated
(3) policy etu_policy_service_selector {
(3) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name =~
/^.+(a)erzurum\.edu\.tr$/i) ) {
(3) EXPAND %{client:shortname}
(3) --> etu_wifi_rektorluk
(3) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name =~
/^.+(a)erzurum\.edu\.tr$/i) ) -> FALSE
(3) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) {
(3) EXPAND %{client:shortname}
(3) --> etu_wifi_rektorluk
(3) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) -> TRUE
(3) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) {
(3) update request {
(3) &ETU-Radius-Service-Name := "etu_service_bidb_test_eduroam"
(3) } # update request = noop
(3) if (&Virtual-Server == "inner-tunnel.etu") {
(3) EXPAND &Virtual-Server
(3) --> default.etu
(3) if (&Virtual-Server == "inner-tunnel.etu") -> FALSE
(3) [updated] = updated
(3) } # if ( ("%{client:shortname}" == "etu_wifi_rektorluk")
&& (&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) = updated
(3) ... skipping elsif: Preceding "if" was taken
(3) ... skipping elsif: Preceding "if" was taken
(3) ... skipping elsif: Preceding "if" was taken
(3) ... skipping elsif: Preceding "if" was taken
(3) ... skipping elsif: Preceding "if" was taken
(3) ... skipping elsif: Preceding "if" was taken
(3) ... skipping elsif: Preceding "if" was taken
(3) ... skipping elsif: Preceding "if" was taken
(3) ... skipping elsif: Preceding "if" was taken
(3) ... skipping elsif: Preceding "if" was taken
(3) ... skipping elsif: Preceding "if" was taken
(3) ... skipping elsif: Preceding "if" was taken
(3) ... skipping else: Preceding "if" was taken
(3) } # policy etu_policy_service_selector = updated
(3) policy etu_session_state_populate {
(3) if (&Virtual-Server != "inner-tunnel.etu") {
(3) EXPAND &Virtual-Server
(3) --> default.etu
(3) if (&Virtual-Server != "inner-tunnel.etu") -> TRUE
(3) if (&Virtual-Server != "inner-tunnel.etu") {
(3) if (!(&session-state:Calling-Station-Id)) {
(3) if (!(&session-state:Calling-Station-Id)) -> FALSE
(3) if (!(&session-state:Called-Station-Id)) {
(3) if (!(&session-state:Called-Station-Id)) -> FALSE
(3) if (!(&session-state:Called-Station-SSID)) {
(3) if (!(&session-state:Called-Station-SSID)) -> FALSE
(3) if (!(&session-state:ETU-Radius-Service-Name)) {
(3) if (!(&session-state:ETU-Radius-Service-Name)) -> FALSE
(3) if (!(&session-state:ETU-Outer-User-Name)) {
(3) if (!(&session-state:ETU-Outer-User-Name)) -> FALSE
(3) } # if (&Virtual-Server != "inner-tunnel.etu") = updated
(3) } # policy etu_session_state_populate = updated
(3) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test" ) {
(3) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test" ) -> FALSE
(3) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test_eduroam" ) {
(3) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test_eduroam" )
-> TRUE
(3) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test_eduroam" )
{
(3) group {
(3) policy etu_proxy_to_eduroam_trrad {
(3) update control {
(3) Home-Server-Pool = "eduroam_trrrad_pool"
(3) } # update control = noop
(3) [updated] = updated
(3) } # policy etu_proxy_to_eduroam_trrad = updated
(3) } # group = updated
(3) etu_auth_modules { ... } # empty sub-section is ignored
(3) return
(3) } # if ( &ETU-Radius-Service-Name ==
"etu_service_bidb_test_eduroam" ) = updated
(3) } # authorize = updated
(3) Proxying due to Home-Server-Pool = "eduroam_trrrad_pool"
(3) Starting proxy to home server 193.140.83.100 port 1812
(3) server default.etu {
(3) }
(3) Proxying request to home server 193.140.83.100 port 1812 timeout
20.000000
(3) Sent Access-Request Id 27 from 0.0.0.0:49432 to 193.140.83.100:1812
length 267
(3) User-Name = "test08(a)artvin.edu.tr"
(3) NAS-IP-Address = 10.10.243.69
(3) NAS-Port = 0
(3) NAS-Identifier = "10.10.243.69"
(3) NAS-Port-Type = Wireless-802.11
(3) Calling-Station-Id = "7e8623ae0401"
(3) Called-Station-Id = "a8bd27c5752c"
(3) Service-Type = Login-User
(3) Framed-MTU = 1100
(3) EAP-Message = 0x020400061901
(3) State =
0x414a59416967417741454a74536b304371624c2f3455615536684c395345356b5953344370513d3d
(3) Aruba-Essid-Name = "bidb-test"
(3) Aruba-Location-Id = "REKTORLUK_KAT1R_MEHMETRASIMODA"
(3) Aruba-AP-Group = "Rektörlük"
(3) Message-Authenticator = 0xc08719c46cf552296574e1603c4cab4e
(3) Event-Timestamp = "Dec 24 2024 06:14:06 UTC"
(3) Proxy-State = 0x313132
Waking up in 0.3 seconds.
(3) Clearing existing &reply: attributes
(3) Received Access-Challenge Id 27 from 193.140.83.100:1812 to
10.88.0.10:49432 length 1125
(3) Message-Authenticator = 0x4e8e6e7e2094ac20cd23e893c35983dd
(3) EAP-Message =
0x01050406194102747231133011060a0992268993f22c640119160365647531163014060a0992268993f22c640119160661727476696e31123010060a0992268993f22c64011916026164311430120603550403130b6163754144526f6f74434130820222300d06092a864886f70d01010105000382020f003082020a028202010099f0addf573c39633b5eb931112970675f658b57fc80a063f8b9c25946af5f46b38d45b39fc748445e14a71e39a9bf37dbc9a7809cbacd31cbbeeec695a778df60852ec97147b7a9834e4aa6919c671604eb74e62b0d7b472743c855c49958edfef0917135b482f2928a7bb32f3705056b1cd3a7e001ea60502e1c5df78adb3c4ac56494bf4b53ade9a4a30f162cd031a7633c9ae5efb54b3193f7a28bb03f44604120f4eddf0a82e0dfcaf8b92bd76ac89226e9f37c2aab5779330e70e09da117b6affaca6683fbd14f069148d6b9479442ab942cf6f34a7d33f7ad55101841fe9d584c11b46af461efb66bb025a5f284f06c75de43
(3) State =
0x414a59416f41426d414e4a75536b30434f4d3376384d417a74456e2f30756f6e76574c7a66413d3d
(3) Proxy-State = 0x313132
(3) server default.etu {
(3) # Executing section post-proxy from file
/etc/freeradius/sites-enabled/default.etu
(3) post-proxy {
(3) if ("%{proxy-reply:Packet-Type}" == "Access-Reject" ){
(3) EXPAND %{proxy-reply:Packet-Type}
(3) --> Access-Challenge
(3) if ("%{proxy-reply:Packet-Type}" == "Access-Reject" ) -> FALSE
(3) } # post-proxy = noop
(3) }
(3) session-state: Saving cached attributes
(3) Calling-Station-Id := "7e8623ae0401"
(3) Called-Station-Id := "a8bd27c5752c"
(3) Called-Station-SSID := "bidb-test"
(3) ETU-Radius-Service-Name := "etu_service_bidb_test_eduroam"
(3) ETU-Outer-User-Name := "test08(a)artvin.edu.tr"
(3) Using Post-Auth-Type Challenge
(3) # Executing group from file /etc/freeradius/sites-enabled/default.etu
(3) Challenge { ... } # empty sub-section is ignored
(3) Sent Access-Challenge Id 112 from 10.88.0.10:1812 to 10.10.243.69:50507
length 1120
(3) Message-Authenticator = 0x4e8e6e7e2094ac20cd23e893c35983dd
(3) EAP-Message =
0x01050406194102747231133011060a0992268993f22c640119160365647531163014060a0992268993f22c640119160661727476696e31123010060a0992268993f22c64011916026164311430120603550403130b6163754144526f6f74434130820222300d06092a864886f70d01010105000382020f003082020a028202010099f0addf573c39633b5eb931112970675f658b57fc80a063f8b9c25946af5f46b38d45b39fc748445e14a71e39a9bf37dbc9a7809cbacd31cbbeeec695a778df60852ec97147b7a9834e4aa6919c671604eb74e62b0d7b472743c855c49958edfef0917135b482f2928a7bb32f3705056b1cd3a7e001ea60502e1c5df78adb3c4ac56494bf4b53ade9a4a30f162cd031a7633c9ae5efb54b3193f7a28bb03f44604120f4eddf0a82e0dfcaf8b92bd76ac89226e9f37c2aab5779330e70e09da117b6affaca6683fbd14f069148d6b9479442ab942cf6f34a7d33f7ad55101841fe9d584c11b46af461efb66bb025a5f284f06c75de43
(3) State =
0x414a59416f41426d414e4a75536b30434f4d3376384d417a74456e2f30756f6e76574c7a66413d3d
(3) Finished request
Waking up in 4.8 seconds.
(4) Received Access-Request Id 117 from 10.10.243.69:50507 to
10.88.0.10:1812 length 256
(4) User-Name = "test08(a)artvin.edu.tr"
(4) NAS-IP-Address = 10.10.243.69
(4) NAS-Port = 0
(4) NAS-Identifier = "10.10.243.69"
(4) NAS-Port-Type = Wireless-802.11
(4) Calling-Station-Id = "7e8623ae0401"
(4) Called-Station-Id = "a8bd27c5752c"
(4) Service-Type = Login-User
(4) Framed-MTU = 1100
(4) EAP-Message = 0x020500061901
(4) State =
0x414a59416f41426d414e4a75536b30434f4d3376384d417a74456e2f30756f6e76574c7a66413d3d
(4) Aruba-Essid-Name = "bidb-test"
(4) Aruba-Location-Id = "REKTORLUK_KAT1R_MEHMETRASIMODA"
(4) Aruba-AP-Group = "Rektörlük"
(4) Message-Authenticator = 0x55b615610933ad424a669c0591d03c35
(4) Restoring &session-state
(4) &session-state:Calling-Station-Id := "7e8623ae0401"
(4) &session-state:Called-Station-Id := "a8bd27c5752c"
(4) &session-state:Called-Station-SSID := "bidb-test"
(4) &session-state:ETU-Radius-Service-Name :=
"etu_service_bidb_test_eduroam"
(4) &session-state:ETU-Outer-User-Name := "test08(a)artvin.edu.tr"
(4) # Executing section authorize from file
/etc/freeradius/sites-enabled/default.etu
(4) authorize {
(4) policy filter_username {
(4) if (&User-Name) {
(4) if (&User-Name) -> TRUE
(4) if (&User-Name) {
(4) if (&User-Name =~ / /) {
(4) if (&User-Name =~ / /) -> FALSE
(4) if (&User-Name =~ /@[^@]*@/ ) {
(4) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(4) if (&User-Name =~ /\.\./ ) {
(4) if (&User-Name =~ /\.\./ ) -> FALSE
(4) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(4) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) ->
FALSE
(4) if (&User-Name =~ /\.$/) {
(4) if (&User-Name =~ /\.$/) -> FALSE
(4) if (&User-Name =~ /(a)\./) {
(4) if (&User-Name =~ /(a)\./) -> FALSE
(4) } # if (&User-Name) = notfound
(4) } # policy filter_username = notfound
(4) [preprocess] = ok
(4) policy etu_extract_ssid {
(4) if (&Called-Station-Id && (&Called-Station-Id =~
/^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))$/i))
{
(4) if (&Called-Station-Id && (&Called-Station-Id =~
/^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))$/i))
-> FALSE
(4) elsif (&Aruba-Essid-Name) {
(4) elsif (&Aruba-Essid-Name) -> TRUE
(4) elsif (&Aruba-Essid-Name) {
(4) update request {
(4) EXPAND %{Aruba-Essid-Name}
(4) --> bidb-test
(4) &Called-Station-SSID := bidb-test
(4) } # update request = noop
(4) [updated] = updated
(4) } # elsif (&Aruba-Essid-Name) = updated
(4) ... skipping elsif: Preceding "if" was taken
(4) ... skipping else: Preceding "if" was taken
(4) } # policy etu_extract_ssid = updated
(4) policy etu_policy_service_selector {
(4) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name =~
/^.+(a)erzurum\.edu\.tr$/i) ) {
(4) EXPAND %{client:shortname}
(4) --> etu_wifi_rektorluk
(4) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name =~
/^.+(a)erzurum\.edu\.tr$/i) ) -> FALSE
(4) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) {
(4) EXPAND %{client:shortname}
(4) --> etu_wifi_rektorluk
(4) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) -> TRUE
(4) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) {
(4) update request {
(4) &ETU-Radius-Service-Name := "etu_service_bidb_test_eduroam"
(4) } # update request = noop
(4) if (&Virtual-Server == "inner-tunnel.etu") {
(4) EXPAND &Virtual-Server
(4) --> default.etu
(4) if (&Virtual-Server == "inner-tunnel.etu") -> FALSE
(4) [updated] = updated
(4) } # if ( ("%{client:shortname}" == "etu_wifi_rektorluk")
&& (&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) = updated
(4) ... skipping elsif: Preceding "if" was taken
(4) ... skipping elsif: Preceding "if" was taken
(4) ... skipping elsif: Preceding "if" was taken
(4) ... skipping elsif: Preceding "if" was taken
(4) ... skipping elsif: Preceding "if" was taken
(4) ... skipping elsif: Preceding "if" was taken
(4) ... skipping elsif: Preceding "if" was taken
(4) ... skipping elsif: Preceding "if" was taken
(4) ... skipping elsif: Preceding "if" was taken
(4) ... skipping elsif: Preceding "if" was taken
(4) ... skipping elsif: Preceding "if" was taken
(4) ... skipping elsif: Preceding "if" was taken
(4) ... skipping else: Preceding "if" was taken
(4) } # policy etu_policy_service_selector = updated
(4) policy etu_session_state_populate {
(4) if (&Virtual-Server != "inner-tunnel.etu") {
(4) EXPAND &Virtual-Server
(4) --> default.etu
(4) if (&Virtual-Server != "inner-tunnel.etu") -> TRUE
(4) if (&Virtual-Server != "inner-tunnel.etu") {
(4) if (!(&session-state:Calling-Station-Id)) {
(4) if (!(&session-state:Calling-Station-Id)) -> FALSE
(4) if (!(&session-state:Called-Station-Id)) {
(4) if (!(&session-state:Called-Station-Id)) -> FALSE
(4) if (!(&session-state:Called-Station-SSID)) {
(4) if (!(&session-state:Called-Station-SSID)) -> FALSE
(4) if (!(&session-state:ETU-Radius-Service-Name)) {
(4) if (!(&session-state:ETU-Radius-Service-Name)) -> FALSE
(4) if (!(&session-state:ETU-Outer-User-Name)) {
(4) if (!(&session-state:ETU-Outer-User-Name)) -> FALSE
(4) } # if (&Virtual-Server != "inner-tunnel.etu") = updated
(4) } # policy etu_session_state_populate = updated
(4) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test" ) {
(4) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test" ) -> FALSE
(4) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test_eduroam" ) {
(4) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test_eduroam" )
-> TRUE
(4) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test_eduroam" )
{
(4) group {
(4) policy etu_proxy_to_eduroam_trrad {
(4) update control {
(4) Home-Server-Pool = "eduroam_trrrad_pool"
(4) } # update control = noop
(4) [updated] = updated
(4) } # policy etu_proxy_to_eduroam_trrad = updated
(4) } # group = updated
(4) etu_auth_modules { ... } # empty sub-section is ignored
(4) return
(4) } # if ( &ETU-Radius-Service-Name ==
"etu_service_bidb_test_eduroam" ) = updated
(4) } # authorize = updated
(4) Proxying due to Home-Server-Pool = "eduroam_trrrad_pool"
(4) Starting proxy to home server 193.140.83.100 port 1812
(4) server default.etu {
(4) }
(4) Proxying request to home server 193.140.83.100 port 1812 timeout
20.000000
(4) Sent Access-Request Id 75 from 0.0.0.0:49432 to 193.140.83.100:1812
length 267
(4) User-Name = "test08(a)artvin.edu.tr"
(4) NAS-IP-Address = 10.10.243.69
(4) NAS-Port = 0
(4) NAS-Identifier = "10.10.243.69"
(4) NAS-Port-Type = Wireless-802.11
(4) Calling-Station-Id = "7e8623ae0401"
(4) Called-Station-Id = "a8bd27c5752c"
(4) Service-Type = Login-User
(4) Framed-MTU = 1100
(4) EAP-Message = 0x020500061901
(4) State =
0x414a59416f41426d414e4a75536b30434f4d3376384d417a74456e2f30756f6e76574c7a66413d3d
(4) Aruba-Essid-Name = "bidb-test"
(4) Aruba-Location-Id = "REKTORLUK_KAT1R_MEHMETRASIMODA"
(4) Aruba-AP-Group = "Rektörlük"
(4) Message-Authenticator = 0x55b615610933ad424a669c0591d03c35
(4) Event-Timestamp = "Dec 24 2024 06:14:06 UTC"
(4) Proxy-State = 0x313137
Waking up in 0.3 seconds.
(4) Clearing existing &reply: attributes
(4) Received Access-Challenge Id 75 from 193.140.83.100:1812 to
10.88.0.10:49432 length 699
(4) Message-Authenticator = 0x88fb5ab7dbb8242734f5286eaa6aa3a1
(4) EAP-Message =
0x010602601901205506965200034e766a6f39c94875d01ddd1094e2c0c538a3ee12fc8027d03c185d378acb6b7b89b065bde63201a41c29f91cfc20605ad42527d17fbb658793776fed289a5fa1fdb0cd6d885ff05affcc7830f1bc6ec5e8ad47f3bbe26ca6d3cf4c1512545c07f2624b75bf242421fe4a95f00e7661c5278d446b8fef734b1796ea2170113d660a6ed179d2d1828c7b98506c372941ad7401ddab9f4a35933c3c6b6b082308a2b80fa2635c1d7a4ca6a264a360b7a9ed9dfec73c4a338872245d540ca4a28e8f643a705d7dbeb137f7baca10915991d9ff582abeefa2aca85b10f422e5a3e3a8da23299fb4d0220770dbf15052bb4f823949db2f209750a8160303014d0c0001490300174104106eaf3e1c6ef74030e81596eaa653b6a86c5fb632c081b5abb4af86ea29eebbcef582be8f27c97706cfe5af2b2f6c1cdff1a8da440ac5655a6e32f0454323dc0601010087f5cbac588f425db24105f8277b656333d4150fff17547dea2ddc711743e25e
(4) State =
0x414a6b417351442b414f3576536b30434c6f677571567971763350616e61446e4b68766176673d3d
(4) Proxy-State = 0x313137
(4) server default.etu {
(4) # Executing section post-proxy from file
/etc/freeradius/sites-enabled/default.etu
(4) post-proxy {
(4) if ("%{proxy-reply:Packet-Type}" == "Access-Reject" ){
(4) EXPAND %{proxy-reply:Packet-Type}
(4) --> Access-Challenge
(4) if ("%{proxy-reply:Packet-Type}" == "Access-Reject" ) -> FALSE
(4) } # post-proxy = noop
(4) }
(4) session-state: Saving cached attributes
(4) Calling-Station-Id := "7e8623ae0401"
(4) Called-Station-Id := "a8bd27c5752c"
(4) Called-Station-SSID := "bidb-test"
(4) ETU-Radius-Service-Name := "etu_service_bidb_test_eduroam"
(4) ETU-Outer-User-Name := "test08(a)artvin.edu.tr"
(4) Using Post-Auth-Type Challenge
(4) # Executing group from file /etc/freeradius/sites-enabled/default.etu
(4) Challenge { ... } # empty sub-section is ignored
(4) Sent Access-Challenge Id 117 from 10.88.0.10:1812 to 10.10.243.69:50507
length 694
(4) Message-Authenticator = 0x88fb5ab7dbb8242734f5286eaa6aa3a1
(4) EAP-Message =
0x010602601901205506965200034e766a6f39c94875d01ddd1094e2c0c538a3ee12fc8027d03c185d378acb6b7b89b065bde63201a41c29f91cfc20605ad42527d17fbb658793776fed289a5fa1fdb0cd6d885ff05affcc7830f1bc6ec5e8ad47f3bbe26ca6d3cf4c1512545c07f2624b75bf242421fe4a95f00e7661c5278d446b8fef734b1796ea2170113d660a6ed179d2d1828c7b98506c372941ad7401ddab9f4a35933c3c6b6b082308a2b80fa2635c1d7a4ca6a264a360b7a9ed9dfec73c4a338872245d540ca4a28e8f643a705d7dbeb137f7baca10915991d9ff582abeefa2aca85b10f422e5a3e3a8da23299fb4d0220770dbf15052bb4f823949db2f209750a8160303014d0c0001490300174104106eaf3e1c6ef74030e81596eaa653b6a86c5fb632c081b5abb4af86ea29eebbcef582be8f27c97706cfe5af2b2f6c1cdff1a8da440ac5655a6e32f0454323dc0601010087f5cbac588f425db24105f8277b656333d4150fff17547dea2ddc711743e25e
(4) State =
0x414a6b417351442b414f3576536b30434c6f677571567971763350616e61446e4b68766176673d3d
(4) Finished request
Waking up in 4.7 seconds.
(5) Received Access-Request Id 118 from 10.10.243.69:50507 to
10.88.0.10:1812 length 382
(5) User-Name = "test08(a)artvin.edu.tr"
(5) NAS-IP-Address = 10.10.243.69
(5) NAS-Port = 0
(5) NAS-Identifier = "10.10.243.69"
(5) NAS-Port-Type = Wireless-802.11
(5) Calling-Station-Id = "7e8623ae0401"
(5) Called-Station-Id = "a8bd27c5752c"
(5) Service-Type = Login-User
(5) Framed-MTU = 1100
(5) EAP-Message =
0x02060084190116030300461000004241048079a7f4a60a8433cb6d2315436400d8eab4c80993e103cfe7a2ddbf574549f2d6a212fbe90ef4fc11777976cb9e66a4068aaa304a1092300dd4dd996dcb720714030300010116030300280000000000000000d4887f60ad67b5d1b91f0ea200ed18bc5c928a58b13f20b19a282796262fdba9
(5) State =
0x414a6b417351442b414f3576536b30434c6f677571567971763350616e61446e4b68766176673d3d
(5) Aruba-Essid-Name = "bidb-test"
(5) Aruba-Location-Id = "REKTORLUK_KAT1R_MEHMETRASIMODA"
(5) Aruba-AP-Group = "Rektörlük"
(5) Message-Authenticator = 0xc30601e67af6d63784abb654cf80f06b
(5) Restoring &session-state
(5) &session-state:Calling-Station-Id := "7e8623ae0401"
(5) &session-state:Called-Station-Id := "a8bd27c5752c"
(5) &session-state:Called-Station-SSID := "bidb-test"
(5) &session-state:ETU-Radius-Service-Name :=
"etu_service_bidb_test_eduroam"
(5) &session-state:ETU-Outer-User-Name := "test08(a)artvin.edu.tr"
(5) # Executing section authorize from file
/etc/freeradius/sites-enabled/default.etu
(5) authorize {
(5) policy filter_username {
(5) if (&User-Name) {
(5) if (&User-Name) -> TRUE
(5) if (&User-Name) {
(5) if (&User-Name =~ / /) {
(5) if (&User-Name =~ / /) -> FALSE
(5) if (&User-Name =~ /@[^@]*@/ ) {
(5) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(5) if (&User-Name =~ /\.\./ ) {
(5) if (&User-Name =~ /\.\./ ) -> FALSE
(5) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(5) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) ->
FALSE
(5) if (&User-Name =~ /\.$/) {
(5) if (&User-Name =~ /\.$/) -> FALSE
(5) if (&User-Name =~ /(a)\./) {
(5) if (&User-Name =~ /(a)\./) -> FALSE
(5) } # if (&User-Name) = notfound
(5) } # policy filter_username = notfound
(5) [preprocess] = ok
(5) policy etu_extract_ssid {
(5) if (&Called-Station-Id && (&Called-Station-Id =~
/^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))$/i))
{
(5) if (&Called-Station-Id && (&Called-Station-Id =~
/^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))$/i))
-> FALSE
(5) elsif (&Aruba-Essid-Name) {
(5) elsif (&Aruba-Essid-Name) -> TRUE
(5) elsif (&Aruba-Essid-Name) {
(5) update request {
(5) EXPAND %{Aruba-Essid-Name}
(5) --> bidb-test
(5) &Called-Station-SSID := bidb-test
(5) } # update request = noop
(5) [updated] = updated
(5) } # elsif (&Aruba-Essid-Name) = updated
(5) ... skipping elsif: Preceding "if" was taken
(5) ... skipping else: Preceding "if" was taken
(5) } # policy etu_extract_ssid = updated
(5) policy etu_policy_service_selector {
(5) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name =~
/^.+(a)erzurum\.edu\.tr$/i) ) {
(5) EXPAND %{client:shortname}
(5) --> etu_wifi_rektorluk
(5) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name =~
/^.+(a)erzurum\.edu\.tr$/i) ) -> FALSE
(5) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) {
(5) EXPAND %{client:shortname}
(5) --> etu_wifi_rektorluk
(5) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) -> TRUE
(5) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) {
(5) update request {
(5) &ETU-Radius-Service-Name := "etu_service_bidb_test_eduroam"
(5) } # update request = noop
(5) if (&Virtual-Server == "inner-tunnel.etu") {
(5) EXPAND &Virtual-Server
(5) --> default.etu
(5) if (&Virtual-Server == "inner-tunnel.etu") -> FALSE
(5) [updated] = updated
(5) } # if ( ("%{client:shortname}" == "etu_wifi_rektorluk")
&& (&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) = updated
(5) ... skipping elsif: Preceding "if" was taken
(5) ... skipping elsif: Preceding "if" was taken
(5) ... skipping elsif: Preceding "if" was taken
(5) ... skipping elsif: Preceding "if" was taken
(5) ... skipping elsif: Preceding "if" was taken
(5) ... skipping elsif: Preceding "if" was taken
(5) ... skipping elsif: Preceding "if" was taken
(5) ... skipping elsif: Preceding "if" was taken
(5) ... skipping elsif: Preceding "if" was taken
(5) ... skipping elsif: Preceding "if" was taken
(5) ... skipping elsif: Preceding "if" was taken
(5) ... skipping elsif: Preceding "if" was taken
(5) ... skipping else: Preceding "if" was taken
(5) } # policy etu_policy_service_selector = updated
(5) policy etu_session_state_populate {
(5) if (&Virtual-Server != "inner-tunnel.etu") {
(5) EXPAND &Virtual-Server
(5) --> default.etu
(5) if (&Virtual-Server != "inner-tunnel.etu") -> TRUE
(5) if (&Virtual-Server != "inner-tunnel.etu") {
(5) if (!(&session-state:Calling-Station-Id)) {
(5) if (!(&session-state:Calling-Station-Id)) -> FALSE
(5) if (!(&session-state:Called-Station-Id)) {
(5) if (!(&session-state:Called-Station-Id)) -> FALSE
(5) if (!(&session-state:Called-Station-SSID)) {
(5) if (!(&session-state:Called-Station-SSID)) -> FALSE
(5) if (!(&session-state:ETU-Radius-Service-Name)) {
(5) if (!(&session-state:ETU-Radius-Service-Name)) -> FALSE
(5) if (!(&session-state:ETU-Outer-User-Name)) {
(5) if (!(&session-state:ETU-Outer-User-Name)) -> FALSE
(5) } # if (&Virtual-Server != "inner-tunnel.etu") = updated
(5) } # policy etu_session_state_populate = updated
(5) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test" ) {
(5) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test" ) -> FALSE
(5) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test_eduroam" ) {
(5) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test_eduroam" )
-> TRUE
(5) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test_eduroam" )
{
(5) group {
(5) policy etu_proxy_to_eduroam_trrad {
(5) update control {
(5) Home-Server-Pool = "eduroam_trrrad_pool"
(5) } # update control = noop
(5) [updated] = updated
(5) } # policy etu_proxy_to_eduroam_trrad = updated
(5) } # group = updated
(5) etu_auth_modules { ... } # empty sub-section is ignored
(5) return
(5) } # if ( &ETU-Radius-Service-Name ==
"etu_service_bidb_test_eduroam" ) = updated
(5) } # authorize = updated
(5) Proxying due to Home-Server-Pool = "eduroam_trrrad_pool"
(5) Starting proxy to home server 193.140.83.100 port 1812
(5) server default.etu {
(5) }
(5) Proxying request to home server 193.140.83.100 port 1812 timeout
20.000000
(5) Sent Access-Request Id 186 from 0.0.0.0:49432 to 193.140.83.100:1812
length 393
(5) User-Name = "test08(a)artvin.edu.tr"
(5) NAS-IP-Address = 10.10.243.69
(5) NAS-Port = 0
(5) NAS-Identifier = "10.10.243.69"
(5) NAS-Port-Type = Wireless-802.11
(5) Calling-Station-Id = "7e8623ae0401"
(5) Called-Station-Id = "a8bd27c5752c"
(5) Service-Type = Login-User
(5) Framed-MTU = 1100
(5) EAP-Message =
0x02060084190116030300461000004241048079a7f4a60a8433cb6d2315436400d8eab4c80993e103cfe7a2ddbf574549f2d6a212fbe90ef4fc11777976cb9e66a4068aaa304a1092300dd4dd996dcb720714030300010116030300280000000000000000d4887f60ad67b5d1b91f0ea200ed18bc5c928a58b13f20b19a282796262fdba9
(5) State =
0x414a6b417351442b414f3576536b30434c6f677571567971763350616e61446e4b68766176673d3d
(5) Aruba-Essid-Name = "bidb-test"
(5) Aruba-Location-Id = "REKTORLUK_KAT1R_MEHMETRASIMODA"
(5) Aruba-AP-Group = "Rektörlük"
(5) Message-Authenticator = 0xc30601e67af6d63784abb654cf80f06b
(5) Event-Timestamp = "Dec 24 2024 06:14:06 UTC"
(5) Proxy-State = 0x313138
Waking up in 0.3 seconds.
(5) Clearing existing &reply: attributes
(5) Received Access-Challenge Id 186 from 193.140.83.100:1812 to
10.88.0.10:49432 length 148
(5) Message-Authenticator = 0xaac7c43ac3b3aa592ef027d5f2b66267
(5) EAP-Message =
0x0107003d1981000000331403030001011603030028523415c4b57440d875377c81cd5aabb426c6f531205df1b99a1b9538107ac7c67b46c3ea9e8e3365
(5) State =
0x414751416c41437641414a77536b3043523672515530756d5a706d75627746387453744a53773d3d
(5) Proxy-State = 0x313138
(5) server default.etu {
(5) # Executing section post-proxy from file
/etc/freeradius/sites-enabled/default.etu
(5) post-proxy {
(5) if ("%{proxy-reply:Packet-Type}" == "Access-Reject" ){
(5) EXPAND %{proxy-reply:Packet-Type}
(5) --> Access-Challenge
(5) if ("%{proxy-reply:Packet-Type}" == "Access-Reject" ) -> FALSE
(5) } # post-proxy = noop
(5) }
(5) session-state: Saving cached attributes
(5) Calling-Station-Id := "7e8623ae0401"
(5) Called-Station-Id := "a8bd27c5752c"
(5) Called-Station-SSID := "bidb-test"
(5) ETU-Radius-Service-Name := "etu_service_bidb_test_eduroam"
(5) ETU-Outer-User-Name := "test08(a)artvin.edu.tr"
(5) Using Post-Auth-Type Challenge
(5) # Executing group from file /etc/freeradius/sites-enabled/default.etu
(5) Challenge { ... } # empty sub-section is ignored
(5) Sent Access-Challenge Id 118 from 10.88.0.10:1812 to 10.10.243.69:50507
length 143
(5) Message-Authenticator = 0xaac7c43ac3b3aa592ef027d5f2b66267
(5) EAP-Message =
0x0107003d1981000000331403030001011603030028523415c4b57440d875377c81cd5aabb426c6f531205df1b99a1b9538107ac7c67b46c3ea9e8e3365
(5) State =
0x414751416c41437641414a77536b3043523672515530756d5a706d75627746387453744a53773d3d
(5) Finished request
Waking up in 4.7 seconds.
(6) Received Access-Request Id 119 from 10.10.243.69:50507 to
10.88.0.10:1812 length 256
(6) User-Name = "test08(a)artvin.edu.tr"
(6) NAS-IP-Address = 10.10.243.69
(6) NAS-Port = 0
(6) NAS-Identifier = "10.10.243.69"
(6) NAS-Port-Type = Wireless-802.11
(6) Calling-Station-Id = "7e8623ae0401"
(6) Called-Station-Id = "a8bd27c5752c"
(6) Service-Type = Login-User
(6) Framed-MTU = 1100
(6) EAP-Message = 0x020700061901
(6) State =
0x414751416c41437641414a77536b3043523672515530756d5a706d75627746387453744a53773d3d
(6) Aruba-Essid-Name = "bidb-test"
(6) Aruba-Location-Id = "REKTORLUK_KAT1R_MEHMETRASIMODA"
(6) Aruba-AP-Group = "Rektörlük"
(6) Message-Authenticator = 0xc6a2458f05043e36649bcd9d50b0e010
(6) Restoring &session-state
(6) &session-state:Calling-Station-Id := "7e8623ae0401"
(6) &session-state:Called-Station-Id := "a8bd27c5752c"
(6) &session-state:Called-Station-SSID := "bidb-test"
(6) &session-state:ETU-Radius-Service-Name :=
"etu_service_bidb_test_eduroam"
(6) &session-state:ETU-Outer-User-Name := "test08(a)artvin.edu.tr"
(6) # Executing section authorize from file
/etc/freeradius/sites-enabled/default.etu
(6) authorize {
(6) policy filter_username {
(6) if (&User-Name) {
(6) if (&User-Name) -> TRUE
(6) if (&User-Name) {
(6) if (&User-Name =~ / /) {
(6) if (&User-Name =~ / /) -> FALSE
(6) if (&User-Name =~ /@[^@]*@/ ) {
(6) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(6) if (&User-Name =~ /\.\./ ) {
(6) if (&User-Name =~ /\.\./ ) -> FALSE
(6) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(6) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) ->
FALSE
(6) if (&User-Name =~ /\.$/) {
(6) if (&User-Name =~ /\.$/) -> FALSE
(6) if (&User-Name =~ /(a)\./) {
(6) if (&User-Name =~ /(a)\./) -> FALSE
(6) } # if (&User-Name) = notfound
(6) } # policy filter_username = notfound
(6) [preprocess] = ok
(6) policy etu_extract_ssid {
(6) if (&Called-Station-Id && (&Called-Station-Id =~
/^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))$/i))
{
(6) if (&Called-Station-Id && (&Called-Station-Id =~
/^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))$/i))
-> FALSE
(6) elsif (&Aruba-Essid-Name) {
(6) elsif (&Aruba-Essid-Name) -> TRUE
(6) elsif (&Aruba-Essid-Name) {
(6) update request {
(6) EXPAND %{Aruba-Essid-Name}
(6) --> bidb-test
(6) &Called-Station-SSID := bidb-test
(6) } # update request = noop
(6) [updated] = updated
(6) } # elsif (&Aruba-Essid-Name) = updated
(6) ... skipping elsif: Preceding "if" was taken
(6) ... skipping else: Preceding "if" was taken
(6) } # policy etu_extract_ssid = updated
(6) policy etu_policy_service_selector {
(6) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name =~
/^.+(a)erzurum\.edu\.tr$/i) ) {
(6) EXPAND %{client:shortname}
(6) --> etu_wifi_rektorluk
(6) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name =~
/^.+(a)erzurum\.edu\.tr$/i) ) -> FALSE
(6) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) {
(6) EXPAND %{client:shortname}
(6) --> etu_wifi_rektorluk
(6) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) -> TRUE
(6) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) {
(6) update request {
(6) &ETU-Radius-Service-Name := "etu_service_bidb_test_eduroam"
(6) } # update request = noop
(6) if (&Virtual-Server == "inner-tunnel.etu") {
(6) EXPAND &Virtual-Server
(6) --> default.etu
(6) if (&Virtual-Server == "inner-tunnel.etu") -> FALSE
(6) [updated] = updated
(6) } # if ( ("%{client:shortname}" == "etu_wifi_rektorluk")
&& (&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) = updated
(6) ... skipping elsif: Preceding "if" was taken
(6) ... skipping elsif: Preceding "if" was taken
(6) ... skipping elsif: Preceding "if" was taken
(6) ... skipping elsif: Preceding "if" was taken
(6) ... skipping elsif: Preceding "if" was taken
(6) ... skipping elsif: Preceding "if" was taken
(6) ... skipping elsif: Preceding "if" was taken
(6) ... skipping elsif: Preceding "if" was taken
(6) ... skipping elsif: Preceding "if" was taken
(6) ... skipping elsif: Preceding "if" was taken
(6) ... skipping elsif: Preceding "if" was taken
(6) ... skipping elsif: Preceding "if" was taken
(6) ... skipping else: Preceding "if" was taken
(6) } # policy etu_policy_service_selector = updated
(6) policy etu_session_state_populate {
(6) if (&Virtual-Server != "inner-tunnel.etu") {
(6) EXPAND &Virtual-Server
(6) --> default.etu
(6) if (&Virtual-Server != "inner-tunnel.etu") -> TRUE
(6) if (&Virtual-Server != "inner-tunnel.etu") {
(6) if (!(&session-state:Calling-Station-Id)) {
(6) if (!(&session-state:Calling-Station-Id)) -> FALSE
(6) if (!(&session-state:Called-Station-Id)) {
(6) if (!(&session-state:Called-Station-Id)) -> FALSE
(6) if (!(&session-state:Called-Station-SSID)) {
(6) if (!(&session-state:Called-Station-SSID)) -> FALSE
(6) if (!(&session-state:ETU-Radius-Service-Name)) {
(6) if (!(&session-state:ETU-Radius-Service-Name)) -> FALSE
(6) if (!(&session-state:ETU-Outer-User-Name)) {
(6) if (!(&session-state:ETU-Outer-User-Name)) -> FALSE
(6) } # if (&Virtual-Server != "inner-tunnel.etu") = updated
(6) } # policy etu_session_state_populate = updated
(6) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test" ) {
(6) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test" ) -> FALSE
(6) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test_eduroam" ) {
(6) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test_eduroam" )
-> TRUE
(6) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test_eduroam" )
{
(6) group {
(6) policy etu_proxy_to_eduroam_trrad {
(6) update control {
(6) Home-Server-Pool = "eduroam_trrrad_pool"
(6) } # update control = noop
(6) [updated] = updated
(6) } # policy etu_proxy_to_eduroam_trrad = updated
(6) } # group = updated
(6) etu_auth_modules { ... } # empty sub-section is ignored
(6) return
(6) } # if ( &ETU-Radius-Service-Name ==
"etu_service_bidb_test_eduroam" ) = updated
(6) } # authorize = updated
(6) Proxying due to Home-Server-Pool = "eduroam_trrrad_pool"
(6) Starting proxy to home server 193.140.83.100 port 1812
(6) server default.etu {
(6) }
(6) Proxying request to home server 193.140.83.100 port 1812 timeout
20.000000
(6) Sent Access-Request Id 184 from 0.0.0.0:49432 to 193.140.83.100:1812
length 267
(6) User-Name = "test08(a)artvin.edu.tr"
(6) NAS-IP-Address = 10.10.243.69
(6) NAS-Port = 0
(6) NAS-Identifier = "10.10.243.69"
(6) NAS-Port-Type = Wireless-802.11
(6) Calling-Station-Id = "7e8623ae0401"
(6) Called-Station-Id = "a8bd27c5752c"
(6) Service-Type = Login-User
(6) Framed-MTU = 1100
(6) EAP-Message = 0x020700061901
(6) State =
0x414751416c41437641414a77536b3043523672515530756d5a706d75627746387453744a53773d3d
(6) Aruba-Essid-Name = "bidb-test"
(6) Aruba-Location-Id = "REKTORLUK_KAT1R_MEHMETRASIMODA"
(6) Aruba-AP-Group = "Rektörlük"
(6) Message-Authenticator = 0xc6a2458f05043e36649bcd9d50b0e010
(6) Event-Timestamp = "Dec 24 2024 06:14:06 UTC"
(6) Proxy-State = 0x313139
Waking up in 0.3 seconds.
(6) Clearing existing &reply: attributes
(6) Received Access-Challenge Id 184 from 193.140.83.100:1812 to
10.88.0.10:49432 length 127
(6) Message-Authenticator = 0x78cd5ca47cf7432584122dee26601d6b
(6) EAP-Message =
0x010800281901170303001d523415c4b57440d94bd61f2a9284330698b4680f8cbac64031a647494f
(6) State =
0x414434413967434a414d4e78536b3043672b684c4f364a6d2f44704b735948506568574750513d3d
(6) Proxy-State = 0x313139
(6) server default.etu {
(6) # Executing section post-proxy from file
/etc/freeradius/sites-enabled/default.etu
(6) post-proxy {
(6) if ("%{proxy-reply:Packet-Type}" == "Access-Reject" ){
(6) EXPAND %{proxy-reply:Packet-Type}
(6) --> Access-Challenge
(6) if ("%{proxy-reply:Packet-Type}" == "Access-Reject" ) -> FALSE
(6) } # post-proxy = noop
(6) }
(6) session-state: Saving cached attributes
(6) Calling-Station-Id := "7e8623ae0401"
(6) Called-Station-Id := "a8bd27c5752c"
(6) Called-Station-SSID := "bidb-test"
(6) ETU-Radius-Service-Name := "etu_service_bidb_test_eduroam"
(6) ETU-Outer-User-Name := "test08(a)artvin.edu.tr"
(6) Using Post-Auth-Type Challenge
(6) # Executing group from file /etc/freeradius/sites-enabled/default.etu
(6) Challenge { ... } # empty sub-section is ignored
(6) Sent Access-Challenge Id 119 from 10.88.0.10:1812 to 10.10.243.69:50507
length 122
(6) Message-Authenticator = 0x78cd5ca47cf7432584122dee26601d6b
(6) EAP-Message =
0x010800281901170303001d523415c4b57440d94bd61f2a9284330698b4680f8cbac64031a647494f
(6) State =
0x414434413967434a414d4e78536b3043672b684c4f364a6d2f44704b735948506568574750513d3d
(6) Finished request
Waking up in 4.6 seconds.
(7) Received Access-Request Id 120 from 10.10.243.69:50507 to
10.88.0.10:1812 length 310
(7) User-Name = "test08(a)artvin.edu.tr"
(7) NAS-IP-Address = 10.10.243.69
(7) NAS-Port = 0
(7) NAS-Identifier = "10.10.243.69"
(7) NAS-Port-Type = Wireless-802.11
(7) Calling-Station-Id = "7e8623ae0401"
(7) Called-Station-Id = "a8bd27c5752c"
(7) Service-Type = Login-User
(7) Framed-MTU = 1100
(7) EAP-Message =
0x0208003c19011703030031000000000000000131022bcc5af23b15b2c9b2aa206c16386816b3260591e18ecb3ec6916eea86c8aee4d37f8a5beb999e
(7) State =
0x414434413967434a414d4e78536b3043672b684c4f364a6d2f44704b735948506568574750513d3d
(7) Aruba-Essid-Name = "bidb-test"
(7) Aruba-Location-Id = "REKTORLUK_KAT1R_MEHMETRASIMODA"
(7) Aruba-AP-Group = "Rektörlük"
(7) Message-Authenticator = 0x2724e90a42f763a0c9c93513355ff95f
(7) Restoring &session-state
(7) &session-state:Calling-Station-Id := "7e8623ae0401"
(7) &session-state:Called-Station-Id := "a8bd27c5752c"
(7) &session-state:Called-Station-SSID := "bidb-test"
(7) &session-state:ETU-Radius-Service-Name :=
"etu_service_bidb_test_eduroam"
(7) &session-state:ETU-Outer-User-Name := "test08(a)artvin.edu.tr"
(7) # Executing section authorize from file
/etc/freeradius/sites-enabled/default.etu
(7) authorize {
(7) policy filter_username {
(7) if (&User-Name) {
(7) if (&User-Name) -> TRUE
(7) if (&User-Name) {
(7) if (&User-Name =~ / /) {
(7) if (&User-Name =~ / /) -> FALSE
(7) if (&User-Name =~ /@[^@]*@/ ) {
(7) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(7) if (&User-Name =~ /\.\./ ) {
(7) if (&User-Name =~ /\.\./ ) -> FALSE
(7) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(7) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) ->
FALSE
(7) if (&User-Name =~ /\.$/) {
(7) if (&User-Name =~ /\.$/) -> FALSE
(7) if (&User-Name =~ /(a)\./) {
(7) if (&User-Name =~ /(a)\./) -> FALSE
(7) } # if (&User-Name) = notfound
(7) } # policy filter_username = notfound
(7) [preprocess] = ok
(7) policy etu_extract_ssid {
(7) if (&Called-Station-Id && (&Called-Station-Id =~
/^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))$/i))
{
(7) if (&Called-Station-Id && (&Called-Station-Id =~
/^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))$/i))
-> FALSE
(7) elsif (&Aruba-Essid-Name) {
(7) elsif (&Aruba-Essid-Name) -> TRUE
(7) elsif (&Aruba-Essid-Name) {
(7) update request {
(7) EXPAND %{Aruba-Essid-Name}
(7) --> bidb-test
(7) &Called-Station-SSID := bidb-test
(7) } # update request = noop
(7) [updated] = updated
(7) } # elsif (&Aruba-Essid-Name) = updated
(7) ... skipping elsif: Preceding "if" was taken
(7) ... skipping else: Preceding "if" was taken
(7) } # policy etu_extract_ssid = updated
(7) policy etu_policy_service_selector {
(7) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name =~
/^.+(a)erzurum\.edu\.tr$/i) ) {
(7) EXPAND %{client:shortname}
(7) --> etu_wifi_rektorluk
(7) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name =~
/^.+(a)erzurum\.edu\.tr$/i) ) -> FALSE
(7) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) {
(7) EXPAND %{client:shortname}
(7) --> etu_wifi_rektorluk
(7) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) -> TRUE
(7) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) {
(7) update request {
(7) &ETU-Radius-Service-Name := "etu_service_bidb_test_eduroam"
(7) } # update request = noop
(7) if (&Virtual-Server == "inner-tunnel.etu") {
(7) EXPAND &Virtual-Server
(7) --> default.etu
(7) if (&Virtual-Server == "inner-tunnel.etu") -> FALSE
(7) [updated] = updated
(7) } # if ( ("%{client:shortname}" == "etu_wifi_rektorluk")
&& (&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) = updated
(7) ... skipping elsif: Preceding "if" was taken
(7) ... skipping elsif: Preceding "if" was taken
(7) ... skipping elsif: Preceding "if" was taken
(7) ... skipping elsif: Preceding "if" was taken
(7) ... skipping elsif: Preceding "if" was taken
(7) ... skipping elsif: Preceding "if" was taken
(7) ... skipping elsif: Preceding "if" was taken
(7) ... skipping elsif: Preceding "if" was taken
(7) ... skipping elsif: Preceding "if" was taken
(7) ... skipping elsif: Preceding "if" was taken
(7) ... skipping elsif: Preceding "if" was taken
(7) ... skipping elsif: Preceding "if" was taken
(7) ... skipping else: Preceding "if" was taken
(7) } # policy etu_policy_service_selector = updated
(7) policy etu_session_state_populate {
(7) if (&Virtual-Server != "inner-tunnel.etu") {
(7) EXPAND &Virtual-Server
(7) --> default.etu
(7) if (&Virtual-Server != "inner-tunnel.etu") -> TRUE
(7) if (&Virtual-Server != "inner-tunnel.etu") {
(7) if (!(&session-state:Calling-Station-Id)) {
(7) if (!(&session-state:Calling-Station-Id)) -> FALSE
(7) if (!(&session-state:Called-Station-Id)) {
(7) if (!(&session-state:Called-Station-Id)) -> FALSE
(7) if (!(&session-state:Called-Station-SSID)) {
(7) if (!(&session-state:Called-Station-SSID)) -> FALSE
(7) if (!(&session-state:ETU-Radius-Service-Name)) {
(7) if (!(&session-state:ETU-Radius-Service-Name)) -> FALSE
(7) if (!(&session-state:ETU-Outer-User-Name)) {
(7) if (!(&session-state:ETU-Outer-User-Name)) -> FALSE
(7) } # if (&Virtual-Server != "inner-tunnel.etu") = updated
(7) } # policy etu_session_state_populate = updated
(7) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test" ) {
(7) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test" ) -> FALSE
(7) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test_eduroam" ) {
(7) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test_eduroam" )
-> TRUE
(7) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test_eduroam" )
{
(7) group {
(7) policy etu_proxy_to_eduroam_trrad {
(7) update control {
(7) Home-Server-Pool = "eduroam_trrrad_pool"
(7) } # update control = noop
(7) [updated] = updated
(7) } # policy etu_proxy_to_eduroam_trrad = updated
(7) } # group = updated
(7) etu_auth_modules { ... } # empty sub-section is ignored
(7) return
(7) } # if ( &ETU-Radius-Service-Name ==
"etu_service_bidb_test_eduroam" ) = updated
(7) } # authorize = updated
(7) Proxying due to Home-Server-Pool = "eduroam_trrrad_pool"
(7) Starting proxy to home server 193.140.83.100 port 1812
(7) server default.etu {
(7) }
(7) Proxying request to home server 193.140.83.100 port 1812 timeout
20.000000
(7) Sent Access-Request Id 209 from 0.0.0.0:49432 to 193.140.83.100:1812
length 321
(7) User-Name = "test08(a)artvin.edu.tr"
(7) NAS-IP-Address = 10.10.243.69
(7) NAS-Port = 0
(7) NAS-Identifier = "10.10.243.69"
(7) NAS-Port-Type = Wireless-802.11
(7) Calling-Station-Id = "7e8623ae0401"
(7) Called-Station-Id = "a8bd27c5752c"
(7) Service-Type = Login-User
(7) Framed-MTU = 1100
(7) EAP-Message =
0x0208003c19011703030031000000000000000131022bcc5af23b15b2c9b2aa206c16386816b3260591e18ecb3ec6916eea86c8aee4d37f8a5beb999e
(7) State =
0x414434413967434a414d4e78536b3043672b684c4f364a6d2f44704b735948506568574750513d3d
(7) Aruba-Essid-Name = "bidb-test"
(7) Aruba-Location-Id = "REKTORLUK_KAT1R_MEHMETRASIMODA"
(7) Aruba-AP-Group = "Rektörlük"
(7) Message-Authenticator = 0x2724e90a42f763a0c9c93513355ff95f
(7) Event-Timestamp = "Dec 24 2024 06:14:06 UTC"
(7) Proxy-State = 0x313230
Waking up in 0.3 seconds.
(7) Clearing existing &reply: attributes
(7) Received Access-Challenge Id 209 from 193.140.83.100:1812 to
10.88.0.10:49432 length 168
(7) Message-Authenticator = 0x9a32743d40407b035ecfc0f0ad080dea
(7) EAP-Message =
0x0109005119011703030046523415c4b57440da4ce72a8d062129ea3ec0f02f435f757067200c2775411e4a4f99a7e1abb84d8501e14bd809978f532a06761a62d438ca8fb162e54b79823812fe159690b4
(7) State =
0x414751416d41446d41494a79536b3043716d5033366c485564794b5854652f67533631616e513d3d
(7) Proxy-State = 0x313230
(7) server default.etu {
(7) # Executing section post-proxy from file
/etc/freeradius/sites-enabled/default.etu
(7) post-proxy {
(7) if ("%{proxy-reply:Packet-Type}" == "Access-Reject" ){
(7) EXPAND %{proxy-reply:Packet-Type}
(7) --> Access-Challenge
(7) if ("%{proxy-reply:Packet-Type}" == "Access-Reject" ) -> FALSE
(7) } # post-proxy = noop
(7) }
(7) session-state: Saving cached attributes
(7) Calling-Station-Id := "7e8623ae0401"
(7) Called-Station-Id := "a8bd27c5752c"
(7) Called-Station-SSID := "bidb-test"
(7) ETU-Radius-Service-Name := "etu_service_bidb_test_eduroam"
(7) ETU-Outer-User-Name := "test08(a)artvin.edu.tr"
(7) Using Post-Auth-Type Challenge
(7) # Executing group from file /etc/freeradius/sites-enabled/default.etu
(7) Challenge { ... } # empty sub-section is ignored
(7) Sent Access-Challenge Id 120 from 10.88.0.10:1812 to 10.10.243.69:50507
length 163
(7) Message-Authenticator = 0x9a32743d40407b035ecfc0f0ad080dea
(7) EAP-Message =
0x0109005119011703030046523415c4b57440da4ce72a8d062129ea3ec0f02f435f757067200c2775411e4a4f99a7e1abb84d8501e14bd809978f532a06761a62d438ca8fb162e54b79823812fe159690b4
(7) State =
0x414751416d41446d41494a79536b3043716d5033366c485564794b5854652f67533631616e513d3d
(7) Finished request
Waking up in 4.6 seconds.
(8) Received Access-Request Id 121 from 10.10.243.69:50507 to
10.88.0.10:1812 length 364
(8) User-Name = "test08(a)artvin.edu.tr"
(8) NAS-IP-Address = 10.10.243.69
(8) NAS-Port = 0
(8) NAS-Identifier = "10.10.243.69"
(8) NAS-Port-Type = Wireless-802.11
(8) Calling-Station-Id = "7e8623ae0401"
(8) Called-Station-Id = "a8bd27c5752c"
(8) Service-Type = Login-User
(8) Framed-MTU = 1100
(8) EAP-Message =
0x020900721901170303006700000000000000023435030f1fa96386e17e24bb3b1b1ff1d0946744d376682043871611dba4fbc6089870254bfb6ea52aec1fe93fb1dce6f75e8a82c4f52cf5256b51ea078e2a5a5cfd7df478092b59e51372aa0ac819f4d0981fc12f2fb6d498513b950120ac
(8) State =
0x414751416d41446d41494a79536b3043716d5033366c485564794b5854652f67533631616e513d3d
(8) Aruba-Essid-Name = "bidb-test"
(8) Aruba-Location-Id = "REKTORLUK_KAT1R_MEHMETRASIMODA"
(8) Aruba-AP-Group = "Rektörlük"
(8) Message-Authenticator = 0x0a8b666de49d1dd89e5156060efc053d
(8) Restoring &session-state
(8) &session-state:Calling-Station-Id := "7e8623ae0401"
(8) &session-state:Called-Station-Id := "a8bd27c5752c"
(8) &session-state:Called-Station-SSID := "bidb-test"
(8) &session-state:ETU-Radius-Service-Name :=
"etu_service_bidb_test_eduroam"
(8) &session-state:ETU-Outer-User-Name := "test08(a)artvin.edu.tr"
(8) # Executing section authorize from file
/etc/freeradius/sites-enabled/default.etu
(8) authorize {
(8) policy filter_username {
(8) if (&User-Name) {
(8) if (&User-Name) -> TRUE
(8) if (&User-Name) {
(8) if (&User-Name =~ / /) {
(8) if (&User-Name =~ / /) -> FALSE
(8) if (&User-Name =~ /@[^@]*@/ ) {
(8) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(8) if (&User-Name =~ /\.\./ ) {
(8) if (&User-Name =~ /\.\./ ) -> FALSE
(8) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(8) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) ->
FALSE
(8) if (&User-Name =~ /\.$/) {
(8) if (&User-Name =~ /\.$/) -> FALSE
(8) if (&User-Name =~ /(a)\./) {
(8) if (&User-Name =~ /(a)\./) -> FALSE
(8) } # if (&User-Name) = notfound
(8) } # policy filter_username = notfound
(8) [preprocess] = ok
(8) policy etu_extract_ssid {
(8) if (&Called-Station-Id && (&Called-Station-Id =~
/^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))$/i))
{
(8) if (&Called-Station-Id && (&Called-Station-Id =~
/^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))$/i))
-> FALSE
(8) elsif (&Aruba-Essid-Name) {
(8) elsif (&Aruba-Essid-Name) -> TRUE
(8) elsif (&Aruba-Essid-Name) {
(8) update request {
(8) EXPAND %{Aruba-Essid-Name}
(8) --> bidb-test
(8) &Called-Station-SSID := bidb-test
(8) } # update request = noop
(8) [updated] = updated
(8) } # elsif (&Aruba-Essid-Name) = updated
(8) ... skipping elsif: Preceding "if" was taken
(8) ... skipping else: Preceding "if" was taken
(8) } # policy etu_extract_ssid = updated
(8) policy etu_policy_service_selector {
(8) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name =~
/^.+(a)erzurum\.edu\.tr$/i) ) {
(8) EXPAND %{client:shortname}
(8) --> etu_wifi_rektorluk
(8) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name =~
/^.+(a)erzurum\.edu\.tr$/i) ) -> FALSE
(8) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) {
(8) EXPAND %{client:shortname}
(8) --> etu_wifi_rektorluk
(8) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) -> TRUE
(8) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) {
(8) update request {
(8) &ETU-Radius-Service-Name := "etu_service_bidb_test_eduroam"
(8) } # update request = noop
(8) if (&Virtual-Server == "inner-tunnel.etu") {
(8) EXPAND &Virtual-Server
(8) --> default.etu
(8) if (&Virtual-Server == "inner-tunnel.etu") -> FALSE
(8) [updated] = updated
(8) } # if ( ("%{client:shortname}" == "etu_wifi_rektorluk")
&& (&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) = updated
(8) ... skipping elsif: Preceding "if" was taken
(8) ... skipping elsif: Preceding "if" was taken
(8) ... skipping elsif: Preceding "if" was taken
(8) ... skipping elsif: Preceding "if" was taken
(8) ... skipping elsif: Preceding "if" was taken
(8) ... skipping elsif: Preceding "if" was taken
(8) ... skipping elsif: Preceding "if" was taken
(8) ... skipping elsif: Preceding "if" was taken
(8) ... skipping elsif: Preceding "if" was taken
(8) ... skipping elsif: Preceding "if" was taken
(8) ... skipping elsif: Preceding "if" was taken
(8) ... skipping elsif: Preceding "if" was taken
(8) ... skipping else: Preceding "if" was taken
(8) } # policy etu_policy_service_selector = updated
(8) policy etu_session_state_populate {
(8) if (&Virtual-Server != "inner-tunnel.etu") {
(8) EXPAND &Virtual-Server
(8) --> default.etu
(8) if (&Virtual-Server != "inner-tunnel.etu") -> TRUE
(8) if (&Virtual-Server != "inner-tunnel.etu") {
(8) if (!(&session-state:Calling-Station-Id)) {
(8) if (!(&session-state:Calling-Station-Id)) -> FALSE
(8) if (!(&session-state:Called-Station-Id)) {
(8) if (!(&session-state:Called-Station-Id)) -> FALSE
(8) if (!(&session-state:Called-Station-SSID)) {
(8) if (!(&session-state:Called-Station-SSID)) -> FALSE
(8) if (!(&session-state:ETU-Radius-Service-Name)) {
(8) if (!(&session-state:ETU-Radius-Service-Name)) -> FALSE
(8) if (!(&session-state:ETU-Outer-User-Name)) {
(8) if (!(&session-state:ETU-Outer-User-Name)) -> FALSE
(8) } # if (&Virtual-Server != "inner-tunnel.etu") = updated
(8) } # policy etu_session_state_populate = updated
(8) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test" ) {
(8) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test" ) -> FALSE
(8) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test_eduroam" ) {
(8) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test_eduroam" )
-> TRUE
(8) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test_eduroam" )
{
(8) group {
(8) policy etu_proxy_to_eduroam_trrad {
(8) update control {
(8) Home-Server-Pool = "eduroam_trrrad_pool"
(8) } # update control = noop
(8) [updated] = updated
(8) } # policy etu_proxy_to_eduroam_trrad = updated
(8) } # group = updated
(8) etu_auth_modules { ... } # empty sub-section is ignored
(8) return
(8) } # if ( &ETU-Radius-Service-Name ==
"etu_service_bidb_test_eduroam" ) = updated
(8) } # authorize = updated
(8) Proxying due to Home-Server-Pool = "eduroam_trrrad_pool"
(8) Starting proxy to home server 193.140.83.100 port 1812
(8) server default.etu {
(8) }
(8) Proxying request to home server 193.140.83.100 port 1812 timeout
20.000000
(8) Sent Access-Request Id 199 from 0.0.0.0:49432 to 193.140.83.100:1812
length 375
(8) User-Name = "test08(a)artvin.edu.tr"
(8) NAS-IP-Address = 10.10.243.69
(8) NAS-Port = 0
(8) NAS-Identifier = "10.10.243.69"
(8) NAS-Port-Type = Wireless-802.11
(8) Calling-Station-Id = "7e8623ae0401"
(8) Called-Station-Id = "a8bd27c5752c"
(8) Service-Type = Login-User
(8) Framed-MTU = 1100
(8) EAP-Message =
0x020900721901170303006700000000000000023435030f1fa96386e17e24bb3b1b1ff1d0946744d376682043871611dba4fbc6089870254bfb6ea52aec1fe93fb1dce6f75e8a82c4f52cf5256b51ea078e2a5a5cfd7df478092b59e51372aa0ac819f4d0981fc12f2fb6d498513b950120ac
(8) State =
0x414751416d41446d41494a79536b3043716d5033366c485564794b5854652f67533631616e513d3d
(8) Aruba-Essid-Name = "bidb-test"
(8) Aruba-Location-Id = "REKTORLUK_KAT1R_MEHMETRASIMODA"
(8) Aruba-AP-Group = "Rektörlük"
(8) Message-Authenticator = 0x0a8b666de49d1dd89e5156060efc053d
(8) Event-Timestamp = "Dec 24 2024 06:14:06 UTC"
(8) Proxy-State = 0x313231
Waking up in 0.3 seconds.
(8) Clearing existing &reply: attributes
(8) Received Access-Challenge Id 199 from 193.140.83.100:1812 to
10.88.0.10:49432 length 173
(8) Message-Authenticator = 0xc71cae897bd4e0269f450c7b08b52659
(8) EAP-Message =
0x010a00561901170303004b523415c4b57440dbbc93a53440d436b6d0cddb1fb1f33561ef180e39e56345f76fbe5b7206fa02d20c65bda2b1551e47372dc17b2338fd03d55efca255df3284d385e2f199c4ebca29cc89
(8) State =
0x41434d412b67416f41414e30536b30434352496a384137426a536e79716775626b4a66476a773d3d
(8) Proxy-State = 0x313231
(8) server default.etu {
(8) # Executing section post-proxy from file
/etc/freeradius/sites-enabled/default.etu
(8) post-proxy {
(8) if ("%{proxy-reply:Packet-Type}" == "Access-Reject" ){
(8) EXPAND %{proxy-reply:Packet-Type}
(8) --> Access-Challenge
(8) if ("%{proxy-reply:Packet-Type}" == "Access-Reject" ) -> FALSE
(8) } # post-proxy = noop
(8) }
(8) session-state: Saving cached attributes
(8) Calling-Station-Id := "7e8623ae0401"
(8) Called-Station-Id := "a8bd27c5752c"
(8) Called-Station-SSID := "bidb-test"
(8) ETU-Radius-Service-Name := "etu_service_bidb_test_eduroam"
(8) ETU-Outer-User-Name := "test08(a)artvin.edu.tr"
(8) Using Post-Auth-Type Challenge
(8) # Executing group from file /etc/freeradius/sites-enabled/default.etu
(8) Challenge { ... } # empty sub-section is ignored
(8) Sent Access-Challenge Id 121 from 10.88.0.10:1812 to 10.10.243.69:50507
length 168
(8) Message-Authenticator = 0xc71cae897bd4e0269f450c7b08b52659
(8) EAP-Message =
0x010a00561901170303004b523415c4b57440dbbc93a53440d436b6d0cddb1fb1f33561ef180e39e56345f76fbe5b7206fa02d20c65bda2b1551e47372dc17b2338fd03d55efca255df3284d385e2f199c4ebca29cc89
(8) State =
0x41434d412b67416f41414e30536b30434352496a384137426a536e79716775626b4a66476a773d3d
(8) Finished request
Waking up in 4.5 seconds.
(9) Received Access-Request Id 122 from 10.10.243.69:50507 to
10.88.0.10:1812 length 291
(9) User-Name = "test08(a)artvin.edu.tr"
(9) NAS-IP-Address = 10.10.243.69
(9) NAS-Port = 0
(9) NAS-Identifier = "10.10.243.69"
(9) NAS-Port-Type = Wireless-802.11
(9) Calling-Station-Id = "7e8623ae0401"
(9) Called-Station-Id = "a8bd27c5752c"
(9) Service-Type = Login-User
(9) Framed-MTU = 1100
(9) EAP-Message =
0x020a00291901170303001e00000000000000034d487aa5283e7ba8a9ee2c69db4fb9dda4b05aa9f7a6
(9) State =
0x41434d412b67416f41414e30536b30434352496a384137426a536e79716775626b4a66476a773d3d
(9) Aruba-Essid-Name = "bidb-test"
(9) Aruba-Location-Id = "REKTORLUK_KAT1R_MEHMETRASIMODA"
(9) Aruba-AP-Group = "Rektörlük"
(9) Message-Authenticator = 0xd20c5940437d0f8fed6d116710d0047e
(9) Restoring &session-state
(9) &session-state:Calling-Station-Id := "7e8623ae0401"
(9) &session-state:Called-Station-Id := "a8bd27c5752c"
(9) &session-state:Called-Station-SSID := "bidb-test"
(9) &session-state:ETU-Radius-Service-Name :=
"etu_service_bidb_test_eduroam"
(9) &session-state:ETU-Outer-User-Name := "test08(a)artvin.edu.tr"
(9) # Executing section authorize from file
/etc/freeradius/sites-enabled/default.etu
(9) authorize {
(9) policy filter_username {
(9) if (&User-Name) {
(9) if (&User-Name) -> TRUE
(9) if (&User-Name) {
(9) if (&User-Name =~ / /) {
(9) if (&User-Name =~ / /) -> FALSE
(9) if (&User-Name =~ /@[^@]*@/ ) {
(9) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(9) if (&User-Name =~ /\.\./ ) {
(9) if (&User-Name =~ /\.\./ ) -> FALSE
(9) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(9) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) ->
FALSE
(9) if (&User-Name =~ /\.$/) {
(9) if (&User-Name =~ /\.$/) -> FALSE
(9) if (&User-Name =~ /(a)\./) {
(9) if (&User-Name =~ /(a)\./) -> FALSE
(9) } # if (&User-Name) = notfound
(9) } # policy filter_username = notfound
(9) [preprocess] = ok
(9) policy etu_extract_ssid {
(9) if (&Called-Station-Id && (&Called-Station-Id =~
/^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))$/i))
{
(9) if (&Called-Station-Id && (&Called-Station-Id =~
/^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))$/i))
-> FALSE
(9) elsif (&Aruba-Essid-Name) {
(9) elsif (&Aruba-Essid-Name) -> TRUE
(9) elsif (&Aruba-Essid-Name) {
(9) update request {
(9) EXPAND %{Aruba-Essid-Name}
(9) --> bidb-test
(9) &Called-Station-SSID := bidb-test
(9) } # update request = noop
(9) [updated] = updated
(9) } # elsif (&Aruba-Essid-Name) = updated
(9) ... skipping elsif: Preceding "if" was taken
(9) ... skipping else: Preceding "if" was taken
(9) } # policy etu_extract_ssid = updated
(9) policy etu_policy_service_selector {
(9) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name =~
/^.+(a)erzurum\.edu\.tr$/i) ) {
(9) EXPAND %{client:shortname}
(9) --> etu_wifi_rektorluk
(9) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name =~
/^.+(a)erzurum\.edu\.tr$/i) ) -> FALSE
(9) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) {
(9) EXPAND %{client:shortname}
(9) --> etu_wifi_rektorluk
(9) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) -> TRUE
(9) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) {
(9) update request {
(9) &ETU-Radius-Service-Name := "etu_service_bidb_test_eduroam"
(9) } # update request = noop
(9) if (&Virtual-Server == "inner-tunnel.etu") {
(9) EXPAND &Virtual-Server
(9) --> default.etu
(9) if (&Virtual-Server == "inner-tunnel.etu") -> FALSE
(9) [updated] = updated
(9) } # if ( ("%{client:shortname}" == "etu_wifi_rektorluk")
&& (&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) = updated
(9) ... skipping elsif: Preceding "if" was taken
(9) ... skipping elsif: Preceding "if" was taken
(9) ... skipping elsif: Preceding "if" was taken
(9) ... skipping elsif: Preceding "if" was taken
(9) ... skipping elsif: Preceding "if" was taken
(9) ... skipping elsif: Preceding "if" was taken
(9) ... skipping elsif: Preceding "if" was taken
(9) ... skipping elsif: Preceding "if" was taken
(9) ... skipping elsif: Preceding "if" was taken
(9) ... skipping elsif: Preceding "if" was taken
(9) ... skipping elsif: Preceding "if" was taken
(9) ... skipping elsif: Preceding "if" was taken
(9) ... skipping else: Preceding "if" was taken
(9) } # policy etu_policy_service_selector = updated
(9) policy etu_session_state_populate {
(9) if (&Virtual-Server != "inner-tunnel.etu") {
(9) EXPAND &Virtual-Server
(9) --> default.etu
(9) if (&Virtual-Server != "inner-tunnel.etu") -> TRUE
(9) if (&Virtual-Server != "inner-tunnel.etu") {
(9) if (!(&session-state:Calling-Station-Id)) {
(9) if (!(&session-state:Calling-Station-Id)) -> FALSE
(9) if (!(&session-state:Called-Station-Id)) {
(9) if (!(&session-state:Called-Station-Id)) -> FALSE
(9) if (!(&session-state:Called-Station-SSID)) {
(9) if (!(&session-state:Called-Station-SSID)) -> FALSE
(9) if (!(&session-state:ETU-Radius-Service-Name)) {
(9) if (!(&session-state:ETU-Radius-Service-Name)) -> FALSE
(9) if (!(&session-state:ETU-Outer-User-Name)) {
(9) if (!(&session-state:ETU-Outer-User-Name)) -> FALSE
(9) } # if (&Virtual-Server != "inner-tunnel.etu") = updated
(9) } # policy etu_session_state_populate = updated
(9) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test" ) {
(9) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test" ) -> FALSE
(9) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test_eduroam" ) {
(9) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test_eduroam" )
-> TRUE
(9) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test_eduroam" )
{
(9) group {
(9) policy etu_proxy_to_eduroam_trrad {
(9) update control {
(9) Home-Server-Pool = "eduroam_trrrad_pool"
(9) } # update control = noop
(9) [updated] = updated
(9) } # policy etu_proxy_to_eduroam_trrad = updated
(9) } # group = updated
(9) etu_auth_modules { ... } # empty sub-section is ignored
(9) return
(9) } # if ( &ETU-Radius-Service-Name ==
"etu_service_bidb_test_eduroam" ) = updated
(9) } # authorize = updated
(9) Proxying due to Home-Server-Pool = "eduroam_trrrad_pool"
(9) Starting proxy to home server 193.140.83.100 port 1812
(9) server default.etu {
(9) }
(9) Proxying request to home server 193.140.83.100 port 1812 timeout
20.000000
(9) Sent Access-Request Id 249 from 0.0.0.0:49432 to 193.140.83.100:1812
length 302
(9) User-Name = "test08(a)artvin.edu.tr"
(9) NAS-IP-Address = 10.10.243.69
(9) NAS-Port = 0
(9) NAS-Identifier = "10.10.243.69"
(9) NAS-Port-Type = Wireless-802.11
(9) Calling-Station-Id = "7e8623ae0401"
(9) Called-Station-Id = "a8bd27c5752c"
(9) Service-Type = Login-User
(9) Framed-MTU = 1100
(9) EAP-Message =
0x020a00291901170303001e00000000000000034d487aa5283e7ba8a9ee2c69db4fb9dda4b05aa9f7a6
(9) State =
0x41434d412b67416f41414e30536b30434352496a384137426a536e79716775626b4a66476a773d3d
(9) Aruba-Essid-Name = "bidb-test"
(9) Aruba-Location-Id = "REKTORLUK_KAT1R_MEHMETRASIMODA"
(9) Aruba-AP-Group = "Rektörlük"
(9) Message-Authenticator = 0xd20c5940437d0f8fed6d116710d0047e
(9) Event-Timestamp = "Dec 24 2024 06:14:06 UTC"
(9) Proxy-State = 0x313232
Waking up in 0.3 seconds.
(9) Clearing existing &reply: attributes
(9) Received Access-Challenge Id 249 from 193.140.83.100:1812 to
10.88.0.10:49432 length 133
(9) Message-Authenticator = 0xcc65c8a2f24214535fab887dc067d896
(9) EAP-Message =
0x010b002e19011703030023523415c4b57440dc31661c5ce8d020ad2e80f4346f618aac2276f241e626562b40ad06
(9) State =
0x414e38414567433241497031536b304372686144594c314f394c34384274726b4e5a753273413d3d
(9) Proxy-State = 0x313232
(9) server default.etu {
(9) # Executing section post-proxy from file
/etc/freeradius/sites-enabled/default.etu
(9) post-proxy {
(9) if ("%{proxy-reply:Packet-Type}" == "Access-Reject" ){
(9) EXPAND %{proxy-reply:Packet-Type}
(9) --> Access-Challenge
(9) if ("%{proxy-reply:Packet-Type}" == "Access-Reject" ) -> FALSE
(9) } # post-proxy = noop
(9) }
(9) session-state: Saving cached attributes
(9) Calling-Station-Id := "7e8623ae0401"
(9) Called-Station-Id := "a8bd27c5752c"
(9) Called-Station-SSID := "bidb-test"
(9) ETU-Radius-Service-Name := "etu_service_bidb_test_eduroam"
(9) ETU-Outer-User-Name := "test08(a)artvin.edu.tr"
(9) Using Post-Auth-Type Challenge
(9) # Executing group from file /etc/freeradius/sites-enabled/default.etu
(9) Challenge { ... } # empty sub-section is ignored
(9) Sent Access-Challenge Id 122 from 10.88.0.10:1812 to 10.10.243.69:50507
length 128
(9) Message-Authenticator = 0xcc65c8a2f24214535fab887dc067d896
(9) EAP-Message =
0x010b002e19011703030023523415c4b57440dc31661c5ce8d020ad2e80f4346f618aac2276f241e626562b40ad06
(9) State =
0x414e38414567433241497031536b304372686144594c314f394c34384274726b4e5a753273413d3d
(9) Finished request
Waking up in 4.5 seconds.
(10) Received Access-Request Id 123 from 10.10.243.69:50507 to
10.88.0.10:1812 length 296
(10) User-Name = "test08(a)artvin.edu.tr"
(10) NAS-IP-Address = 10.10.243.69
(10) NAS-Port = 0
(10) NAS-Identifier = "10.10.243.69"
(10) NAS-Port-Type = Wireless-802.11
(10) Calling-Station-Id = "7e8623ae0401"
(10) Called-Station-Id = "a8bd27c5752c"
(10) Service-Type = Login-User
(10) Framed-MTU = 1100
(10) EAP-Message =
0x020b002e1901170303002300000000000000041a44bc16151694944560b2f44528e897698ca7d86b1c16789cbfa7
(10) State =
0x414e38414567433241497031536b304372686144594c314f394c34384274726b4e5a753273413d3d
(10) Aruba-Essid-Name = "bidb-test"
(10) Aruba-Location-Id = "REKTORLUK_KAT1R_MEHMETRASIMODA"
(10) Aruba-AP-Group = "Rektörlük"
(10) Message-Authenticator = 0x7e5959ad67099edbc30c8e02a8dffb43
(10) Restoring &session-state
(10) &session-state:Calling-Station-Id := "7e8623ae0401"
(10) &session-state:Called-Station-Id := "a8bd27c5752c"
(10) &session-state:Called-Station-SSID := "bidb-test"
(10) &session-state:ETU-Radius-Service-Name :=
"etu_service_bidb_test_eduroam"
(10) &session-state:ETU-Outer-User-Name := "test08(a)artvin.edu.tr"
(10) # Executing section authorize from file
/etc/freeradius/sites-enabled/default.etu
(10) authorize {
(10) policy filter_username {
(10) if (&User-Name) {
(10) if (&User-Name) -> TRUE
(10) if (&User-Name) {
(10) if (&User-Name =~ / /) {
(10) if (&User-Name =~ / /) -> FALSE
(10) if (&User-Name =~ /@[^@]*@/ ) {
(10) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(10) if (&User-Name =~ /\.\./ ) {
(10) if (&User-Name =~ /\.\./ ) -> FALSE
(10) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(10) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/))
-> FALSE
(10) if (&User-Name =~ /\.$/) {
(10) if (&User-Name =~ /\.$/) -> FALSE
(10) if (&User-Name =~ /(a)\./) {
(10) if (&User-Name =~ /(a)\./) -> FALSE
(10) } # if (&User-Name) = notfound
(10) } # policy filter_username = notfound
(10) [preprocess] = ok
(10) policy etu_extract_ssid {
(10) if (&Called-Station-Id && (&Called-Station-Id =~
/^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))$/i))
{
(10) if (&Called-Station-Id && (&Called-Station-Id =~
/^([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})[^0-9a-f]?([0-9a-f]{2})([^0-9a-f](.+))$/i))
-> FALSE
(10) elsif (&Aruba-Essid-Name) {
(10) elsif (&Aruba-Essid-Name) -> TRUE
(10) elsif (&Aruba-Essid-Name) {
(10) update request {
(10) EXPAND %{Aruba-Essid-Name}
(10) --> bidb-test
(10) &Called-Station-SSID := bidb-test
(10) } # update request = noop
(10) [updated] = updated
(10) } # elsif (&Aruba-Essid-Name) = updated
(10) ... skipping elsif: Preceding "if" was taken
(10) ... skipping else: Preceding "if" was taken
(10) } # policy etu_extract_ssid = updated
(10) policy etu_policy_service_selector {
(10) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name =~
/^.+(a)erzurum\.edu\.tr$/i) ) {
(10) EXPAND %{client:shortname}
(10) --> etu_wifi_rektorluk
(10) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name =~
/^.+(a)erzurum\.edu\.tr$/i) ) -> FALSE
(10) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) {
(10) EXPAND %{client:shortname}
(10) --> etu_wifi_rektorluk
(10) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) -> TRUE
(10) if ( ("%{client:shortname}" == "etu_wifi_rektorluk") &&
(&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) {
(10) update request {
(10) &ETU-Radius-Service-Name := "etu_service_bidb_test_eduroam"
(10) } # update request = noop
(10) if (&Virtual-Server == "inner-tunnel.etu") {
(10) EXPAND &Virtual-Server
(10) --> default.etu
(10) if (&Virtual-Server == "inner-tunnel.etu") -> FALSE
(10) [updated] = updated
(10) } # if ( ("%{client:shortname}" == "etu_wifi_rektorluk")
&& (&Called-Station-SSID == "bidb-test") && (&User-Name !~
/^.+(a)erzurum\.edu\.tr$/i) ) = updated
(10) ... skipping elsif: Preceding "if" was taken
(10) ... skipping elsif: Preceding "if" was taken
(10) ... skipping elsif: Preceding "if" was taken
(10) ... skipping elsif: Preceding "if" was taken
(10) ... skipping elsif: Preceding "if" was taken
(10) ... skipping elsif: Preceding "if" was taken
(10) ... skipping elsif: Preceding "if" was taken
(10) ... skipping elsif: Preceding "if" was taken
(10) ... skipping elsif: Preceding "if" was taken
(10) ... skipping elsif: Preceding "if" was taken
(10) ... skipping elsif: Preceding "if" was taken
(10) ... skipping elsif: Preceding "if" was taken
(10) ... skipping else: Preceding "if" was taken
(10) } # policy etu_policy_service_selector = updated
(10) policy etu_session_state_populate {
(10) if (&Virtual-Server != "inner-tunnel.etu") {
(10) EXPAND &Virtual-Server
(10) --> default.etu
(10) if (&Virtual-Server != "inner-tunnel.etu") -> TRUE
(10) if (&Virtual-Server != "inner-tunnel.etu") {
(10) if (!(&session-state:Calling-Station-Id)) {
(10) if (!(&session-state:Calling-Station-Id)) -> FALSE
(10) if (!(&session-state:Called-Station-Id)) {
(10) if (!(&session-state:Called-Station-Id)) -> FALSE
(10) if (!(&session-state:Called-Station-SSID)) {
(10) if (!(&session-state:Called-Station-SSID)) -> FALSE
(10) if (!(&session-state:ETU-Radius-Service-Name)) {
(10) if (!(&session-state:ETU-Radius-Service-Name)) -> FALSE
(10) if (!(&session-state:ETU-Outer-User-Name)) {
(10) if (!(&session-state:ETU-Outer-User-Name)) -> FALSE
(10) } # if (&Virtual-Server != "inner-tunnel.etu") = updated
(10) } # policy etu_session_state_populate = updated
(10) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test" ) {
(10) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test" ) ->
FALSE
(10) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test_eduroam" )
{
(10) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test_eduroam" )
-> TRUE
(10) if ( &ETU-Radius-Service-Name == "etu_service_bidb_test_eduroam" )
{
(10) group {
(10) policy etu_proxy_to_eduroam_trrad {
(10) update control {
(10) Home-Server-Pool = "eduroam_trrrad_pool"
(10) } # update control = noop
(10) [updated] = updated
(10) } # policy etu_proxy_to_eduroam_trrad = updated
(10) } # group = updated
(10) etu_auth_modules { ... } # empty sub-section is ignored
(10) return
(10) } # if ( &ETU-Radius-Service-Name ==
"etu_service_bidb_test_eduroam" ) = updated
(10) } # authorize = updated
(10) Proxying due to Home-Server-Pool = "eduroam_trrrad_pool"
(10) Starting proxy to home server 193.140.83.100 port 1812
(10) server default.etu {
(10) }
(10) Proxying request to home server 193.140.83.100 port 1812 timeout
20.000000
(10) Sent Access-Request Id 162 from 0.0.0.0:49432 to 193.140.83.100:1812
length 307
(10) User-Name = "test08(a)artvin.edu.tr"
(10) NAS-IP-Address = 10.10.243.69
(10) NAS-Port = 0
(10) NAS-Identifier = "10.10.243.69"
(10) NAS-Port-Type = Wireless-802.11
(10) Calling-Station-Id = "7e8623ae0401"
(10) Called-Station-Id = "a8bd27c5752c"
(10) Service-Type = Login-User
(10) Framed-MTU = 1100
(10) EAP-Message =
0x020b002e1901170303002300000000000000041a44bc16151694944560b2f44528e897698ca7d86b1c16789cbfa7
(10) State =
0x414e38414567433241497031536b304372686144594c314f394c34384274726b4e5a753273413d3d
(10) Aruba-Essid-Name = "bidb-test"
(10) Aruba-Location-Id = "REKTORLUK_KAT1R_MEHMETRASIMODA"
(10) Aruba-AP-Group = "Rektörlük"
(10) Message-Authenticator = 0x7e5959ad67099edbc30c8e02a8dffb43
(10) Event-Timestamp = "Dec 24 2024 06:14:06 UTC"
(10) Proxy-State = 0x313233
Waking up in 0.3 seconds.
(10) Clearing existing &reply: attributes
(10) Received Access-Accept Id 162 from 193.140.83.100:1812 to
10.88.0.10:49432 length 245
(10) Message-Authenticator = 0x9385aded1da22d5f6f533dfadfba9c9c
(10) MS-MPPE-Recv-Key =
0xff88e7d4c208bc8463110bba631d038923b67c9c7491af2e8f4cbce3789f27bf
(10) MS-MPPE-Send-Key =
0x1343bd646b3147637a027e8771e73900570b0623e1a80563ab2ca13b0d2ddd57
(10) EAP-Message = 0x030b0004
(10) User-Name = "test08(a)artvin.edu.tr"
(10) Class =
0xe4481107c4884866a175696050857992ba0b0000000000005230303566356161622d30312d36373661353265380000000000000000000000
(10) Proxy-State = 0x313233
(10) server default.etu {
(10) # Executing section post-proxy from file
/etc/freeradius/sites-enabled/default.etu
(10) post-proxy {
(10) if ("%{proxy-reply:Packet-Type}" == "Access-Reject" ){
(10) EXPAND %{proxy-reply:Packet-Type}
(10) --> Access-Accept
(10) if ("%{proxy-reply:Packet-Type}" == "Access-Reject" ) -> FALSE
(10) } # post-proxy = noop
(10) }
(10) Found Auth-Type = Accept
(10) Auth-Type = Accept, accepting the user
(10) # Executing section post-auth from file
/etc/freeradius/sites-enabled/default.etu
(10) post-auth {
(10) if (session-state:User-Name && reply:User-Name &&
request:User-Name && (reply:User-Name == request:User-Name)) {
(10) if (session-state:User-Name && reply:User-Name &&
request:User-Name && (reply:User-Name == request:User-Name)) -> FALSE
(10) update {
(10) &reply::Calling-Station-Id +=
&session-state:Calling-Station-Id[*] -> '7e8623ae0401'
(10) &reply::Called-Station-Id += &session-state:Called-Station-Id[*]
-> 'a8bd27c5752c'
(10) &reply::Called-Station-SSID +=
&session-state:Called-Station-SSID[*] -> 'bidb-test'
(10) &reply::ETU-Radius-Service-Name +=
&session-state:ETU-Radius-Service-Name[*] -> 'etu_service_bidb_test_eduroam'
(10) &reply::ETU-Outer-User-Name +=
&session-state:ETU-Outer-User-Name[*] -> 'test08(a)artvin.edu.tr'
(10) } # update = noop
(10) policy insert_acct_class {
(10) update reply {
(10) EXPAND
ai:%{md5:%t,%{Packet-Src-Port},%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}},%{NAS-IP-Address},%{Calling-Station-ID},%{User-Name},%{session-state:User-Name}
}
(10) --> ai:d4600a42f67f9997a9d4ac60e6479048
(10) &Class =
0x61693a6434363030613432663637663939393761396434616336306536343739303438
(10) } # update reply = noop
(10) } # policy insert_acct_class = noop
(10) policy remove_reply_message_if_eap {
(10) if (&reply:EAP-Message && &reply:Reply-Message) {
(10) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE
(10) else {
(10) [noop] = noop
(10) } # else = noop
(10) } # policy remove_reply_message_if_eap = noop
(10) linelog.etu: EXPAND Access-Request.%{%{reply:Packet-Type}:-default}
(10) linelog.etu: --> Access-Request.Access-Accept
(10) linelog.etu: EXPAND Accepted User: [%{User-Name}] inner_username:
[%{session-state:ETU-Inner-User-Name}] event_timestamp: [%T]
calling_station_id: [%{Calling-Station-Id}] called_station_id:
[%{Called-Station-Id}] ssid: [%{Called-Station-SSID}] srcip:
[%{Packet-Src-IP-Address}] nas_name: [%{NAS-Identifier}] client_location:
[%{ETU-Client-Location}] etu_service: [%{ETU-Radius-Service-Name}]
auth_type: [%{control:Auth-Type}] eap_type: [%{EAP-Type}] tls_version:
[%{&session-state:TLS-Session-Version}]
(10) linelog.etu: --> Accepted User: [test08(a)artvin.edu.tr]
inner_username: [] event_timestamp: [2024-12-24-06.14.06.688852]
calling_station_id: [7e8623ae0401] called_station_id: [a8bd27c5752c] ssid:
[bidb-test] srcip: [10.10.243.69] nas_name: [10.10.243.69] client_location:
[] etu_service: [etu_service_bidb_test_eduroam] auth_type: [Accept]
eap_type: [] tls_version: []
(10) linelog.etu: EXPAND /dev/stdout
(10) linelog.etu: --> /dev/stdout
Accepted User: [test08(a)artvin.edu.tr] inner_username: [] event_timestamp:
[2024-12-24-06.14.06.688852] calling_station_id: [7e8623ae0401]
called_station_id: [a8bd27c5752c] ssid: [bidb-test] srcip: [10.10.243.69]
nas_name: [10.10.243.69] client_location: [] etu_service:
[etu_service_bidb_test_eduroam] auth_type: [Accept] eap_type: []
tls_version: []
(10) [linelog.etu] = ok
(10) if (EAP-Key-Name && &reply:EAP-Session-Id) {
(10) if (EAP-Key-Name && &reply:EAP-Session-Id) -> FALSE
(10) } # post-auth = ok
(10) Login OK: [test08(a)artvin.edu.tr] (from client etu_wifi_rektorluk port
0 cli 7e8623ae0401)
(10) Sent Access-Accept Id 123 from 10.88.0.10:1812 to 10.10.243.69:50507
length 268
(10) Message-Authenticator = 0x9385aded1da22d5f6f533dfadfba9c9c
(10) MS-MPPE-Recv-Key =
0xff88e7d4c208bc8463110bba631d038923b67c9c7491af2e8f4cbce3789f27bf
(10) MS-MPPE-Send-Key =
0x1343bd646b3147637a027e8771e73900570b0623e1a80563ab2ca13b0d2ddd57
(10) EAP-Message = 0x030b0004
(10) User-Name = "test08(a)artvin.edu.tr"
(10) Class =
0xe4481107c4884866a175696050857992ba0b0000000000005230303566356161622d30312d36373661353265380000000000000000000000
(10) Calling-Station-Id += "7e8623ae0401"
(10) Called-Station-Id += "a8bd27c5752c"
(10) Finished request
Waking up in 4.4 seconds.
(0) Cleaning up request packet ID 109 with timestamp +11 due to
cleanup_delay was reached
(1) Cleaning up request packet ID 100 with timestamp +11 due to
cleanup_delay was reached
(2) Cleaning up request packet ID 110 with timestamp +11 due to
cleanup_delay was reached
(3) Cleaning up request packet ID 112 with timestamp +11 due to
cleanup_delay was reached
(4) Cleaning up request packet ID 117 with timestamp +11 due to
cleanup_delay was reached
(5) Cleaning up request packet ID 118 with timestamp +11 due to
cleanup_delay was reached
(6) Cleaning up request packet ID 119 with timestamp +11 due to
cleanup_delay was reached
(7) Cleaning up request packet ID 120 with timestamp +11 due to
cleanup_delay was reached
(8) Cleaning up request packet ID 121 with timestamp +11 due to
cleanup_delay was reached
(9) Cleaning up request packet ID 122 with timestamp +11 due to
cleanup_delay was reached
(10) Cleaning up request packet ID 123 with timestamp +11 due to
cleanup_delay was reached
Ready to process requests
2
1
>
>
> Peace, how to configure freeradius to restrict some users from
> connecting to cisco devices say from 8am till 6pm
>
Hi Majed, this is my first post to this mailing list
(I hope I am doing this correctly.)
I suggest looking up the Login-Time attribute
https://www.networkradius.com/doc/current/raddb/mods-available/logintime.ht…
Best regards,
Marc
2
1
Peace, how to configure freeradius to restrict some users from
connecting to cisco devices say from 8am till 6pm
1
0
Hi Team,
We are using FreeRADIUS version 3.0.27. We are experiencing timeouts while clients connect to FreeRADIUS. We have verified that FreeRADIUS (and the pod it is running on) is not overloaded.
This FreeRADIUS server has proxying enabled, meaning it forwards requests to another server. I'm curious if there are any known bugs in version 3.0.27 related to socket/connection management.
Juniper Business Use Only
1
0
On Dec 6, 2024, at 5:09 AM, Martin B. <martinbiniek(a)googlemail.com> wrote:
> >> (5) eap_teap: Deriving EAP-TEAP keys
> >> ASSERT FAILED src/modules/rlm_eap/types/rlm_eap_teap/eap_teap.c[77]: t->received_version > -1
> >
> > Well, that's new. :(
>
> I've pushed a fix for that.
> The error does not occur anymore.
> The server never changes the Identity-Type though and is always requesting Machine over and over again until it receives a Failure result from the client.
...
> (0) eap_teap: Setting &session-state:FreeRADIUS-EAP-TEAP-Identity-Type = Machine
> (0) eap_teap: Followed by &session-state:FreeRADIUS-EAP-TEAP-Identity-Type += Machine
Well that's wrong.
I've pushed a fix.
Alan DeKok.
2
2
Hello,
I am trying to figure out how to compute IP address from a range and
netmask in freeradius v3.
Actually something similar like this expression in v4:
%{eval:%{DHCP-Your-IP-Address} & %{DHCP-Subnet-Mask} + 1}
Thank you.
Ludo
4
7
Hello,
We setup OCSP validation on our FreeRADIUS servers a while back and it
had been working great until yesterday when we started seeing errors like:
Dec 03 14:03:09 radiusd[109894]: (437) eap_tls: ERROR: (TLS) Alert
write:fatal:internal error
Dec 03 14:03:09 radiusd[109894]: (437) eap_tls: ERROR: (TLS) Server :
Error in error
Dec 03 14:03:09 radiusd[109894]: (437) eap_tls: ERROR: (TLS) Failed
reading from OpenSSL
Dec 03 14:03:09 radiusd[109894]: (437) Login incorrect (eap_tls: ocsp:
Couldn't get OCSP response): [HOSTNAME]
We discovered some errors on our Windows OCSP responders due to
configuration certificates expiring and resolved that.
However, even after that Windows machines are unable to authenticate.
Running in debug mode we see:

Certificate chain - 1 cert(s) untrusted
(TLS) untrusted certificate with depth [0] subject name
/CN=staff01.ad.nwra.com
(14) eap_tls: Starting OCSP Request
(14) eap_tls: WARNING: (TLS) ocsp: No OCSP URL in certificate, falling
back to configured URL
(14) eap_tls: ocsp: Using responder URL "http://ocsp.ad.nwra.com:80/ocsp/"
(14) eap_tls: ERROR: ocsp: Couldn't verify OCSP basic response
(14) eap_tls: ERROR: (TLS) ocsp: Certificate has been expired/revoked
(14) eap_tls: (TLS) send TLS 1.2 Alert, fatal internal_error
(14) eap_tls: ERROR: (TLS) Alert write:fatal:internal error
(14) eap_tls: ERROR: (TLS) Server : Error in error
(14) eap_tls: ERROR: (TLS) Failed reading from OpenSSL
(14) eap_tls: ERROR: (TLS) error:13800070:OCSP routines::root ca not trusted
(14) eap_tls: ERROR: (TLS) error:0A000086:SSL routines::certificate
verify failed
(14) eap_tls: ERROR: (TLS) System call (I/O) error (-1)
(14) eap_tls: ERROR: (TLS) EAP Receive handshake failed during operation
(14) eap_tls: ERROR: [eaptls process] = fail
(14) eap: ERROR: Failed continuing EAP TLS (13) session. EAP sub-module
failed
We have 3 certificates in the FreeRADIUS ca_file configuration - an AD
CA cert that is expiring in about 18 months, a new AD CA cert that was
issued in October, and an IPA CA cert - and that's been the case since
the new AD CA cert was issued. That should cover all of the
certificates issued internally, so I don't see why radiusd is
complaining about an untrusted cert.
Running openssl ocsp checks against the Windows ocsp responders work fine.
I'm at a loss. Any ideas, things to check?
ocsp config is simply enable = yes, and specifying the url fallback
shown above.
This is with
freeradius-3.0.20-15.module_el8.10.0+3873+5b7fed0f.x86_64
freeradius-3.0.21-40.el9_4.x86_64
--
Orion Poplawski
he/him/his - surely the least important thing about me
IT Systems Manager 720-772-5637
NWRA, Boulder/CoRA Office FAX: 303-415-9702
3380 Mitchell Lane orion(a)nwra.com
Boulder, CO 80301 https://www.nwra.com/
3
8
I'm seeing the following logs:
"Login incorrect (eap_peap: The user's session was previously rejected; returning reject (again))."
I'm interested in the "again" word at the end of the log.
How does FreeRADIUS know that the user authentication was previously rejected? Is it because FreeRADIUS maintains a state? If so, for how long does FreeRADIUS maintain this state?
Juniper Business Use Only
2
1
Hi FreeRADIUS Development Team,
First, thank you for all the hard work you’ve done on FreeRADIUS. It’s a
critical part of our authentication infrastructure, and we rely on its
flexibility and reliability every day.
We’re moving more of our services to Kubernetes, and we’d love to include
FreeRADIUS in this effort. Deploying it on Kubernetes would allow us to:
• *Scale* FreeRADIUS easily as demand grows.
• *Increase reliability* using Kubernetes features like auto-recovery.
• *Simplify deployments* with tools like Helm.
*Existing Unofficial Helm Chart*
We are aware that an unofficial Helm chart for FreeRADIUS exists, but it is
no longer maintained. While it has been helpful, having an *officially
supported chart* would ensure best practices are followed and would provide
the community with a reliable solution.
*Our Request*
Would it be possible for the FreeRADIUS team to create and maintain an
official Helm chart? An official chart would help many users deploy
FreeRADIUS on Kubernetes more easily and align with modern deployment
practices.
*How We Can Help*
We’d be happy to contribute to this effort by:
• Testing the chart and providing feedback.
• Helping with documentation or maintenance if needed.
We believe this would make FreeRADIUS even more accessible to organizations
moving to Kubernetes. Let us know if this is something you’d consider, or
if there’s already work happening in this area.
Thanks in advance for your time and consideration!
Best regards,
Luca
3
2
>
> I really just suggest avoiding TEAP if at all possible. I don't see how
> the method chaining helps anything. Doing both Machine and User auth is
> pretty pointless when both credentials are cached on the same machine.
> It's not like the user is prompted for an OTP, or some other method which
> proves that the user was present.
> TEAP method change is just using *two* cached credentials instead of
> one. It offers no more security than using one cached credential.
I would like to implement EAP-TEAP because it should (theoretically) be
possible that even if one of the two identities could not get verified
(e.g., because there is no user certificate on the client yet), the server
returns an Access-Accept, and depending on which of the two identities
failed, the client is placed in a specific VLAN.
If a user logs in to a client where only a machine certificate exists, the
RADIUS server could detect this with the help of EAP-TEAP (because the user
certificate does not exist and therefore no EAP-Identity is present) and
the client could be placed in a network where it automatically receives the
required user certificate. After receiving the certificate, a re-auth of
the client would need to be performed so that it can be determined that
both identities have been verified and the client can then access the
internal company network.
I tried to achieve this behavior by adding the custom EAP-TEAP
configuration you provided to my FreeRADIUS and playing with the
configuration a bit, but so far without success. Even if the FreeRADIUS
server receives an "Unknown EAP-Identity" and then sends back an
Access-Accept, the client remains disconnected from the network. Probably
because the client only wants to connect to the network when both the
server and the client have processed a "FreeRADIUS-EAP-TEAP-Result =
Success".
Do you plan on implementing this or is FreeRADIUS already capable of such
behavior?
And also, thank you for your help Alan. I really appreciate that.
2
1
Hi, I'm new in this list. It's my first post. I'll talk you about my
topology, we have seven Ubiquiti UAP, when the users try to connect
freeradius server reject them saying (log below was generated with
freeradius -X):
FreeRADIUS Version 3.0.26
Copyright (C) 1999-2021 The FreeRADIUS server project and contributors
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE
You may redistribute copies of FreeRADIUS under the terms of the
GNU General Public License
For more information about these matters, see the file named COPYRIGHT
Starting - reading configuration files ...
including dictionary file /usr/share/freeradius/dictionary
including dictionary file /usr/share/freeradius/dictionary.dhcp
including dictionary file /usr/share/freeradius/dictionary.vqp
including dictionary file /etc/freeradius/3.0/dictionary
including configuration file /etc/freeradius/3.0/radiusd.conf
including configuration file /etc/freeradius/3.0/proxy.conf
including configuration file /etc/freeradius/3.0/clients.conf
including files in directory /etc/freeradius/3.0/mods-enabled/
including configuration file /etc/freeradius/3.0/mods-enabled/radutmp
including configuration file /etc/freeradius/3.0/mods-enabled/expr
including configuration file /etc/freeradius/3.0/mods-enabled/always
including configuration file /etc/freeradius/3.0/mods-enabled/exec
including configuration file /etc/freeradius/3.0/mods-enabled/detail.log
including configuration file /etc/freeradius/3.0/mods-enabled/files
including configuration file /etc/freeradius/3.0/mods-enabled/detail
including configuration file /etc/freeradius/3.0/mods-enabled/mschap
including configuration file /etc/freeradius/3.0/mods-enabled/digest
including configuration file /etc/freeradius/3.0/mods-enabled/logintime
including configuration file /etc/freeradius/3.0/mods-enabled/preprocess
including configuration file /etc/freeradius/3.0/mods-enabled/linelog
including configuration file /etc/freeradius/3.0/mods-enabled/realm
including configuration file /etc/freeradius/3.0/mods-enabled/attr_filter
including configuration file /etc/freeradius/3.0/mods-enabled/echo
including configuration file /etc/freeradius/3.0/mods-enabled/soh
including configuration file /etc/freeradius/3.0/mods-enabled/cache_eap
including configuration file /etc/freeradius/3.0/mods-enabled/pap
including configuration file /etc/freeradius/3.0/mods-enabled/eap
including configuration file /etc/freeradius/3.0/mods-enabled/passwd
including configuration file /etc/freeradius/3.0/mods-enabled/replicate
including configuration file /etc/freeradius/3.0/mods-enabled/unpack
including configuration file /etc/freeradius/3.0/mods-enabled/chap
including configuration file /etc/freeradius/3.0/mods-enabled/unix
including configuration file /etc/freeradius/3.0/mods-enabled/ntlm_auth
including configuration file
/etc/freeradius/3.0/mods-enabled/dynamic_clients
including configuration file /etc/freeradius/3.0/mods-enabled/expiration
including configuration file /etc/freeradius/3.0/mods-enabled/sradutmp
including configuration file /etc/freeradius/3.0/mods-enabled/utf8
including files in directory /etc/freeradius/3.0/policy.d/
including configuration file /etc/freeradius/3.0/policy.d/cui
including configuration file /etc/freeradius/3.0/policy.d/accounting
including configuration file
/etc/freeradius/3.0/policy.d/moonshot-targeted-ids
including configuration file /etc/freeradius/3.0/policy.d/control
including configuration file /etc/freeradius/3.0/policy.d/operator-name
including configuration file /etc/freeradius/3.0/policy.d/abfab-tr
including configuration file /etc/freeradius/3.0/policy.d/rfc7542
including configuration file /etc/freeradius/3.0/policy.d/dhcp
including configuration file /etc/freeradius/3.0/policy.d/eap
including configuration file /etc/freeradius/3.0/policy.d/filter
including configuration file /etc/freeradius/3.0/policy.d/debug
including configuration file /etc/freeradius/3.0/policy.d/canonicalization
including files in directory /etc/freeradius/3.0/sites-enabled/
including configuration file /etc/freeradius/3.0/sites-enabled/inner-tunnel
including configuration file /etc/freeradius/3.0/sites-enabled/default
main {
security {
user = "freerad"
group = "freerad"
allow_core_dumps = no
}
name = "freeradius"
prefix = "/usr"
localstatedir = "/var"
logdir = "/var/log/freeradius"
run_dir = "/var/run/freeradius"
}
main {
name = "freeradius"
prefix = "/usr"
localstatedir = "/var"
sbindir = "/usr/sbin"
logdir = "/var/log/freeradius"
run_dir = "/var/run/freeradius"
libdir = "/usr/lib/freeradius"
radacctdir = "/var/log/freeradius/radacct"
hostname_lookups = no
max_request_time = 30
cleanup_delay = 5
max_requests = 16384
postauth_client_lost = no
pidfile = "/var/run/freeradius/freeradius.pid"
checkrad = "/usr/sbin/checkrad"
debug_level = 0
proxy_requests = yes
log {
stripped_names = no
auth = no
auth_badpass = no
auth_goodpass = no
colourise = yes
msg_denied = "You are already logged in - access denied"
}
resources {
}
security {
max_attributes = 200
reject_delay = 1.000000
status_server = yes
require_message_authenticator = "auto"
limit_proxy_state = "auto"
}
}
radiusd: #### Loading Realms and Home Servers ####
proxy server {
retry_delay = 5
retry_count = 3
default_fallback = no
dead_time = 120
wake_all_if_all_dead = no
}
home_server localhost {
ipaddr = 127.0.0.1
port = 1812
type = "auth"
secret = <<< secret >>>
response_window = 20.000000
response_timeouts = 1
max_outstanding = 65536
zombie_period = 40
status_check = "status-server"
ping_interval = 30
check_interval = 30
check_timeout = 4
num_answers_to_alive = 3
revive_interval = 120
limit {
max_connections = 16
max_requests = 0
lifetime = 0
idle_timeout = 0
}
coa {
irt = 2
mrt = 16
mrc = 5
mrd = 30
}
}
home_server_pool my_auth_failover {
type = fail-over
home_server = localhost
}
realm example.com {
auth_pool = my_auth_failover
}
realm LOCAL {
}
radiusd: #### Loading Clients ####
client localhost {
ipaddr = 127.0.0.1
require_message_authenticator = "yes"
secret = <<< secret >>>
nas_type = "other"
proto = "*"
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client localhost_ipv6 {
ipv6addr = ::1
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client UAP-SOPORTE {
ipaddr = 192.168.1.9
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client MIKROTIK {
ipaddr = 192.168.1.1
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client VPRO-IN04 {
ipaddr = 192.168.1.130
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client VPRO-IN03 {
ipaddr = 10.7.22.130
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
Debugger not attached
systemd watchdog is disabled
# Creating Auth-Type = mschap
# Creating Auth-Type = eap
# Creating Auth-Type = PAP
# Creating Auth-Type = CHAP
# Creating Auth-Type = MS-CHAP
# Creating Auth-Type = digest
# Creating Autz-Type = New-TLS-Connection
radiusd: #### Instantiating modules ####
modules {
# Loaded module rlm_radutmp
# Loading module "radutmp" from file
/etc/freeradius/3.0/mods-enabled/radutmp
radutmp {
filename = "/var/log/freeradius/radutmp"
username = "%{User-Name}"
case_sensitive = yes
check_with_nas = yes
permissions = 384
caller_id = yes
}
# Loaded module rlm_expr
# Loading module "expr" from file /etc/freeradius/3.0/mods-enabled/expr
expr {
safe_characters =
"@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_:
/äéöüàâæçèéêëîïôœùûüaÿÄÉÖÜßÀÂÆÇÈÉÊËÎÏÔŒÙÛÜŸ"
}
# Loaded module rlm_always
# Loading module "reject" from file
/etc/freeradius/3.0/mods-enabled/always
always reject {
rcode = "reject"
simulcount = 0
mpp = no
}
# Loading module "fail" from file /etc/freeradius/3.0/mods-enabled/always
always fail {
rcode = "fail"
simulcount = 0
mpp = no
}
# Loading module "ok" from file /etc/freeradius/3.0/mods-enabled/always
always ok {
rcode = "ok"
simulcount = 0
mpp = no
}
# Loading module "handled" from file
/etc/freeradius/3.0/mods-enabled/always
always handled {
rcode = "handled"
simulcount = 0
mpp = no
}
# Loading module "invalid" from file
/etc/freeradius/3.0/mods-enabled/always
always invalid {
rcode = "invalid"
simulcount = 0
mpp = no
}
# Loading module "userlock" from file
/etc/freeradius/3.0/mods-enabled/always
always userlock {
rcode = "userlock"
simulcount = 0
mpp = no
}
# Loading module "notfound" from file
/etc/freeradius/3.0/mods-enabled/always
always notfound {
rcode = "notfound"
simulcount = 0
mpp = no
}
# Loading module "noop" from file /etc/freeradius/3.0/mods-enabled/always
always noop {
rcode = "noop"
simulcount = 0
mpp = no
}
# Loading module "updated" from file
/etc/freeradius/3.0/mods-enabled/always
always updated {
rcode = "updated"
simulcount = 0
mpp = no
}
# Loaded module rlm_exec
# Loading module "exec" from file /etc/freeradius/3.0/mods-enabled/exec
exec {
wait = no
input_pairs = "request"
shell_escape = yes
timeout = 10
}
# Loaded module rlm_detail
# Loading module "auth_log" from file
/etc/freeradius/3.0/mods-enabled/detail.log
detail auth_log {
filename =
"/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
escape_filenames = no
log_packet_header = no
}
# Loading module "reply_log" from file
/etc/freeradius/3.0/mods-enabled/detail.log
detail reply_log {
filename =
"/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/reply-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
escape_filenames = no
log_packet_header = no
}
# Loading module "pre_proxy_log" from file
/etc/freeradius/3.0/mods-enabled/detail.log
detail pre_proxy_log {
filename =
"/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/pre-proxy-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
escape_filenames = no
log_packet_header = no
}
# Loading module "post_proxy_log" from file
/etc/freeradius/3.0/mods-enabled/detail.log
detail post_proxy_log {
filename =
"/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/post-proxy-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
escape_filenames = no
log_packet_header = no
}
# Loaded module rlm_files
# Loading module "files" from file /etc/freeradius/3.0/mods-enabled/files
files {
filename = "/etc/freeradius/3.0/mods-config/files/authorize"
acctusersfile = "/etc/freeradius/3.0/mods-config/files/accounting"
preproxy_usersfile =
"/etc/freeradius/3.0/mods-config/files/pre-proxy"
}
# Loading module "detail" from file
/etc/freeradius/3.0/mods-enabled/detail
detail {
filename =
"/var/log/freeradius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
escape_filenames = no
log_packet_header = no
}
# Loaded module rlm_mschap
# Loading module "mschap" from file
/etc/freeradius/3.0/mods-enabled/mschap
mschap {
use_mppe = yes
require_encryption = no
require_strong = no
with_ntdomain_hack = yes
passchange {
}
allow_retry = yes
winbind_retry_with_normalised_username = no
}
# Loaded module rlm_digest
# Loading module "digest" from file
/etc/freeradius/3.0/mods-enabled/digest
# Loaded module rlm_logintime
# Loading module "logintime" from file
/etc/freeradius/3.0/mods-enabled/logintime
logintime {
minimum_timeout = 60
}
# Loaded module rlm_preprocess
# Loading module "preprocess" from file
/etc/freeradius/3.0/mods-enabled/preprocess
preprocess {
huntgroups = "/etc/freeradius/3.0/mods-config/preprocess/huntgroups"
hints = "/etc/freeradius/3.0/mods-config/preprocess/hints"
with_ascend_hack = no
ascend_channels_per_line = 23
with_ntdomain_hack = no
with_specialix_jetstream_hack = no
with_cisco_vsa_hack = no
with_alvarion_vsa_hack = no
}
# Loaded module rlm_linelog
# Loading module "linelog" from file
/etc/freeradius/3.0/mods-enabled/linelog
linelog {
filename = "/var/log/freeradius/linelog"
escape_filenames = no
syslog_severity = "info"
permissions = 384
format = "This is a log message for %{User-Name}"
reference = "messages.%{%{reply:Packet-Type}:-default}"
}
# Loading module "log_accounting" from file
/etc/freeradius/3.0/mods-enabled/linelog
linelog log_accounting {
filename = "/var/log/freeradius/linelog-accounting"
escape_filenames = no
syslog_severity = "info"
permissions = 384
format = ""
reference = "Accounting-Request.%{%{Acct-Status-Type}:-unknown}"
}
# Loaded module rlm_realm
# Loading module "IPASS" from file /etc/freeradius/3.0/mods-enabled/realm
realm IPASS {
format = "prefix"
delimiter = "/"
ignore_default = no
ignore_null = no
}
# Loading module "suffix" from file
/etc/freeradius/3.0/mods-enabled/realm
realm suffix {
format = "suffix"
delimiter = "@"
ignore_default = no
ignore_null = no
}
# Loading module "bangpath" from file
/etc/freeradius/3.0/mods-enabled/realm
realm bangpath {
format = "prefix"
delimiter = "!"
ignore_default = no
ignore_null = no
}
# Loading module "realmpercent" from file
/etc/freeradius/3.0/mods-enabled/realm
realm realmpercent {
format = "suffix"
delimiter = "%"
ignore_default = no
ignore_null = no
}
# Loading module "ntdomain" from file
/etc/freeradius/3.0/mods-enabled/realm
realm ntdomain {
format = "prefix"
delimiter = "\\"
ignore_default = no
ignore_null = no
}
# Loaded module rlm_attr_filter
# Loading module "attr_filter.post-proxy" from file
/etc/freeradius/3.0/mods-enabled/attr_filter
attr_filter attr_filter.post-proxy {
filename = "/etc/freeradius/3.0/mods-config/attr_filter/post-proxy"
key = "%{Realm}"
relaxed = no
}
# Loading module "attr_filter.pre-proxy" from file
/etc/freeradius/3.0/mods-enabled/attr_filter
attr_filter attr_filter.pre-proxy {
filename = "/etc/freeradius/3.0/mods-config/attr_filter/pre-proxy"
key = "%{Realm}"
relaxed = no
}
# Loading module "attr_filter.access_reject" from file
/etc/freeradius/3.0/mods-enabled/attr_filter
attr_filter attr_filter.access_reject {
filename =
"/etc/freeradius/3.0/mods-config/attr_filter/access_reject"
key = "%{User-Name}"
relaxed = no
}
# Loading module "attr_filter.access_challenge" from file
/etc/freeradius/3.0/mods-enabled/attr_filter
attr_filter attr_filter.access_challenge {
filename =
"/etc/freeradius/3.0/mods-config/attr_filter/access_challenge"
key = "%{User-Name}"
relaxed = no
}
# Loading module "attr_filter.accounting_response" from file
/etc/freeradius/3.0/mods-enabled/attr_filter
attr_filter attr_filter.accounting_response {
filename =
"/etc/freeradius/3.0/mods-config/attr_filter/accounting_response"
key = "%{User-Name}"
relaxed = no
}
# Loading module "attr_filter.coa" from file
/etc/freeradius/3.0/mods-enabled/attr_filter
attr_filter attr_filter.coa {
filename = "/etc/freeradius/3.0/mods-config/attr_filter/coa"
key = "%{User-Name}"
relaxed = no
}
# Loading module "echo" from file /etc/freeradius/3.0/mods-enabled/echo
exec echo {
wait = yes
program = "/bin/echo %{User-Name}"
input_pairs = "request"
output_pairs = "reply"
shell_escape = yes
}
# Loaded module rlm_soh
# Loading module "soh" from file /etc/freeradius/3.0/mods-enabled/soh
soh {
dhcp = yes
}
# Loaded module rlm_cache
# Loading module "cache_eap" from file
/etc/freeradius/3.0/mods-enabled/cache_eap
cache cache_eap {
driver = "rlm_cache_rbtree"
key = "%{%{control:State}:-%{%{reply:State}:-%{State}}}"
ttl = 15
max_entries = 0
epoch = 0
add_stats = no
}
# Loaded module rlm_pap
# Loading module "pap" from file /etc/freeradius/3.0/mods-enabled/pap
pap {
normalise = yes
}
# Loaded module rlm_eap
# Loading module "eap" from file /etc/freeradius/3.0/mods-enabled/eap
eap {
default_eap_type = "md5"
timer_expire = 60
ignore_unknown_eap_types = no
cisco_accounting_username_bug = no
max_sessions = 16384
}
# Loaded module rlm_passwd
# Loading module "etc_passwd" from file
/etc/freeradius/3.0/mods-enabled/passwd
passwd etc_passwd {
filename = "/etc/passwd"
format = "*User-Name:Crypt-Password:"
delimiter = ":"
ignore_nislike = no
ignore_empty = yes
allow_multiple_keys = no
hash_size = 100
}
# Loaded module rlm_replicate
# Loading module "replicate" from file
/etc/freeradius/3.0/mods-enabled/replicate
# Loaded module rlm_unpack
# Loading module "unpack" from file
/etc/freeradius/3.0/mods-enabled/unpack
# Loaded module rlm_chap
# Loading module "chap" from file /etc/freeradius/3.0/mods-enabled/chap
# Loaded module rlm_unix
# Loading module "unix" from file /etc/freeradius/3.0/mods-enabled/unix
unix {
radwtmp = "/var/log/freeradius/radwtmp"
}
Creating attribute Unix-Group
# Loading module "ntlm_auth" from file
/etc/freeradius/3.0/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_dynamic_clients
# Loading module "dynamic_clients" from file
/etc/freeradius/3.0/mods-enabled/dynamic_clients
# Loaded module rlm_expiration
# Loading module "expiration" from file
/etc/freeradius/3.0/mods-enabled/expiration
# Loading module "sradutmp" from file
/etc/freeradius/3.0/mods-enabled/sradutmp
radutmp sradutmp {
filename = "/var/log/freeradius/sradutmp"
username = "%{User-Name}"
case_sensitive = yes
check_with_nas = yes
permissions = 420
caller_id = no
}
# Loaded module rlm_utf8
# Loading module "utf8" from file /etc/freeradius/3.0/mods-enabled/utf8
instantiate {
}
# Instantiating module "reject" from file
/etc/freeradius/3.0/mods-enabled/always
# Instantiating module "fail" from file
/etc/freeradius/3.0/mods-enabled/always
# Instantiating module "ok" from file
/etc/freeradius/3.0/mods-enabled/always
# Instantiating module "handled" from file
/etc/freeradius/3.0/mods-enabled/always
# Instantiating module "invalid" from file
/etc/freeradius/3.0/mods-enabled/always
# Instantiating module "userlock" from file
/etc/freeradius/3.0/mods-enabled/always
# Instantiating module "notfound" from file
/etc/freeradius/3.0/mods-enabled/always
# Instantiating module "noop" from file
/etc/freeradius/3.0/mods-enabled/always
# Instantiating module "updated" from file
/etc/freeradius/3.0/mods-enabled/always
# Instantiating module "auth_log" from file
/etc/freeradius/3.0/mods-enabled/detail.log
rlm_detail (auth_log): 'User-Password' suppressed, will not appear in
detail output
# Instantiating module "reply_log" from file
/etc/freeradius/3.0/mods-enabled/detail.log
# Instantiating module "pre_proxy_log" from file
/etc/freeradius/3.0/mods-enabled/detail.log
# Instantiating module "post_proxy_log" from file
/etc/freeradius/3.0/mods-enabled/detail.log
# Instantiating module "files" from file
/etc/freeradius/3.0/mods-enabled/files
reading pairlist file /etc/freeradius/3.0/mods-config/files/authorize
reading pairlist file /etc/freeradius/3.0/mods-config/files/accounting
reading pairlist file /etc/freeradius/3.0/mods-config/files/pre-proxy
# Instantiating module "detail" from file
/etc/freeradius/3.0/mods-enabled/detail
# Instantiating module "mschap" from file
/etc/freeradius/3.0/mods-enabled/mschap
rlm_mschap (mschap): using internal authentication
# Instantiating module "logintime" from file
/etc/freeradius/3.0/mods-enabled/logintime
# Instantiating module "preprocess" from file
/etc/freeradius/3.0/mods-enabled/preprocess
reading pairlist file /etc/freeradius/3.0/mods-config/preprocess/huntgroups
reading pairlist file /etc/freeradius/3.0/mods-config/preprocess/hints
# Instantiating module "linelog" from file
/etc/freeradius/3.0/mods-enabled/linelog
# Instantiating module "log_accounting" from file
/etc/freeradius/3.0/mods-enabled/linelog
# Instantiating module "IPASS" from file
/etc/freeradius/3.0/mods-enabled/realm
# Instantiating module "suffix" from file
/etc/freeradius/3.0/mods-enabled/realm
# Instantiating module "bangpath" from file
/etc/freeradius/3.0/mods-enabled/realm
# Instantiating module "realmpercent" from file
/etc/freeradius/3.0/mods-enabled/realm
# Instantiating module "ntdomain" from file
/etc/freeradius/3.0/mods-enabled/realm
# Instantiating module "attr_filter.post-proxy" from file
/etc/freeradius/3.0/mods-enabled/attr_filter
reading pairlist file /etc/freeradius/3.0/mods-config/attr_filter/post-proxy
# Instantiating module "attr_filter.pre-proxy" from file
/etc/freeradius/3.0/mods-enabled/attr_filter
reading pairlist file /etc/freeradius/3.0/mods-config/attr_filter/pre-proxy
# Instantiating module "attr_filter.access_reject" from file
/etc/freeradius/3.0/mods-enabled/attr_filter
reading pairlist file
/etc/freeradius/3.0/mods-config/attr_filter/access_reject
# Instantiating module "attr_filter.access_challenge" from file
/etc/freeradius/3.0/mods-enabled/attr_filter
reading pairlist file
/etc/freeradius/3.0/mods-config/attr_filter/access_challenge
# Instantiating module "attr_filter.accounting_response" from file
/etc/freeradius/3.0/mods-enabled/attr_filter
reading pairlist file
/etc/freeradius/3.0/mods-config/attr_filter/accounting_response
# Instantiating module "attr_filter.coa" from file
/etc/freeradius/3.0/mods-enabled/attr_filter
reading pairlist file /etc/freeradius/3.0/mods-config/attr_filter/coa
# Instantiating module "cache_eap" from file
/etc/freeradius/3.0/mods-enabled/cache_eap
rlm_cache (cache_eap): Driver rlm_cache_rbtree (module rlm_cache_rbtree)
loaded and linked
# Instantiating module "pap" from file
/etc/freeradius/3.0/mods-enabled/pap
# Instantiating module "eap" from file
/etc/freeradius/3.0/mods-enabled/eap
# Linked to sub-module rlm_eap_md5
# Linked to sub-module rlm_eap_gtc
gtc {
challenge = "Password: "
auth_type = "PAP"
}
# Linked to sub-module rlm_eap_tls
tls {
tls = "tls-common"
}
tls-config tls-common {
verify_depth = 0
ca_path = "/etc/freeradius/3.0/certs"
pem_file_type = yes
private_key_file = "/etc/ssl/private/ssl-cert-snakeoil.key"
certificate_file = "/etc/ssl/certs/ssl-cert-snakeoil.pem"
ca_file = "/etc/ssl/certs/ca-certificates.crt"
private_key_password = <<< secret >>>
fragment_size = 1024
include_length = yes
auto_chain = yes
check_crl = no
check_all_crl = no
ca_path_reload_interval = 0
cipher_list = "DEFAULT"
cipher_server_preference = no
reject_unknown_intermediate_ca = no
ecdh_curve = ""
tls_max_version = "1.2"
tls_min_version = "1.2"
cache {
enable = no
lifetime = 24
max_entries = 255
}
verify {
skip_if_ocsp_ok = no
}
ocsp {
enable = no
override_cert_url = yes
url = "http://127.0.0.1/ocsp/"
use_nonce = yes
timeout = 0
softfail = no
}
}
# Linked to sub-module rlm_eap_ttls
ttls {
tls = "tls-common"
default_eap_type = "md5"
copy_request_to_tunnel = no
use_tunneled_reply = no
virtual_server = "inner-tunnel"
include_length = yes
require_client_cert = no
}
tls: Using cached TLS configuration from previous invocation
# Linked to sub-module rlm_eap_peap
peap {
tls = "tls-common"
default_eap_type = "mschapv2"
copy_request_to_tunnel = no
use_tunneled_reply = no
proxy_tunneled_request_as_eap = yes
virtual_server = "inner-tunnel"
soh = no
require_client_cert = no
}
tls: Using cached TLS configuration from previous invocation
# Linked to sub-module rlm_eap_mschapv2
mschapv2 {
with_ntdomain_hack = no
send_error = no
}
# Instantiating module "etc_passwd" from file
/etc/freeradius/3.0/mods-enabled/passwd
rlm_passwd: nfields: 3 keyfield 0(User-Name) listable: no
# Instantiating module "expiration" from file
/etc/freeradius/3.0/mods-enabled/expiration
} # modules
radiusd: #### Loading Virtual Servers ####
server { # from file /etc/freeradius/3.0/radiusd.conf
} # server
server inner-tunnel { # from file
/etc/freeradius/3.0/sites-enabled/inner-tunnel
# Loading authenticate {...}
Compiling Auth-Type PAP for attr Auth-Type
Compiling Auth-Type CHAP for attr Auth-Type
Compiling Auth-Type MS-CHAP for attr Auth-Type
# Loading authorize {...}
Ignoring "sql" (see raddb/mods-available/README.rst)
Ignoring "ldap" (see raddb/mods-available/README.rst)
# Loading session {...}
# Loading post-proxy {...}
# Loading post-auth {...}
# Skipping contents of 'if' as it is always 'false' --
/etc/freeradius/3.0/sites-enabled/inner-tunnel:336
Compiling Post-Auth-Type REJECT for attr Post-Auth-Type
} # server inner-tunnel
server default { # from file /etc/freeradius/3.0/sites-enabled/default
# Loading authenticate {...}
Compiling Auth-Type PAP for attr Auth-Type
Compiling Auth-Type CHAP for attr Auth-Type
Compiling Auth-Type MS-CHAP for attr Auth-Type
# Loading authorize {...}
Compiling Autz-Type New-TLS-Connection for attr Autz-Type
# Loading preacct {...}
# Loading accounting {...}
# Loading post-proxy {...}
# Loading post-auth {...}
Compiling Post-Auth-Type REJECT for attr Post-Auth-Type
Compiling Post-Auth-Type Challenge for attr Post-Auth-Type
Compiling Post-Auth-Type Client-Lost for attr Post-Auth-Type
} # server default
radiusd: #### Opening IP addresses and Ports ####
listen {
type = "auth"
ipaddr = 127.0.0.1
port = 18120
}
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
}
}
Listening on auth address 127.0.0.1 port 18120 bound to server inner-tunnel
Listening on auth address * port 1812 bound to server default
Listening on acct address * port 1813 bound to server default
Listening on auth address :: port 1812 bound to server default
Listening on acct address :: port 1813 bound to server default
Listening on proxy address * port 41379
Listening on proxy address :: port 34068
Ready to process requests
(0) Received Access-Request Id 15 from 192.168.1.9:45962 to
192.168.1.21:1812 length 218
(0) User-Name = "fede"
(0) NAS-IP-Address = 192.168.1.9
(0) NAS-Identifier = "824558273779"
(0) Called-Station-Id = "82-45-58-27-37-79:SupportMI"
(0) NAS-Port-Type = Wireless-802.11
(0) Service-Type = Framed-User
(0) Calling-Station-Id = "F6-AB-4A-A1-50-C4"
(0) Connect-Info = "CONNECT 0Mbps 802.11b"
(0) Acct-Session-Id = "C3485432ACC81F53"
(0) Acct-Multi-Session-Id = "E1E1FB4011820C8F"
(0) WLAN-Pairwise-Cipher = 1027076
(0) WLAN-Group-Cipher = 1027076
(0) WLAN-AKM-Suite = 1027073
(0) Framed-MTU = 1400
(0) EAP-Message = 0x021600090166656465
(0) Message-Authenticator = 0x4ae5f25de792e6b849d58db4d6f84a6b
(0) # Executing section authorize from file
/etc/freeradius/3.0/sites-enabled/default
(0) authorize {
(0) policy filter_username {
(0) if (&User-Name) {
(0) if (&User-Name) -> TRUE
(0) if (&User-Name) {
(0) if (&User-Name =~ / /) {
(0) if (&User-Name =~ / /) -> FALSE
(0) if (&User-Name =~ /@[^@]*@/ ) {
(0) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(0) if (&User-Name =~ /\.\./ ) {
(0) if (&User-Name =~ /\.\./ ) -> FALSE
(0) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(0) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/))
-> FALSE
(0) if (&User-Name =~ /\.$/) {
(0) if (&User-Name =~ /\.$/) -> FALSE
(0) if (&User-Name =~ /(a)\./) {
(0) if (&User-Name =~ /(a)\./) -> FALSE
(0) } # if (&User-Name) = notfound
(0) } # policy filter_username = notfound
(0) [preprocess] = ok
(0) [chap] = noop
(0) [mschap] = noop
(0) [digest] = noop
(0) suffix: Checking for suffix after "@"
(0) suffix: No '@' in User-Name = "fede", looking up realm NULL
(0) suffix: No such realm "NULL"
(0) [suffix] = noop
(0) eap: Peer sent EAP Response (code 2) ID 22 length 9
(0) eap: EAP-Identity reply, returning 'ok' so we can short-circuit the
rest of authorize
(0) [eap] = ok
(0) } # authorize = ok
(0) Found Auth-Type = eap
(0) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(0) authenticate {
(0) eap: Peer sent packet with method EAP Identity (1)
(0) eap: Calling submodule eap_md5 to process data
(0) eap_md5: Issuing MD5 Challenge
(0) eap: Sending EAP Request (code 1) ID 23 length 22
(0) eap: EAP session adding &reply:State = 0xb972f482b965f022
(0) [eap] = handled
(0) } # authenticate = handled
(0) Using Post-Auth-Type Challenge
(0) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(0) Challenge { ... } # empty sub-section is ignored
(0) Sent Access-Challenge Id 15 from 192.168.1.21:1812 to
192.168.1.9:45962 length 80
(0) EAP-Message = 0x011700160410983f74c67938be4fc2b549b57cf99f8a
(0) Message-Authenticator = 0x00000000000000000000000000000000
(0) State = 0xb972f482b965f022be89a9c7e2ba59ea
(0) Finished request
Waking up in 4.9 seconds.
(1) Received Access-Request Id 16 from 192.168.1.9:45962 to
192.168.1.21:1812 length 233
(1) User-Name = "fede"
(1) NAS-IP-Address = 192.168.1.9
(1) NAS-Identifier = "824558273779"
(1) Called-Station-Id = "82-45-58-27-37-79:SupportMI"
(1) NAS-Port-Type = Wireless-802.11
(1) Service-Type = Framed-User
(1) Calling-Station-Id = "F6-AB-4A-A1-50-C4"
(1) Connect-Info = "CONNECT 0Mbps 802.11b"
(1) Acct-Session-Id = "C3485432ACC81F53"
(1) Acct-Multi-Session-Id = "E1E1FB4011820C8F"
(1) WLAN-Pairwise-Cipher = 1027076
(1) WLAN-Group-Cipher = 1027076
(1) WLAN-AKM-Suite = 1027073
(1) Framed-MTU = 1400
(1) EAP-Message = 0x021700060334
(1) State = 0xb972f482b965f022be89a9c7e2ba59ea
(1) Message-Authenticator = 0x8d61def2e55858cc8019dd326de35f89
(1) session-state: No cached attributes
(1) # Executing section authorize from file
/etc/freeradius/3.0/sites-enabled/default
(1) authorize {
(1) policy filter_username {
(1) if (&User-Name) {
(1) if (&User-Name) -> TRUE
(1) if (&User-Name) {
(1) if (&User-Name =~ / /) {
(1) if (&User-Name =~ / /) -> FALSE
(1) if (&User-Name =~ /@[^@]*@/ ) {
(1) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(1) if (&User-Name =~ /\.\./ ) {
(1) if (&User-Name =~ /\.\./ ) -> FALSE
(1) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(1) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/))
-> FALSE
(1) if (&User-Name =~ /\.$/) {
(1) if (&User-Name =~ /\.$/) -> FALSE
(1) if (&User-Name =~ /(a)\./) {
(1) if (&User-Name =~ /(a)\./) -> FALSE
(1) } # if (&User-Name) = notfound
(1) } # policy filter_username = notfound
(1) [preprocess] = ok
(1) [chap] = noop
(1) [mschap] = noop
(1) [digest] = noop
(1) suffix: Checking for suffix after "@"
(1) suffix: No '@' in User-Name = "fede", looking up realm NULL
(1) suffix: No such realm "NULL"
(1) [suffix] = noop
(1) eap: Peer sent EAP Response (code 2) ID 23 length 6
(1) eap: No EAP Start, assuming it's an on-going EAP conversation
(1) [eap] = updated
(1) files: users: Matched entry fede at line 207
(1) [files] = ok
(1) [expiration] = noop
(1) [logintime] = noop
(1) pap: WARNING: Auth-Type already set. Not setting to PAP
(1) [pap] = noop
(1) } # authorize = updated
(1) Found Auth-Type = eap
(1) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(1) authenticate {
(1) eap: Expiring EAP session with state 0xb972f482b965f022
(1) eap: Finished EAP session with state 0xb972f482b965f022
(1) eap: Previous EAP request found for state 0xb972f482b965f022,
released from the list
(1) eap: Peer sent packet with method EAP NAK (3)
(1) eap: Peer NAK'd asking for unsupported EAP type PWD (52), skipping...
(1) eap: ERROR: No mutually acceptable types found
(1) eap: Sending EAP Failure (code 4) ID 23 length 4
(1) eap: Failed in EAP select
(1) [eap] = invalid
(1) } # authenticate = invalid
(1) Failed to authenticate the user
(1) Using Post-Auth-Type Reject
(1) # Executing group from file /etc/freeradius/3.0/sites-enabled/default
(1) Post-Auth-Type REJECT {
(1) attr_filter.access_reject: EXPAND %{User-Name}
(1) attr_filter.access_reject: --> fede
(1) attr_filter.access_reject: Matched entry DEFAULT at line 11
(1) [attr_filter.access_reject] = updated
(1) [eap] = noop
(1) policy remove_reply_message_if_eap {
(1) if (&reply:EAP-Message && &reply:Reply-Message) {
(1) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE
(1) else {
(1) [noop] = noop
(1) } # else = noop
(1) } # policy remove_reply_message_if_eap = noop
(1) } # Post-Auth-Type REJECT = updated
(1) Delaying response for 1.000000 seconds
Waking up in 0.3 seconds.
Waking up in 0.6 seconds.
(1) Sending delayed response
(1) Sent Access-Reject Id 16 from 192.168.1.21:1812 to 192.168.1.9:45962
length 44
(1) EAP-Message = 0x04170004
(1) Message-Authenticator = 0x00000000000000000000000000000000
Waking up in 3.9 seconds.
(0) Cleaning up request packet ID 15 with timestamp +8 due to
cleanup_delay was reached
(1) Cleaning up request packet ID 16 with timestamp +8 due to
cleanup_delay was reached
Ready to process requests
2
1
I have spent the last few days trying to get EAP-TEAP to work, but so far
with only partial success. The goal of this configuration was to verify
both the user certificate and the machine certificate and only allow the
device access to the network if both certificates could be successfully
verified. At a later stage, I would like to be able to distinguish whether
only the machine certificate or both certificates were successfully
verified, and accordingly grant the device different access to the network.
For my tests, I created a CA which then issued the required client and
server certificates. On a Windows client, I installed a client certificate
for both the user and the machine, as well as the CA. On the RADIUS server,
I installed a server certificate and the CA certificate.
When I configure EAP-TEAP on the Windows client with only one inner EAP
method (EAP-TLS), the FreeRADIUS server sends an Access-Accept back (as
expected). However, as soon as I add a second inner EAP method in the
EAP-TEAP configuration on the laptop (regardless of whether it is EAP-TLS
or MSCHAPv2), an Access-Reject is always returned, without the second inner
EAP method even being attempted. To my untrained eye, it looks like the
client is sending an error back to the server, but unfortunately, there is
no information about what the reason might be.
I have tested this with Windows 11 and Windows 10 and tried both FreeRADIUS
3.2.4 and 3.2.6. All with the same result.
Is my FreeRADIUS configuration faulty, or is the behavior of the Windows
client the problem here?
Attached below is the debug log of the RADIUS server when EAP-TEAP with two
inner EAP methods (EAP-TLS + EAP-TLS) was configured on a Windows 11 client.
I hope someone can help me with this problem.
FreeRADIUS Version 3.2.6
Copyright (C) 1999-2023 The FreeRADIUS server project and contributors
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE
You may redistribute copies of FreeRADIUS under the terms of the
GNU General Public License
For more information about these matters, see the file named COPYRIGHT
Starting - reading configuration files ...
including dictionary file /usr/share/freeradius/dictionary
including dictionary file /usr/share/freeradius/dictionary.dhcp
including dictionary file /usr/share/freeradius/dictionary.vqp
including dictionary file /etc/raddb/dictionary
including configuration file /etc/raddb/radiusd.conf
including configuration file /etc/raddb/clients.conf
including files in directory /etc/raddb/mods-enabled/
including configuration file /etc/raddb/mods-enabled/always
including configuration file /etc/raddb/mods-enabled/attr_filter
including configuration file /etc/raddb/mods-enabled/chap
including configuration file /etc/raddb/mods-enabled/date
including configuration file /etc/raddb/mods-enabled/detail
including configuration file /etc/raddb/mods-enabled/detail.log
including configuration file /etc/raddb/mods-enabled/digest
including configuration file /etc/raddb/mods-enabled/dynamic_clients
including configuration file /etc/raddb/mods-enabled/eap
including configuration file /etc/raddb/mods-enabled/echo
including configuration file /etc/raddb/mods-enabled/exec
including configuration file /etc/raddb/mods-enabled/expiration
including configuration file /etc/raddb/mods-enabled/expr
including configuration file /etc/raddb/mods-enabled/files
including configuration file /etc/raddb/mods-enabled/linelog
including configuration file /etc/raddb/mods-enabled/logintime
including configuration file /etc/raddb/mods-enabled/mschap
including configuration file /etc/raddb/mods-enabled/ntlm_auth
including configuration file /etc/raddb/mods-enabled/pap
including configuration file /etc/raddb/mods-enabled/passwd
including configuration file /etc/raddb/mods-enabled/preprocess
including configuration file /etc/raddb/mods-enabled/radutmp
including configuration file /etc/raddb/mods-enabled/realm
including configuration file /etc/raddb/mods-enabled/replicate
including configuration file /etc/raddb/mods-enabled/soh
including configuration file /etc/raddb/mods-enabled/sradutmp
including configuration file /etc/raddb/mods-enabled/totp
including configuration file /etc/raddb/mods-enabled/unix
including configuration file /etc/raddb/mods-enabled/unpack
including configuration file /etc/raddb/mods-enabled/utf8
including configuration file /etc/raddb/mods-enabled/inner-eap
including files in directory /etc/raddb/policy.d/
including configuration file /etc/raddb/policy.d/abfab-tr
including configuration file /etc/raddb/policy.d/accounting
including configuration file /etc/raddb/policy.d/canonicalization
including configuration file /etc/raddb/policy.d/control
including configuration file /etc/raddb/policy.d/cui
including configuration file /etc/raddb/policy.d/debug
including configuration file /etc/raddb/policy.d/dhcp
including configuration file /etc/raddb/policy.d/eap
including configuration file /etc/raddb/policy.d/filter
including configuration file /etc/raddb/policy.d/moonshot-targeted-ids
including configuration file /etc/raddb/policy.d/operator-name
including configuration file /etc/raddb/policy.d/rfc7542
including files in directory /etc/raddb/sites-enabled/
including configuration file /etc/raddb/sites-enabled/default
including configuration file /etc/raddb/sites-enabled/inner-tunnel
main {
security {
allow_core_dumps = no
}
name = "radiusd"
prefix = "/usr"
localstatedir = "/var"
logdir = "/var/log/radius"
run_dir = "/var/run/radiusd"
}
main {
name = "radiusd"
prefix = "/usr"
localstatedir = "/var"
sbindir = "/usr/sbin"
logdir = "/var/log/radius"
run_dir = "/var/run/radiusd"
libdir = "/usr/lib64/freeradius"
radacctdir = "/var/log/radius/radacct"
hostname_lookups = no
max_request_time = 30
proxy_dedup_window = 1
cleanup_delay = 5
max_requests = 16384
max_fds = 512
postauth_client_lost = no
pidfile = "/var/run/radiusd/radiusd.pid"
checkrad = "/usr/sbin/checkrad"
debug_level = 0
proxy_requests = yes
log {
stripped_names = no
auth = no
auth_badpass = no
auth_goodpass = no
colourise = yes
msg_denied = "You are already logged in - access denied"
}
resources {
}
security {
max_attributes = 200
reject_delay = 1.000000
status_server = yes
require_message_authenticator = "auto"
limit_proxy_state = "auto"
allow_vulnerable_openssl = "no"
}
}
radiusd: #### Loading Realms and Home Servers ####
radiusd: #### Loading Clients ####
client localhost {
ipaddr = 127.0.0.1
secret = <<< secret >>>
nas_type = "other"
proto = "*"
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
Shared secret for client localhost is short, and likely can be broken by an
attacker.
client localhost_ipv6 {
ipv6addr = ::1
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
Shared secret for client localhost_ipv6 is short, and likely can be broken
by an attacker.
client 0.0.0.0/0 {
ipaddr = 0.0.0.0/0
secret = <<< secret >>>
proto = "*"
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
Shared secret for client 0.0.0.0/0 is short, and likely can be broken by an
attacker.
Debugger not attached
systemd watchdog is disabled
# Creating Auth-Type = mschap
# Creating Auth-Type = digest
# Creating Auth-Type = PAP
# Creating Auth-Type = CHAP
# Creating Auth-Type = MS-CHAP
# Creating Auth-Type = eap
# Creating Autz-Type = New-TLS-Connection
# Creating Auth-Type = inner-eap
radiusd: #### Instantiating modules ####
modules {
# Loaded module rlm_always
# Loading module "reject" from file /etc/raddb/mods-enabled/always
always reject {
rcode = "reject"
simulcount = 0
mpp = no
}
# Loading module "fail" from file /etc/raddb/mods-enabled/always
always fail {
rcode = "fail"
simulcount = 0
mpp = no
}
# Loading module "ok" from file /etc/raddb/mods-enabled/always
always ok {
rcode = "ok"
simulcount = 0
mpp = no
}
# Loading module "handled" from file /etc/raddb/mods-enabled/always
always handled {
rcode = "handled"
simulcount = 0
mpp = no
}
# Loading module "invalid" from file /etc/raddb/mods-enabled/always
always invalid {
rcode = "invalid"
simulcount = 0
mpp = no
}
# Loading module "userlock" from file /etc/raddb/mods-enabled/always
always userlock {
rcode = "userlock"
simulcount = 0
mpp = no
}
# Loading module "notfound" from file /etc/raddb/mods-enabled/always
always notfound {
rcode = "notfound"
simulcount = 0
mpp = no
}
# Loading module "noop" from file /etc/raddb/mods-enabled/always
always noop {
rcode = "noop"
simulcount = 0
mpp = no
}
# Loading module "updated" from file /etc/raddb/mods-enabled/always
always updated {
rcode = "updated"
simulcount = 0
mpp = no
}
# Loaded module rlm_attr_filter
# Loading module "attr_filter.post-proxy" from file
/etc/raddb/mods-enabled/attr_filter
attr_filter attr_filter.post-proxy {
filename = "/etc/raddb/mods-config/attr_filter/post-proxy"
key = "%{Realm}"
relaxed = no
}
# Loading module "attr_filter.pre-proxy" from file
/etc/raddb/mods-enabled/attr_filter
attr_filter attr_filter.pre-proxy {
filename = "/etc/raddb/mods-config/attr_filter/pre-proxy"
key = "%{Realm}"
relaxed = no
}
# Loading module "attr_filter.access_reject" from file
/etc/raddb/mods-enabled/attr_filter
attr_filter attr_filter.access_reject {
filename = "/etc/raddb/mods-config/attr_filter/access_reject"
key = "%{User-Name}"
relaxed = no
}
# Loading module "attr_filter.access_challenge" from file
/etc/raddb/mods-enabled/attr_filter
attr_filter attr_filter.access_challenge {
filename = "/etc/raddb/mods-config/attr_filter/access_challenge"
key = "%{User-Name}"
relaxed = no
}
# Loading module "attr_filter.accounting_response" from file
/etc/raddb/mods-enabled/attr_filter
attr_filter attr_filter.accounting_response {
filename = "/etc/raddb/mods-config/attr_filter/accounting_response"
key = "%{User-Name}"
relaxed = no
}
# Loading module "attr_filter.coa" from file
/etc/raddb/mods-enabled/attr_filter
attr_filter attr_filter.coa {
filename = "/etc/raddb/mods-config/attr_filter/coa"
key = "%{User-Name}"
relaxed = no
}
# Loaded module rlm_chap
# Loading module "chap" from file /etc/raddb/mods-enabled/chap
# Loaded module rlm_date
# Loading module "date" from file /etc/raddb/mods-enabled/date
date {
format = "%b %e %Y %H:%M:%S %Z"
utc = no
}
# Loading module "wispr2date" from file /etc/raddb/mods-enabled/date
date wispr2date {
format = "%Y-%m-%dT%H:%M:%S"
utc = no
}
# Loaded module rlm_detail
# Loading module "detail" from file /etc/raddb/mods-enabled/detail
detail {
filename =
"/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
dates_as_integer = no
escape_filenames = no
log_packet_header = no
}
# Loading module "auth_log" from file /etc/raddb/mods-enabled/detail.log
detail auth_log {
filename =
"/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
dates_as_integer = no
escape_filenames = no
log_packet_header = no
}
# Loading module "reply_log" from file /etc/raddb/mods-enabled/detail.log
detail reply_log {
filename =
"/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/reply-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
dates_as_integer = no
escape_filenames = no
log_packet_header = no
}
# Loading module "pre_proxy_log" from file
/etc/raddb/mods-enabled/detail.log
detail pre_proxy_log {
filename =
"/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/pre-proxy-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
dates_as_integer = no
escape_filenames = no
log_packet_header = no
}
# Loading module "post_proxy_log" from file
/etc/raddb/mods-enabled/detail.log
detail post_proxy_log {
filename =
"/var/log/radius/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/post-proxy-detail-%Y%m%d"
header = "%t"
permissions = 384
locking = no
dates_as_integer = no
escape_filenames = no
log_packet_header = no
}
# Loaded module rlm_digest
# Loading module "digest" from file /etc/raddb/mods-enabled/digest
# Loaded module rlm_dynamic_clients
# Loading module "dynamic_clients" from file
/etc/raddb/mods-enabled/dynamic_clients
# Loaded module rlm_eap
# Loading module "eap" from file /etc/raddb/mods-enabled/eap
eap {
default_eap_type = "teap"
timer_expire = 60
max_eap_type = 128
ignore_unknown_eap_types = no
cisco_accounting_username_bug = no
max_sessions = 16384
dedup_key = ""
}
# Loaded module rlm_exec
# Loading module "echo" from file /etc/raddb/mods-enabled/echo
exec echo {
wait = yes
program = "/bin/echo %{User-Name}"
input_pairs = "request"
output_pairs = "reply"
shell_escape = yes
}
# Loading module "exec" from file /etc/raddb/mods-enabled/exec
exec {
wait = no
input_pairs = "request"
shell_escape = yes
timeout = 10
}
# Loaded module rlm_expiration
# Loading module "expiration" from file /etc/raddb/mods-enabled/expiration
# Loaded module rlm_expr
# Loading module "expr" from file /etc/raddb/mods-enabled/expr
expr {
safe_characters =
"@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_:
/äéöüàâæçèéêëîïôœùûüaÿÄÉÖÜßÀÂÆÇÈÉÊËÎÏÔŒÙÛÜŸ"
}
# Loaded module rlm_files
# Loading module "files" from file /etc/raddb/mods-enabled/files
files {
filename = "/etc/raddb/mods-config/files/authorize"
acctusersfile = "/etc/raddb/mods-config/files/accounting"
preproxy_usersfile = "/etc/raddb/mods-config/files/pre-proxy"
}
# Loaded module rlm_linelog
# Loading module "linelog" from file /etc/raddb/mods-enabled/linelog
linelog {
filename = "/var/log/radius/linelog"
escape_filenames = no
syslog_severity = "info"
permissions = 384
format = "This is a log message for %{User-Name}"
reference = "messages.%{%{reply:Packet-Type}:-default}"
}
# Loading module "log_accounting" from file
/etc/raddb/mods-enabled/linelog
linelog log_accounting {
filename = "/var/log/radius/linelog-accounting"
escape_filenames = no
syslog_severity = "info"
permissions = 384
format = ""
reference = "Accounting-Request.%{%{Acct-Status-Type}:-unknown}"
}
# Loaded module rlm_logintime
# Loading module "logintime" from file /etc/raddb/mods-enabled/logintime
logintime {
minimum_timeout = 60
}
# Loaded module rlm_mschap
# Loading module "mschap" from file /etc/raddb/mods-enabled/mschap
mschap {
use_mppe = yes
require_encryption = no
require_strong = no
with_ntdomain_hack = yes
passchange {
}
allow_retry = yes
winbind_retry_with_normalised_username = no
}
# Loading module "ntlm_auth" from file /etc/raddb/mods-enabled/ntlm_auth
exec ntlm_auth {
wait = yes
program = "/path/to/ntlm_auth --request-nt-key --domain=MYDOMAIN
--username=%{mschap:User-Name} --password=%{User-Password}"
shell_escape = yes
}
# Loaded module rlm_pap
# Loading module "pap" from file /etc/raddb/mods-enabled/pap
pap {
normalise = yes
}
# Loaded module rlm_passwd
# Loading module "etc_passwd" from file /etc/raddb/mods-enabled/passwd
passwd etc_passwd {
filename = "/etc/passwd"
format = "*User-Name:Crypt-Password:"
delimiter = ":"
ignore_nislike = no
ignore_empty = yes
allow_multiple_keys = no
hash_size = 100
}
# Loaded module rlm_preprocess
# Loading module "preprocess" from file /etc/raddb/mods-enabled/preprocess
preprocess {
huntgroups = "/etc/raddb/mods-config/preprocess/huntgroups"
hints = "/etc/raddb/mods-config/preprocess/hints"
with_ascend_hack = no
ascend_channels_per_line = 23
with_ntdomain_hack = no
with_specialix_jetstream_hack = no
with_cisco_vsa_hack = no
with_alvarion_vsa_hack = no
}
# Loaded module rlm_radutmp
# Loading module "radutmp" from file /etc/raddb/mods-enabled/radutmp
radutmp {
filename = "/var/log/radius/radutmp"
username = "%{User-Name}"
case_sensitive = yes
check_with_nas = yes
permissions = 384
caller_id = yes
}
# Loaded module rlm_realm
# Loading module "IPASS" from file /etc/raddb/mods-enabled/realm
realm IPASS {
format = "prefix"
delimiter = "/"
ignore_default = no
ignore_null = no
}
# Loading module "suffix" from file /etc/raddb/mods-enabled/realm
realm suffix {
format = "suffix"
delimiter = "@"
ignore_default = no
ignore_null = no
}
# Loading module "bangpath" from file /etc/raddb/mods-enabled/realm
realm bangpath {
format = "prefix"
delimiter = "!"
ignore_default = no
ignore_null = no
}
# Loading module "realmpercent" from file /etc/raddb/mods-enabled/realm
realm realmpercent {
format = "suffix"
delimiter = "%"
ignore_default = no
ignore_null = no
}
# Loading module "ntdomain" from file /etc/raddb/mods-enabled/realm
realm ntdomain {
format = "prefix"
delimiter = "\"
ignore_default = no
ignore_null = no
}
# Loaded module rlm_replicate
# Loading module "replicate" from file /etc/raddb/mods-enabled/replicate
# Loaded module rlm_soh
# Loading module "soh" from file /etc/raddb/mods-enabled/soh
soh {
dhcp = yes
}
# Loading module "sradutmp" from file /etc/raddb/mods-enabled/sradutmp
radutmp sradutmp {
filename = "/var/log/radius/sradutmp"
username = "%{User-Name}"
case_sensitive = yes
check_with_nas = yes
permissions = 420
caller_id = no
}
# Loaded module rlm_totp
# Loading module "totp" from file /etc/raddb/mods-enabled/totp
totp {
time_step = 30
otp_length = 6
lookback_steps = 1
lookback_interval = 30
lookforward_steps = 0
}
# Loaded module rlm_unix
# Loading module "unix" from file /etc/raddb/mods-enabled/unix
unix {
radwtmp = "/var/log/radius/radwtmp"
}
Creating attribute Unix-Group
# Loaded module rlm_unpack
# Loading module "unpack" from file /etc/raddb/mods-enabled/unpack
# Loaded module rlm_utf8
# Loading module "utf8" from file /etc/raddb/mods-enabled/utf8
# Loading module "inner-eap" from file /etc/raddb/mods-enabled/inner-eap
eap inner-eap {
default_eap_type = "tls"
timer_expire = 60
max_eap_type = 56
ignore_unknown_eap_types = no
cisco_accounting_username_bug = no
max_sessions = 2048
dedup_key = ""
}
instantiate {
}
# Instantiating module "reject" from file /etc/raddb/mods-enabled/always
# Instantiating module "fail" from file /etc/raddb/mods-enabled/always
# Instantiating module "ok" from file /etc/raddb/mods-enabled/always
# Instantiating module "handled" from file /etc/raddb/mods-enabled/always
# Instantiating module "invalid" from file /etc/raddb/mods-enabled/always
# Instantiating module "userlock" from file /etc/raddb/mods-enabled/always
# Instantiating module "notfound" from file /etc/raddb/mods-enabled/always
# Instantiating module "noop" from file /etc/raddb/mods-enabled/always
# Instantiating module "updated" from file /etc/raddb/mods-enabled/always
# Instantiating module "attr_filter.post-proxy" from file
/etc/raddb/mods-enabled/attr_filter
reading pairlist file /etc/raddb/mods-config/attr_filter/post-proxy
# Instantiating module "attr_filter.pre-proxy" from file
/etc/raddb/mods-enabled/attr_filter
reading pairlist file /etc/raddb/mods-config/attr_filter/pre-proxy
# Instantiating module "attr_filter.access_reject" from file
/etc/raddb/mods-enabled/attr_filter
reading pairlist file /etc/raddb/mods-config/attr_filter/access_reject
# Instantiating module "attr_filter.access_challenge" from file
/etc/raddb/mods-enabled/attr_filter
reading pairlist file /etc/raddb/mods-config/attr_filter/access_challenge
# Instantiating module "attr_filter.accounting_response" from file
/etc/raddb/mods-enabled/attr_filter
reading pairlist file /etc/raddb/mods-config/attr_filter/accounting_response
# Instantiating module "attr_filter.coa" from file
/etc/raddb/mods-enabled/attr_filter
reading pairlist file /etc/raddb/mods-config/attr_filter/coa
# Instantiating module "detail" from file /etc/raddb/mods-enabled/detail
# Instantiating module "auth_log" from file
/etc/raddb/mods-enabled/detail.log
rlm_detail (auth_log): 'User-Password' suppressed, will not appear in
detail output
# Instantiating module "reply_log" from file
/etc/raddb/mods-enabled/detail.log
# Instantiating module "pre_proxy_log" from file
/etc/raddb/mods-enabled/detail.log
# Instantiating module "post_proxy_log" from file
/etc/raddb/mods-enabled/detail.log
# Instantiating module "eap" from file /etc/raddb/mods-enabled/eap
# Linked to sub-module rlm_eap_md5
# Linked to sub-module rlm_eap_gtc
gtc {
challenge = "Password: "
auth_type = "PAP"
}
# Linked to sub-module rlm_eap_tls
tls {
tls = "tls-common"
}
tls-config tls-common {
verify_depth = 0
ca_path = "/etc/raddb/certs/teap"
pem_file_type = yes
private_key_file = "/etc/raddb/certs/teap/server.pem"
certificate_file = "/etc/raddb/certs/teap/server.pem"
ca_file = "/etc/raddb/certs/teap/ca.pem"
private_key_password = <<< secret >>>
fragment_size = 1024
include_length = yes
auto_chain = yes
check_crl = no
check_all_crl = no
ca_path_reload_interval = 0
cipher_list = "DEFAULT"
cipher_server_preference = no
reject_unknown_intermediate_ca = no
ecdh_curve = ""
tls_max_version = "1.2"
tls_min_version = "1.2"
cache {
enable = no
lifetime = 24
max_entries = 255
}
verify {
skip_if_ocsp_ok = no
}
ocsp {
enable = no
override_cert_url = no
use_nonce = yes
timeout = 0
softfail = no
}
}
# Linked to sub-module rlm_eap_ttls
ttls {
tls = "tls-common"
default_eap_type = "md5"
copy_request_to_tunnel = no
use_tunneled_reply = no
virtual_server = "inner-tunnel"
include_length = yes
require_client_cert = no
}
tls: Using cached TLS configuration from previous invocation
# Linked to sub-module rlm_eap_peap
peap {
tls = "tls-common"
default_eap_type = "mschapv2"
copy_request_to_tunnel = no
use_tunneled_reply = no
proxy_tunneled_request_as_eap = yes
virtual_server = "inner-tunnel"
soh = no
require_client_cert = no
}
tls: Using cached TLS configuration from previous invocation
# Linked to sub-module rlm_eap_mschapv2
mschapv2 {
with_ntdomain_hack = no
send_error = no
}
# Linked to sub-module rlm_eap_teap
teap {
tls = "tls-common"
default_eap_type = "tls"
copy_request_to_tunnel = no
use_tunneled_reply = no
require_client_cert = no
pac_lifetime = 604800
authority_identity = "1234"
pac_opaque_key = "0123456789abcdef0123456789ABCDEF"
virtual_server = "inner-tunnel"
}
tls: Using cached TLS configuration from previous invocation
# Instantiating module "expiration" from file
/etc/raddb/mods-enabled/expiration
# Instantiating module "files" from file /etc/raddb/mods-enabled/files
reading pairlist file /etc/raddb/mods-config/files/authorize
reading pairlist file /etc/raddb/mods-config/files/accounting
reading pairlist file /etc/raddb/mods-config/files/pre-proxy
# Instantiating module "linelog" from file /etc/raddb/mods-enabled/linelog
# Instantiating module "log_accounting" from file
/etc/raddb/mods-enabled/linelog
# Instantiating module "logintime" from file
/etc/raddb/mods-enabled/logintime
# Instantiating module "mschap" from file /etc/raddb/mods-enabled/mschap
rlm_mschap (mschap): using internal authentication
# Instantiating module "pap" from file /etc/raddb/mods-enabled/pap
# Instantiating module "etc_passwd" from file
/etc/raddb/mods-enabled/passwd
rlm_passwd: nfields: 3 keyfield 0(User-Name) listable: no
# Instantiating module "preprocess" from file
/etc/raddb/mods-enabled/preprocess
reading pairlist file /etc/raddb/mods-config/preprocess/huntgroups
reading pairlist file /etc/raddb/mods-config/preprocess/hints
# Instantiating module "IPASS" from file /etc/raddb/mods-enabled/realm
# Instantiating module "suffix" from file /etc/raddb/mods-enabled/realm
# Instantiating module "bangpath" from file /etc/raddb/mods-enabled/realm
# Instantiating module "realmpercent" from file
/etc/raddb/mods-enabled/realm
# Instantiating module "ntdomain" from file /etc/raddb/mods-enabled/realm
# Instantiating module "totp" from file /etc/raddb/mods-enabled/totp
# Instantiating module "inner-eap" from file
/etc/raddb/mods-enabled/inner-eap
# Linked to sub-module rlm_eap_mschapv2
mschapv2 {
with_ntdomain_hack = no
send_error = no
}
# Linked to sub-module rlm_eap_tls
tls {
}
TLS section "tls" missing, trying to use legacy configuration
tls {
verify_depth = 0
pem_file_type = yes
private_key_file = "/etc/raddb/certs/teap/inner-server.pem"
certificate_file = "/etc/raddb/certs/teap/inner-server.pem"
ca_file = "/etc/raddb/certs/teap/ca.pem"
random_file = "/dev/urandom"
fragment_size = 1024
include_length = yes
auto_chain = yes
check_crl = no
check_all_crl = no
ca_path_reload_interval = 0
cipher_list = "DEFAULT"
reject_unknown_intermediate_ca = no
ecdh_curve = "prime256v1"
tls_min_version = "1.2"
cache {
enable = no
lifetime = 24
max_entries = 255
}
verify {
skip_if_ocsp_ok = no
}
ocsp {
enable = no
override_cert_url = no
use_nonce = yes
timeout = 0
softfail = no
}
}
} # modules
radiusd: #### Loading Virtual Servers ####
server { # from file /etc/raddb/radiusd.conf
} # server
server default { # from file /etc/raddb/sites-enabled/default
# Loading authenticate {...}
Compiling Auth-Type PAP for attr Auth-Type
Compiling Auth-Type CHAP for attr Auth-Type
Compiling Auth-Type MS-CHAP for attr Auth-Type
Compiling Auth-Type eap for attr Auth-Type
# Loading authorize {...}
Ignoring "sql" (see raddb/mods-available/README.rst)
Ignoring "ldap" (see raddb/mods-available/README.rst)
Compiling Autz-Type New-TLS-Connection for attr Autz-Type
# Loading preacct {...}
# Loading accounting {...}
# Loading post-proxy {...}
# Loading post-auth {...}
Compiling Post-Auth-Type REJECT for attr Post-Auth-Type
Compiling Post-Auth-Type Challenge for attr Post-Auth-Type
Compiling Post-Auth-Type Client-Lost for attr Post-Auth-Type
} # server default
server inner-tunnel { # from file /etc/raddb/sites-enabled/inner-tunnel
# Loading authenticate {...}
Compiling Auth-Type PAP for attr Auth-Type
Compiling Auth-Type CHAP for attr Auth-Type
Compiling Auth-Type MS-CHAP for attr Auth-Type
Compiling Auth-Type inner-eap for attr Auth-Type
# Loading authorize {...}
# Loading session {...}
# Loading post-proxy {...}
# Loading post-auth {...}
# Skipping contents of 'if' as it is always 'false' --
/etc/raddb/sites-enabled/inner-tunnel:368
Compiling Post-Auth-Type REJECT for attr Post-Auth-Type
} # server inner-tunnel
radiusd: #### Opening IP addresses and Ports ####
listen {
type = "auth"
ipaddr = *
port = 1645
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
listen {
type = "auth"
ipaddr = 127.0.0.1
port = 18120
}
Listening on auth address * port 1645 bound to server default
Listening on auth address 127.0.0.1 port 18120 bound to server inner-tunnel
Ready to process requests
(0) Received Access-Request Id 250 from 10.78.1.215:1645 to 10.78.5.223:1645
length 244
(0) User-Name = "anon"
(0) Service-Type = Framed-User
(0) Cisco-AVPair = "service-type=Framed"
(0) Framed-MTU = 1500
(0) Called-Station-Id = "00-3C-10-AB-A2-8A"
(0) Calling-Station-Id = "C8-F7-50-08-DD-9F"
(0) EAP-Message = 0x0201000901616e6f6e
(0) Message-Authenticator = 0xca304eec2a1585d04db6e3fa971b6b40
(0) Cisco-AVPair = "audit-session-id=0A4E01D7000006B823D3132B"
(0) Cisco-AVPair = "method=dot1x"
(0) NAS-IP-Address = 10.78.1.215
(0) NAS-Port-Id = "GigabitEthernet1/0/10"
(0) NAS-Port-Type = Ethernet
(0) NAS-Port = 50110
(0) # Executing section authorize from file /etc/raddb/sites-enabled/default
(0) authorize {
(0) policy filter_username {
(0) if (&User-Name) {
(0) if (&User-Name) -> TRUE
(0) if (&User-Name) {
(0) if (&User-Name =~ / /) {
(0) if (&User-Name =~ / /) -> FALSE
(0) if (&User-Name =~ /@[^@]*@/ ) {
(0) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(0) if (&User-Name =~ /\.\./ ) {
(0) if (&User-Name =~ /\.\./ ) -> FALSE
(0) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(0) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) ->
FALSE
(0) if (&User-Name =~ /\.$/) {
(0) if (&User-Name =~ /\.$/) -> FALSE
(0) if (&User-Name =~ /(a)\./) {
(0) if (&User-Name =~ /(a)\./) -> FALSE
(0) } # if (&User-Name) = notfound
(0) } # policy filter_username = notfound
(0) [preprocess] = ok
(0) [chap] = noop
(0) [mschap] = noop
(0) [digest] = noop
(0) suffix: Checking for suffix after "@"
(0) suffix: No '@' in User-Name = "anon", looking up realm NULL
(0) suffix: No such realm "NULL"
(0) [suffix] = noop
(0) eap: Peer sent EAP Response (code 2) ID 1 length 9
(0) eap: EAP-Identity reply, returning 'ok' so we can short-circuit the
rest of authorize
(0) [eap] = ok
(0) } # authorize = ok
(0) Found Auth-Type = eap
(0) # Executing group from file /etc/raddb/sites-enabled/default
(0) Auth-Type eap {
(0) eap: Peer sent packet with method EAP Identity (1)
(0) eap: Calling submodule eap_teap to process data
(0) eap_teap: (TLS) TEAP -Initiating new session
(0) eap: Sending EAP Request (code 1) ID 2 length 18
(0) eap: EAP session adding &reply:State = 0xc2f31397c2f12456
(0) [eap] = handled
(0) if (handled && (Response-Packet-Type == Access-Challenge)) {
(0) EXPAND Response-Packet-Type
(0) --> Access-Challenge
(0) if (handled && (Response-Packet-Type == Access-Challenge)) -> TRUE
(0) if (handled && (Response-Packet-Type == Access-Challenge)) {
(0) attr_filter.access_challenge: EXPAND %{User-Name}
(0) attr_filter.access_challenge: --> anon
(0) attr_filter.access_challenge: Matched entry DEFAULT at line 12
(0) [attr_filter.access_challenge.post-auth] = updated
(0) [handled] = handled
(0) } # if (handled && (Response-Packet-Type == Access-Challenge)) =
handled
(0) } # Auth-Type eap = handled
(0) Using Post-Auth-Type Challenge
(0) # Executing group from file /etc/raddb/sites-enabled/default
(0) Challenge { ... } # empty sub-section is ignored
(0) session-state: Saving cached attributes
(0) Framed-MTU = 984
(0) Sent Access-Challenge Id 250 from 10.78.5.223:1645 to 10.78.1.215:1645
length 76
(0) EAP-Message = 0x010200123731000000080001000431323334
(0) Message-Authenticator = 0x00000000000000000000000000000000
(0) State = 0xc2f31397c2f12456155e1115101ee725
(0) Finished request
Waking up in 4.9 seconds.
(1) Received Access-Request Id 251 from 10.78.1.215:1645 to 10.78.5.223:1645
length 415
(1) User-Name = "anon"
(1) Service-Type = Framed-User
(1) Cisco-AVPair = "service-type=Framed"
(1) Framed-MTU = 1500
(1) Called-Station-Id = "00-3C-10-AB-A2-8A"
(1) Calling-Station-Id = "C8-F7-50-08-DD-9F"
(1) EAP-Message =
0x020200a237011603030097010000930303674f1c7662d8fa64f27b9e2cc0d547ad68bb771ba71506870ff8676257b63608000024c02cc02bc030c02fc024c023c028c027c00ac009c014c013009d009c003d003c0035002f01000046000500050100000000000a00080006001d00170018000b00020100000d001a00180804080508060401050102010403050302030202060106030023000000170000ff01000100
(1) Message-Authenticator = 0xd701fed7d2c902f23b5c188c623218cb
(1) Cisco-AVPair = "audit-session-id=0A4E01D7000006B823D3132B"
(1) Cisco-AVPair = "method=dot1x"
(1) NAS-IP-Address = 10.78.1.215
(1) NAS-Port-Id = "GigabitEthernet1/0/10"
(1) NAS-Port-Type = Ethernet
(1) NAS-Port = 50110
(1) State = 0xc2f31397c2f12456155e1115101ee725
(1) Restoring &session-state
(1) &session-state:Framed-MTU = 984
(1) # Executing section authorize from file /etc/raddb/sites-enabled/default
(1) authorize {
(1) policy filter_username {
(1) if (&User-Name) {
(1) if (&User-Name) -> TRUE
(1) if (&User-Name) {
(1) if (&User-Name =~ / /) {
(1) if (&User-Name =~ / /) -> FALSE
(1) if (&User-Name =~ /@[^@]*@/ ) {
(1) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(1) if (&User-Name =~ /\.\./ ) {
(1) if (&User-Name =~ /\.\./ ) -> FALSE
(1) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(1) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) ->
FALSE
(1) if (&User-Name =~ /\.$/) {
(1) if (&User-Name =~ /\.$/) -> FALSE
(1) if (&User-Name =~ /(a)\./) {
(1) if (&User-Name =~ /(a)\./) -> FALSE
(1) } # if (&User-Name) = notfound
(1) } # policy filter_username = notfound
(1) [preprocess] = ok
(1) [chap] = noop
(1) [mschap] = noop
(1) [digest] = noop
(1) suffix: Checking for suffix after "@"
(1) suffix: No '@' in User-Name = "anon", looking up realm NULL
(1) suffix: No such realm "NULL"
(1) [suffix] = noop
(1) eap: Peer sent EAP Response (code 2) ID 2 length 162
(1) eap: Continuing tunnel setup
(1) [eap] = ok
(1) } # authorize = ok
(1) Found Auth-Type = eap
(1) # Executing group from file /etc/raddb/sites-enabled/default
(1) Auth-Type eap {
(1) eap: Removing EAP session with state 0xc2f31397c2f12456
(1) eap: Previous EAP request found for state 0xc2f31397c2f12456, released
from the list
(1) eap: Peer sent packet with method EAP TEAP (55)
(1) eap: Calling submodule eap_teap to process data
(1) eap_teap: Authenticate
(1) eap_teap: (TLS) EAP Got final fragment (156 bytes)
(1) eap_teap: WARNING: (TLS) EAP Total received record fragments (156
bytes), does not equal expected expected data length (0 bytes)
(1) eap_teap: (TLS) EAP Done initial handshake
(1) eap_teap: (TLS) TEAP - Handshake state - before SSL initialization
(1) eap_teap: (TLS) TEAP - Handshake state - Server before SSL
initialization
(1) eap_teap: (TLS) TEAP - Handshake state - Server before SSL
initialization
(1) eap_teap: (TLS) TEAP - recv TLS 1.3 Handshake, ClientHello
(1) eap_teap: (TLS) TEAP - Handshake state - Server SSLv3/TLS read client
hello
(1) eap_teap: (TLS) TEAP - send TLS 1.2 Handshake, ServerHello
(1) eap_teap: (TLS) TEAP - Handshake state - Server SSLv3/TLS write server
hello
(1) eap_teap: (TLS) TEAP - send TLS 1.2 Handshake, Certificate
(1) eap_teap: (TLS) TEAP - Handshake state - Server SSLv3/TLS write
certificate
(1) eap_teap: (TLS) TEAP - send TLS 1.2 Handshake, ServerKeyExchange
(1) eap_teap: (TLS) TEAP - Handshake state - Server SSLv3/TLS write key
exchange
(1) eap_teap: (TLS) TEAP - send TLS 1.2 Handshake, ServerHelloDone
(1) eap_teap: (TLS) TEAP - Handshake state - Server SSLv3/TLS write server
done
(1) eap_teap: (TLS) TEAP - Server : Need to read more data: SSLv3/TLS write
server done
(1) eap_teap: (TLS) TEAP - In Handshake Phase
(1) eap: Sending EAP Request (code 1) ID 3 length 994
(1) eap: EAP session adding &reply:State = 0xc2f31397c3f02456
(1) [eap] = handled
(1) if (handled && (Response-Packet-Type == Access-Challenge)) {
(1) EXPAND Response-Packet-Type
(1) --> Access-Challenge
(1) if (handled && (Response-Packet-Type == Access-Challenge)) -> TRUE
(1) if (handled && (Response-Packet-Type == Access-Challenge)) {
(1) attr_filter.access_challenge: EXPAND %{User-Name}
(1) attr_filter.access_challenge: --> anon
(1) attr_filter.access_challenge: Matched entry DEFAULT at line 12
(1) [attr_filter.access_challenge.post-auth] = updated
(1) [handled] = handled
(1) } # if (handled && (Response-Packet-Type == Access-Challenge)) =
handled
(1) } # Auth-Type eap = handled
(1) Using Post-Auth-Type Challenge
(1) # Executing group from file /etc/raddb/sites-enabled/default
(1) Challenge { ... } # empty sub-section is ignored
(1) session-state: Saving cached attributes
(1) Framed-MTU = 984
(1) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3 Handshake,
ClientHello"
(1) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake,
ServerHello"
(1) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake,
Certificate"
(1) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake,
ServerKeyExchange"
(1) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake,
ServerHelloDone"
(1) Sent Access-Challenge Id 251 from 10.78.5.223:1645 to 10.78.1.215:1645
length 1058
(1) EAP-Message =
0x010303e237c100000975160303003d020000390303c15f0cdb8a67fe33512548b6e4c5f4dd5c12b4d5971f2316e1a53914f9e40beb00c030000011ff01000100000b0004030001020017000016030307f40b0007f00007ed0003ac308203a830820290a003020102020105300d06092a864886f70d01010b05003068310b3009060355040613024445310f300d06035504070c06426f6368756d312f302d060355040a0c2649534c20496e7465726e65742053696368657268656974736c6f6573756e67656e20476d62483117301506035504030c0e6d617274696e2d746573742d6361301e170d3234313230323135333931365a170d3334313133303135333931365a307c310b3009060355040613024445310f300d06035504070c06426f6368756d312f302d060355040a0c2649534c20496e7465726e65742053696368657268656974736c6f6573756e67656e20476d6248312b302906035504030c226d617274696e2d746573742d7261646975732d73657276
(1) Message-Authenticator = 0x00000000000000000000000000000000
(1) State = 0xc2f31397c3f02456155e1115101ee725
(1) Finished request
Waking up in 4.9 seconds.
(2) Received Access-Request Id 252 from 10.78.1.215:1645 to 10.78.5.223:1645
length 259
(2) User-Name = "anon"
(2) Service-Type = Framed-User
(2) Cisco-AVPair = "service-type=Framed"
(2) Framed-MTU = 1500
(2) Called-Station-Id = "00-3C-10-AB-A2-8A"
(2) Calling-Station-Id = "C8-F7-50-08-DD-9F"
(2) EAP-Message = 0x020300063701
(2) Message-Authenticator = 0xc08d3f4b1960dd89171d8d34e5699343
(2) Cisco-AVPair = "audit-session-id=0A4E01D7000006B823D3132B"
(2) Cisco-AVPair = "method=dot1x"
(2) NAS-IP-Address = 10.78.1.215
(2) NAS-Port-Id = "GigabitEthernet1/0/10"
(2) NAS-Port-Type = Ethernet
(2) NAS-Port = 50110
(2) State = 0xc2f31397c3f02456155e1115101ee725
(2) Restoring &session-state
(2) &session-state:Framed-MTU = 984
(2) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3
Handshake, ClientHello"
(2) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
Handshake, ServerHello"
(2) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
Handshake, Certificate"
(2) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
Handshake, ServerKeyExchange"
(2) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
Handshake, ServerHelloDone"
(2) # Executing section authorize from file /etc/raddb/sites-enabled/default
(2) authorize {
(2) policy filter_username {
(2) if (&User-Name) {
(2) if (&User-Name) -> TRUE
(2) if (&User-Name) {
(2) if (&User-Name =~ / /) {
(2) if (&User-Name =~ / /) -> FALSE
(2) if (&User-Name =~ /@[^@]*@/ ) {
(2) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(2) if (&User-Name =~ /\.\./ ) {
(2) if (&User-Name =~ /\.\./ ) -> FALSE
(2) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(2) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) ->
FALSE
(2) if (&User-Name =~ /\.$/) {
(2) if (&User-Name =~ /\.$/) -> FALSE
(2) if (&User-Name =~ /(a)\./) {
(2) if (&User-Name =~ /(a)\./) -> FALSE
(2) } # if (&User-Name) = notfound
(2) } # policy filter_username = notfound
(2) [preprocess] = ok
(2) [chap] = noop
(2) [mschap] = noop
(2) [digest] = noop
(2) suffix: Checking for suffix after "@"
(2) suffix: No '@' in User-Name = "anon", looking up realm NULL
(2) suffix: No such realm "NULL"
(2) [suffix] = noop
(2) eap: Peer sent EAP Response (code 2) ID 3 length 6
(2) eap: Continuing tunnel setup
(2) [eap] = ok
(2) } # authorize = ok
(2) Found Auth-Type = eap
(2) # Executing group from file /etc/raddb/sites-enabled/default
(2) Auth-Type eap {
(2) eap: Removing EAP session with state 0xc2f31397c3f02456
(2) eap: Previous EAP request found for state 0xc2f31397c3f02456, released
from the list
(2) eap: Peer sent packet with method EAP TEAP (55)
(2) eap: Calling submodule eap_teap to process data
(2) eap_teap: Authenticate
(2) eap_teap: (TLS) Peer ACKed our handshake fragment
(2) eap: Sending EAP Request (code 1) ID 4 length 990
(2) eap: EAP session adding &reply:State = 0xc2f31397c0f72456
(2) [eap] = handled
(2) if (handled && (Response-Packet-Type == Access-Challenge)) {
(2) EXPAND Response-Packet-Type
(2) --> Access-Challenge
(2) if (handled && (Response-Packet-Type == Access-Challenge)) -> TRUE
(2) if (handled && (Response-Packet-Type == Access-Challenge)) {
(2) attr_filter.access_challenge: EXPAND %{User-Name}
(2) attr_filter.access_challenge: --> anon
(2) attr_filter.access_challenge: Matched entry DEFAULT at line 12
(2) [attr_filter.access_challenge.post-auth] = updated
(2) [handled] = handled
(2) } # if (handled && (Response-Packet-Type == Access-Challenge)) =
handled
(2) } # Auth-Type eap = handled
(2) Using Post-Auth-Type Challenge
(2) # Executing group from file /etc/raddb/sites-enabled/default
(2) Challenge { ... } # empty sub-section is ignored
(2) session-state: Saving cached attributes
(2) Framed-MTU = 984
(2) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3 Handshake,
ClientHello"
(2) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake,
ServerHello"
(2) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake,
Certificate"
(2) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake,
ServerKeyExchange"
(2) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake,
ServerHelloDone"
(2) Sent Access-Challenge Id 252 from 10.78.5.223:1645 to 10.78.1.215:1645
length 1054
(2) EAP-Message =
0x010403de3741394b7024725e8f9514edfd4ea11b2bbd6fff95bcba6081b3679fa0b5d58c8d0351edf51bfd00043b308204373082031fa00302010202146837d2898be29a5a56edbd7008ad02b855b72ecc300d06092a864886f70d01010b05003068310b3009060355040613024445310f300d06035504070c06426f6368756d312f302d060355040a0c2649534c20496e7465726e65742053696368657268656974736c6f6573756e67656e20476d62483117301506035504030c0e6d617274696e2d746573742d6361301e170d3234313132313133303935315a170d3334313131393133303935315a3068310b3009060355040613024445310f300d06035504070c06426f6368756d312f302d060355040a0c2649534c20496e7465726e65742053696368657268656974736c6f6573756e67656e20476d62483117301506035504030c0e6d617274696e2d746573742d636130820122300d06092a864886f70d01010105000382010f003082010a0282010100d439
(2) Message-Authenticator = 0x00000000000000000000000000000000
(2) State = 0xc2f31397c0f72456155e1115101ee725
(2) Finished request
Waking up in 4.9 seconds.
(3) Received Access-Request Id 253 from 10.78.1.215:1645 to 10.78.5.223:1645
length 259
(3) User-Name = "anon"
(3) Service-Type = Framed-User
(3) Cisco-AVPair = "service-type=Framed"
(3) Framed-MTU = 1500
(3) Called-Station-Id = "00-3C-10-AB-A2-8A"
(3) Calling-Station-Id = "C8-F7-50-08-DD-9F"
(3) EAP-Message = 0x020400063701
(3) Message-Authenticator = 0x2d4751c8d565a5c5f245b6c2d096b795
(3) Cisco-AVPair = "audit-session-id=0A4E01D7000006B823D3132B"
(3) Cisco-AVPair = "method=dot1x"
(3) NAS-IP-Address = 10.78.1.215
(3) NAS-Port-Id = "GigabitEthernet1/0/10"
(3) NAS-Port-Type = Ethernet
(3) NAS-Port = 50110
(3) State = 0xc2f31397c0f72456155e1115101ee725
(3) Restoring &session-state
(3) &session-state:Framed-MTU = 984
(3) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3
Handshake, ClientHello"
(3) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
Handshake, ServerHello"
(3) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
Handshake, Certificate"
(3) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
Handshake, ServerKeyExchange"
(3) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
Handshake, ServerHelloDone"
(3) # Executing section authorize from file /etc/raddb/sites-enabled/default
(3) authorize {
(3) policy filter_username {
(3) if (&User-Name) {
(3) if (&User-Name) -> TRUE
(3) if (&User-Name) {
(3) if (&User-Name =~ / /) {
(3) if (&User-Name =~ / /) -> FALSE
(3) if (&User-Name =~ /@[^@]*@/ ) {
(3) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(3) if (&User-Name =~ /\.\./ ) {
(3) if (&User-Name =~ /\.\./ ) -> FALSE
(3) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(3) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) ->
FALSE
(3) if (&User-Name =~ /\.$/) {
(3) if (&User-Name =~ /\.$/) -> FALSE
(3) if (&User-Name =~ /(a)\./) {
(3) if (&User-Name =~ /(a)\./) -> FALSE
(3) } # if (&User-Name) = notfound
(3) } # policy filter_username = notfound
(3) [preprocess] = ok
(3) [chap] = noop
(3) [mschap] = noop
(3) [digest] = noop
(3) suffix: Checking for suffix after "@"
(3) suffix: No '@' in User-Name = "anon", looking up realm NULL
(3) suffix: No such realm "NULL"
(3) [suffix] = noop
(3) eap: Peer sent EAP Response (code 2) ID 4 length 6
(3) eap: Continuing tunnel setup
(3) [eap] = ok
(3) } # authorize = ok
(3) Found Auth-Type = eap
(3) # Executing group from file /etc/raddb/sites-enabled/default
(3) Auth-Type eap {
(3) eap: Removing EAP session with state 0xc2f31397c0f72456
(3) eap: Previous EAP request found for state 0xc2f31397c0f72456, released
from the list
(3) eap: Peer sent packet with method EAP TEAP (55)
(3) eap: Calling submodule eap_teap to process data
(3) eap_teap: Authenticate
(3) eap_teap: (TLS) Peer ACKed our handshake fragment
(3) eap: Sending EAP Request (code 1) ID 5 length 459
(3) eap: EAP session adding &reply:State = 0xc2f31397c1f62456
(3) [eap] = handled
(3) if (handled && (Response-Packet-Type == Access-Challenge)) {
(3) EXPAND Response-Packet-Type
(3) --> Access-Challenge
(3) if (handled && (Response-Packet-Type == Access-Challenge)) -> TRUE
(3) if (handled && (Response-Packet-Type == Access-Challenge)) {
(3) attr_filter.access_challenge: EXPAND %{User-Name}
(3) attr_filter.access_challenge: --> anon
(3) attr_filter.access_challenge: Matched entry DEFAULT at line 12
(3) [attr_filter.access_challenge.post-auth] = updated
(3) [handled] = handled
(3) } # if (handled && (Response-Packet-Type == Access-Challenge)) =
handled
(3) } # Auth-Type eap = handled
(3) Using Post-Auth-Type Challenge
(3) # Executing group from file /etc/raddb/sites-enabled/default
(3) Challenge { ... } # empty sub-section is ignored
(3) session-state: Saving cached attributes
(3) Framed-MTU = 984
(3) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3 Handshake,
ClientHello"
(3) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake,
ServerHello"
(3) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake,
Certificate"
(3) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake,
ServerKeyExchange"
(3) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake,
ServerHelloDone"
(3) Sent Access-Challenge Id 253 from 10.78.5.223:1645 to 10.78.1.215:1645
length 519
(3) EAP-Message =
0x010501cb37012355bf3fef88cc0908228a0b37560dd68abfba7b8e1b8bd76223b49cf84a80d90025c3ae17296c51dd9630a0f8af67b987416ee02f0ed7615ece56169a552aed5426af82497468570c9bc062edccfbac033364c1d6b55075552fe9c6f7fcb955415423fef9ba221ec3cda5939a6965aa3e49dcfda0c1a0b4712ba554c245396805304b4c14d252d9f84575160303012c0c00012803001d20c417821e3dc1ad966dbb25aa221a57e889411b4ec6cebfcadba5767825e48a1d08040100837456bbfb1f64d7669f1326ebbe02ef71f7fd3b1bb5e1e0b0e972e70b934e2d452cd5e54370c63672a238187de0d4be7c4796e40c25c348f94474cf6bbffb72d642997c03ea3c93c8ea3be4253234c44f94072f60c4bcab459ee6940c104e9940f40c1f75ab97437e8e27279bb0622c6739a3262b27eef9d1e66c75d0760e5a219226931cbe9cf105106d1f0a853e787e7dd9930193aa6dce29a9865a90d32d80670201e0e99c8e0474ea0a8a422ed7bcfa4ef24e
(3) Message-Authenticator = 0x00000000000000000000000000000000
(3) State = 0xc2f31397c1f62456155e1115101ee725
(3) Finished request
Waking up in 4.8 seconds.
(4) Received Access-Request Id 254 from 10.78.1.215:1645 to 10.78.5.223:1645
length 352
(4) User-Name = "anon"
(4) Service-Type = Framed-User
(4) Cisco-AVPair = "service-type=Framed"
(4) Framed-MTU = 1500
(4) Called-Station-Id = "00-3C-10-AB-A2-8A"
(4) Calling-Station-Id = "C8-F7-50-08-DD-9F"
(4) EAP-Message =
0x0205006337011603030025100000212053b0801a7f676c92e3eb655f69ed76b1874c1b9b701a10d914e6c3d072424b381403030001011603030028000000000000000076a5db27353eeb43cf72dfb4a1b3ac38d94362e5b06205a04eacb335cb8cb240
(4) Message-Authenticator = 0xf53413f9d6d7483b36ff152e6cbb77aa
(4) Cisco-AVPair = "audit-session-id=0A4E01D7000006B823D3132B"
(4) Cisco-AVPair = "method=dot1x"
(4) NAS-IP-Address = 10.78.1.215
(4) NAS-Port-Id = "GigabitEthernet1/0/10"
(4) NAS-Port-Type = Ethernet
(4) NAS-Port = 50110
(4) State = 0xc2f31397c1f62456155e1115101ee725
(4) Restoring &session-state
(4) &session-state:Framed-MTU = 984
(4) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3
Handshake, ClientHello"
(4) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
Handshake, ServerHello"
(4) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
Handshake, Certificate"
(4) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
Handshake, ServerKeyExchange"
(4) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
Handshake, ServerHelloDone"
(4) # Executing section authorize from file /etc/raddb/sites-enabled/default
(4) authorize {
(4) policy filter_username {
(4) if (&User-Name) {
(4) if (&User-Name) -> TRUE
(4) if (&User-Name) {
(4) if (&User-Name =~ / /) {
(4) if (&User-Name =~ / /) -> FALSE
(4) if (&User-Name =~ /@[^@]*@/ ) {
(4) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(4) if (&User-Name =~ /\.\./ ) {
(4) if (&User-Name =~ /\.\./ ) -> FALSE
(4) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(4) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) ->
FALSE
(4) if (&User-Name =~ /\.$/) {
(4) if (&User-Name =~ /\.$/) -> FALSE
(4) if (&User-Name =~ /(a)\./) {
(4) if (&User-Name =~ /(a)\./) -> FALSE
(4) } # if (&User-Name) = notfound
(4) } # policy filter_username = notfound
(4) [preprocess] = ok
(4) [chap] = noop
(4) [mschap] = noop
(4) [digest] = noop
(4) suffix: Checking for suffix after "@"
(4) suffix: No '@' in User-Name = "anon", looking up realm NULL
(4) suffix: No such realm "NULL"
(4) [suffix] = noop
(4) eap: Peer sent EAP Response (code 2) ID 5 length 99
(4) eap: Continuing tunnel setup
(4) [eap] = ok
(4) } # authorize = ok
(4) Found Auth-Type = eap
(4) # Executing group from file /etc/raddb/sites-enabled/default
(4) Auth-Type eap {
(4) eap: Removing EAP session with state 0xc2f31397c1f62456
(4) eap: Previous EAP request found for state 0xc2f31397c1f62456, released
from the list
(4) eap: Peer sent packet with method EAP TEAP (55)
(4) eap: Calling submodule eap_teap to process data
(4) eap_teap: Authenticate
(4) eap_teap: (TLS) EAP Done initial handshake
(4) eap_teap: (TLS) TEAP - Handshake state - Server SSLv3/TLS write server
done
(4) eap_teap: (TLS) TEAP - recv TLS 1.2 Handshake, ClientKeyExchange
(4) eap_teap: (TLS) TEAP - Handshake state - Server SSLv3/TLS read client
key exchange
(4) eap_teap: (TLS) TEAP - Handshake state - Server SSLv3/TLS read change
cipher spec
(4) eap_teap: (TLS) TEAP - recv TLS 1.2 Handshake, Finished
(4) eap_teap: (TLS) TEAP - Handshake state - Server SSLv3/TLS read finished
(4) eap_teap: (TLS) TEAP - send TLS 1.2 ChangeCipherSpec
(4) eap_teap: (TLS) TEAP - Handshake state - Server SSLv3/TLS write change
cipher spec
(4) eap_teap: (TLS) TEAP - send TLS 1.2 Handshake, Finished
(4) eap_teap: (TLS) TEAP - Handshake state - Server SSLv3/TLS write finished
(4) eap_teap: (TLS) TEAP - Handshake state - SSL negotiation finished
successfully
(4) eap_teap: (TLS) TEAP - Connection Established
(4) eap_teap: TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(4) eap_teap: TLS-Session-Version = "TLS 1.2"
(4) eap: Sending EAP Request (code 1) ID 6 length 57
(4) eap: EAP session adding &reply:State = 0xc2f31397c6f52456
(4) [eap] = handled
(4) if (handled && (Response-Packet-Type == Access-Challenge)) {
(4) EXPAND Response-Packet-Type
(4) --> Access-Challenge
(4) if (handled && (Response-Packet-Type == Access-Challenge)) -> TRUE
(4) if (handled && (Response-Packet-Type == Access-Challenge)) {
(4) attr_filter.access_challenge: EXPAND %{User-Name}
(4) attr_filter.access_challenge: --> anon
(4) attr_filter.access_challenge: Matched entry DEFAULT at line 12
(4) [attr_filter.access_challenge.post-auth] = updated
(4) [handled] = handled
(4) } # if (handled && (Response-Packet-Type == Access-Challenge)) =
handled
(4) } # Auth-Type eap = handled
(4) Using Post-Auth-Type Challenge
(4) # Executing group from file /etc/raddb/sites-enabled/default
(4) Challenge { ... } # empty sub-section is ignored
(4) session-state: Saving cached attributes
(4) Framed-MTU = 984
(4) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3 Handshake,
ClientHello"
(4) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake,
ServerHello"
(4) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake,
Certificate"
(4) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake,
ServerKeyExchange"
(4) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake,
ServerHelloDone"
(4) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake,
ClientKeyExchange"
(4) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake,
Finished"
(4) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 ChangeCipherSpec"
(4) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake,
Finished"
(4) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(4) TLS-Session-Version = "TLS 1.2"
(4) Sent Access-Challenge Id 254 from 10.78.5.223:1645 to 10.78.1.215:1645
length 115
(4) EAP-Message =
0x0106003937011403030001011603030028d58e097e35b6433e3eb729fb53a5947c1cf21fadf5526769e05b344ab33a4d126b8c7f21a13255bf
(4) Message-Authenticator = 0x00000000000000000000000000000000
(4) State = 0xc2f31397c6f52456155e1115101ee725
(4) Finished request
Waking up in 4.8 seconds.
(5) Received Access-Request Id 255 from 10.78.1.215:1645 to 10.78.5.223:1645
length 259
(5) User-Name = "anon"
(5) Service-Type = Framed-User
(5) Cisco-AVPair = "service-type=Framed"
(5) Framed-MTU = 1500
(5) Called-Station-Id = "00-3C-10-AB-A2-8A"
(5) Calling-Station-Id = "C8-F7-50-08-DD-9F"
(5) EAP-Message = 0x020600063701
(5) Message-Authenticator = 0xfa0b193d43d16e8dc2484de99e752bbe
(5) Cisco-AVPair = "audit-session-id=0A4E01D7000006B823D3132B"
(5) Cisco-AVPair = "method=dot1x"
(5) NAS-IP-Address = 10.78.1.215
(5) NAS-Port-Id = "GigabitEthernet1/0/10"
(5) NAS-Port-Type = Ethernet
(5) NAS-Port = 50110
(5) State = 0xc2f31397c6f52456155e1115101ee725
(5) Restoring &session-state
(5) &session-state:Framed-MTU = 984
(5) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3
Handshake, ClientHello"
(5) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
Handshake, ServerHello"
(5) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
Handshake, Certificate"
(5) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
Handshake, ServerKeyExchange"
(5) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
Handshake, ServerHelloDone"
(5) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2
Handshake, ClientKeyExchange"
(5) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2
Handshake, Finished"
(5) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
ChangeCipherSpec"
(5) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
Handshake, Finished"
(5) &session-state:TLS-Session-Cipher-Suite =
"ECDHE-RSA-AES256-GCM-SHA384"
(5) &session-state:TLS-Session-Version = "TLS 1.2"
(5) # Executing section authorize from file /etc/raddb/sites-enabled/default
(5) authorize {
(5) policy filter_username {
(5) if (&User-Name) {
(5) if (&User-Name) -> TRUE
(5) if (&User-Name) {
(5) if (&User-Name =~ / /) {
(5) if (&User-Name =~ / /) -> FALSE
(5) if (&User-Name =~ /@[^@]*@/ ) {
(5) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(5) if (&User-Name =~ /\.\./ ) {
(5) if (&User-Name =~ /\.\./ ) -> FALSE
(5) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(5) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) ->
FALSE
(5) if (&User-Name =~ /\.$/) {
(5) if (&User-Name =~ /\.$/) -> FALSE
(5) if (&User-Name =~ /(a)\./) {
(5) if (&User-Name =~ /(a)\./) -> FALSE
(5) } # if (&User-Name) = notfound
(5) } # policy filter_username = notfound
(5) [preprocess] = ok
(5) [chap] = noop
(5) [mschap] = noop
(5) [digest] = noop
(5) suffix: Checking for suffix after "@"
(5) suffix: No '@' in User-Name = "anon", looking up realm NULL
(5) suffix: No such realm "NULL"
(5) [suffix] = noop
(5) eap: Peer sent EAP Response (code 2) ID 6 length 6
(5) eap: Continuing tunnel setup
(5) [eap] = ok
(5) } # authorize = ok
(5) Found Auth-Type = eap
(5) # Executing group from file /etc/raddb/sites-enabled/default
(5) Auth-Type eap {
(5) eap: Removing EAP session with state 0xc2f31397c6f52456
(5) eap: Previous EAP request found for state 0xc2f31397c6f52456, released
from the list
(5) eap: Peer sent packet with method EAP TEAP (55)
(5) eap: Calling submodule eap_teap to process data
(5) eap_teap: Authenticate
(5) eap_teap: (TLS) Peer ACKed our handshake fragment. handshake is
finished
(5) eap_teap: Session established. Proceeding to decode tunneled attributes
(5) eap_teap: Using authenticated provisioning
(5) eap_teap: Using MAC SHA384 (673)
(5) eap_teap: Deriving EAP-TEAP keys
(5) eap_teap: S-IMCK[0] - hexdump(len=40): 0a fb ff 6d 28 ed 5f 83 f2 70 ef
d7 c5 27 b4 d9 b0 2f 9f 88 36 bf c2 ef 04 96 d4 c1 fb bb a8 59 9c 28 e0 d0
5e 3a 3d f9
(5) eap_teap: Sending EAP-Identity
(5) eap: Sending EAP Request (code 1) ID 7 length 44
(5) eap: EAP session adding &reply:State = 0xc2f31397c7f42456
(5) [eap] = handled
(5) if (handled && (Response-Packet-Type == Access-Challenge)) {
(5) EXPAND Response-Packet-Type
(5) --> Access-Challenge
(5) if (handled && (Response-Packet-Type == Access-Challenge)) -> TRUE
(5) if (handled && (Response-Packet-Type == Access-Challenge)) {
(5) attr_filter.access_challenge: EXPAND %{User-Name}
(5) attr_filter.access_challenge: --> anon
(5) attr_filter.access_challenge: Matched entry DEFAULT at line 12
(5) [attr_filter.access_challenge.post-auth] = updated
(5) [handled] = handled
(5) } # if (handled && (Response-Packet-Type == Access-Challenge)) =
handled
(5) } # Auth-Type eap = handled
(5) Using Post-Auth-Type Challenge
(5) # Executing group from file /etc/raddb/sites-enabled/default
(5) Challenge { ... } # empty sub-section is ignored
(5) session-state: Saving cached attributes
(5) Framed-MTU = 984
(5) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3 Handshake,
ClientHello"
(5) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake,
ServerHello"
(5) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake,
Certificate"
(5) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake,
ServerKeyExchange"
(5) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake,
ServerHelloDone"
(5) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake,
ClientKeyExchange"
(5) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake,
Finished"
(5) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 ChangeCipherSpec"
(5) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake,
Finished"
(5) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(5) TLS-Session-Version = "TLS 1.2"
(5) Sent Access-Challenge Id 255 from 10.78.5.223:1645 to 10.78.1.215:1645
length 102
(5) EAP-Message =
0x0107002c37011703030021d58e097e35b6433f20cc6502c27d43f27f0a30ff70fe8d564eef8f2e9e2b0ded87
(5) Message-Authenticator = 0x00000000000000000000000000000000
(5) State = 0xc2f31397c7f42456155e1115101ee725
(5) Finished request
Waking up in 4.8 seconds.
(6) Received Access-Request Id 0 from 10.78.1.215:1645 to 10.78.5.223:1645
length 320
(6) User-Name = "anon"
(6) Service-Type = Framed-User
(6) Cisco-AVPair = "service-type=Framed"
(6) Framed-MTU = 1500
(6) Called-Station-Id = "00-3C-10-AB-A2-8A"
(6) Calling-Station-Id = "C8-F7-50-08-DD-9F"
(6) EAP-Message =
0x020700433701170303003800000000000000019462c48dc921395b9b63a389f600d40431b30bb47a156b065a7d6f1cc86d797008c62ac2f7cb0c725bfe2aab9f23e0f8
(6) Message-Authenticator = 0x6de6bf531e1be8f17d18d321c35b54ce
(6) Cisco-AVPair = "audit-session-id=0A4E01D7000006B823D3132B"
(6) Cisco-AVPair = "method=dot1x"
(6) NAS-IP-Address = 10.78.1.215
(6) NAS-Port-Id = "GigabitEthernet1/0/10"
(6) NAS-Port-Type = Ethernet
(6) NAS-Port = 50110
(6) State = 0xc2f31397c7f42456155e1115101ee725
(6) Restoring &session-state
(6) &session-state:Framed-MTU = 984
(6) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3
Handshake, ClientHello"
(6) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
Handshake, ServerHello"
(6) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
Handshake, Certificate"
(6) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
Handshake, ServerKeyExchange"
(6) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
Handshake, ServerHelloDone"
(6) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2
Handshake, ClientKeyExchange"
(6) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2
Handshake, Finished"
(6) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
ChangeCipherSpec"
(6) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
Handshake, Finished"
(6) &session-state:TLS-Session-Cipher-Suite =
"ECDHE-RSA-AES256-GCM-SHA384"
(6) &session-state:TLS-Session-Version = "TLS 1.2"
(6) # Executing section authorize from file /etc/raddb/sites-enabled/default
(6) authorize {
(6) policy filter_username {
(6) if (&User-Name) {
(6) if (&User-Name) -> TRUE
(6) if (&User-Name) {
(6) if (&User-Name =~ / /) {
(6) if (&User-Name =~ / /) -> FALSE
(6) if (&User-Name =~ /@[^@]*@/ ) {
(6) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(6) if (&User-Name =~ /\.\./ ) {
(6) if (&User-Name =~ /\.\./ ) -> FALSE
(6) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(6) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) ->
FALSE
(6) if (&User-Name =~ /\.$/) {
(6) if (&User-Name =~ /\.$/) -> FALSE
(6) if (&User-Name =~ /(a)\./) {
(6) if (&User-Name =~ /(a)\./) -> FALSE
(6) } # if (&User-Name) = notfound
(6) } # policy filter_username = notfound
(6) [preprocess] = ok
(6) [chap] = noop
(6) [mschap] = noop
(6) [digest] = noop
(6) suffix: Checking for suffix after "@"
(6) suffix: No '@' in User-Name = "anon", looking up realm NULL
(6) suffix: No such realm "NULL"
(6) [suffix] = noop
(6) eap: Peer sent EAP Response (code 2) ID 7 length 67
(6) eap: Continuing tunnel setup
(6) [eap] = ok
(6) } # authorize = ok
(6) Found Auth-Type = eap
(6) # Executing group from file /etc/raddb/sites-enabled/default
(6) Auth-Type eap {
(6) eap: Removing EAP session with state 0xc2f31397c7f42456
(6) eap: Previous EAP request found for state 0xc2f31397c7f42456, released
from the list
(6) eap: Peer sent packet with method EAP TEAP (55)
(6) eap: Calling submodule eap_teap to process data
(6) eap_teap: Authenticate
(6) eap_teap: (TLS) EAP Done initial handshake
(6) eap_teap: Session established. Proceeding to decode tunneled attributes
(6) eap_teap: Got Tunneled TEAP TLVs
(6) eap_teap: FreeRADIUS-EAP-TEAP-EAP-Payload =
0x0207001c016d617274696e2d746573742d636c69656e742d63657274
(6) eap_teap: Processing received EAP Payload
(6) eap_teap: Got tunneled request
(6) eap_teap: EAP-Message =
0x0207001c016d617274696e2d746573742d636c69656e742d63657274
(6) eap_teap: Got tunneled identity of martin-test-client-cert
(6) eap_teap: AUTHENTICATION
(6) Virtual server inner-tunnel received request
(6) EAP-Message =
0x0207001c016d617274696e2d746573742d636c69656e742d63657274
(6) FreeRADIUS-Proxied-To = 127.0.0.1
(6) User-Name = "martin-test-client-cert"
(6) WARNING: Outer User-Name is not anonymized. User privacy is
compromised.
(6) server inner-tunnel {
(6) # Executing section authorize from file
/etc/raddb/sites-enabled/inner-tunnel
(6) authorize {
(6) policy filter_username {
(6) if (&User-Name) {
(6) if (&User-Name) -> TRUE
(6) if (&User-Name) {
(6) if (&User-Name =~ / /) {
(6) if (&User-Name =~ / /) -> FALSE
(6) if (&User-Name =~ /@[^@]*@/ ) {
(6) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(6) if (&User-Name =~ /\.\./ ) {
(6) if (&User-Name =~ /\.\./ ) -> FALSE
(6) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(6) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/))
-> FALSE
(6) if (&User-Name =~ /\.$/) {
(6) if (&User-Name =~ /\.$/) -> FALSE
(6) if (&User-Name =~ /(a)\./) {
(6) if (&User-Name =~ /(a)\./) -> FALSE
(6) } # if (&User-Name) = notfound
(6) } # policy filter_username = notfound
(6) [chap] = noop
(6) [mschap] = noop
(6) suffix: Checking for suffix after "@"
(6) suffix: No '@' in User-Name = "martin-test-client-cert", 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) inner-eap: Peer sent EAP Response (code 2) ID 7 length 28
(6) inner-eap: EAP-Identity reply, returning 'ok' so we can short-circuit
the rest of authorize
(6) [inner-eap] = ok
(6) } # authorize = ok
(6) WARNING: You set Proxy-To-Realm = LOCAL, but the realm does not
exist! Cancelling invalid proxy request.
(6) Found Auth-Type = inner-eap
(6) # Executing group from file /etc/raddb/sites-enabled/inner-tunnel
(6) Auth-Type inner-eap {
(6) inner-eap: Peer sent packet with method EAP Identity (1)
(6) inner-eap: Calling submodule eap_tls to process data
(6) eap_tls: (TLS) TLS -Initiating new session
(6) eap_tls: (TLS) TLS - Setting verify mode to require certificate from
client
(6) inner-eap: Sending EAP Request (code 1) ID 8 length 10
(6) inner-eap: EAP session adding &reply:State = 0x7d82a9617d8aa413
(6) [inner-eap] = handled
(6) } # Auth-Type inner-eap = handled
(6) Using Post-Auth-Type Challenge
(6) Post-Auth-Type sub-section not found. Ignoring.
(6) # Executing group from file /etc/raddb/sites-enabled/inner-tunnel
(6) session-state: Saving cached attributes
(6) Framed-MTU = 921
(6) } # server inner-tunnel
(6) Virtual server sending reply
(6) EAP-Message = 0x0108000a0da000000000
(6) Message-Authenticator = 0x00000000000000000000000000000000
(6) State = 0x7d82a9617d8aa413afebab08aa0725a8
(6) eap_teap: Got tunneled Access-Challenge
(6) eap: Sending EAP Request (code 1) ID 8 length 49
(6) eap: EAP session adding &reply:State = 0xc2f31397c4fb2456
(6) [eap] = handled
(6) if (handled && (Response-Packet-Type == Access-Challenge)) {
(6) EXPAND Response-Packet-Type
(6) --> Access-Challenge
(6) if (handled && (Response-Packet-Type == Access-Challenge)) -> TRUE
(6) if (handled && (Response-Packet-Type == Access-Challenge)) {
(6) attr_filter.access_challenge: EXPAND %{User-Name}
(6) attr_filter.access_challenge: --> anon
(6) attr_filter.access_challenge: Matched entry DEFAULT at line 12
(6) [attr_filter.access_challenge.post-auth] = updated
(6) [handled] = handled
(6) } # if (handled && (Response-Packet-Type == Access-Challenge)) =
handled
(6) } # Auth-Type eap = handled
(6) Using Post-Auth-Type Challenge
(6) # Executing group from file /etc/raddb/sites-enabled/default
(6) Challenge { ... } # empty sub-section is ignored
(6) session-state: Saving cached attributes
(6) Framed-MTU = 984
(6) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3 Handshake,
ClientHello"
(6) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake,
ServerHello"
(6) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake,
Certificate"
(6) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake,
ServerKeyExchange"
(6) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake,
ServerHelloDone"
(6) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake,
ClientKeyExchange"
(6) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake,
Finished"
(6) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 ChangeCipherSpec"
(6) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake,
Finished"
(6) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(6) TLS-Session-Version = "TLS 1.2"
(6) Sent Access-Challenge Id 0 from 10.78.5.223:1645 to 10.78.1.215:1645
length 107
(6) EAP-Message =
0x0108003137011703030026d58e097e35b64340c63c7e2b1c1afb074cc6f80935636bb23216c639cb1be316fa0442220db1
(6) Message-Authenticator = 0x00000000000000000000000000000000
(6) State = 0xc2f31397c4fb2456155e1115101ee725
(6) Finished request
Waking up in 3.6 seconds.
(7) Received Access-Request Id 1 from 10.78.1.215:1645 to 10.78.5.223:1645
length 561
(7) User-Name = "anon"
(7) Service-Type = Framed-User
(7) Cisco-AVPair = "service-type=Framed"
(7) Framed-MTU = 1500
(7) Called-Station-Id = "00-3C-10-AB-A2-8A"
(7) Calling-Station-Id = "C8-F7-50-08-DD-9F"
(7) EAP-Message =
0x0208013237011703030127000000000000000207544da8981f0ed24f876b17bd749ea0315a651d207421def6b9bd48818f8835d5438bb05952a9fe53cb9a22100ab6b6776887894903f9c98ac1fa988b119a475a1e460dc0de45ee4796a8337aad14f7a66d5d2604153807676baddb675e6f4382fd3d1a57db8575bac97ba611412c68ed5d2a53ea2f0c19edf45626fc8bbd4a2852cc737742da3fbd0735572b85079f75e130a6d517c026896db0b819e2841324df5fd62040854563a914a5bc6c433ca48344879be12c7a2ef4895cf69a019ad800db8c0bbf6f1c84f9385d11825858507decedd94f70be8698c4aac02c836b77110ae6576cfb91f51eb0d52c445bff2c9f839627a89bedd46120d611c2cc2bc716007d655125f0fe39ef7644a2f75592222c8294bd36dfc9d7efadcd3da9
(7) Message-Authenticator = 0xf42573b74775036a509442421edcfa15
(7) Cisco-AVPair = "audit-session-id=0A4E01D7000006B823D3132B"
(7) Cisco-AVPair = "method=dot1x"
(7) NAS-IP-Address = 10.78.1.215
(7) NAS-Port-Id = "GigabitEthernet1/0/10"
(7) NAS-Port-Type = Ethernet
(7) NAS-Port = 50110
(7) State = 0xc2f31397c4fb2456155e1115101ee725
(7) Restoring &session-state
(7) &session-state:Framed-MTU = 984
(7) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3
Handshake, ClientHello"
(7) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
Handshake, ServerHello"
(7) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
Handshake, Certificate"
(7) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
Handshake, ServerKeyExchange"
(7) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
Handshake, ServerHelloDone"
(7) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2
Handshake, ClientKeyExchange"
(7) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2
Handshake, Finished"
(7) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
ChangeCipherSpec"
(7) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
Handshake, Finished"
(7) &session-state:TLS-Session-Cipher-Suite =
"ECDHE-RSA-AES256-GCM-SHA384"
(7) &session-state:TLS-Session-Version = "TLS 1.2"
(7) # Executing section authorize from file /etc/raddb/sites-enabled/default
(7) authorize {
(7) policy filter_username {
(7) if (&User-Name) {
(7) if (&User-Name) -> TRUE
(7) if (&User-Name) {
(7) if (&User-Name =~ / /) {
(7) if (&User-Name =~ / /) -> FALSE
(7) if (&User-Name =~ /@[^@]*@/ ) {
(7) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(7) if (&User-Name =~ /\.\./ ) {
(7) if (&User-Name =~ /\.\./ ) -> FALSE
(7) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(7) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) ->
FALSE
(7) if (&User-Name =~ /\.$/) {
(7) if (&User-Name =~ /\.$/) -> FALSE
(7) if (&User-Name =~ /(a)\./) {
(7) if (&User-Name =~ /(a)\./) -> FALSE
(7) } # if (&User-Name) = notfound
(7) } # policy filter_username = notfound
(7) [preprocess] = ok
(7) [chap] = noop
(7) [mschap] = noop
(7) [digest] = noop
(7) suffix: Checking for suffix after "@"
(7) suffix: No '@' in User-Name = "anon", looking up realm NULL
(7) suffix: No such realm "NULL"
(7) [suffix] = noop
(7) eap: Peer sent EAP Response (code 2) ID 8 length 306
(7) eap: Continuing tunnel setup
(7) [eap] = ok
(7) } # authorize = ok
(7) Found Auth-Type = eap
(7) # Executing group from file /etc/raddb/sites-enabled/default
(7) Auth-Type eap {
(7) eap: Removing EAP session with state 0xc2f31397c4fb2456
(7) eap: Previous EAP request found for state 0xc2f31397c4fb2456, released
from the list
(7) eap: Peer sent packet with method EAP TEAP (55)
(7) eap: Calling submodule eap_teap to process data
(7) eap_teap: Authenticate
(7) eap_teap: (TLS) EAP Done initial handshake
(7) eap_teap: Session established. Proceeding to decode tunneled attributes
(7) eap_teap: Got Tunneled TEAP TLVs
(7) eap_teap: FreeRADIUS-EAP-TEAP-EAP-Payload =
0x0208010b0d800000010116030100fc010000f80303894df71571b44caa45ce419e7802bc2f64696a756113459d3036ed36abbf8be820ffd8e8fd16d3ec99a12eb2565caaa1d5957d005fd5e4214d3bc872b7f3a422a6002813021301c02cc02bc030c02fc024c023c028c027c00ac009c014c013009d009c003d003c0035002f01000087000500050100000000002b0009080304030303020301000d001a001808040805080604010501020104030503020302020601060300230000000a00080006001d00170018000b00020100003300260024001d0020f47d02c057a0290501142c7da714697cfd243b353d7de5ed8e6a77694cb0ce360031000000170000ff01000100002d00020101
(7) eap_teap: Processing received EAP Payload
(7) eap_teap: Got tunneled request
(7) eap_teap: EAP-Message =
0x0208010b0d800000010116030100fc010000f80303894df71571b44caa45ce419e7802bc2f64696a756113459d3036ed36abbf8be820ffd8e8fd16d3ec99a12eb2565caaa1d5957d005fd5e4214d3bc872b7f3a422a6002813021301c02cc02bc030c02fc024c023c028c027c00ac009c014c013009d009c003d003c0035002f01000087000500050100000000002b0009080304030303020301000d001a001808040805080604010501020104030503020302020601060300230000000a00080006001d00170018000b00020100003300260024001d0020f47d02c057a0290501142c7da714697cfd243b353d7de5ed8e6a77694cb0ce360031000000170000ff01000100002d00020101
(7) eap_teap: AUTHENTICATION
(7) Virtual server inner-tunnel received request
(7) EAP-Message =
0x0208010b0d800000010116030100fc010000f80303894df71571b44caa45ce419e7802bc2f64696a756113459d3036ed36abbf8be820ffd8e8fd16d3ec99a12eb2565caaa1d5957d005fd5e4214d3bc872b7f3a422a6002813021301c02cc02bc030c02fc024c023c028c027c00ac009c014c013009d009c003d003c0035002f01000087000500050100000000002b0009080304030303020301000d001a001808040805080604010501020104030503020302020601060300230000000a00080006001d00170018000b00020100003300260024001d0020f47d02c057a0290501142c7da714697cfd243b353d7de5ed8e6a77694cb0ce360031000000170000ff01000100002d00020101
(7) FreeRADIUS-Proxied-To = 127.0.0.1
(7) User-Name = "martin-test-client-cert"
(7) State = 0x7d82a9617d8aa413afebab08aa0725a8
(7) WARNING: Outer User-Name is not anonymized. User privacy is
compromised.
(7) server inner-tunnel {
(7) Restoring &session-state
(7) &session-state:Framed-MTU = 921
(7) # Executing section authorize from file
/etc/raddb/sites-enabled/inner-tunnel
(7) authorize {
(7) policy filter_username {
(7) if (&User-Name) {
(7) if (&User-Name) -> TRUE
(7) if (&User-Name) {
(7) if (&User-Name =~ / /) {
(7) if (&User-Name =~ / /) -> FALSE
(7) if (&User-Name =~ /@[^@]*@/ ) {
(7) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(7) if (&User-Name =~ /\.\./ ) {
(7) if (&User-Name =~ /\.\./ ) -> FALSE
(7) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(7) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/))
-> FALSE
(7) if (&User-Name =~ /\.$/) {
(7) if (&User-Name =~ /\.$/) -> FALSE
(7) if (&User-Name =~ /(a)\./) {
(7) if (&User-Name =~ /(a)\./) -> FALSE
(7) } # if (&User-Name) = notfound
(7) } # policy filter_username = notfound
(7) [chap] = noop
(7) [mschap] = noop
(7) suffix: Checking for suffix after "@"
(7) suffix: No '@' in User-Name = "martin-test-client-cert", looking up
realm NULL
(7) suffix: No such realm "NULL"
(7) [suffix] = noop
(7) update control {
(7) &Proxy-To-Realm := LOCAL
(7) } # update control = noop
(7) inner-eap: Peer sent EAP Response (code 2) ID 8 length 267
(7) inner-eap: No EAP Start, assuming it's an on-going EAP conversation
(7) [inner-eap] = updated
(7) [files] = noop
(7) [expiration] = noop
(7) [logintime] = noop
(7) [pap] = noop
(7) } # authorize = updated
(7) WARNING: You set Proxy-To-Realm = LOCAL, but the realm does not
exist! Cancelling invalid proxy request.
(7) Found Auth-Type = inner-eap
(7) # Executing group from file /etc/raddb/sites-enabled/inner-tunnel
(7) Auth-Type inner-eap {
(7) inner-eap: Removing EAP session with state 0x7d82a9617d8aa413
(7) inner-eap: Previous EAP request found for state 0x7d82a9617d8aa413,
released from the list
(7) inner-eap: Peer sent packet with method EAP TLS (13)
(7) inner-eap: Calling submodule eap_tls to process data
(7) eap_tls: (TLS) EAP Peer says that the final record size will be 257
bytes
(7) eap_tls: (TLS) EAP Got all data (257 bytes)
(7) eap_tls: (TLS) TLS - Handshake state - before SSL initialization
(7) eap_tls: (TLS) TLS - Handshake state - Server before SSL initialization
(7) eap_tls: (TLS) TLS - Handshake state - Server before SSL initialization
(7) eap_tls: (TLS) TLS - recv TLS 1.3 Handshake, ClientHello
(7) eap_tls: (TLS) TLS - Handshake state - Server SSLv3/TLS read client
hello
(7) eap_tls: (TLS) TLS - send TLS 1.2 Handshake, ServerHello
(7) eap_tls: (TLS) TLS - Handshake state - Server SSLv3/TLS write server
hello
(7) eap_tls: (TLS) TLS - send TLS 1.2 Handshake, Certificate
(7) eap_tls: (TLS) TLS - Handshake state - Server SSLv3/TLS write
certificate
(7) eap_tls: (TLS) TLS - send TLS 1.2 Handshake, ServerKeyExchange
(7) eap_tls: (TLS) TLS - Handshake state - Server SSLv3/TLS write key
exchange
(7) eap_tls: (TLS) TLS - send TLS 1.2 Handshake, CertificateRequest
(7) eap_tls: (TLS) TLS - Handshake state - Server SSLv3/TLS write
certificate request
(7) eap_tls: (TLS) TLS - send TLS 1.2 Handshake, ServerHelloDone
(7) eap_tls: (TLS) TLS - Handshake state - Server SSLv3/TLS write server
done
(7) eap_tls: (TLS) TLS - Server : Need to read more data: SSLv3/TLS write
server done
(7) eap_tls: (TLS) TLS - In Handshake Phase
(7) inner-eap: Sending EAP Request (code 1) ID 9 length 927
(7) inner-eap: EAP session adding &reply:State = 0x7d82a9617c8ba413
(7) [inner-eap] = handled
(7) } # Auth-Type inner-eap = handled
(7) Using Post-Auth-Type Challenge
(7) Post-Auth-Type sub-section not found. Ignoring.
(7) # Executing group from file /etc/raddb/sites-enabled/inner-tunnel
(7) session-state: Saving cached attributes
(7) Framed-MTU = 921
(7) TLS-Session-Information = "(TLS) TLS - recv TLS 1.3 Handshake,
ClientHello"
(7) TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake,
ServerHello"
(7) TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake,
Certificate"
(7) TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake,
ServerKeyExchange"
(7) TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake,
CertificateRequest"
(7) TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake,
ServerHelloDone"
(7) } # server inner-tunnel
(7) Virtual server sending reply
(7) EAP-Message =
0x0109039f0dc000000a36160303003d0200003903035e6cb1c6fd2673e4e50a26b49d6a3157a086a7f38d6f0d55e7e3ff8b8e4a1e0300c030000011ff01000100000b0004030001020017000016030307f40b0007f00007ed0003ac308203a830820290a003020102020105300d06092a864886f70d01010b05003068310b3009060355040613024445310f300d06035504070c06426f6368756d312f302d060355040a0c2649534c20496e7465726e65742053696368657268656974736c6f6573756e67656e20476d62483117301506035504030c0e6d617274696e2d746573742d6361301e170d3234313230323135333931365a170d3334313133303135333931365a307c310b3009060355040613024445310f300d06035504070c06426f6368756d312f302d060355040a0c2649534c20496e7465726e65742053696368657268656974736c6f6573756e67656e20476d6248312b302906035504030c226d617274696e2d746573742d7261646975732d73657276
(7) Message-Authenticator = 0x00000000000000000000000000000000
(7) State = 0x7d82a9617c8ba413afebab08aa0725a8
(7) eap_teap: Got tunneled Access-Challenge
(7) eap: Sending EAP Request (code 1) ID 9 length 966
(7) eap: EAP session adding &reply:State = 0xc2f31397c5fa2456
(7) [eap] = handled
(7) if (handled && (Response-Packet-Type == Access-Challenge)) {
(7) EXPAND Response-Packet-Type
(7) --> Access-Challenge
(7) if (handled && (Response-Packet-Type == Access-Challenge)) -> TRUE
(7) if (handled && (Response-Packet-Type == Access-Challenge)) {
(7) attr_filter.access_challenge: EXPAND %{User-Name}
(7) attr_filter.access_challenge: --> anon
(7) attr_filter.access_challenge: Matched entry DEFAULT at line 12
(7) [attr_filter.access_challenge.post-auth] = updated
(7) [handled] = handled
(7) } # if (handled && (Response-Packet-Type == Access-Challenge)) =
handled
(7) } # Auth-Type eap = handled
(7) Using Post-Auth-Type Challenge
(7) # Executing group from file /etc/raddb/sites-enabled/default
(7) Challenge { ... } # empty sub-section is ignored
(7) session-state: Saving cached attributes
(7) Framed-MTU = 984
(7) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3 Handshake,
ClientHello"
(7) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake,
ServerHello"
(7) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake,
Certificate"
(7) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake,
ServerKeyExchange"
(7) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake,
ServerHelloDone"
(7) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake,
ClientKeyExchange"
(7) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake,
Finished"
(7) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 ChangeCipherSpec"
(7) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake,
Finished"
(7) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(7) TLS-Session-Version = "TLS 1.2"
(7) Sent Access-Challenge Id 1 from 10.78.5.223:1645 to 10.78.1.215:1645
length 1030
(7) EAP-Message =
0x010903c6370117030303bbd58e097e35b643410cb18a26848891498a985a8c70345e88f19def5e1dd4d58778a0c0aff201867de918984ccbd651bd53de2657fbf3f506126cbc900c2230ebf0c6ac68ace0cc78edb39ecd2b5a931a5af9d6fd52213bd4bddc0eba2f151d782a1a4f723b0bd841c54c742ced24eaf86251045207c9cee3c7b8ab7b3116678476992521899f786af5f7046ff447dce3eb77828f7d3b21238f5a495829cafa2084e30a9793e9ef5cf7580fb617d037dfdc0c0d60dca443817ca1ade2ef6f643921c569692e9c1204076ab7a219c4de5ced278d1c6520dd61ca22fcb16868ff528cc96abaf980fdc58592dc48522fd045e6eb04e9dfddd66b937ca391774cfc17f83603b268d48a5ac174ec8f909cd7a1016bc7505ad468fb6b67ab550cd358b19415e1e99f1d7842d49866bef9f50ee0888386df8631157b9d51f3f74ef624dd7852c7a206d75b6da5ea5f4376213ba27683b430858e4023fd2ba8b2a25411aed63e30ca9f1e18167c9be1af
(7) Message-Authenticator = 0x00000000000000000000000000000000
(7) State = 0xc2f31397c5fa2456155e1115101ee725
(7) Finished request
Waking up in 2.0 seconds.
(8) Received Access-Request Id 2 from 10.78.1.215:1645 to 10.78.5.223:1645
length 298
(8) User-Name = "anon"
(8) Service-Type = Framed-User
(8) Cisco-AVPair = "service-type=Framed"
(8) Framed-MTU = 1500
(8) Called-Station-Id = "00-3C-10-AB-A2-8A"
(8) Calling-Station-Id = "C8-F7-50-08-DD-9F"
(8) EAP-Message =
0x0209002d370117030300220000000000000003bbf800dad4b2f62f8f8f855deb83a1b84a70060a87c3ae1b13cd
(8) Message-Authenticator = 0xd86b117f69facf309edc643a90b77b6a
(8) Cisco-AVPair = "audit-session-id=0A4E01D7000006B823D3132B"
(8) Cisco-AVPair = "method=dot1x"
(8) NAS-IP-Address = 10.78.1.215
(8) NAS-Port-Id = "GigabitEthernet1/0/10"
(8) NAS-Port-Type = Ethernet
(8) NAS-Port = 50110
(8) State = 0xc2f31397c5fa2456155e1115101ee725
(8) Restoring &session-state
(8) &session-state:Framed-MTU = 984
(8) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3
Handshake, ClientHello"
(8) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
Handshake, ServerHello"
(8) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
Handshake, Certificate"
(8) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
Handshake, ServerKeyExchange"
(8) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
Handshake, ServerHelloDone"
(8) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2
Handshake, ClientKeyExchange"
(8) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2
Handshake, Finished"
(8) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
ChangeCipherSpec"
(8) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
Handshake, Finished"
(8) &session-state:TLS-Session-Cipher-Suite =
"ECDHE-RSA-AES256-GCM-SHA384"
(8) &session-state:TLS-Session-Version = "TLS 1.2"
(8) # Executing section authorize from file /etc/raddb/sites-enabled/default
(8) authorize {
(8) policy filter_username {
(8) if (&User-Name) {
(8) if (&User-Name) -> TRUE
(8) if (&User-Name) {
(8) if (&User-Name =~ / /) {
(8) if (&User-Name =~ / /) -> FALSE
(8) if (&User-Name =~ /@[^@]*@/ ) {
(8) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(8) if (&User-Name =~ /\.\./ ) {
(8) if (&User-Name =~ /\.\./ ) -> FALSE
(8) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(8) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) ->
FALSE
(8) if (&User-Name =~ /\.$/) {
(8) if (&User-Name =~ /\.$/) -> FALSE
(8) if (&User-Name =~ /(a)\./) {
(8) if (&User-Name =~ /(a)\./) -> FALSE
(8) } # if (&User-Name) = notfound
(8) } # policy filter_username = notfound
(8) [preprocess] = ok
(8) [chap] = noop
(8) [mschap] = noop
(8) [digest] = noop
(8) suffix: Checking for suffix after "@"
(8) suffix: No '@' in User-Name = "anon", looking up realm NULL
(8) suffix: No such realm "NULL"
(8) [suffix] = noop
(8) eap: Peer sent EAP Response (code 2) ID 9 length 45
(8) eap: Continuing tunnel setup
(8) [eap] = ok
(8) } # authorize = ok
(8) Found Auth-Type = eap
(8) # Executing group from file /etc/raddb/sites-enabled/default
(8) Auth-Type eap {
(8) eap: Removing EAP session with state 0xc2f31397c5fa2456
(8) eap: Previous EAP request found for state 0xc2f31397c5fa2456, released
from the list
(8) eap: Peer sent packet with method EAP TEAP (55)
(8) eap: Calling submodule eap_teap to process data
(8) eap_teap: Authenticate
(8) eap_teap: (TLS) EAP Done initial handshake
(8) eap_teap: Session established. Proceeding to decode tunneled attributes
(8) eap_teap: Got Tunneled TEAP TLVs
(8) eap_teap: FreeRADIUS-EAP-TEAP-EAP-Payload = 0x020900060d00
(8) eap_teap: Processing received EAP Payload
(8) eap_teap: Got tunneled request
(8) eap_teap: EAP-Message = 0x020900060d00
(8) eap_teap: AUTHENTICATION
(8) Virtual server inner-tunnel received request
(8) EAP-Message = 0x020900060d00
(8) FreeRADIUS-Proxied-To = 127.0.0.1
(8) User-Name = "martin-test-client-cert"
(8) State = 0x7d82a9617c8ba413afebab08aa0725a8
(8) WARNING: Outer User-Name is not anonymized. User privacy is
compromised.
(8) server inner-tunnel {
(8) Restoring &session-state
(8) &session-state:Framed-MTU = 921
(8) &session-state:TLS-Session-Information = "(TLS) TLS - recv TLS 1.3
Handshake, ClientHello"
(8) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS 1.2
Handshake, ServerHello"
(8) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS 1.2
Handshake, Certificate"
(8) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS 1.2
Handshake, ServerKeyExchange"
(8) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS 1.2
Handshake, CertificateRequest"
(8) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS 1.2
Handshake, ServerHelloDone"
(8) # Executing section authorize from file
/etc/raddb/sites-enabled/inner-tunnel
(8) authorize {
(8) policy filter_username {
(8) if (&User-Name) {
(8) if (&User-Name) -> TRUE
(8) if (&User-Name) {
(8) if (&User-Name =~ / /) {
(8) if (&User-Name =~ / /) -> FALSE
(8) if (&User-Name =~ /@[^@]*@/ ) {
(8) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(8) if (&User-Name =~ /\.\./ ) {
(8) if (&User-Name =~ /\.\./ ) -> FALSE
(8) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(8) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/))
-> FALSE
(8) if (&User-Name =~ /\.$/) {
(8) if (&User-Name =~ /\.$/) -> FALSE
(8) if (&User-Name =~ /(a)\./) {
(8) if (&User-Name =~ /(a)\./) -> FALSE
(8) } # if (&User-Name) = notfound
(8) } # policy filter_username = notfound
(8) [chap] = noop
(8) [mschap] = noop
(8) suffix: Checking for suffix after "@"
(8) suffix: No '@' in User-Name = "martin-test-client-cert", looking up
realm NULL
(8) suffix: No such realm "NULL"
(8) [suffix] = noop
(8) update control {
(8) &Proxy-To-Realm := LOCAL
(8) } # update control = noop
(8) inner-eap: Peer sent EAP Response (code 2) ID 9 length 6
(8) inner-eap: No EAP Start, assuming it's an on-going EAP conversation
(8) [inner-eap] = updated
(8) [files] = noop
(8) [expiration] = noop
(8) [logintime] = noop
(8) [pap] = noop
(8) } # authorize = updated
(8) WARNING: You set Proxy-To-Realm = LOCAL, but the realm does not
exist! Cancelling invalid proxy request.
(8) Found Auth-Type = inner-eap
(8) # Executing group from file /etc/raddb/sites-enabled/inner-tunnel
(8) Auth-Type inner-eap {
(8) inner-eap: Removing EAP session with state 0x7d82a9617c8ba413
(8) inner-eap: Previous EAP request found for state 0x7d82a9617c8ba413,
released from the list
(8) inner-eap: Peer sent packet with method EAP TLS (13)
(8) inner-eap: Calling submodule eap_tls to process data
(8) eap_tls: (TLS) Peer ACKed our handshake fragment
(8) inner-eap: Sending EAP Request (code 1) ID 10 length 927
(8) inner-eap: EAP session adding &reply:State = 0x7d82a9617f88a413
(8) [inner-eap] = handled
(8) } # Auth-Type inner-eap = handled
(8) Using Post-Auth-Type Challenge
(8) Post-Auth-Type sub-section not found. Ignoring.
(8) # Executing group from file /etc/raddb/sites-enabled/inner-tunnel
(8) session-state: Saving cached attributes
(8) Framed-MTU = 921
(8) TLS-Session-Information = "(TLS) TLS - recv TLS 1.3 Handshake,
ClientHello"
(8) TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake,
ServerHello"
(8) TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake,
Certificate"
(8) TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake,
ServerKeyExchange"
(8) TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake,
CertificateRequest"
(8) TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake,
ServerHelloDone"
(8) } # server inner-tunnel
(8) Virtual server sending reply
(8) EAP-Message =
0x010a039f0dc000000a367d26fcfa591289fe0edfa8155639a543130ed8a6962f70647126878cf733836caa89c0268887485318012cca1d5ef88acfacb48eb6f3f345c4c8e5b927da63424e24c5394b7024725e8f9514edfd4ea11b2bbd6fff95bcba6081b3679fa0b5d58c8d0351edf51bfd00043b308204373082031fa00302010202146837d2898be29a5a56edbd7008ad02b855b72ecc300d06092a864886f70d01010b05003068310b3009060355040613024445310f300d06035504070c06426f6368756d312f302d060355040a0c2649534c20496e7465726e65742053696368657268656974736c6f6573756e67656e20476d62483117301506035504030c0e6d617274696e2d746573742d6361301e170d3234313132313133303935315a170d3334313131393133303935315a3068310b3009060355040613024445310f300d06035504070c06426f6368756d312f302d060355040a0c2649534c20496e7465726e65742053696368657268656974736c6f65
(8) Message-Authenticator = 0x00000000000000000000000000000000
(8) State = 0x7d82a9617f88a413afebab08aa0725a8
(8) eap_teap: Got tunneled Access-Challenge
(8) eap: Sending EAP Request (code 1) ID 10 length 966
(8) eap: EAP session adding &reply:State = 0xc2f31397caf92456
(8) [eap] = handled
(8) if (handled && (Response-Packet-Type == Access-Challenge)) {
(8) EXPAND Response-Packet-Type
(8) --> Access-Challenge
(8) if (handled && (Response-Packet-Type == Access-Challenge)) -> TRUE
(8) if (handled && (Response-Packet-Type == Access-Challenge)) {
(8) attr_filter.access_challenge: EXPAND %{User-Name}
(8) attr_filter.access_challenge: --> anon
(8) attr_filter.access_challenge: Matched entry DEFAULT at line 12
(8) [attr_filter.access_challenge.post-auth] = updated
(8) [handled] = handled
(8) } # if (handled && (Response-Packet-Type == Access-Challenge)) =
handled
(8) } # Auth-Type eap = handled
(8) Using Post-Auth-Type Challenge
(8) # Executing group from file /etc/raddb/sites-enabled/default
(8) Challenge { ... } # empty sub-section is ignored
(8) session-state: Saving cached attributes
(8) Framed-MTU = 984
(8) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3 Handshake,
ClientHello"
(8) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake,
ServerHello"
(8) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake,
Certificate"
(8) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake,
ServerKeyExchange"
(8) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake,
ServerHelloDone"
(8) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake,
ClientKeyExchange"
(8) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake,
Finished"
(8) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 ChangeCipherSpec"
(8) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake,
Finished"
(8) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(8) TLS-Session-Version = "TLS 1.2"
(8) Sent Access-Challenge Id 2 from 10.78.5.223:1645 to 10.78.1.215:1645
length 1030
(8) EAP-Message =
0x010a03c6370117030303bbd58e097e35b64342e3ae71b1f9e64d0935462b277890d4dec0e8f578e384323a264736b96d93cdb285f0bd408a118aea11b586ec9f2cd39bb340f735cec43836d99bece944c077d834a741fcb08661235069dc4ea87c119fcf3c02d51008c7358907568c280b3d9d6f45cefd1af86b2b84b8310987168d940667aa023bd013c7dfb4cb4f517117c66e5629e1b4695a7f79a82f59f0c34ea15fbb656f120568f22f7877b54bafca83b98958d14b984fa33418343092ec3902926b3df242be104ad1726e6c1a77d92b4310855aec2387ed7a82f3e888385980a69f0800ab7625369fdbdafbcecaeedeed646b3aee27f80b0b6f98fc7f895898b0ca81e517f976216cc7a912dde0b9fe02522c1932ffd96d9cef6944b3f22a525a54c1f9d537e2bcf5400f471015648d1ffcab61ba5decdb3158bacfc1ade4f5b2e2619e963d9b89bdc6ad84772497bf6b9a168c053e95a44925e1e5a0f7625e87b9c95888827ca353f8a006f4a74fd93cdcd1e3
(8) Message-Authenticator = 0x00000000000000000000000000000000
(8) State = 0xc2f31397caf92456155e1115101ee725
(8) Finished request
Waking up in 0.9 seconds.
(0) Cleaning up request packet ID 250 with timestamp +67 due to
cleanup_delay was reached
(1) Cleaning up request packet ID 251 with timestamp +68 due to
cleanup_delay was reached
(2) Cleaning up request packet ID 252 with timestamp +68 due to
cleanup_delay was reached
(3) Cleaning up request packet ID 253 with timestamp +68 due to
cleanup_delay was reached
(4) Cleaning up request packet ID 254 with timestamp +68 due to
cleanup_delay was reached
(5) Cleaning up request packet ID 255 with timestamp +68 due to
cleanup_delay was reached
Waking up in 1.1 seconds.
(9) Received Access-Request Id 3 from 10.78.1.215:1645 to 10.78.5.223:1645
length 298
(9) User-Name = "anon"
(9) Service-Type = Framed-User
(9) Cisco-AVPair = "service-type=Framed"
(9) Framed-MTU = 1500
(9) Called-Station-Id = "00-3C-10-AB-A2-8A"
(9) Calling-Station-Id = "C8-F7-50-08-DD-9F"
(9) EAP-Message =
0x020a002d370117030300220000000000000004f4ccf99d214d0c2fdb9a467cff7fd644578d4142606b87033ab1
(9) Message-Authenticator = 0x2a4c406b109e7aa5f19a03b3c9aaeeff
(9) Cisco-AVPair = "audit-session-id=0A4E01D7000006B823D3132B"
(9) Cisco-AVPair = "method=dot1x"
(9) NAS-IP-Address = 10.78.1.215
(9) NAS-Port-Id = "GigabitEthernet1/0/10"
(9) NAS-Port-Type = Ethernet
(9) NAS-Port = 50110
(9) State = 0xc2f31397caf92456155e1115101ee725
(9) Restoring &session-state
(9) &session-state:Framed-MTU = 984
(9) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3
Handshake, ClientHello"
(9) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
Handshake, ServerHello"
(9) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
Handshake, Certificate"
(9) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
Handshake, ServerKeyExchange"
(9) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
Handshake, ServerHelloDone"
(9) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2
Handshake, ClientKeyExchange"
(9) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2
Handshake, Finished"
(9) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
ChangeCipherSpec"
(9) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
Handshake, Finished"
(9) &session-state:TLS-Session-Cipher-Suite =
"ECDHE-RSA-AES256-GCM-SHA384"
(9) &session-state:TLS-Session-Version = "TLS 1.2"
(9) # Executing section authorize from file /etc/raddb/sites-enabled/default
(9) authorize {
(9) policy filter_username {
(9) if (&User-Name) {
(9) if (&User-Name) -> TRUE
(9) if (&User-Name) {
(9) if (&User-Name =~ / /) {
(9) if (&User-Name =~ / /) -> FALSE
(9) if (&User-Name =~ /@[^@]*@/ ) {
(9) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(9) if (&User-Name =~ /\.\./ ) {
(9) if (&User-Name =~ /\.\./ ) -> FALSE
(9) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(9) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) ->
FALSE
(9) if (&User-Name =~ /\.$/) {
(9) if (&User-Name =~ /\.$/) -> FALSE
(9) if (&User-Name =~ /(a)\./) {
(9) if (&User-Name =~ /(a)\./) -> FALSE
(9) } # if (&User-Name) = notfound
(9) } # policy filter_username = notfound
(9) [preprocess] = ok
(9) [chap] = noop
(9) [mschap] = noop
(9) [digest] = noop
(9) suffix: Checking for suffix after "@"
(9) suffix: No '@' in User-Name = "anon", looking up realm NULL
(9) suffix: No such realm "NULL"
(9) [suffix] = noop
(9) eap: Peer sent EAP Response (code 2) ID 10 length 45
(9) eap: Continuing tunnel setup
(9) [eap] = ok
(9) } # authorize = ok
(9) Found Auth-Type = eap
(9) # Executing group from file /etc/raddb/sites-enabled/default
(9) Auth-Type eap {
(9) eap: Removing EAP session with state 0xc2f31397caf92456
(9) eap: Previous EAP request found for state 0xc2f31397caf92456, released
from the list
(9) eap: Peer sent packet with method EAP TEAP (55)
(9) eap: Calling submodule eap_teap to process data
(9) eap_teap: Authenticate
(9) eap_teap: (TLS) EAP Done initial handshake
(9) eap_teap: Session established. Proceeding to decode tunneled attributes
(9) eap_teap: Got Tunneled TEAP TLVs
(9) eap_teap: FreeRADIUS-EAP-TEAP-EAP-Payload = 0x020a00060d00
(9) eap_teap: Processing received EAP Payload
(9) eap_teap: Got tunneled request
(9) eap_teap: EAP-Message = 0x020a00060d00
(9) eap_teap: AUTHENTICATION
(9) Virtual server inner-tunnel received request
(9) EAP-Message = 0x020a00060d00
(9) FreeRADIUS-Proxied-To = 127.0.0.1
(9) User-Name = "martin-test-client-cert"
(9) State = 0x7d82a9617f88a413afebab08aa0725a8
(9) WARNING: Outer User-Name is not anonymized. User privacy is
compromised.
(9) server inner-tunnel {
(9) Restoring &session-state
(9) &session-state:Framed-MTU = 921
(9) &session-state:TLS-Session-Information = "(TLS) TLS - recv TLS 1.3
Handshake, ClientHello"
(9) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS 1.2
Handshake, ServerHello"
(9) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS 1.2
Handshake, Certificate"
(9) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS 1.2
Handshake, ServerKeyExchange"
(9) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS 1.2
Handshake, CertificateRequest"
(9) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS 1.2
Handshake, ServerHelloDone"
(9) # Executing section authorize from file
/etc/raddb/sites-enabled/inner-tunnel
(9) authorize {
(9) policy filter_username {
(9) if (&User-Name) {
(9) if (&User-Name) -> TRUE
(9) if (&User-Name) {
(9) if (&User-Name =~ / /) {
(9) if (&User-Name =~ / /) -> FALSE
(9) if (&User-Name =~ /@[^@]*@/ ) {
(9) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(9) if (&User-Name =~ /\.\./ ) {
(9) if (&User-Name =~ /\.\./ ) -> FALSE
(9) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(9) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/))
-> FALSE
(9) if (&User-Name =~ /\.$/) {
(9) if (&User-Name =~ /\.$/) -> FALSE
(9) if (&User-Name =~ /(a)\./) {
(9) if (&User-Name =~ /(a)\./) -> FALSE
(9) } # if (&User-Name) = notfound
(9) } # policy filter_username = notfound
(9) [chap] = noop
(9) [mschap] = noop
(9) suffix: Checking for suffix after "@"
(9) suffix: No '@' in User-Name = "martin-test-client-cert", looking up
realm NULL
(9) suffix: No such realm "NULL"
(9) [suffix] = noop
(9) update control {
(9) &Proxy-To-Realm := LOCAL
(9) } # update control = noop
(9) inner-eap: Peer sent EAP Response (code 2) ID 10 length 6
(9) inner-eap: No EAP Start, assuming it's an on-going EAP conversation
(9) [inner-eap] = updated
(9) [files] = noop
(9) [expiration] = noop
(9) [logintime] = noop
(9) [pap] = noop
(9) } # authorize = updated
(9) WARNING: You set Proxy-To-Realm = LOCAL, but the realm does not
exist! Cancelling invalid proxy request.
(9) Found Auth-Type = inner-eap
(9) # Executing group from file /etc/raddb/sites-enabled/inner-tunnel
(9) Auth-Type inner-eap {
(9) inner-eap: Removing EAP session with state 0x7d82a9617f88a413
(9) inner-eap: Previous EAP request found for state 0x7d82a9617f88a413,
released from the list
(9) inner-eap: Peer sent packet with method EAP TLS (13)
(9) inner-eap: Calling submodule eap_tls to process data
(9) eap_tls: (TLS) Peer ACKed our handshake fragment
(9) inner-eap: Sending EAP Request (code 1) ID 11 length 790
(9) inner-eap: EAP session adding &reply:State = 0x7d82a9617e89a413
(9) [inner-eap] = handled
(9) } # Auth-Type inner-eap = handled
(9) Using Post-Auth-Type Challenge
(9) Post-Auth-Type sub-section not found. Ignoring.
(9) # Executing group from file /etc/raddb/sites-enabled/inner-tunnel
(9) session-state: Saving cached attributes
(9) Framed-MTU = 921
(9) TLS-Session-Information = "(TLS) TLS - recv TLS 1.3 Handshake,
ClientHello"
(9) TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake,
ServerHello"
(9) TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake,
Certificate"
(9) TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake,
ServerKeyExchange"
(9) TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake,
CertificateRequest"
(9) TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake,
ServerHelloDone"
(9) } # server inner-tunnel
(9) Virtual server sending reply
(9) EAP-Message =
0x010b03160d8000000a36092a864886f70d01010b05000382010100a43c58ca1352e1fc9445dd9ee39ba4a0370294fe7a392d7bde81a15eafa50faffeecfbd46a398281481534dac317909896a890db1c9bc2a92dd6643cb38884b99bf6bb9e29b89ec05a184fee40f636cffb530e6729aa18f65d4efbefc8c6f642f083d24fee5b1557e2fbbdd8db665c1ec5c7c0478e2355bf3fef88cc0908228a0b37560dd68abfba7b8e1b8bd76223b49cf84a80d90025c3ae17296c51dd9630a0f8af67b987416ee02f0ed7615ece56169a552aed5426af82497468570c9bc062edccfbac033364c1d6b55075552fe9c6f7fcb955415423fef9ba221ec3cda5939a6965aa3e49dcfda0c1a0b4712ba554c245396805304b4c14d252d9f84575160303014d0c000149030017410414ad6ba5da14562ce4205cc6b74047e0385accc56e794df1ef72eb68ee1f62af661dd2b9030086d65e34deb95e4eaa2eb667104fb00e886cd3c8d977ab104020080401001f93ff3171d72acf48e7
(9) Message-Authenticator = 0x00000000000000000000000000000000
(9) State = 0x7d82a9617e89a413afebab08aa0725a8
(9) eap_teap: Got tunneled Access-Challenge
(9) eap: Sending EAP Request (code 1) ID 11 length 829
(9) eap: EAP session adding &reply:State = 0xc2f31397cbf82456
(9) [eap] = handled
(9) if (handled && (Response-Packet-Type == Access-Challenge)) {
(9) EXPAND Response-Packet-Type
(9) --> Access-Challenge
(9) if (handled && (Response-Packet-Type == Access-Challenge)) -> TRUE
(9) if (handled && (Response-Packet-Type == Access-Challenge)) {
(9) attr_filter.access_challenge: EXPAND %{User-Name}
(9) attr_filter.access_challenge: --> anon
(9) attr_filter.access_challenge: Matched entry DEFAULT at line 12
(9) [attr_filter.access_challenge.post-auth] = updated
(9) [handled] = handled
(9) } # if (handled && (Response-Packet-Type == Access-Challenge)) =
handled
(9) } # Auth-Type eap = handled
(9) Using Post-Auth-Type Challenge
(9) # Executing group from file /etc/raddb/sites-enabled/default
(9) Challenge { ... } # empty sub-section is ignored
(9) session-state: Saving cached attributes
(9) Framed-MTU = 984
(9) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3 Handshake,
ClientHello"
(9) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake,
ServerHello"
(9) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake,
Certificate"
(9) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake,
ServerKeyExchange"
(9) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake,
ServerHelloDone"
(9) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake,
ClientKeyExchange"
(9) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake,
Finished"
(9) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 ChangeCipherSpec"
(9) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake,
Finished"
(9) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(9) TLS-Session-Version = "TLS 1.2"
(9) Sent Access-Challenge Id 3 from 10.78.5.223:1645 to 10.78.1.215:1645
length 893
(9) EAP-Message =
0x010b033d37011703030332d58e097e35b64343573324521e39493b78c71137b294ad377ca37b8e7d58c101cd75bbd42e9de6132e1e36b6e5701d479011efe8bf24c12f13b9c861bedebf401a68b56115098f63d5e4cccc18f01133aa121ad2fbcb26dc59b7e30e0eae6602cf9e081b4374b9745a3b71495948002308814909b3bcafeda2ab8b8333b1a4405b4c47fd417a6e1b52c4135bb92b3814938f56b3e9eeb3f3f0b776853f381bff5ffe7cbaf695fcf0605b4f1ba088ac0fb6f389aa7e71bc0ffd321918427856257b3c4f058aa48bf19dff4196c4f4915dc9c95e831e4e7f14c728530f801a9fca2e42764355221b6191a6b58a3ce51eba1615f439725fac595c91a90b57a5a9c1cf9a5465249e12b9b25c71c596d1edad0f754a4f0d570bd7cdfbdc0c41a899f396c3843ba0d1e6399bd628ffbb734ed339b3c1ea6aa3555a24dd041100a18d9f02cda65f3e6932b9eb6c3904562d88dccb87ba6e07e9d4f14f69498631e615ac8a53733a7e8a5e7c525a4fb9
(9) Message-Authenticator = 0x00000000000000000000000000000000
(9) State = 0xc2f31397cbf82456155e1115101ee725
(9) Finished request
Waking up in 0.7 seconds.
(6) Cleaning up request packet ID 0 with timestamp +69 due to cleanup_delay
was reached
Waking up in 1.5 seconds.
(10) Received Access-Request Id 4 from 10.78.1.215:1645 to 10.78.5.223:1645
length 1591
(10) User-Name = "anon"
(10) Service-Type = Framed-User
(10) Cisco-AVPair = "service-type=Framed"
(10) Framed-MTU = 1500
(10) Called-Station-Id = "00-3C-10-AB-A2-8A"
(10) Calling-Station-Id = "C8-F7-50-08-DD-9F"
(10) EAP-Message =
0x020b053037011703030525000000000000000580e50b95130ccf873d96392a00cbc0ce091c5c8672b42fd04851ae9e2794cc9b4c6e31a6855a6d0bd80b6ec78ac19e8399c23d3ab7871367f745daf4383bf653b8a8d7728318098a82ff53f43b0ebf29901db10d18d9451b5dc1dfc36d89e8255411028920903bbd8615d52e2750270352e9d34be7549223db57c8540aa5eeb7d9430f82371def17495fe66deb7ab9ab396229590f0ab1eadf078344e03c47f73b406b14ca7b2518c7931cfdd086cb3367020b5b0c6511ebfef7fdef9294067dd83ee6caf88d3fff61e3f9ec9de63fd1b7eff887c46d67cfe8f7bc6848ef2e1921d64cc82d0d9c4b02ad9d21f692927f270a576789f02f717a796752829aa695881f575b6313748ce6d1ad918157b8cd45f3dab73dc96dfaa02682c73ff3834b9d9f2311b9507c7fe2dd3983de1a532ad0e998dcb65b1e083c7034f4cff82d7a552dd05a53e270fb1a2107a06b084f6cd405e5f388a2a59b405418fb2db79374aa9a0cff
(10) Message-Authenticator = 0x5c5a3cb4dbdc83a2d2841ccff5dbf5a0
(10) Cisco-AVPair = "audit-session-id=0A4E01D7000006B823D3132B"
(10) Cisco-AVPair = "method=dot1x"
(10) NAS-IP-Address = 10.78.1.215
(10) NAS-Port-Id = "GigabitEthernet1/0/10"
(10) NAS-Port-Type = Ethernet
(10) NAS-Port = 50110
(10) State = 0xc2f31397cbf82456155e1115101ee725
(10) Restoring &session-state
(10) &session-state:Framed-MTU = 984
(10) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3
Handshake, ClientHello"
(10) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
Handshake, ServerHello"
(10) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
Handshake, Certificate"
(10) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
Handshake, ServerKeyExchange"
(10) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
Handshake, ServerHelloDone"
(10) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2
Handshake, ClientKeyExchange"
(10) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2
Handshake, Finished"
(10) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
ChangeCipherSpec"
(10) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
Handshake, Finished"
(10) &session-state:TLS-Session-Cipher-Suite =
"ECDHE-RSA-AES256-GCM-SHA384"
(10) &session-state:TLS-Session-Version = "TLS 1.2"
(10) # Executing section authorize from file
/etc/raddb/sites-enabled/default
(10) authorize {
(10) policy filter_username {
(10) if (&User-Name) {
(10) if (&User-Name) -> TRUE
(10) if (&User-Name) {
(10) if (&User-Name =~ / /) {
(10) if (&User-Name =~ / /) -> FALSE
(10) if (&User-Name =~ /@[^@]*@/ ) {
(10) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(10) if (&User-Name =~ /\.\./ ) {
(10) if (&User-Name =~ /\.\./ ) -> FALSE
(10) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(10) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/))
-> FALSE
(10) if (&User-Name =~ /\.$/) {
(10) if (&User-Name =~ /\.$/) -> FALSE
(10) if (&User-Name =~ /(a)\./) {
(10) if (&User-Name =~ /(a)\./) -> FALSE
(10) } # if (&User-Name) = notfound
(10) } # policy filter_username = notfound
(10) [preprocess] = ok
(10) [chap] = noop
(10) [mschap] = noop
(10) [digest] = noop
(10) suffix: Checking for suffix after "@"
(10) suffix: No '@' in User-Name = "anon", looking up realm NULL
(10) suffix: No such realm "NULL"
(10) [suffix] = noop
(10) eap: Peer sent EAP Response (code 2) ID 11 length 1328
(10) eap: Continuing tunnel setup
(10) [eap] = ok
(10) } # authorize = ok
(10) Found Auth-Type = eap
(10) # Executing group from file /etc/raddb/sites-enabled/default
(10) Auth-Type eap {
(10) eap: Removing EAP session with state 0xc2f31397cbf82456
(10) eap: Previous EAP request found for state 0xc2f31397cbf82456, released
from the list
(10) eap: Peer sent packet with method EAP TEAP (55)
(10) eap: Calling submodule eap_teap to process data
(10) eap_teap: Authenticate
(10) eap_teap: (TLS) EAP Done initial handshake
(10) eap_teap: Session established. Proceeding to decode tunneled
attributes
(10) eap_teap: Got Tunneled TEAP TLVs
(10) eap_teap: FreeRADIUS-EAP-TEAP-EAP-Payload =
0x020b05090d80000004ff16030304c70b00037500037200036f3082036b30820253a003020102020102300d06092a864886f70d01010b05003068310b3009060355040613024445310f300d06035504070c06426f6368756d312f302d060355040a0c2649534c20496e7465726e65742053696368657268656974736c6f6573756e67656e20476d62483117301506035504030c0e6d617274696e2d746573742d6361301e170d3234313132313133313035305a170d3334313131393133313035305a3071310b3009060355040613024445310f300d06035504070c06426f6368756d312f302d060355040a0c2649534c20496e7465726e65742053696368657268656974736c6f6573756e67656e20476d62483120301e06035504030c176d617274696e2d746573742d636c69656e742d6365727430820122300d06092a864886f70d01010105000382010f003082010a0282010100b915fb07553ec185e591403232f7f3b944e6435cf03dc7
(10) eap_teap: Processing received EAP Payload
(10) eap_teap: Got tunneled request
(10) eap_teap: EAP-Message =
0x020b05090d80000004ff16030304c70b00037500037200036f3082036b30820253a003020102020102300d06092a864886f70d01010b05003068310b3009060355040613024445310f300d06035504070c06426f6368756d312f302d060355040a0c2649534c20496e7465726e65742053696368657268656974736c6f6573756e67656e20476d62483117301506035504030c0e6d617274696e2d746573742d6361301e170d3234313132313133313035305a170d3334313131393133313035305a3071310b3009060355040613024445310f300d06035504070c06426f6368756d312f302d060355040a0c2649534c20496e7465726e65742053696368657268656974736c6f6573756e67656e20476d62483120301e06035504030c176d617274696e2d746573742d636c69656e742d6365727430820122300d06092a864886f70d01010105000382010f003082010a0282010100b915fb07553ec185e591403232f7f3b944e6435cf03dc709e1f2bc94d912244d6c
(10) eap_teap: AUTHENTICATION
(10) Virtual server inner-tunnel received request
(10) EAP-Message =
0x020b05090d80000004ff16030304c70b00037500037200036f3082036b30820253a003020102020102300d06092a864886f70d01010b05003068310b3009060355040613024445310f300d06035504070c06426f6368756d312f302d060355040a0c2649534c20496e7465726e65742053696368657268656974736c6f6573756e67656e20476d62483117301506035504030c0e6d617274696e2d746573742d6361301e170d3234313132313133313035305a170d3334313131393133313035305a3071310b3009060355040613024445310f300d06035504070c06426f6368756d312f302d060355040a0c2649534c20496e7465726e65742053696368657268656974736c6f6573756e67656e20476d62483120301e06035504030c176d617274696e2d746573742d636c69656e742d6365727430820122300d06092a864886f70d01010105000382010f003082010a0282010100b915fb07553ec185e591403232f7f3b944e6435cf03dc709e1f2bc94d912244d6c
(10) FreeRADIUS-Proxied-To = 127.0.0.1
(10) User-Name = "martin-test-client-cert"
(10) State = 0x7d82a9617e89a413afebab08aa0725a8
(10) WARNING: Outer User-Name is not anonymized. User privacy is
compromised.
(10) server inner-tunnel {
(10) Restoring &session-state
(10) &session-state:Framed-MTU = 921
(10) &session-state:TLS-Session-Information = "(TLS) TLS - recv TLS 1.3
Handshake, ClientHello"
(10) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS 1.2
Handshake, ServerHello"
(10) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS 1.2
Handshake, Certificate"
(10) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS 1.2
Handshake, ServerKeyExchange"
(10) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS 1.2
Handshake, CertificateRequest"
(10) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS 1.2
Handshake, ServerHelloDone"
(10) # Executing section authorize from file
/etc/raddb/sites-enabled/inner-tunnel
(10) authorize {
(10) policy filter_username {
(10) if (&User-Name) {
(10) if (&User-Name) -> TRUE
(10) if (&User-Name) {
(10) if (&User-Name =~ / /) {
(10) if (&User-Name =~ / /) -> FALSE
(10) if (&User-Name =~ /@[^@]*@/ ) {
(10) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(10) if (&User-Name =~ /\.\./ ) {
(10) if (&User-Name =~ /\.\./ ) -> FALSE
(10) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(10) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/))
-> FALSE
(10) if (&User-Name =~ /\.$/) {
(10) if (&User-Name =~ /\.$/) -> FALSE
(10) if (&User-Name =~ /(a)\./) {
(10) if (&User-Name =~ /(a)\./) -> FALSE
(10) } # if (&User-Name) = notfound
(10) } # policy filter_username = notfound
(10) [chap] = noop
(10) [mschap] = noop
(10) suffix: Checking for suffix after "@"
(10) suffix: No '@' in User-Name = "martin-test-client-cert", looking up
realm NULL
(10) suffix: No such realm "NULL"
(10) [suffix] = noop
(10) update control {
(10) &Proxy-To-Realm := LOCAL
(10) } # update control = noop
(10) inner-eap: Peer sent EAP Response (code 2) ID 11 length 1289
(10) inner-eap: No EAP Start, assuming it's an on-going EAP conversation
(10) [inner-eap] = updated
(10) [files] = noop
(10) [expiration] = noop
(10) [logintime] = noop
(10) [pap] = noop
(10) } # authorize = updated
(10) WARNING: You set Proxy-To-Realm = LOCAL, but the realm does not
exist! Cancelling invalid proxy request.
(10) Found Auth-Type = inner-eap
(10) # Executing group from file /etc/raddb/sites-enabled/inner-tunnel
(10) Auth-Type inner-eap {
(10) inner-eap: Removing EAP session with state 0x7d82a9617e89a413
(10) inner-eap: Previous EAP request found for state 0x7d82a9617e89a413,
released from the list
(10) inner-eap: Peer sent packet with method EAP TLS (13)
(10) inner-eap: Calling submodule eap_tls to process data
(10) eap_tls: (TLS) EAP Peer says that the final record size will be 1279
bytes
(10) eap_tls: (TLS) EAP Got all data (1279 bytes)
(10) eap_tls: (TLS) TLS - Handshake state - Server SSLv3/TLS write server
done
(10) eap_tls: (TLS) TLS - recv TLS 1.2 Handshake, Certificate
(10) eap_tls: (TLS) TLS - Creating attributes from 2 certificate in chain
(10) eap_tls: TLS-Cert-Serial :=
"6837d2898be29a5a56edbd7008ad02b855b72ecc"
(10) eap_tls: TLS-Cert-Expiration := "341119130951Z"
(10) eap_tls: TLS-Cert-Valid-Since := "241121130951Z"
(10) eap_tls: TLS-Cert-Subject :=
"/C=DE/L=Bochum/O=Test/CN=martin-test-ca"
(10) eap_tls: TLS-Cert-Issuer := "/C=DE/L=Bochum/O=Test/CN=martin-test-ca"
(10) eap_tls: TLS-Cert-Common-Name := "martin-test-ca"
(10) eap_tls: (TLS) TLS - Creating attributes from 1 certificate in chain
(10) eap_tls: TLS-Client-Cert-Serial := "02"
(10) eap_tls: TLS-Client-Cert-Expiration := "341119131050Z"
(10) eap_tls: TLS-Client-Cert-Valid-Since := "241121131050Z"
(10) eap_tls: TLS-Client-Cert-Subject :=
"/C=DE/L=Bochum/O=Test/CN=martin-test-client-cert"
(10) eap_tls: TLS-Client-Cert-Issuer :=
"/C=DE/L=Bochum/O=Test/CN=martin-test-ca"
(10) eap_tls: TLS-Client-Cert-Common-Name := "martin-test-client-cert"
(10) eap_tls: TLS-Client-Cert-X509v3-Extended-Key-Usage += "TLS Web
Client Authentication"
(10) eap_tls: TLS-Client-Cert-X509v3-Extended-Key-Usage-OID +=
"1.3.6.1.5.5.7.3.2"
Certificate chain - 1 intermediate CA cert(s) untrusted
To forbid these certificates see 'reject_unknown_intermediate_ca'
(TLS) untrusted certificate with depth [0] subject name
/C=DE/L=Bochum/O=Test/CN=martin-test-client-cert
(10) eap_tls: (TLS) TLS - Handshake state - Server SSLv3/TLS read client
certificate
(10) eap_tls: (TLS) TLS - recv TLS 1.2 Handshake, ClientKeyExchange
(10) eap_tls: (TLS) TLS - Handshake state - Server SSLv3/TLS read client
key exchange
(10) eap_tls: (TLS) TLS - recv TLS 1.2 Handshake, CertificateVerify
(10) eap_tls: (TLS) TLS - Handshake state - Server SSLv3/TLS read
certificate verify
(10) eap_tls: (TLS) TLS - Handshake state - Server SSLv3/TLS read change
cipher spec
(10) eap_tls: (TLS) TLS - recv TLS 1.2 Handshake, Finished
(10) eap_tls: (TLS) TLS - Handshake state - Server SSLv3/TLS read finished
(10) eap_tls: (TLS) TLS - send TLS 1.2 ChangeCipherSpec
(10) eap_tls: (TLS) TLS - Handshake state - Server SSLv3/TLS write change
cipher spec
(10) eap_tls: (TLS) TLS - send TLS 1.2 Handshake, Finished
(10) eap_tls: (TLS) TLS - Handshake state - Server SSLv3/TLS write finished
(10) eap_tls: (TLS) TLS - Handshake state - SSL negotiation finished
successfully
(10) eap_tls: (TLS) TLS - Connection Established
(10) eap_tls: TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(10) eap_tls: TLS-Session-Version = "TLS 1.2"
(10) inner-eap: Sending EAP Request (code 1) ID 12 length 61
(10) inner-eap: EAP session adding &reply:State = 0x7d82a961798ea413
(10) [inner-eap] = handled
(10) } # Auth-Type inner-eap = handled
(10) Using Post-Auth-Type Challenge
(10) Post-Auth-Type sub-section not found. Ignoring.
(10) # Executing group from file /etc/raddb/sites-enabled/inner-tunnel
(10) session-state: Saving cached attributes
(10) Framed-MTU = 921
(10) TLS-Session-Information = "(TLS) TLS - recv TLS 1.3 Handshake,
ClientHello"
(10) TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake,
ServerHello"
(10) TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake,
Certificate"
(10) TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake,
ServerKeyExchange"
(10) TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake,
CertificateRequest"
(10) TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake,
ServerHelloDone"
(10) TLS-Session-Information = "(TLS) TLS - recv TLS 1.2 Handshake,
Certificate"
(10) TLS-Session-Information = "(TLS) TLS - recv TLS 1.2 Handshake,
ClientKeyExchange"
(10) TLS-Session-Information = "(TLS) TLS - recv TLS 1.2 Handshake,
CertificateVerify"
(10) TLS-Session-Information = "(TLS) TLS - recv TLS 1.2 Handshake,
Finished"
(10) TLS-Session-Information = "(TLS) TLS - send TLS 1.2
ChangeCipherSpec"
(10) TLS-Session-Information = "(TLS) TLS - send TLS 1.2 Handshake,
Finished"
(10) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(10) TLS-Session-Version = "TLS 1.2"
(10) } # server inner-tunnel
(10) Virtual server sending reply
(10) EAP-Message =
0x010c003d0d800000003314030300010116030300289fb24bab4d6017bbf77aeadc565aa84db1623c9874948e97b337dcd9d0c454265394a6b04c125a3e
(10) Message-Authenticator = 0x00000000000000000000000000000000
(10) State = 0x7d82a961798ea413afebab08aa0725a8
(10) eap_teap: Got tunneled Access-Challenge
(10) eap: Sending EAP Request (code 1) ID 12 length 100
(10) eap: EAP session adding &reply:State = 0xc2f31397c8ff2456
(10) [eap] = handled
(10) if (handled && (Response-Packet-Type == Access-Challenge)) {
(10) EXPAND Response-Packet-Type
(10) --> Access-Challenge
(10) if (handled && (Response-Packet-Type == Access-Challenge)) -> TRUE
(10) if (handled && (Response-Packet-Type == Access-Challenge)) {
(10) attr_filter.access_challenge: EXPAND %{User-Name}
(10) attr_filter.access_challenge: --> anon
(10) attr_filter.access_challenge: Matched entry DEFAULT at line 12
(10) [attr_filter.access_challenge.post-auth] = updated
(10) [handled] = handled
(10) } # if (handled && (Response-Packet-Type == Access-Challenge)) =
handled
(10) } # Auth-Type eap = handled
(10) Using Post-Auth-Type Challenge
(10) # Executing group from file /etc/raddb/sites-enabled/default
(10) Challenge { ... } # empty sub-section is ignored
(10) session-state: Saving cached attributes
(10) Framed-MTU = 984
(10) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3 Handshake,
ClientHello"
(10) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake,
ServerHello"
(10) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake,
Certificate"
(10) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake,
ServerKeyExchange"
(10) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake,
ServerHelloDone"
(10) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake,
ClientKeyExchange"
(10) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake,
Finished"
(10) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
ChangeCipherSpec"
(10) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake,
Finished"
(10) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(10) TLS-Session-Version = "TLS 1.2"
(10) Sent Access-Challenge Id 4 from 10.78.5.223:1645 to 10.78.1.215:1645
length 158
(10) EAP-Message =
0x010c006437011703030059d58e097e35b64344cb8a3cbb988707670cf89a4c4601cff4b73ee9d203d19d55513749592b0a2a0aeb23eac1913c5a73cdb1c86d436a96be7a4909560d8c2b3ce12b0eaa40fa1a57a28bed7fcccfbf0f9adbe176675cc5341a
(10) Message-Authenticator = 0x00000000000000000000000000000000
(10) State = 0xc2f31397c8ff2456155e1115101ee725
(10) Finished request
Waking up in 0.7 seconds.
(11) Received Access-Request Id 5 from 10.78.1.215:1645 to 10.78.5.223:1645
length 298
(11) User-Name = "anon"
(11) Service-Type = Framed-User
(11) Cisco-AVPair = "service-type=Framed"
(11) Framed-MTU = 1500
(11) Called-Station-Id = "00-3C-10-AB-A2-8A"
(11) Calling-Station-Id = "C8-F7-50-08-DD-9F"
(11) EAP-Message =
0x020c002d37011703030022000000000000000667eaf709b078f5f253cfe9fb4e5ed9a3e2c442516a14c3b8506b
(11) Message-Authenticator = 0x161458dbe240cb9e668b603354de2a11
(11) Cisco-AVPair = "audit-session-id=0A4E01D7000006B823D3132B"
(11) Cisco-AVPair = "method=dot1x"
(11) NAS-IP-Address = 10.78.1.215
(11) NAS-Port-Id = "GigabitEthernet1/0/10"
(11) NAS-Port-Type = Ethernet
(11) NAS-Port = 50110
(11) State = 0xc2f31397c8ff2456155e1115101ee725
(11) Restoring &session-state
(11) &session-state:Framed-MTU = 984
(11) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3
Handshake, ClientHello"
(11) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
Handshake, ServerHello"
(11) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
Handshake, Certificate"
(11) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
Handshake, ServerKeyExchange"
(11) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
Handshake, ServerHelloDone"
(11) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2
Handshake, ClientKeyExchange"
(11) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2
Handshake, Finished"
(11) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
ChangeCipherSpec"
(11) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
Handshake, Finished"
(11) &session-state:TLS-Session-Cipher-Suite =
"ECDHE-RSA-AES256-GCM-SHA384"
(11) &session-state:TLS-Session-Version = "TLS 1.2"
(11) # Executing section authorize from file
/etc/raddb/sites-enabled/default
(11) authorize {
(11) policy filter_username {
(11) if (&User-Name) {
(11) if (&User-Name) -> TRUE
(11) if (&User-Name) {
(11) if (&User-Name =~ / /) {
(11) if (&User-Name =~ / /) -> FALSE
(11) if (&User-Name =~ /@[^@]*@/ ) {
(11) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(11) if (&User-Name =~ /\.\./ ) {
(11) if (&User-Name =~ /\.\./ ) -> FALSE
(11) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(11) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/))
-> FALSE
(11) if (&User-Name =~ /\.$/) {
(11) if (&User-Name =~ /\.$/) -> FALSE
(11) if (&User-Name =~ /(a)\./) {
(11) if (&User-Name =~ /(a)\./) -> FALSE
(11) } # if (&User-Name) = notfound
(11) } # policy filter_username = notfound
(11) [preprocess] = ok
(11) [chap] = noop
(11) [mschap] = noop
(11) [digest] = noop
(11) suffix: Checking for suffix after "@"
(11) suffix: No '@' in User-Name = "anon", looking up realm NULL
(11) suffix: No such realm "NULL"
(11) [suffix] = noop
(11) eap: Peer sent EAP Response (code 2) ID 12 length 45
(11) eap: Continuing tunnel setup
(11) [eap] = ok
(11) } # authorize = ok
(11) Found Auth-Type = eap
(11) # Executing group from file /etc/raddb/sites-enabled/default
(11) Auth-Type eap {
(11) eap: Removing EAP session with state 0xc2f31397c8ff2456
(11) eap: Previous EAP request found for state 0xc2f31397c8ff2456, released
from the list
(11) eap: Peer sent packet with method EAP TEAP (55)
(11) eap: Calling submodule eap_teap to process data
(11) eap_teap: Authenticate
(11) eap_teap: (TLS) EAP Done initial handshake
(11) eap_teap: Session established. Proceeding to decode tunneled
attributes
(11) eap_teap: Got Tunneled TEAP TLVs
(11) eap_teap: FreeRADIUS-EAP-TEAP-EAP-Payload = 0x020c00060d00
(11) eap_teap: Processing received EAP Payload
(11) eap_teap: Got tunneled request
(11) eap_teap: EAP-Message = 0x020c00060d00
(11) eap_teap: AUTHENTICATION
(11) Virtual server inner-tunnel received request
(11) EAP-Message = 0x020c00060d00
(11) FreeRADIUS-Proxied-To = 127.0.0.1
(11) User-Name = "martin-test-client-cert"
(11) State = 0x7d82a961798ea413afebab08aa0725a8
(11) WARNING: Outer User-Name is not anonymized. User privacy is
compromised.
(11) server inner-tunnel {
(11) Restoring &session-state
(11) &session-state:Framed-MTU = 921
(11) &session-state:TLS-Session-Information = "(TLS) TLS - recv TLS 1.3
Handshake, ClientHello"
(11) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS 1.2
Handshake, ServerHello"
(11) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS 1.2
Handshake, Certificate"
(11) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS 1.2
Handshake, ServerKeyExchange"
(11) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS 1.2
Handshake, CertificateRequest"
(11) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS 1.2
Handshake, ServerHelloDone"
(11) &session-state:TLS-Session-Information = "(TLS) TLS - recv TLS 1.2
Handshake, Certificate"
(11) &session-state:TLS-Session-Information = "(TLS) TLS - recv TLS 1.2
Handshake, ClientKeyExchange"
(11) &session-state:TLS-Session-Information = "(TLS) TLS - recv TLS 1.2
Handshake, CertificateVerify"
(11) &session-state:TLS-Session-Information = "(TLS) TLS - recv TLS 1.2
Handshake, Finished"
(11) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS 1.2
ChangeCipherSpec"
(11) &session-state:TLS-Session-Information = "(TLS) TLS - send TLS 1.2
Handshake, Finished"
(11) &session-state:TLS-Session-Cipher-Suite =
"ECDHE-RSA-AES256-GCM-SHA384"
(11) &session-state:TLS-Session-Version = "TLS 1.2"
(11) # Executing section authorize from file
/etc/raddb/sites-enabled/inner-tunnel
(11) authorize {
(11) policy filter_username {
(11) if (&User-Name) {
(11) if (&User-Name) -> TRUE
(11) if (&User-Name) {
(11) if (&User-Name =~ / /) {
(11) if (&User-Name =~ / /) -> FALSE
(11) if (&User-Name =~ /@[^@]*@/ ) {
(11) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(11) if (&User-Name =~ /\.\./ ) {
(11) if (&User-Name =~ /\.\./ ) -> FALSE
(11) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(11) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/))
-> FALSE
(11) if (&User-Name =~ /\.$/) {
(11) if (&User-Name =~ /\.$/) -> FALSE
(11) if (&User-Name =~ /(a)\./) {
(11) if (&User-Name =~ /(a)\./) -> FALSE
(11) } # if (&User-Name) = notfound
(11) } # policy filter_username = notfound
(11) [chap] = noop
(11) [mschap] = noop
(11) suffix: Checking for suffix after "@"
(11) suffix: No '@' in User-Name = "martin-test-client-cert", looking up
realm NULL
(11) suffix: No such realm "NULL"
(11) [suffix] = noop
(11) update control {
(11) &Proxy-To-Realm := LOCAL
(11) } # update control = noop
(11) inner-eap: Peer sent EAP Response (code 2) ID 12 length 6
(11) inner-eap: No EAP Start, assuming it's an on-going EAP conversation
(11) [inner-eap] = updated
(11) [files] = noop
(11) [expiration] = noop
(11) [logintime] = noop
(11) [pap] = noop
(11) } # authorize = updated
(11) WARNING: You set Proxy-To-Realm = LOCAL, but the realm does not
exist! Cancelling invalid proxy request.
(11) Found Auth-Type = inner-eap
(11) # Executing group from file /etc/raddb/sites-enabled/inner-tunnel
(11) Auth-Type inner-eap {
(11) inner-eap: Removing EAP session with state 0x7d82a961798ea413
(11) inner-eap: Previous EAP request found for state 0x7d82a961798ea413,
released from the list
(11) inner-eap: Peer sent packet with method EAP TLS (13)
(11) inner-eap: Calling submodule eap_tls to process data
(11) eap_tls: (TLS) Peer ACKed our handshake fragment. handshake is
finished
(11) inner-eap: Sending EAP Success (code 3) ID 12 length 4
(11) inner-eap: Freeing handler
(11) [inner-eap] = ok
(11) } # Auth-Type inner-eap = ok
(11) # Executing section post-auth from file
/etc/raddb/sites-enabled/inner-tunnel
(11) post-auth {
(11) if (0) {
(11) if (0) -> FALSE
(11) } # post-auth = noop
(11) } # server inner-tunnel
(11) Virtual server sending reply
(11) MS-MPPE-Recv-Key =
0x68b33fa03c2a947717ab842050d1e6eb12eded7e0feb2dd0141e02b9ba42de62
(11) MS-MPPE-Send-Key =
0x2912104beaf44768c82898fee9792a14d76ecd2da4f8a9e8673462d4244bce4a
(11) EAP-MSK =
0x68b33fa03c2a947717ab842050d1e6eb12eded7e0feb2dd0141e02b9ba42de622912104beaf44768c82898fee9792a14d76ecd2da4f8a9e8673462d4244bce4a
(11) EAP-EMSK =
0x539ddd8a80123822102125690512d370f86ef93b1e4b8a258c02b92be19c3a04fd3dbd4c3bf034c244e02a117285a6576c837bf6304d59656052f9cbfb837c88
(11) EAP-Session-Id =
0x0d894df71571b44caa45ce419e7802bc2f64696a756113459d3036ed36abbf8be85e6cb1c6fd2673e4e50a26b49d6a3157a086a7f38d6f0d55e7e3ff8b8e4a1e03
(11) EAP-Message = 0x030c0004
(11) Message-Authenticator = 0x00000000000000000000000000000000
(11) User-Name = "martin-test-client-cert"
(11) eap_teap: Got tunneled Access-Accept
(11) eap_teap: MSCHAP_MPPE_RECV_KEY [high MSK] - hexdump(len=32): 68 b3 3f
a0 3c 2a 94 77 17 ab 84 20 50 d1 e6 eb 12 ed ed 7e 0f eb 2d d0 14 1e 02 b9
ba 42 de 62
(11) eap_teap: MSCHAP_MPPE_SEND_KEY [low MSK] - hexdump(len=32): 29 12 10
4b ea f4 47 68 c8 28 98 fe e9 79 2a 14 d7 6e cd 2d a4 f8 a9 e8 67 34 62 d4
24 4b ce 4a
(11) eap_teap: Sending Cryptobinding
(11) eap_teap: Updating ICMK (j = 1)
(11) eap_teap: IMSK from MSK - hexdump(len=32): 68 b3 3f a0 3c 2a 94 77 17
ab 84 20 50 d1 e6 eb 12 ed ed 7e 0f eb 2d d0 14 1e 02 b9 ba 42 de 62
(11) eap_teap: MSK S-IMCK[j] - hexdump(len=40): ea f8 3b 4e ef 4e f3 d1 5d
50 3d a6 dd a0 cf 5f dc 03 f9 12 8d aa 94 4a c8 ad 62 0f cf fe e9 5c fd a4
f6 25 af cf 19 de
(11) eap_teap: MSK CMK[j] - hexdump(len=20): 53 e0 ad f2 72 70 ee b1 76 26
01 eb 4f f5 99 56 0f 76 bb 96
(11) eap_teap: IMSK from EMSK - hexdump(len=32): 41 34 3a 53 6a 1e a1 2f 67
44 f9 50 3f 24 aa 11 45 94 24 b3 e0 9f 97 ea cb 85 da 1b d4 c2 5b 3c
(11) eap_teap: EMSK S-IMCK[j] - hexdump(len=40): e0 64 11 18 00 36 9b c0 25
10 e4 f3 00 14 ee fb 50 4e dd cf 3c ff af 52 71 bc 85 78 ad 05 c4 65 99 0e
42 87 28 68 2b a0
(11) eap_teap: EMSK CMK[j] - hexdump(len=20): cb d7 87 35 9c 35 ca f5 62 58
c4 5e 55 6c 84 10 70 d7 02 e9
(11) eap_teap: BUFFER for Compound MAC calculation - hexdump(len=89): 80 0c
00 4c 00 01 01 30 e9 5b c3 6f 1f 2d 0a 80 f8 34 3f 9c cf eb 67 e2 34 2f 95
ac bd d9 c3 ed 85 d7 61 b1 04 35 ca 16 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 37 00 01 00 04 31 32 33 34
(11) eap: Sending EAP Request (code 1) ID 13 length 127
(11) eap: EAP session adding &reply:State = 0xc2f31397c9fe2456
(11) [eap] = handled
(11) if (handled && (Response-Packet-Type == Access-Challenge)) {
(11) EXPAND Response-Packet-Type
(11) --> Access-Challenge
(11) if (handled && (Response-Packet-Type == Access-Challenge)) -> TRUE
(11) if (handled && (Response-Packet-Type == Access-Challenge)) {
(11) attr_filter.access_challenge: EXPAND %{User-Name}
(11) attr_filter.access_challenge: --> anon
(11) attr_filter.access_challenge: Matched entry DEFAULT at line 12
(11) [attr_filter.access_challenge.post-auth] = updated
(11) [handled] = handled
(11) } # if (handled && (Response-Packet-Type == Access-Challenge)) =
handled
(11) } # Auth-Type eap = handled
(11) Using Post-Auth-Type Challenge
(11) # Executing group from file /etc/raddb/sites-enabled/default
(11) Challenge { ... } # empty sub-section is ignored
(11) session-state: Saving cached attributes
(11) Framed-MTU = 984
(11) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3 Handshake,
ClientHello"
(11) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake,
ServerHello"
(11) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake,
Certificate"
(11) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake,
ServerKeyExchange"
(11) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake,
ServerHelloDone"
(11) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake,
ClientKeyExchange"
(11) TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2 Handshake,
Finished"
(11) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
ChangeCipherSpec"
(11) TLS-Session-Information = "(TLS) TEAP - send TLS 1.2 Handshake,
Finished"
(11) TLS-Session-Cipher-Suite = "ECDHE-RSA-AES256-GCM-SHA384"
(11) TLS-Session-Version = "TLS 1.2"
(11) Sent Access-Challenge Id 5 from 10.78.5.223:1645 to 10.78.1.215:1645
length 185
(11) EAP-Message =
0x010d007f37011703030074d58e097e35b643455b253d59113fda874fb020d4afe40bf47f2fd956366e3ba6e71eb6bc116180ad76ed7f9026c8acf7f8ecd0c20012b4ec9847194ee92cfde08f52ad7d26aa1d53a74cb2861183b8b63e93733eb1eaf20300fea4b99bd31ec45acaf579162bada39136723153754978f89fce9c
(11) Message-Authenticator = 0x00000000000000000000000000000000
(11) State = 0xc2f31397c9fe2456155e1115101ee725
(11) Finished request
Waking up in 0.5 seconds.
(7) Cleaning up request packet ID 1 with timestamp +70 due to cleanup_delay
was reached
Waking up in 1.1 seconds.
(12) Received Access-Request Id 6 from 10.78.1.215:1645 to 10.78.5.223:1645
length 388
(12) User-Name = "anon"
(12) Service-Type = Framed-User
(12) Cisco-AVPair = "service-type=Framed"
(12) Framed-MTU = 1500
(12) Called-Station-Id = "00-3C-10-AB-A2-8A"
(12) Calling-Station-Id = "C8-F7-50-08-DD-9F"
(12) EAP-Message =
0x020d00873701170303007c0000000000000007a56e372d3a12917d7af3f2235b5393274dde9acb6899bb6e2b5199d025e9532406f66ab5419a9e257c275a21943f8fde814496ae136ada9525a4a90edfb639af9639bcf459f8a527a09760a991ce8a28bd0811f4cf5d397aa895d1b5ebdb8e3e95502f3da03d3707e8ba5dc462e3eca1e2809736
(12) Message-Authenticator = 0x3ec01ead68ef624464bc172d80e35e99
(12) Cisco-AVPair = "audit-session-id=0A4E01D7000006B823D3132B"
(12) Cisco-AVPair = "method=dot1x"
(12) NAS-IP-Address = 10.78.1.215
(12) NAS-Port-Id = "GigabitEthernet1/0/10"
(12) NAS-Port-Type = Ethernet
(12) NAS-Port = 50110
(12) State = 0xc2f31397c9fe2456155e1115101ee725
(12) Restoring &session-state
(12) &session-state:Framed-MTU = 984
(12) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.3
Handshake, ClientHello"
(12) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
Handshake, ServerHello"
(12) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
Handshake, Certificate"
(12) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
Handshake, ServerKeyExchange"
(12) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
Handshake, ServerHelloDone"
(12) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2
Handshake, ClientKeyExchange"
(12) &session-state:TLS-Session-Information = "(TLS) TEAP - recv TLS 1.2
Handshake, Finished"
(12) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
ChangeCipherSpec"
(12) &session-state:TLS-Session-Information = "(TLS) TEAP - send TLS 1.2
Handshake, Finished"
(12) &session-state:TLS-Session-Cipher-Suite =
"ECDHE-RSA-AES256-GCM-SHA384"
(12) &session-state:TLS-Session-Version = "TLS 1.2"
(12) # Executing section authorize from file
/etc/raddb/sites-enabled/default
(12) authorize {
(12) policy filter_username {
(12) if (&User-Name) {
(12) if (&User-Name) -> TRUE
(12) if (&User-Name) {
(12) if (&User-Name =~ / /) {
(12) if (&User-Name =~ / /) -> FALSE
(12) if (&User-Name =~ /@[^@]*@/ ) {
(12) if (&User-Name =~ /@[^@]*@/ ) -> FALSE
(12) if (&User-Name =~ /\.\./ ) {
(12) if (&User-Name =~ /\.\./ ) -> FALSE
(12) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/)) {
(12) if ((&User-Name =~ /@/) && (&User-Name !~ /(a)(.+)\.(.+)$/))
-> FALSE
(12) if (&User-Name =~ /\.$/) {
(12) if (&User-Name =~ /\.$/) -> FALSE
(12) if (&User-Name =~ /(a)\./) {
(12) if (&User-Name =~ /(a)\./) -> FALSE
(12) } # if (&User-Name) = notfound
(12) } # policy filter_username = notfound
(12) [preprocess] = ok
(12) [chap] = noop
(12) [mschap] = noop
(12) [digest] = noop
(12) suffix: Checking for suffix after "@"
(12) suffix: No '@' in User-Name = "anon", looking up realm NULL
(12) suffix: No such realm "NULL"
(12) [suffix] = noop
(12) eap: Peer sent EAP Response (code 2) ID 13 length 135
(12) eap: Continuing tunnel setup
(12) [eap] = ok
(12) } # authorize = ok
(12) Found Auth-Type = eap
(12) # Executing group from file /etc/raddb/sites-enabled/default
(12) Auth-Type eap {
(12) eap: Removing EAP session with state 0xc2f31397c9fe2456
(12) eap: Previous EAP request found for state 0xc2f31397c9fe2456, released
from the list
(12) eap: Peer sent packet with method EAP TEAP (55)
(12) eap: Calling submodule eap_teap to process data
(12) eap_teap: Authenticate
(12) eap_teap: (TLS) EAP Done initial handshake
(12) eap_teap: Session established. Proceeding to decode tunneled
attributes
(12) eap_teap: EAP-TEAP TLV Status indicates failure. Rejecting request.
(12) eap: ERROR: Failed continuing EAP TEAP (55) session. EAP sub-module
failed
(12) eap: Sending EAP Failure (code 4) ID 13 length 4
(12) eap: Failed in EAP select
(12) [eap] = invalid
(12) } # Auth-Type eap = invalid
(12) Failed to authenticate the user
(12) Using Post-Auth-Type Reject
(12) # Executing group from file /etc/raddb/sites-enabled/default
(12) Post-Auth-Type REJECT {
(12) attr_filter.access_reject: EXPAND %{User-Name}
(12) attr_filter.access_reject: --> anon
(12) attr_filter.access_reject: Matched entry DEFAULT at line 11
(12) [attr_filter.access_reject] = updated
(12) [eap] = noop
(12) policy remove_reply_message_if_eap {
(12) if (&reply:EAP-Message && &reply:Reply-Message) {
(12) if (&reply:EAP-Message && &reply:Reply-Message) -> FALSE
(12) else {
(12) [noop] = noop
(12) } # else = noop
(12) } # policy remove_reply_message_if_eap = noop
(12) } # Post-Auth-Type REJECT = updated
(12) Delaying response for 1.000000 seconds
(8) Cleaning up request packet ID 2 with timestamp +72 due to cleanup_delay
was reached
Waking up in 0.2 seconds.
Waking up in 0.6 seconds.
(12) Sending delayed response
(12) Sent Access-Reject Id 6 from 10.78.5.223:1645 to 10.78.1.215:1645
length 44
(12) EAP-Message = 0x040d0004
(12) Message-Authenticator = 0x00000000000000000000000000000000
Waking up in 0.5 seconds.
(9) Cleaning up request packet ID 3 with timestamp +73 due to cleanup_delay
was reached
Waking up in 1.5 seconds.
(10) Cleaning up request packet ID 4 with timestamp +75 due to
cleanup_delay was reached
Waking up in 0.2 seconds.
(11) Cleaning up request packet ID 5 with timestamp +75 due to
cleanup_delay was reached
Waking up in 1.5 seconds.
(12) Cleaning up request packet ID 6 with timestamp +77 due to
cleanup_delay was reached
Ready to process requests
3
8
Hi guys, I am writing to ask some questions about the TACACS SERVER in version 4.x.x. I would like to know how can I do things I did in radius server.Things looks different in tacacs.
1)enable authentication
2) authorization privilege level for each user.
3) authorization network attributes.
4) authorzation specific commands.
The common things in 1) 2) 3) I want to do is making different rules for different users.In radius,AUTHOR COMES AFTER AUTHEN,so I just need to set these attributes in USERS file.
I am wondering if there is simple configuration I can do or interfaces I can use just like what I did in radius.
I am confused because I cannot find an example to follow.I WISH YOU COULD PROVIDE ME A SAMPLE CONFIGURATION FOR TACACS,that will be the best!!
THANKS FOR YOUR HELP!
黄立成
2071264258(a)qq.com
2
1
Hello. I'm new to FreeRADIUS. I am configuring FreeRADIUS to use the database in MySQL instead of the text files, so it's easier to manage.
I installed FreeRADIUS by Homebrew using "brew install freeradius-server". The Current version is 3.2.6_2. I tested it using radtest and got the "Access-Accept".
The MySQL is also installed by Homebrew using "brew install MySQL". The current version is 9.0.1. I created the database "radius" and the default schema for it.
Then I modified the radiusd.conf and mods-available/sql files to connect to the MySQL server as suggested in guide/SQL HOWTO: Configuring FreeRADIUS to use SQL. I didn't change anything in sites-available/default and inner-tunnel as the lines containing 'sql' are already uncommented (although they are in the form of '-sql').
Trying to fire up the server by "radius -X" got me this error:
radiusd -X
FreeRADIUS Version 3.2.6
Copyright (C) 1999-2023 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 /opt/homebrew/Cellar/freeradius-server/3.2.6_2/share/freeradius/dictionary
including dictionary file /opt/homebrew/Cellar/freeradius-server/3.2.6_2/share/freeradius/dictionary.dhcp
including dictionary file /opt/homebrew/Cellar/freeradius-server/3.2.6_2/share/freeradius/dictionary.vqp
including dictionary file /opt/homebrew/Cellar/freeradius-server/3.2.6_2/etc/raddb/dictionary
including configuration file /opt/homebrew/Cellar/freeradius-server/3.2.6_2/etc/raddb/radiusd.conf
including configuration file /opt/homebrew/Cellar/freeradius-server/3.2.6_2/etc/raddb/proxy.conf
including configuration file /opt/homebrew/Cellar/freeradius-server/3.2.6_2/etc/raddb/clients.conf
including configuration file /opt/homebrew/Cellar/freeradius-server/3.2.6_2/etc/raddb/mods-available/sql
including configuration file /opt/homebrew/Cellar/freeradius-server/3.2.6_2/etc/raddb/mods-config/sql/main/mysql/queries.conf
including files in directory /opt/homebrew/Cellar/freeradius-server/3.2.6_2/etc/raddb/mods-enabled/
including configuration file /opt/homebrew/Cellar/freeradius-server/3.2.6_2/etc/raddb/mods-enabled/detail.log
including configuration file /opt/homebrew/Cellar/freeradius-server/3.2.6_2/etc/raddb/mods-enabled/eap
including configuration file /opt/homebrew/Cellar/freeradius-server/3.2.6_2/etc/raddb/mods-enabled/echo
including configuration file /opt/homebrew/Cellar/freeradius-server/3.2.6_2/etc/raddb/mods-enabled/utf8
including configuration file /opt/homebrew/Cellar/freeradius-server/3.2.6_2/etc/raddb/mods-enabled/always
including configuration file /opt/homebrew/Cellar/freeradius-server/3.2.6_2/etc/raddb/mods-enabled/digest
including configuration file /opt/homebrew/Cellar/freeradius-server/3.2.6_2/etc/raddb/mods-enabled/date
including configuration file /opt/homebrew/Cellar/freeradius-server/3.2.6_2/etc/raddb/mods-enabled/preprocess
including configuration file /opt/homebrew/Cellar/freeradius-server/3.2.6_2/etc/raddb/mods-enabled/pap
including configuration file /opt/homebrew/Cellar/freeradius-server/3.2.6_2/etc/raddb/mods-enabled/expr
including configuration file /opt/homebrew/Cellar/freeradius-server/3.2.6_2/etc/raddb/mods-enabled/radutmp
including configuration file /opt/homebrew/Cellar/freeradius-server/3.2.6_2/etc/raddb/mods-enabled/linelog
including configuration file /opt/homebrew/Cellar/freeradius-server/3.2.6_2/etc/raddb/mods-enabled/unix
including configuration file /opt/homebrew/Cellar/freeradius-server/3.2.6_2/etc/raddb/mods-enabled/detail
including configuration file /opt/homebrew/Cellar/freeradius-server/3.2.6_2/etc/raddb/mods-enabled/attr_filter
including configuration file /opt/homebrew/Cellar/freeradius-server/3.2.6_2/etc/raddb/mods-enabled/ntlm_auth
including configuration file /opt/homebrew/Cellar/freeradius-server/3.2.6_2/etc/raddb/mods-enabled/exec
including configuration file /opt/homebrew/Cellar/freeradius-server/3.2.6_2/etc/raddb/mods-enabled/files
including configuration file /opt/homebrew/Cellar/freeradius-server/3.2.6_2/etc/raddb/mods-enabled/replicate
including configuration file /opt/homebrew/Cellar/freeradius-server/3.2.6_2/etc/raddb/mods-enabled/chap
including configuration file /opt/homebrew/Cellar/freeradius-server/3.2.6_2/etc/raddb/mods-enabled/unpack
including configuration file /opt/homebrew/Cellar/freeradius-server/3.2.6_2/etc/raddb/mods-enabled/logintime
including configuration file /opt/homebrew/Cellar/freeradius-server/3.2.6_2/etc/raddb/mods-enabled/expiration
including configuration file /opt/homebrew/Cellar/freeradius-server/3.2.6_2/etc/raddb/mods-enabled/soh
including configuration file /opt/homebrew/Cellar/freeradius-server/3.2.6_2/etc/raddb/mods-enabled/totp
including configuration file /opt/homebrew/Cellar/freeradius-server/3.2.6_2/etc/raddb/mods-enabled/sradutmp
including configuration file /opt/homebrew/Cellar/freeradius-server/3.2.6_2/etc/raddb/mods-enabled/mschap
including configuration file /opt/homebrew/Cellar/freeradius-server/3.2.6_2/etc/raddb/mods-enabled/dynamic_clients
including configuration file /opt/homebrew/Cellar/freeradius-server/3.2.6_2/etc/raddb/mods-enabled/passwd
including configuration file /opt/homebrew/Cellar/freeradius-server/3.2.6_2/etc/raddb/mods-enabled/realm
including files in directory /opt/homebrew/Cellar/freeradius-server/3.2.6_2/etc/raddb/policy.d/
including configuration file /opt/homebrew/Cellar/freeradius-server/3.2.6_2/etc/raddb/policy.d/accounting
including configuration file /opt/homebrew/Cellar/freeradius-server/3.2.6_2/etc/raddb/policy.d/eap
including configuration file /opt/homebrew/Cellar/freeradius-server/3.2.6_2/etc/raddb/policy.d/rfc7542
including configuration file /opt/homebrew/Cellar/freeradius-server/3.2.6_2/etc/raddb/policy.d/canonicalization
including configuration file /opt/homebrew/Cellar/freeradius-server/3.2.6_2/etc/raddb/policy.d/abfab-tr
including configuration file /opt/homebrew/Cellar/freeradius-server/3.2.6_2/etc/raddb/policy.d/dhcp
including configuration file /opt/homebrew/Cellar/freeradius-server/3.2.6_2/etc/raddb/policy.d/cui
including configuration file /opt/homebrew/Cellar/freeradius-server/3.2.6_2/etc/raddb/policy.d/filter
including configuration file /opt/homebrew/Cellar/freeradius-server/3.2.6_2/etc/raddb/policy.d/moonshot-targeted-ids
including configuration file /opt/homebrew/Cellar/freeradius-server/3.2.6_2/etc/raddb/policy.d/operator-name
including configuration file /opt/homebrew/Cellar/freeradius-server/3.2.6_2/etc/raddb/policy.d/control
including configuration file /opt/homebrew/Cellar/freeradius-server/3.2.6_2/etc/raddb/policy.d/debug
including files in directory /opt/homebrew/Cellar/freeradius-server/3.2.6_2/etc/raddb/sites-enabled/
including configuration file /opt/homebrew/Cellar/freeradius-server/3.2.6_2/etc/raddb/sites-enabled/default
including configuration file /opt/homebrew/Cellar/freeradius-server/3.2.6_2/etc/raddb/sites-enabled/inner-tunnel
main {
name = "radiusd"
prefix = "/opt/homebrew/Cellar/freeradius-server/3.2.6_2"
localstatedir = "/opt/homebrew/var"
sbindir = "/opt/homebrew/Cellar/freeradius-server/3.2.6_2/bin"
logdir = "/opt/homebrew/var/log/radius"
run_dir = "/opt/homebrew/var/run/radiusd"
libdir = "/opt/homebrew/Cellar/freeradius-server/3.2.6_2/lib"
radacctdir = "/opt/homebrew/var/log/radius/radacct"
hostname_lookups = no
max_request_time = 30
proxy_dedup_window = 1
cleanup_delay = 5
max_requests = 16384
postauth_client_lost = no
pidfile = "/opt/homebrew/var/run/radiusd/radiusd.pid"
checkrad = "/opt/homebrew/Cellar/freeradius-server/3.2.6_2/bin/checkrad"
debug_level = 0
proxy_requests = yes
log {
stripped_names = no
auth = no
auth_badpass = no
auth_goodpass = no
colourise = yes
msg_denied = "You are already logged in - access denied"
}
resources {
}
security {
max_attributes = 200
reject_delay = 1.000000
status_server = yes
require_message_authenticator = "auto"
limit_proxy_state = "auto"
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 {
nonblock = no
ipaddr = 127.0.0.1
port = 1812
type = "auth"
secret = <<< secret >>>
response_window = 20.000000
response_timeouts = 1
max_outstanding = 65536
zombie_period = 40
status_check = "status-server"
ping_interval = 30
check_interval = 30
check_timeout = 4
num_answers_to_alive = 3
revive_interval = 120
limit {
max_connections = 16
max_requests = 0
lifetime = 0
idle_timeout = 0
}
coa {
irt = 2
mrt = 16
mrc = 5
mrd = 30
}
}
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
secret = <<< secret >>>
nas_type = "other"
proto = "*"
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
Shared secret for client localhost is short, and likely can be broken by an attacker.
client localhost_ipv6 {
ipv6addr = ::1
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
Shared secret for client localhost_ipv6 is short, and likely can be broken by an attacker.
Found debugger attached
# Creating Auth-Type = mschap
# Creating Auth-Type = digest
# Creating Auth-Type = eap
# Creating Auth-Type = PAP
# Creating Auth-Type = CHAP
# Creating Auth-Type = MS-CHAP
# Creating Autz-Type = New-TLS-Connection
radiusd: #### Instantiating modules ####
modules {
# Loaded module rlm_sql
# Loading module "sql" from file /opt/homebrew/Cellar/freeradius-server/3.2.6_2/etc/raddb/mods-available/sql
sql {
driver = "rlm_sql_mysql"
server = "localhost"
port = 3306
login = "radius"
password = <<< secret >>>
radius_db = "radius"
read_groups = yes
read_profiles = yes
read_clients = no
delete_stale_sessions = yes
sql_user_name = "%{User-Name}"
default_user_profile = ""
client_query = "SELECT id, nasname, shortname, type, secret, server FROM nas"
authorize_check_query = "SELECT id, username, attribute, value, op FROM radcheck WHERE username = '%{SQL-User-Name}' ORDER BY id"
authorize_reply_query = "SELECT id, username, attribute, value, op FROM radreply WHERE username = '%{SQL-User-Name}' ORDER BY id"
authorize_group_check_query = "SELECT id, groupname, attribute, Value, op FROM radgroupcheck WHERE groupname = '%{SQL-Group}' ORDER BY id"
authorize_group_reply_query = "SELECT id, groupname, attribute, value, op FROM radgroupreply WHERE groupname = '%{SQL-Group}' ORDER BY id"
group_membership_query = "SELECT groupname FROM radusergroup WHERE username = '%{SQL-User-Name}' ORDER BY priority"
simul_count_query = "SELECT COUNT(*) FROM radacct a LEFT OUTER JOIN nasreload n USING (nasipaddress) WHERE username = '%{SQL-User-Name}' AND acctstoptime IS NULL AND (a.acctstarttime > n.reloadtime OR n.reloadtime IS NULL)"
simul_verify_query = "SELECT radacctid, acctsessionid, username, nasipaddress, nasportid, framedipaddress, callingstationid, framedprotocol FROM radacct a LEFT OUTER JOIN nasreload n USING (nasipaddress) WHERE username = '%{SQL-User-Name}' AND acctstoptime IS NULL AND (a.acctstarttime > n.reloadtime OR n.reloadtime IS NULL)"
safe_characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /"
auto_escape = no
accounting {
reference = "%{tolower:type.%{%{Acct-Status-Type}:-%{Request-Processing-Stage}}.query}"
type {
accounting-on {
query = "UPDATE radacct SET acctstoptime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctsessiontime = '%{%{integer:Event-Timestamp}:-%l}' - UNIX_TIMESTAMP(acctstarttime), acctterminatecause = '%{%{Acct-Terminate-Cause}:-NAS-Reboot}' WHERE acctstoptime IS NULL AND nasipaddress = '%{NAS-IP-Address}' AND acctstarttime <= FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l})"
}
accounting-off {
query = "UPDATE radacct SET acctstoptime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctsessiontime = '%{%{integer:Event-Timestamp}:-%l}' - UNIX_TIMESTAMP(acctstarttime), acctterminatecause = '%{%{Acct-Terminate-Cause}:-NAS-Reboot}' WHERE acctstoptime IS NULL AND nasipaddress = '%{NAS-IP-Address}' AND acctstarttime <= FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l})"
}
start {
query = "INSERT INTO radacct (acctsessionid, acctuniqueid, username, realm, nasipaddress, nasportid, nasporttype, acctstarttime, acctupdatetime, acctstoptime, acctsessiontime, acctauthentic, connectinfo_startconnectinfo_stop, acctinputoctets, acctoutputoctets, calledstationid, callingstationid, acctterminatecause, servicetype, framedprotocol, framedipaddress, framedipv6address, framedipv6prefix, framedinterfaceid, delegatedipv6prefix ) VALUES ('%{Acct-Session-Id}', '%{Acct-Unique-Session-Id}', '%{SQL-User-Name}', '%{Realm}', '%{NAS-IP-Address}', '%{%{NAS-Port-ID}:-%{NAS-Port}}', '%{NAS-Port-Type}', FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), NULL, '0', '%{Acct-Authentic}', '%{Connect-Info}', '', '0', '0', '%{Called-Station-Id}', '%{Calling-Station-Id}', '', '%{Service-Type}', '%{Framed-Protocol}', '%{Framed-IP-Address}', '%{Framed-IPv6-Address}', '%{Framed-IPv6-Prefix}', '%{Framed-Interface-Id}', '%{Delegated-IPv6-Prefix}' )"
}
interim-update {
query = "UPDATE radacct SET acctupdatetime = (@acctupdatetime_old:=acctupdatetime), acctupdatetime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctinterval = %{%{integer:Event-Timestamp}:-%l} - UNIX_TIMESTAMP(@acctupdatetime_old), framedipaddress = '%{Framed-IP-Address}', framedipv6address = '%{Framed-IPv6-Address}', framedipv6prefix = '%{Framed-IPv6-Prefix}', framedinterfaceid = '%{Framed-Interface-Id}', delegatedipv6prefix = '%{Delegated-IPv6-Prefix}', acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}'"
}
stop {
query = "UPDATE radacct SET acctstoptime = FROM_UNIXTIME(%{%{integer:Event-Timestamp}:-%l}), acctsessiontime = %{%{Acct-Session-Time}:-NULL}, acctinputoctets = '%{%{Acct-Input-Gigawords}:-0}' << 32 | '%{%{Acct-Input-Octets}:-0}', acctoutputoctets = '%{%{Acct-Output-Gigawords}:-0}' << 32 | '%{%{Acct-Output-Octets}:-0}', acctterminatecause = '%{Acct-Terminate-Cause}', connectinfo_stop = '%{Connect-Info}' WHERE AcctUniqueId = '%{Acct-Unique-Session-Id}'"
}
}
}
post-auth {
reference = ".query"
query = "INSERT INTO radpostauth (username, pass, reply, authdate ) VALUES ( '%{SQL-User-Name}', '%{%{User-Password}:-%{Chap-Password}}', '%{reply:Packet-Type}', '%S.%M' )"
}
}
Could not link driver rlm_sql_mysql: dlopen(/opt/homebrew/Cellar/freeradius-server/3.2.6_2/lib/rlm_sql_mysql.dylib, 0x0006): tried: '/opt/homebrew/Cellar/freeradius-server/3.2.6_2/lib/rlm_sql_mysql.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/opt/homebrew/Cellar/freeradius-server/3.2.6_2/lib/rlm_sql_mysql.dylib' (no such file), '/opt/homebrew/Cellar/freeradius-server/3.2.6_2/lib/rlm_sql_mysql.dylib' (no such file)
Make sure it (and all its dependent libraries!) are in the search path of your system's ld
/opt/homebrew/Cellar/freeradius-server/3.2.6_2/etc/raddb/mods-available/sql[27]: Instantiation failed for module "sql"
I checked, and there's no rlm_sql_mysql in the directory. Please help me with this. Thanks.
2
1
At https://wiki.freeradius.org/guide/Enterprise-WiFi it links to "the
Enterprise Network Configuration Assistant Tool (CAT) at
https://802.1x-config.org"
This hostname used to exist, but doesn't any more - it shows NXDOMAIN.
Archive.org doesn't have any copy of it since September 2018.
However, after a bit of digging, I found that 1x-config.org still
exists, and it redirects to https://enterprise-wifi.net/
Could the link on the freeradius guide be updated to point to the new
URL please?
Thanks,
Brian Candler.
P.S. I did try using the "Edit" button. This took me to a github
authorization link, but after allowing the access, all I got was:
"Authentication failed
Provider did not validate your credentials (invalid_credentials) -
please retry or choose another login service"
2
1
How to modify the log file format thats missing the number in brackets at the front
by Geoffrey Francis 03 Dec '24
by Geoffrey Francis 03 Dec '24
03 Dec '24
Hi,
In my version2 freeradius server I had radius.log output of the format
(192239) Sun Mar 26 00:01:58 2023 : Auth: Login incorrect (No Auth-Type found: rejecting the user via Post-Auth-Type = Reject):
With my version 3 server I have the following format
Sun Mar 26 00:01:58 2023 : Auth: Login incorrect (No Auth-Type found: rejecting the user via Post-Auth-Type = Reject):
Its the same but the number in brackets has been removed
Is there a way of reintroducing the number in brackets into my version 3 radius.log file?
What does this number mean?
We have some legacy software that uses the number you see
Regards
Geoffrey
3
2
Hi,
We are using version 3 for freeradius
When we try to use the following statement in radiusd.conf "log" section
requests = ${logdir}/radiusd-%{%{Virtual-Server}:-DEFAULT}-%Y%m%d.log
we get
Cannot use deprecated configuration item "requests"
>From radiusd -C
We want to have this old functionality of rotating the log file each day and keeping the log name in the following format, as follows
radiusd-default-20241124.log.gz
radiusd-default-20241125.log.gz
radiusd-default-20241126.log.gz
what can we put in the radiusd.conf "log" section to do this?
Or how can we accomplish this please?
Geoffrey
2
2
02 Dec '24
Hi,
Is there a way to pass the idle timeout reply such as `Reached idle timeout on socket auth+acct from client` to the client as part of as an update to the reply message? Or as a special Access-Reject message? The client system believes that the radius server has disappeared and is using its default login method instead of denying authentication to a user.
Thanks in advance for any assistance.
2
4
I have set up freeradius with jradius plugin for authentication and authorization.
It is working as expected. But I notice in the jradius log, that autentication is called twice from freeradius for PEAP. Is it expected?
Thanks
Jim
2
1
1
0
02 Dec '24
I am trying to starting radius(default server) and tacacs at the same time, both with mschap.My tacacs server can work properly alone, so I just add the default file back to the sites-enabled dictionary.
Also, according to the mschap module page, I put two attibutes parts in the mschap file(One for tacacs and One for radius).
Debug Info is as followed:
including configuration file /usr/local/etc/raddb/radiusd.conf
Including files in directory "/usr/local/etc/raddb/template.d/"
including configuration file /usr/local/etc/raddb/template.d/default
including configuration file /usr/local/etc/raddb/clients.conf
Including files in directory "/usr/local/etc/raddb/global.d/"
including configuration file /usr/local/etc/raddb/global.d/ldap
including configuration file /usr/local/etc/raddb/global.d/python
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/client
including configuration file /usr/local/etc/raddb/mods-enabled/delay
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/digest
including configuration file /usr/local/etc/raddb/mods-enabled/eap
including configuration file /usr/local/etc/raddb/mods-enabled/eap_inner
including configuration file /usr/local/etc/raddb/mods-enabled/echo
including configuration file /usr/local/etc/raddb/mods-enabled/escape
including configuration file /usr/local/etc/raddb/mods-enabled/exec
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/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/radutmp
including configuration file /usr/local/etc/raddb/mods-enabled/sradutmp
including configuration file /usr/local/etc/raddb/mods-enabled/stats
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/abfab-tr
including configuration file /usr/local/etc/raddb/policy.d/accounting
including configuration file /usr/local/etc/raddb/policy.d/canonicalisation
including configuration file /usr/local/etc/raddb/policy.d/control
including configuration file /usr/local/etc/raddb/policy.d/cui
including configuration file /usr/local/etc/raddb/policy.d/debug
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 configuration file /usr/local/etc/raddb/policy.d/time
including configuration file /usr/local/etc/raddb/policy.d/vendor
Including files in directory "/usr/local/etc/raddb/sites-enabled/"
including configuration file /usr/local/etc/raddb/sites-enabled/default
Loaded module process_radius
including configuration file /usr/local/etc/raddb/sites-enabled/inner-tunnel
Loaded module process_tacacs
including configuration file /usr/local/etc/raddb/sites-enabled/tacacs
Parsing initial logging configuration.
main {
prefix = /usr/local
log {
destination = files
syslog_facility = daemon
local_state_dir = "/usr/local/var"
logdir = "/usr/local/var/log"
file = /usr/local/var/log/radius/radius.log
suppress_secrets = no
}
}
Parsing security rules to bootstrap UID / GID / chroot / etc.
main {
log {
}
security {
allow_core_dumps = no
allow_vulnerable_openssl = no
openssl_fips_mode = no
}
name = radiusd
local_state_dir = "/usr/local/var"
run_dir = /usr/local/var/run/radiusd
}
Parsing main configuration
main {
server default {
namespace = radius
radius {
Access-Request {
log {
stripped_names = no
auth = no
auth_badpass = no
auth_goodpass = no
msg_denied = "You are already logged in - access denied"
}
session {
timeout = 15
max = 4096
}
}
}
Loaded module proto_radius
listen {
type = Access-Request
type = Status-Server
transport = udp
Loaded module proto_radius_udp
udp {
ipaddr = *
port = 1812
networks {
allow = 127/8
allow = 192.0.2/24
}
max_packet_size = 4096
max_attributes = 255
}
limit {
cleanup_delay = 5.0
idle_timeout = 60.0
nak_lifetime = 30.0
max_connections = 256
max_clients = 256
max_pending_packets = 256
}
priority {
Access-Request = high
Accounting-Request = low
CoA-Request = normal
Disconnect-Request = low
Status-Server = now
}
}
listen tcp_auth {
type = Access-Request
type = Status-Server
transport = tcp
Loaded module proto_radius_tcp
tcp {
ipaddr = *
port = 1812
networks {
allow = 127/8
allow = 192.0.2/24
}
max_packet_size = 4096
max_attributes = 255
}
limit {
cleanup_delay = 5.0
idle_timeout = 30.0
nak_lifetime = 30.0
max_connections = 1024
max_clients = 256
max_pending_packets = 256
}
priority {
Access-Request = high
Accounting-Request = low
CoA-Request = normal
Disconnect-Request = low
Status-Server = now
}
}
listen udp_acct {
type = Accounting-Request
transport = udp
udp {
ipaddr = *
port = 1813
networks {
}
max_packet_size = 4096
max_attributes = 255
}
limit {
cleanup_delay = 5.0
idle_timeout = 30.0
nak_lifetime = 30.0
max_connections = 1024
max_clients = 256
max_pending_packets = 256
}
priority {
Access-Request = high
Accounting-Request = low
CoA-Request = normal
Disconnect-Request = low
Status-Server = now
}
}
}
server inner-tunnel {
namespace = tacacs
tacacs {
Authentication {
log {
stripped_names = no
auth = no
auth_badpass = no
auth_goodpass = no
msg_denied = "You are already logged in - access denied"
}
session {
timeout = 15
max = 4096
max_rounds = 4
}
}
}
Loaded module proto_tacacs
listen {
type = Authentication-Start
type = Authentication-Continue
type = Authorization-Request
type = Accounting-Request
transport = tcp
Loaded module proto_tacacs_tcp
tcp {
ipaddr = 127.0.0.1
port = 18121
networks {
}
max_packet_size = 4096
max_attributes = 256
}
limit {
idle_timeout = 30.0
max_connections = 1024
}
priority {
Authentication-Start = high
Authentication-Continue = high
Authorization-Request = normal
Accounting-Request = low
}
}
}
server tacacs {
namespace = tacacs
tacacs {
Authentication {
log {
stripped_names = no
auth = no
auth_badpass = no
auth_goodpass = no
msg_denied = "You are already logged in - access denied"
}
session {
timeout = 15
max = 4096
max_rounds = 4
}
}
}
listen {
type = Authentication-Start
type = Authentication-Continue
type = Authorization-Request
type = Accounting-Request
transport = tcp
tcp {
ipaddr = *
port = 49
networks {
}
max_packet_size = 4096
max_attributes = 256
}
limit {
idle_timeout = 60.0
max_connections = 256
}
priority {
Authentication-Start = high
Authentication-Continue = high
Authorization-Request = normal
Accounting-Request = low
}
}
}
log {
colourise = yes
}
security {
}
sbin_dir = "/usr/local/sbin"
logdir = /usr/local/var/log/radius
radacctdir = /usr/local/var/log/radius/radacct
reverse_lookups = no
hostname_lookups = yes
max_request_time = 30
pidfile = /usr/local/var/run/radiusd/radiusd.pid
debug_level = 0
max_requests = 16384
resources {
}
thread pool {
num_networks = 1
Dynamically determined thread.workers = 15
num_workers = 15
openssl_async_pool_init = 64
openssl_async_pool_max = 1024
}
migrate {
rewrite_update = false
forbid_update = false
}
interpret {
}
}
Switching to configured log settings
radiusd: #### Loading Clients ####
client localhost {
ipaddr = 127.0.0.1
secret = <<< secret >>>
require_message_authenticator = no
proto = *
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30
}
}
client localhost_ipv6 {
ipv6addr = ::1
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30s
}
}
client test {
ipaddr = 192.168.2.3
secret = <<< secret >>>
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30s
}
}
Debugger not attached
trigger { ... } subsection not found, triggers will be disabled
#### Instantiating libraries ####
#### Bootstrapping process modules ####
Bootstrapping process_radius "default"
Creating Auth-Type = pap
Creating Auth-Type = chap
Creating Auth-Type = mschap
Creating Auth-Type = digest
Creating Auth-Type = ldap
Creating Auth-Type = eap
Bootstrapping process_tacacs "inner-tunnel"
Bootstrapping process_tacacs "tacacs"
Creating Auth-Type = MSCHAPv2
Creating Auth-Type = ASCII
#### Bootstrapping protocol modules ####
Bootstrapping proto_radius "default.radius"
client localhost {
ipaddr = 192.0.2.1
secret = <<< secret >>>
shortname = sample
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30s
}
}
Bootstrapping proto_radius "default.tcp_auth"
Bootstrapping proto_radius "default.udp_acct"
Bootstrapping proto_tacacs "inner-tunnel.tacacs"
Ignoring "nak_lifetime = 0", forcing to "nak_lifetime = 1"
Bootstrapping proto_tacacs "tacacs.tacacs"
Ignoring "nak_lifetime = 0", forcing to "nak_lifetime = 1"
client tacacs {
ipaddr = 192.168.2.3
secret = <<< secret >>>
proto = tcp
limit {
max_connections = 16
lifetime = 0
idle_timeout = 30s
}
}
#### Instantiating libraries ####
#### Bootstrapping modules ####
modules {
Loaded module rlm_always
always reject {
rcode = reject
simulcount = 0
mpp = no
}
always fail {
rcode = fail
simulcount = 0
mpp = no
}
always ok {
rcode = ok
simulcount = 0
mpp = no
}
always handled {
rcode = handled
simulcount = 0
mpp = no
}
always invalid {
rcode = invalid
simulcount = 0
mpp = no
}
always disallow {
rcode = disallow
simulcount = 0
mpp = no
}
always notfound {
rcode = notfound
simulcount = 0
mpp = no
}
always noop {
rcode = noop
simulcount = 0
mpp = no
}
always updated {
rcode = updated
simulcount = 0
mpp = no
}
Loaded module rlm_attr_filter
attr_filter attr_filter.pre-proxy {
filename = /usr/local/etc/raddb/mods-config/attr_filter/pre-proxy
key = "%{Realm}"
relaxed = no
}
attr_filter attr_filter.post-proxy {
filename = /usr/local/etc/raddb/mods-config/attr_filter/post-proxy
key = "%{Realm}"
relaxed = no
}
attr_filter attr_filter.access_reject {
filename = /usr/local/etc/raddb/mods-config/attr_filter/access_reject
key = "%{User-Name}"
relaxed = no
}
attr_filter attr_filter.access_challenge {
filename = /usr/local/etc/raddb/mods-config/attr_filter/access_challenge
key = "%{User-Name}"
relaxed = no
}
attr_filter attr_filter.accounting_response {
filename = /usr/local/etc/raddb/mods-config/attr_filter/accounting_response
key = "%{User-Name}"
relaxed = no
}
Loaded module rlm_cache
cache cache_eap {
driver = rbtree
Loaded module rlm_cache_rbtree
key = %{&control.State || &reply.State || &State}
ttl = 15
max_entries = 0
epoch = 0
add_stats = no
}
Loaded module rlm_chap
chap {
min_challenge_len = 16
}
Loaded module rlm_client
Loaded module rlm_delay
delay {
delay = 1.0s
relative = no
force_reschedule = no
}
delay delay_reject {
delay = "%{&reply.FreeRADIUS-Response-Delay || 1}"
relative = yes
force_reschedule = no
}
Loaded module rlm_detail
detail {
filename = /usr/local/var/log/radius/radacct/%{Net.Src.IP}/detail-%Y-%m-%d
header = %t
permissions = 0600
locking = no
escape_filenames = no
log_packet_header = no
}
detail auth_log {
filename = /usr/local/var/log/radius/radacct/%{Net.Src.IP}/auth-detail-%Y-%m-%d
header = %t
permissions = 0600
locking = no
escape_filenames = no
log_packet_header = no
}
detail reply_log {
filename = /usr/local/var/log/radius/radacct/%{Net.Src.IP}/reply-detail-%Y-%m-%d
header = %t
permissions = 0600
locking = no
escape_filenames = no
log_packet_header = no
}
detail pre_proxy_log {
filename = /usr/local/var/log/radius/radacct/%{Net.Src.IP}/pre-proxy-detail-%Y-%m-%d
header = %t
permissions = 0600
locking = no
escape_filenames = no
log_packet_header = no
}
detail post_proxy_log {
filename = /usr/local/var/log/radius/radacct/%{Net.Src.IP}/post-proxy-detail-%Y-%m-%d
header = %t
permissions = 0600
locking = no
escape_filenames = no
log_packet_header = no
}
Loaded module rlm_digest
Loaded module rlm_eap
eap {
require_identity_realm = nai
type = md5
Loaded module rlm_eap_md5
type = gtc
Loaded module rlm_eap_gtc
gtc {
challenge = "Password: "
auth_type = PAP
}
type = tls
Loaded module rlm_eap_tls
tls {
tls = tls-common
require_client_cert = yes
include_length = yes
}
type = ttls
Loaded module rlm_eap_ttls
ttls {
tls = tls-common
virtual_server = "inner-tunnel"
include_length = yes
require_client_cert = no
}
type = mschapv2
Loaded module rlm_eap_mschapv2
mschapv2 {
with_ntdomain_hack = no
auth_type = mschap
send_error = no
}
type = peap
Loaded module rlm_eap_peap
peap {
tls = tls-common
virtual_server = "inner-tunnel"
require_client_cert = no
}
ignore_unknown_eap_types = no
}
eap inner-eap {
require_identity_realm = nai
default_eap_type = mschapv2
type = md5
type = gtc
gtc {
challenge = "Password: "
auth_type = PAP
}
type = mschapv2
mschapv2 {
with_ntdomain_hack = no
auth_type = mschap
send_error = no
}
type = tls
tls {
tls = tls-peer
require_client_cert = yes
include_length = yes
}
ignore_unknown_eap_types = no
}
Loaded module rlm_exec
exec echo {
wait = yes
input_pairs = &request
output_pairs = &reply
shell_escape = yes
env_inherit = no
}
Loaded module rlm_escape
escape {
safe_characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /äéöüàâæçèéêëîïôœùûüaÿÄÉÖÜßÀÂÆÇÈÉÊËÎÏÔŒÙÛÜŸ"
}
exec {
wait = yes
input_pairs = &request
shell_escape = yes
env_inherit = no
timeout = 10
}
Loaded module rlm_files
files {
filename = /usr/local/etc/raddb/mods-config/files/authorize
acctusersfile = /usr/local/etc/raddb/mods-config/files/accounting
key = %{%{Stripped-User-Name}:-%{User-Name}}
}
Loaded module rlm_linelog
linelog {
destination = file
delimiter = "\n"
format = "This is a log message for %{User-Name}"
reference = "messages.%{&reply.Packet-Type || 'default'}"
file {
filename = /usr/local/var/log/radius/linelog
permissions = 0600
escape_filenames = no
}
syslog {
severity = "info"
}
unix {
}
tcp {
server = localhost
port = 514
timeout = 2.0
}
udp {
server = localhost
port = 514
timeout = 2.0
}
}
linelog log_accounting {
destination = file
delimiter = "\n"
format = ""
reference = "Accounting-Request.%{&Acct-Status-Type || 'unknown'}"
file {
filename = /usr/local/var/log/radius/linelog-accounting
permissions = 0600
escape_filenames = no
}
syslog {
severity = "info"
}
unix {
}
tcp {
timeout = 1000
}
udp {
timeout = 1000
}
}
Loaded module rlm_mschap
mschap {
normalise = yes
use_mppe = yes
require_encryption = no
require_strong = no
with_ntdomain_hack = yes
passchange {
}
allow_retry = yes
winbind {
}
}
exec ntlm_auth {
wait = yes
shell_escape = yes
env_inherit = no
}
Loaded module rlm_pap
pap {
normalise = yes
}
Loaded module rlm_passwd
passwd etc_passwd {
filename = /etc/passwd
format = "*User-Name:Crypt-Password:"
delimiter = ":"
ignore_nislike = no
ignore_empty = yes
allow_multiple_keys = no
hash_size = 100
}
Loaded module rlm_radutmp
radutmp {
filename = /usr/local/var/log/radius/radutmp
username = %{User-Name}
check_with_nas = yes
permissions = 0600
caller_id = no
}
radutmp sradutmp {
filename = /usr/local/var/log/radius/sradutmp
username = "%{User-Name}"
check_with_nas = yes
permissions = 0644
caller_id = no
}
Loaded module rlm_stats
stats {
}
Loaded module rlm_unix
unix {
}
Loaded module rlm_unpack
Loaded module rlm_utf8
#### Bootstrapping rlm modules ####
Bootstrapping rlm_cache "cache_eap"
Bootstrapping rlm_chap "chap"
Bootstrapping rlm_delay "delay"
Bootstrapping rlm_delay "delay_reject"
Bootstrapping rlm_always "disallow"
Bootstrapping rlm_eap "eap"
Bootstrapping rlm_exec "echo"
Bootstrapping rlm_escape "escape"
Bootstrapping rlm_exec "exec"
Bootstrapping rlm_always "fail"
Bootstrapping rlm_always "handled"
Bootstrapping rlm_eap "inner-eap"
Bootstrapping rlm_always "invalid"
Bootstrapping rlm_linelog "linelog"
Bootstrapping rlm_linelog "log_accounting"
Bootstrapping rlm_mschap "mschap"
Bootstrapping rlm_always "noop"
Bootstrapping rlm_always "notfound"
Bootstrapping rlm_exec "ntlm_auth"
Bootstrapping rlm_always "ok"
Bootstrapping rlm_always "reject"
Bootstrapping rlm_unix "unix"
Bootstrapping rlm_always "updated"
} # modules
#### Instantiating listeners ####
Compiling policies in server default { ... }
Instantiating proto_radius "default.radius"
Instantiating proto_radius "default.tcp_auth"
Instantiating proto_radius "default.udp_acct"
Instantiating process_radius "default"
Compiling policies in - recv Access-Request {...}
/usr/local/etc/raddb/policy.d/time[13]: Skipping remaining instructions due to 'return'
/usr/local/etc/raddb/policy.d/time[18]: Please use the 'filter' keyword for attribute filtering
Compiling policies in - send Access-Accept {...}
Compiling policies in - send Access-Challenge {...}
Compiling policies in - send Access-Reject {...}
Compiling policies in - recv Accounting-Request {...}
Compiling policies in - send Accounting-Response {...}
Compiling policies in - recv Status-Server {...}
Compiling policies in - authenticate pap {...}
Compiling policies in - authenticate chap {...}
Compiling policies in - authenticate mschap {...}
Compiling policies in - authenticate digest {...}
Compiling policies in - authenticate ldap {...}
Compiling policies in - authenticate eap {...}
Compiling policies in - accounting Start {...}
Compiling policies in - accounting Stop {...}
Compiling policies in - accounting Interim-Update {...}
Compiling policies in - accounting Accounting-On {...}
Compiling policies in - accounting Accounting-Off {...}
Compiling policies in - accounting Failed {...}
/usr/local/etc/raddb/sites-enabled/default[80]: radius { ... } section is unused
/usr/local/etc/raddb/sites-enabled/default[224]: dictionary { ... } section is unused
Compiling policies in server inner-tunnel { ... }
Instantiating proto_tacacs "inner-tunnel.tacacs"
Instantiating process_tacacs "inner-tunnel"
Compiling policies in - authenticate pap {...}
Compiling policies in - authenticate chap {...}
Compiling policies in - authenticate mschap {...}
/usr/local/etc/raddb/mods-enabled/mschap[384]: Failed to parse configuration item 'chap_challenge = &Vendor-Specific.Microsoft.CHAP-Challenge': Attribute 'Vendor-Specific.Microsoft.CHAP-Challenge' not found. Searched in: TACACS, internal
/usr/local/etc/raddb/mods-enabled/mschap[384]: Unresolved attributes are not allowed here
/usr/local/etc/raddb/sites-enabled/inner-tunnel[201]: Invalid keyword "mschap".
I guess i did not configure right to start two servers at the same time.
Thanks for your help and I am looking forward to hearing your suggestions!!
Licheng Huang
2071264258(a)qq.com
3
2
Hi,I used freeradius-server-4.0~alpha1 to use the tacacs virtual server, but I encountered some problems when I used the ppp authencation.
Here are the debug info :
(33) User-Name = "66"
(33) Client-Port = "va100-0"
(33) User-Password = "666"
(33) tacacs - Running 'authenticate PAP' from file /usr/local/etc/raddb/sites-enabled/tacacs
(33) tacacs - authenticate PAP {
(33) pap - Login attempt with password
(33) pap - ERROR: No "known good" password found for user
I searched such problem and most of them say it is due to not setting the users file.(but I actually did it!)
My configure steps are as followed:
1) A brand-new config dictionary.
2) CP tacacs from site-available to site -enable,while setting the secret.
3) Delete default in sites-enable.
4) Some modification to inner-tunnel ,I did not use that ,just to run the radius.
5) Add client in clients.conf(I think I need not do that but it does not matter).
6) Add 66 Password.Cleartext := "666" in the users file.
I think maybe I should do step(6) in other places? But i did not find any doc,problem, or example show how to do it .
Actually, I tried every method like pap ,chap ,mschap and got the same result.
Thanks a lot for your help!!!
黄立成
2071264258(a)qq.com
2
4