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
May 2011
- 128 participants
- 164 discussions
I am running freeradius-2.1.10 and ntlm_auth Version 3.0.33-3.29.el5_6.2.
Because our AD is managed by a different area (and we rely upon this for
user authentication), I am looking for ways to assist our customer
support area with appropriate logs to help debug AD issues. Sometimes,
due to bad processes, things don't always stay in sync across the domain.
What I have found is that ntlm_auth can return a variety of states like
the following (I am sure there is more):
[root@dvlana ~]# ntlm_auth --request-nt-key --domain=AD
--username=douglass --password=CORRECTPASSWORD
NT_STATUS_OK: Success (0x0)
[root@dvlana ~]# ntlm_auth --request-nt-key --domain=AD
--username=douglass --password=BADPASSWORDHERE
NT_STATUS_WRONG_PASSWORD: Wrong Password (0xc000006a)
[root@dvlana ~]# ntlm_auth --request-nt-key --domain=AD
--username=douglass --password=CORRECTPASSWORD
NT_STATUS_ACCOUNT_DISABLED: Account disabled (0xc0000072)
[root@dvlana ~]# ntlm_auth --request-nt-key --domain=AD
--username=douglass12 --password=PASSWORD
NT_STATUS_NO_SUCH_USER: No such user (0xc0000064)
Now, the actual ntlm_auth command within the $RADIUS/modules/mschap does
read:
ntlm_auth = "/usr/bin/ntlm_auth --request-nt-key
--username=%{%{Stripped-User-Name}:-%{User-Name:-None}}
--challenge=%{mschap:Challenge:-00} --nt-response=%{mschap:NT-Response:-00}"
So it's not doing necessarily the same kind of authentication command as
I was doing above but I have no idea how to simulate a challege request
on command line to verify :)
I found a similar user in an old thread who submitted a patch:
(http://freeradius.1045715.n5.nabble.com/Capturing-ntlm-auth-failure-reasons…)
And it appears that this patch made it into the rlm_mschap.c module code:
if (result != 0) {
char *p;
VALUE_PAIR *vp = NULL;
RDEBUG2("External script failed.");
vp = pairmake("Module-Failure-Message", "",
T_OP_EQ);
if (!vp) {
radlog_request(L_ERR, 0, request, "No
memory to allocate Module-Failure-Message");
return RLM_MODULE_FAIL;
}
p = strchr(buffer, '\n');
if (p) *p = '\0';
snprintf(vp->vp_strvalue, sizeof(vp->vp_strvalue),
"%s: External script says %s",
inst->xlat_name, buffer);
vp->length = strlen(vp->vp_strvalue);
pairadd(&request->packet->vps, vp);
return -1;
}
However, when I view my debug for freeradius:
mschap] FAILED: MS-CHAP2-Response is incorrect
++[mschap] returns reject
[eap] Freeing handler
++[eap] returns reject
Failed to authenticate the user.
Login incorrect (mschap: External script says Logon failure
(0xc000006d)): [asdf/<via Auth-Type = EAP>] (from client LAWN-WiSM port
29 cli 00-25-00-f5-a3-2b via TLS tunnel)
However, "Logon failure" is nebulous when it could be either "bad
password", "account disabled", or "no such user" that comes out of the
"ntlm_auth" command (at least when I run it by hand).
Is this the fault of the results of ntlm_auth being vague or is
something else at play?
I also see that there may be a pair added with "Module-Failure-Message".
No where do I see that in a debug session when I force a failure to
occur (debug is below). Would that pair show up if it were available? If
so, any suggestions on how to get the output of ntlm_auth logged correctly?
Am I missing a logging option or configuration option to enable me to
get additional information out of the ntlm_auth failure or is this code
not functioning correctly?
Below is a full debug of a failed authentication with a non-existent
user "asdf":
rad_recv: Access-Request packet from host 10.80.10.42 port 32769, id=54,
length=180
User-Name = "asdf"
Calling-Station-Id = "00-25-00-f5-a3-2b"
Called-Station-Id = "00-25-45-37-5c-60:GTtestwpa"
NAS-Port = 29
NAS-IP-Address = 10.80.10.42
NAS-Identifier = "Rich-core-WiSM-E"
Airespace-Wlan-Id = 7
Service-Type = Framed-User
Framed-MTU = 1300
NAS-Port-Type = Wireless-802.11
Tunnel-Type:0 = VLAN
Tunnel-Medium-Type:0 = IEEE-802
Tunnel-Private-Group-Id:0 = "809"
EAP-Message = 0x020200090161736466
Message-Authenticator = 0xbeb78b0b65e4a5537d6a1e14f56a93ac
server wpa {
# Executing section authorize from file
/services/freeradius/etc/raddb//sites-enabled/dvlan-wpa
+- entering group authorize {...}
++[preprocess] returns ok
[eap] EAP packet type response id 2 length 9
[eap] No EAP Start, assuming it's an on-going EAP conversation
++[eap] returns updated
[sqlwpa] expand: %{Stripped-User-Name} ->
[sqlwpa] ... expanding second conditional
[sqlwpa] expand: %{User-Name} -> asdf
[sqlwpa] expand: %{%{User-Name}:-DEFAULT} -> asdf
[sqlwpa] expand: %{%{Stripped-User-Name}:-%{%{User-Name}:-DEFAULT}}
-> asdf
[sqlwpa] sql_set_user escaped user --> 'asdf'
rlm_sql (sqlwpa): Reserving sql socket id: 63
[sqlwpa] expand: SELECT id, username, attribute, value, op
FROM radcheck WHERE username = '%{SQL-User-Name}'
ORDER BY id -> SELECT id, username, attribute, value, op FROM
radcheck WHERE username = 'asdf' ORDER BY id
[sqlwpa] expand: SELECT
determineGroup('%{Calling-Station-Id}','%{SQL-User-Name}','%{Called-Station-Id}')
as groupname -> SELECT
determineGroup('00-25-00-f5-a3-2b','asdf','00-25-45-37-5c-60:GTtestwpa')
as groupname
[sqlwpa] expand: SELECT id, groupname, attribute, value,
op FROM radgroupcheck WHERE groupname =
'%{Sql-Group}' ORDER BY id -> SELECT id, groupname,
attribute, value, op FROM radgroupcheck
WHERE groupname = 'NOTAUTHORIZED' ORDER BY id
[sqlwpa] User found in group NOTAUTHORIZED
[sqlwpa] expand: SELECT id, groupname, attribute, value,
op FROM radgroupreply WHERE groupname =
'%{Sql-Group}' ORDER BY id -> SELECT id, groupname,
attribute, value, op FROM radgroupreply
WHERE groupname = 'NOTAUTHORIZED' ORDER BY id
rlm_sql (sqlwpa): Released sql socket id: 63
++[sqlwpa] returns ok
Found Auth-Type = EAP
# Executing group from file
/services/freeradius/etc/raddb//sites-enabled/dvlan-wpa
+- entering group authenticate {...}
[eap] EAP Identity
[eap] processing type tls
[tls] Initiate
[tls] Start returned 1
++[eap] returns handled
} # server wpa
Sending Access-Challenge of id 54 to 10.80.10.42 port 32769
Tunnel-Private-Group-Id:0 = "1296"
Tunnel-Type:0 = VLAN
Tunnel-Medium-Type:0 = IEEE-802
EAP-Message = 0x010300061920
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x31b2f23b31b1eb74b6745cb38a442dac
Finished request 0.
Going to the next request
Waking up in 4.9 seconds.
rad_recv: Access-Request packet from host 10.80.10.42 port 32769, id=55,
length=353
User-Name = "asdf"
Calling-Station-Id = "00-25-00-f5-a3-2b"
Called-Station-Id = "00-25-45-37-5c-60:GTtestwpa"
NAS-Port = 29
NAS-IP-Address = 10.80.10.42
NAS-Identifier = "Rich-core-WiSM-E"
Airespace-Wlan-Id = 7
Service-Type = Framed-User
Framed-MTU = 1300
NAS-Port-Type = Wireless-802.11
Tunnel-Type:0 = VLAN
Tunnel-Medium-Type:0 = IEEE-802
Tunnel-Private-Group-Id:0 = "809"
EAP-Message =
0x020300a419800000009a16030100950100009103014dd565aa6f9f79a7fcdb3709b02977dec9ebd8d8aeb7a7bdf7058c390773fbf2000056c00ac009c007c008c013c014c011c012c004c005c002c003c00ec00fc00cc00d002f000500040035000a000900030008000600320033003800390016001500140013001200110034003a0018001b001a00170019000101000012000a00080006001700180019000b00020100
State = 0x31b2f23b31b1eb74b6745cb38a442dac
Message-Authenticator = 0xdf3024ad1da5df56ca9df7671138d5cf
server wpa {
# Executing section authorize from file
/services/freeradius/etc/raddb//sites-enabled/dvlan-wpa
+- entering group authorize {...}
++[preprocess] returns ok
[eap] EAP packet type response id 3 length 164
[eap] Continuing tunnel setup.
++[eap] returns ok
Found Auth-Type = EAP
# Executing group from file
/services/freeradius/etc/raddb//sites-enabled/dvlan-wpa
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP/peap
[eap] processing type peap
[peap] processing EAP-TLS
TLS Length 154
[peap] Length Included
[peap] eaptls_verify returned 11
[peap] (other): before/accept initialization
[peap] TLS_accept: before/accept initialization
[peap] <<< TLS 1.0 Handshake [length 0095], ClientHello
[peap] TLS_accept: SSLv3 read client hello A
[peap] >>> TLS 1.0 Handshake [length 002a], ServerHello
[peap] TLS_accept: SSLv3 write server hello A
[peap] >>> TLS 1.0 Handshake [length 0377], Certificate
[peap] TLS_accept: SSLv3 write certificate A
[peap] >>> TLS 1.0 Handshake [length 0004], ServerHelloDone
[peap] TLS_accept: SSLv3 write server done A
[peap] TLS_accept: SSLv3 flush data
[peap] TLS_accept: Need to read more data: SSLv3 read client
certificate A
In SSL Handshake Phase
In SSL Accept mode
[peap] eaptls_process returned 13
[peap] EAPTLS_HANDLED
++[eap] returns handled
} # server wpa
Sending Access-Challenge of id 55 to 10.80.10.42 port 32769
EAP-Message =
0x010403ba1900160301002a0200002603014dd565a8ca1007fb5fafe0ddb0d92a0d821d77a8cf126a16b64b6452926bda3900002f0016030103770b00037300037000036d30820369308202d2a003020102020312c13e300d06092a864886f70d0101050500304e310b30090603550406130255533110300e060355040a130745717569666178312d302b060355040b1324457175696661782053656375726520436572746966696361746520417574686f72697479301e170d3130303530393035343732315a170d3132303531313034323731325a3081d13129302706035504051320704c4234414d775646504c43546d2d337651486e62686934324a
EAP-Message =
0x753746687961310b30090603550406130255533110300e0603550408130747656f726769613110300e0603550407130741746c616e746131283026060355040a131f47656f7267696120496e73746974757465206f6620546563686e6f6c6f677931293027060355040b13204f6666696365206f6620496e666f726d6174696f6e20546563686e6f6c6f6779311e301c0603550403131567747770612e6c61776e2e6761746563682e65647530819f300d06092a864886f70d010101050003818d0030818902818100d345aabc73a7777a683c06f6b359843b2b59523670ab0bce78ea74759290de2f8765a959fc7e197ba6829ef3da7fd6ea538dd98e
EAP-Message =
0xbfa46c8d26d724fee83a3eeb378a64410d9d92994f07208a0e90468a34af8d7d77e14aaa1d78b24f6a95af7034d8482d4e43626cc74c2bb5331b09dc59ba38b1fa60c6b9cfe841b2411089cf0203010001a381d03081cd301f0603551d2304183016801448e668f92bd2b295d747d82320104f3398909fd4300e0603551d0f0101ff0404030204f0301d0603551d250416301406082b0601050507030106082b0601050507030230200603551d1104193017821567747770612e6c61776e2e6761746563682e656475303a0603551d1f04333031302fa02da02b8629687474703a2f2f63726c2e67656f74727573742e636f6d2f63726c732f73656375
EAP-Message =
0x726563612e63726c301d0603551d0e041604146bd1c091faa8c9499db94ce449259017b097ecb2300d06092a864886f70d01010505000381810025a28346aaa5901f60d6e5004331971e1352103836c33a9845bfa928307a0472c7c87fe6eab5c81faecfca6b2d23af4496e70ef6a1ad775746a6329fef7e960eb8e06274c161accca9277c94b25bc03cdec5ed92b059ea5bd6fbb2668fe5a3d6da4454579368de2c4a583576a1ffae45c7e89c5ce8164572c5af1272ac0042ae16030100040e000000
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x31b2f23b30b6eb74b6745cb38a442dac
Finished request 1.
Going to the next request
Waking up in 4.9 seconds.
rad_recv: Access-Request packet from host 10.80.10.42 port 32769, id=56,
length=397
User-Name = "asdf"
Calling-Station-Id = "00-25-00-f5-a3-2b"
Called-Station-Id = "00-25-45-37-5c-60:GTtestwpa"
NAS-Port = 29
NAS-IP-Address = 10.80.10.42
NAS-Identifier = "Rich-core-WiSM-E"
Airespace-Wlan-Id = 7
Service-Type = Framed-User
Framed-MTU = 1300
NAS-Port-Type = Wireless-802.11
Tunnel-Type:0 = VLAN
Tunnel-Medium-Type:0 = IEEE-802
Tunnel-Private-Group-Id:0 = "809"
EAP-Message =
0x020400d01980000000c61603010086100000820080824a1517cc81fa0cde571f1c83147f0123f0ef6edf77a5db2c0ef03549a153c52f52c9d79e264c32cd37c8dc2155296528d2e9c7c66dcf6e6f638f11ffbdd7b932ed59299291db2f03e0830a15c7ec73bc8d42e19dc072f1a8bbbcf76df8a5cd02f7539a38c738242efdfc44fc232c20453886259ef36a33e7efd7aee22ca9d91403010001011603010030699d7d6451132470124ce6ea5e09507ec2504300d2e58010c2bfbcce1f50706a8689bfcc0287372fbf62cd49d04d974f
State = 0x31b2f23b30b6eb74b6745cb38a442dac
Message-Authenticator = 0x862f8d931f012e27f3a8d078d66e228f
server wpa {
# Executing section authorize from file
/services/freeradius/etc/raddb//sites-enabled/dvlan-wpa
+- entering group authorize {...}
++[preprocess] returns ok
[eap] EAP packet type response id 4 length 208
[eap] Continuing tunnel setup.
++[eap] returns ok
Found Auth-Type = EAP
# Executing group from file
/services/freeradius/etc/raddb//sites-enabled/dvlan-wpa
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP/peap
[eap] processing type peap
[peap] processing EAP-TLS
TLS Length 198
[peap] Length Included
[peap] eaptls_verify returned 11
[peap] <<< TLS 1.0 Handshake [length 0086], ClientKeyExchange
[peap] TLS_accept: SSLv3 read client key exchange A
[peap] <<< TLS 1.0 ChangeCipherSpec [length 0001]
[peap] <<< TLS 1.0 Handshake [length 0010], Finished
[peap] TLS_accept: SSLv3 read finished A
[peap] >>> TLS 1.0 ChangeCipherSpec [length 0001]
[peap] TLS_accept: SSLv3 write change cipher spec A
[peap] >>> TLS 1.0 Handshake [length 0010], Finished
[peap] TLS_accept: SSLv3 write finished A
[peap] TLS_accept: SSLv3 flush data
[peap] (other): SSL negotiation finished successfully
SSL Connection Established
[peap] eaptls_process returned 13
[peap] EAPTLS_HANDLED
++[eap] returns handled
} # server wpa
Sending Access-Challenge of id 56 to 10.80.10.42 port 32769
EAP-Message =
0x0105004119001403010001011603010030bf952c90cdb0d1bcdaacff835f16d35972e70d499f19ece0e99d9245d4fb5c6fea2d3006fa95d3318e3e653b09cc52e4
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x31b2f23b33b7eb74b6745cb38a442dac
Finished request 2.
Going to the next request
Waking up in 4.9 seconds.
rad_recv: Access-Request packet from host 10.80.10.42 port 32769, id=57,
length=195
User-Name = "asdf"
Calling-Station-Id = "00-25-00-f5-a3-2b"
Called-Station-Id = "00-25-45-37-5c-60:GTtestwpa"
NAS-Port = 29
NAS-IP-Address = 10.80.10.42
NAS-Identifier = "Rich-core-WiSM-E"
Airespace-Wlan-Id = 7
Service-Type = Framed-User
Framed-MTU = 1300
NAS-Port-Type = Wireless-802.11
Tunnel-Type:0 = VLAN
Tunnel-Medium-Type:0 = IEEE-802
Tunnel-Private-Group-Id:0 = "809"
EAP-Message = 0x020500061900
State = 0x31b2f23b33b7eb74b6745cb38a442dac
Message-Authenticator = 0x58658f27fe9295794b51b5a904ee64d8
server wpa {
# Executing section authorize from file
/services/freeradius/etc/raddb//sites-enabled/dvlan-wpa
+- entering group authorize {...}
++[preprocess] returns ok
[eap] EAP packet type response id 5 length 6
[eap] Continuing tunnel setup.
++[eap] returns ok
Found Auth-Type = EAP
# Executing group from file
/services/freeradius/etc/raddb//sites-enabled/dvlan-wpa
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP/peap
[eap] processing type peap
[peap] processing EAP-TLS
[peap] Received TLS ACK
[peap] ACK handshake is finished
[peap] eaptls_verify returned 3
[peap] eaptls_process returned 3
[peap] EAPTLS_SUCCESS
[peap] Session established. Decoding tunneled attributes.
[peap] Peap state TUNNEL ESTABLISHED
++[eap] returns handled
} # server wpa
Sending Access-Challenge of id 57 to 10.80.10.42 port 32769
EAP-Message =
0x0106002b19001703010020972a004adb0dbb0c23c5cca84018c922ee11b6a5541026a93f86adac05dfadc1
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x31b2f23b32b4eb74b6745cb38a442dac
Finished request 3.
Going to the next request
Waking up in 4.9 seconds.
rad_recv: Access-Request packet from host 10.80.10.42 port 32769, id=58,
length=232
User-Name = "asdf"
Calling-Station-Id = "00-25-00-f5-a3-2b"
Called-Station-Id = "00-25-45-37-5c-60:GTtestwpa"
NAS-Port = 29
NAS-IP-Address = 10.80.10.42
NAS-Identifier = "Rich-core-WiSM-E"
Airespace-Wlan-Id = 7
Service-Type = Framed-User
Framed-MTU = 1300
NAS-Port-Type = Wireless-802.11
Tunnel-Type:0 = VLAN
Tunnel-Medium-Type:0 = IEEE-802
Tunnel-Private-Group-Id:0 = "809"
EAP-Message =
0x0206002b19001703010020fe91dead08f0cc02d9d4581c8ccc77178098fd94a677579d72445bf14cde899f
State = 0x31b2f23b32b4eb74b6745cb38a442dac
Message-Authenticator = 0x331fbbeecc815c337c717573976b7da2
server wpa {
# Executing section authorize from file
/services/freeradius/etc/raddb//sites-enabled/dvlan-wpa
+- entering group authorize {...}
++[preprocess] returns ok
[eap] EAP packet type response id 6 length 43
[eap] Continuing tunnel setup.
++[eap] returns ok
Found Auth-Type = EAP
# Executing group from file
/services/freeradius/etc/raddb//sites-enabled/dvlan-wpa
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP/peap
[eap] processing type peap
[peap] processing EAP-TLS
[peap] eaptls_verify returned 7
[peap] Done initial handshake
[peap] eaptls_process returned 7
[peap] EAPTLS_OK
[peap] Session established. Decoding tunneled attributes.
[peap] Peap state WAITING FOR INNER IDENTITY
[peap] Identity - asdf
[peap] Got inner identity 'asdf'
[peap] Setting default EAP type for tunneled EAP session.
[peap] Got tunneled request
EAP-Message = 0x020600090161736466
server wpa {
PEAP: Setting User-Name to asdf
Sending tunneled request
EAP-Message = 0x020600090161736466
FreeRADIUS-Proxied-To = 127.0.0.1
User-Name = "asdf"
Calling-Station-Id = "00-25-00-f5-a3-2b"
Called-Station-Id = "00-25-45-37-5c-60:GTtestwpa"
NAS-Port = 29
NAS-IP-Address = 10.80.10.42
NAS-Identifier = "Rich-core-WiSM-E"
Airespace-Wlan-Id = 7
Service-Type = Framed-User
Framed-MTU = 1300
NAS-Port-Type = Wireless-802.11
Tunnel-Type:0 = VLAN
Tunnel-Medium-Type:0 = IEEE-802
Tunnel-Private-Group-Id:0 = "809"
server wpa {
# Executing section authorize from file
/services/freeradius/etc/raddb//sites-enabled/dvlan-wpa
+- entering group authorize {...}
++[preprocess] returns ok
[eap] EAP packet type response id 6 length 9
[eap] No EAP Start, assuming it's an on-going EAP conversation
++[eap] returns updated
[sqlwpa] expand: %{Stripped-User-Name} ->
[sqlwpa] ... expanding second conditional
[sqlwpa] expand: %{User-Name} -> asdf
[sqlwpa] expand: %{%{User-Name}:-DEFAULT} -> asdf
[sqlwpa] expand: %{%{Stripped-User-Name}:-%{%{User-Name}:-DEFAULT}}
-> asdf
[sqlwpa] sql_set_user escaped user --> 'asdf'
rlm_sql (sqlwpa): Reserving sql socket id: 62
[sqlwpa] expand: SELECT id, username, attribute, value, op
FROM radcheck WHERE username = '%{SQL-User-Name}'
ORDER BY id -> SELECT id, username, attribute, value, op FROM
radcheck WHERE username = 'asdf' ORDER BY id
[sqlwpa] expand: SELECT
determineGroup('%{Calling-Station-Id}','%{SQL-User-Name}','%{Called-Station-Id}')
as groupname -> SELECT
determineGroup('00-25-00-f5-a3-2b','asdf','00-25-45-37-5c-60:GTtestwpa')
as groupname
[sqlwpa] expand: SELECT id, groupname, attribute, value,
op FROM radgroupcheck WHERE groupname =
'%{Sql-Group}' ORDER BY id -> SELECT id, groupname,
attribute, value, op FROM radgroupcheck
WHERE groupname = 'NOTAUTHORIZED' ORDER BY id
[sqlwpa] User found in group NOTAUTHORIZED
[sqlwpa] expand: SELECT id, groupname, attribute, value,
op FROM radgroupreply WHERE groupname =
'%{Sql-Group}' ORDER BY id -> SELECT id, groupname,
attribute, value, op FROM radgroupreply
WHERE groupname = 'NOTAUTHORIZED' ORDER BY id
rlm_sql (sqlwpa): Released sql socket id: 62
++[sqlwpa] returns ok
Found Auth-Type = EAP
# Executing group from file
/services/freeradius/etc/raddb//sites-enabled/dvlan-wpa
+- entering group authenticate {...}
[eap] EAP Identity
[eap] processing type mschapv2
rlm_eap_mschapv2: Issuing Challenge
++[eap] returns handled
} # server wpa
[peap] Got tunneled reply code 11
Tunnel-Private-Group-Id:0 = "1296"
Tunnel-Type:0 = VLAN
Tunnel-Medium-Type:0 = IEEE-802
EAP-Message =
0x0107001e1a0107001910bf7d536f84202f25bf5f17b9e50ce30061736466
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x33f674ce33f16e76ae35e5f2efd87279
[peap] Got tunneled reply RADIUS code 11
Tunnel-Private-Group-Id:0 = "1296"
Tunnel-Type:0 = VLAN
Tunnel-Medium-Type:0 = IEEE-802
EAP-Message =
0x0107001e1a0107001910bf7d536f84202f25bf5f17b9e50ce30061736466
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x33f674ce33f16e76ae35e5f2efd87279
[peap] Got tunneled Access-Challenge
++[eap] returns handled
} # server wpa
Sending Access-Challenge of id 58 to 10.80.10.42 port 32769
EAP-Message =
0x0107003b19001703010030797656bba21df6dbff25f4fb69fa506584cb492a8ff148c2068733a4f1cdab3427c0180871bd822a0f03e227d5bce95d
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x31b2f23b35b5eb74b6745cb38a442dac
Finished request 4.
Going to the next request
Waking up in 4.9 seconds.
rad_recv: Access-Request packet from host 10.80.10.42 port 32769, id=59,
length=280
User-Name = "asdf"
Calling-Station-Id = "00-25-00-f5-a3-2b"
Called-Station-Id = "00-25-45-37-5c-60:GTtestwpa"
NAS-Port = 29
NAS-IP-Address = 10.80.10.42
NAS-Identifier = "Rich-core-WiSM-E"
Airespace-Wlan-Id = 7
Service-Type = Framed-User
Framed-MTU = 1300
NAS-Port-Type = Wireless-802.11
Tunnel-Type:0 = VLAN
Tunnel-Medium-Type:0 = IEEE-802
Tunnel-Private-Group-Id:0 = "809"
EAP-Message =
0x0207005b19001703010050e600f6973e85bcc2bcfecb03493bb4c70c4dc5e360fec76f2e8d5820fab9a8d904d2a9fd583dd02717f2b9ad8d1a390d263da98901eca94d4f6b35b065737f522e377b97661bb14d21c129b16bc0c650
State = 0x31b2f23b35b5eb74b6745cb38a442dac
Message-Authenticator = 0x57fc4a631ecb4d869888d51d38dd52a6
server wpa {
# Executing section authorize from file
/services/freeradius/etc/raddb//sites-enabled/dvlan-wpa
+- entering group authorize {...}
++[preprocess] returns ok
[eap] EAP packet type response id 7 length 91
[eap] Continuing tunnel setup.
++[eap] returns ok
Found Auth-Type = EAP
# Executing group from file
/services/freeradius/etc/raddb//sites-enabled/dvlan-wpa
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP/peap
[eap] processing type peap
[peap] processing EAP-TLS
[peap] eaptls_verify returned 7
[peap] Done initial handshake
[peap] eaptls_process returned 7
[peap] EAPTLS_OK
[peap] Session established. Decoding tunneled attributes.
[peap] Peap state phase2
[peap] EAP type mschapv2
[peap] Got tunneled request
EAP-Message =
0x0207003f1a0207003a31c3fc9644677023c2240c42be8ebcc26000000000000000001d977e4d0232ca801f0e20dde8767c7004d4ca2197cdf39b0061736466
server wpa {
PEAP: Setting User-Name to asdf
Sending tunneled request
EAP-Message =
0x0207003f1a0207003a31c3fc9644677023c2240c42be8ebcc26000000000000000001d977e4d0232ca801f0e20dde8767c7004d4ca2197cdf39b0061736466
FreeRADIUS-Proxied-To = 127.0.0.1
User-Name = "asdf"
State = 0x33f674ce33f16e76ae35e5f2efd87279
Calling-Station-Id = "00-25-00-f5-a3-2b"
Called-Station-Id = "00-25-45-37-5c-60:GTtestwpa"
NAS-Port = 29
NAS-IP-Address = 10.80.10.42
NAS-Identifier = "Rich-core-WiSM-E"
Airespace-Wlan-Id = 7
Service-Type = Framed-User
Framed-MTU = 1300
NAS-Port-Type = Wireless-802.11
Tunnel-Type:0 = VLAN
Tunnel-Medium-Type:0 = IEEE-802
Tunnel-Private-Group-Id:0 = "809"
server wpa {
# Executing section authorize from file
/services/freeradius/etc/raddb//sites-enabled/dvlan-wpa
+- entering group authorize {...}
++[preprocess] returns ok
[eap] EAP packet type response id 7 length 63
[eap] No EAP Start, assuming it's an on-going EAP conversation
++[eap] returns updated
[sqlwpa] expand: %{Stripped-User-Name} ->
[sqlwpa] ... expanding second conditional
[sqlwpa] expand: %{User-Name} -> asdf
[sqlwpa] expand: %{%{User-Name}:-DEFAULT} -> asdf
[sqlwpa] expand: %{%{Stripped-User-Name}:-%{%{User-Name}:-DEFAULT}}
-> asdf
[sqlwpa] sql_set_user escaped user --> 'asdf'
rlm_sql (sqlwpa): Reserving sql socket id: 61
[sqlwpa] expand: SELECT id, username, attribute, value, op
FROM radcheck WHERE username = '%{SQL-User-Name}'
ORDER BY id -> SELECT id, username, attribute, value, op FROM
radcheck WHERE username = 'asdf' ORDER BY id
[sqlwpa] expand: SELECT
determineGroup('%{Calling-Station-Id}','%{SQL-User-Name}','%{Called-Station-Id}')
as groupname -> SELECT
determineGroup('00-25-00-f5-a3-2b','asdf','00-25-45-37-5c-60:GTtestwpa')
as groupname
[sqlwpa] expand: SELECT id, groupname, attribute, value,
op FROM radgroupcheck WHERE groupname =
'%{Sql-Group}' ORDER BY id -> SELECT id, groupname,
attribute, value, op FROM radgroupcheck
WHERE groupname = 'NOTAUTHORIZED' ORDER BY id
[sqlwpa] User found in group NOTAUTHORIZED
[sqlwpa] expand: SELECT id, groupname, attribute, value,
op FROM radgroupreply WHERE groupname =
'%{Sql-Group}' ORDER BY id -> SELECT id, groupname,
attribute, value, op FROM radgroupreply
WHERE groupname = 'NOTAUTHORIZED' ORDER BY id
rlm_sql (sqlwpa): Released sql socket id: 61
++[sqlwpa] returns ok
Found Auth-Type = EAP
# Executing group from file
/services/freeradius/etc/raddb//sites-enabled/dvlan-wpa
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP/mschapv2
[eap] processing type mschapv2
[mschapv2] # Executing group from file
/services/freeradius/etc/raddb//sites-enabled/dvlan-wpa
[mschapv2] +- entering group MS-CHAP {...}
[mschap] Creating challenge hash with username: asdf
[mschap] Told to do MS-CHAPv2 for asdf with NT-Password
[mschap] WARNING: Deprecated conditional expansion ":-". See "man
unlang" for details
[mschap] ... expanding second conditional
[mschap] WARNING: Deprecated conditional expansion ":-". See "man
unlang" for details
[mschap] expand: %{User-Name:-None} -> asdf
[mschap] expand:
--username=%{Stripped-User-Name:-%{User-Name:-None}} -> --username=asdf
[mschap] mschap2: bf
[mschap] Creating challenge hash with username: asdf
[mschap] expand: --challenge=%{mschap:Challenge:-00} ->
--challenge=0a7a21bf18732797
[mschap] expand: --nt-response=%{mschap:NT-Response:-00} ->
--nt-response=1d977e4d0232ca801f0e20dde8767c7004d4ca2197cdf39b
Exec-Program output: Logon failure (0xc000006d)
Exec-Program-Wait: plaintext: Logon failure (0xc000006d)
Exec-Program: returned: 1
[mschap] External script failed.
[mschap] FAILED: MS-CHAP2-Response is incorrect
++[mschap] returns reject
[eap] Freeing handler
++[eap] returns reject
Failed to authenticate the user.
Login incorrect (mschap: External script says Logon failure
(0xc000006d)): [asdf/<via Auth-Type = EAP>] (from client LAWN-WiSM port
29 cli 00-25-00-f5-a3-2b via TLS tunnel)
} # server wpa
[peap] Got tunneled reply code 3
Tunnel-Private-Group-Id:0 = "1296"
Tunnel-Type:0 = VLAN
Tunnel-Medium-Type:0 = IEEE-802
MS-CHAP-Error = "\007E=691 R=1"
EAP-Message = 0x04070004
Message-Authenticator = 0x00000000000000000000000000000000
[peap] Got tunneled reply RADIUS code 3
Tunnel-Private-Group-Id:0 = "1296"
Tunnel-Type:0 = VLAN
Tunnel-Medium-Type:0 = IEEE-802
MS-CHAP-Error = "\007E=691 R=1"
EAP-Message = 0x04070004
Message-Authenticator = 0x00000000000000000000000000000000
[peap] Tunneled authentication was rejected.
[peap] FAILURE
++[eap] returns handled
} # server wpa
Sending Access-Challenge of id 59 to 10.80.10.42 port 32769
EAP-Message =
0x0108002b190017030100206e20a4a57f13f51e3edc4d3cdda2a7e64d8d8dde84c0cd825af17de0b236bbdc
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x31b2f23b34baeb74b6745cb38a442dac
Finished request 5.
Going to the next request
Waking up in 4.9 seconds.
rad_recv: Access-Request packet from host 10.80.10.42 port 32769, id=60,
length=232
User-Name = "asdf"
Calling-Station-Id = "00-25-00-f5-a3-2b"
Called-Station-Id = "00-25-45-37-5c-60:GTtestwpa"
NAS-Port = 29
NAS-IP-Address = 10.80.10.42
NAS-Identifier = "Rich-core-WiSM-E"
Airespace-Wlan-Id = 7
Service-Type = Framed-User
Framed-MTU = 1300
NAS-Port-Type = Wireless-802.11
Tunnel-Type:0 = VLAN
Tunnel-Medium-Type:0 = IEEE-802
Tunnel-Private-Group-Id:0 = "809"
EAP-Message =
0x0208002b1900170301002022152bb0e74b3277ae1b8711d62a966e885e9b7d5beb26f9fc716b74cadea38e
State = 0x31b2f23b34baeb74b6745cb38a442dac
Message-Authenticator = 0x14d7bb55cd857f2216d2addb790a6291
server wpa {
# Executing section authorize from file
/services/freeradius/etc/raddb//sites-enabled/dvlan-wpa
+- entering group authorize {...}
++[preprocess] returns ok
[eap] EAP packet type response id 8 length 43
[eap] Continuing tunnel setup.
++[eap] returns ok
Found Auth-Type = EAP
# Executing group from file
/services/freeradius/etc/raddb//sites-enabled/dvlan-wpa
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP/peap
[eap] processing type peap
[peap] processing EAP-TLS
[peap] eaptls_verify returned 7
[peap] Done initial handshake
[peap] eaptls_process returned 7
[peap] EAPTLS_OK
[peap] Session established. Decoding tunneled attributes.
[peap] Peap state send tlv failure
[peap] Received EAP-TLV response.
[peap] The users session was previously rejected: returning reject (again.)
[peap] *** This means you need to read the PREVIOUS messages in the
debug output
[peap] *** to find out the reason why the user was rejected.
[peap] *** Look for "reject" or "fail". Those earlier messages will
tell you.
[peap] *** what went wrong, and how to fix the problem.
[eap] Handler failed in EAP/peap
[eap] Failed in EAP select
++[eap] returns invalid
Failed to authenticate the user.
Login incorrect: [asdf/<via Auth-Type = EAP>] (from client LAWN-WiSM
port 29 cli 00-25-00-f5-a3-2b)
} # server wpa
Using Post-Auth-Type Reject
# Executing group from file
/services/freeradius/etc/raddb//sites-enabled/dvlan-wpa
+- entering group REJECT {...}
[attr_filter.access_reject] expand: %{User-Name} -> asdf
attr_filter: Matched entry DEFAULT at line 11
++[attr_filter.access_reject] returns updated
Delaying reject of request 6 for 1 seconds
Going to the next request
Waking up in 0.9 seconds.
Sending delayed reject for request 6
Sending Access-Reject of id 60 to 10.80.10.42 port 32769
EAP-Message = 0x04080004
Message-Authenticator = 0x00000000000000000000000000000000
Waking up in 3.8 seconds.
Cleaning up request 0 ID 54 with timestamp +26
Cleaning up request 1 ID 55 with timestamp +26
Cleaning up request 2 ID 56 with timestamp +26
Cleaning up request 3 ID 57 with timestamp +26
Cleaning up request 4 ID 58 with timestamp +26
Cleaning up request 5 ID 59 with timestamp +26
Waking up in 1.0 seconds.
Cleaning up request 6 ID 60 with timestamp +26
Ready to process requests.
4
3
Hello people.
Running FreeRadius.net version 1.1.7 r0.0.2 on Windows Server 2008
Authentication works fine in Debug mode.But starting the service normally,
nothing happens. No response from the radius server.Tried to set user =
nobody group = shadow user = root and all stuff thats looks like that in
every combination I could imagine. Still not working
Thanks for your help
--
View this message in context: http://freeradius.1045715.n5.nabble.com/Freeradius-on-windows-server-2008-t…
Sent from the FreeRadius - User mailing list archive at Nabble.com.
2
2
Hi
It is possible that my question is low level but it is key for me. I want to
ask that NAS provide internet or FreeRADIUS. I mean i should connect
internet connection to NAS or FreeRADIUS.
Does NAS just use FreeRADIUS or any Radius Server to authenticate user and
register accounting data in Radius.
Thanks
--
View this message in context: http://freeradius.1045715.n5.nabble.com/Relation-between-NAS-and-FreeRADIUS…
Sent from the FreeRadius - User mailing list archive at Nabble.com.
3
3
ERROR: No authenticate method (Auth-Type) found for the request: Rejecting the user
by Jim Whitescarver 18 May '11
by Jim Whitescarver 18 May '11
18 May '11
I am hoping someone can help me. We compiled 2.1.x from source and
finally got it to accept our python Auth-Type as the default in the
users file.
DEFAULT Auth-Type := python
But, after sucessfully calling our python module the user is rejected
ERROR: No authenticate method (Auth-Type) found for the request:
Rejecting the user
Below is the complete log.
Any ideas of what we may be doing wrong?
Thanks,
Jim
Tue May 17 14:15:37 2011 : Debug: Listening on proxy address * port 1814
Tue May 17 14:15:37 2011 : Info: Ready to process requests.
rad_recv: Access-Request packet from host 135.207.164.41 port 49346,
id=131, length=55
User-Name = "owk"
User-Password = "test123"
NAS-IP-Address = 135.207.164.41
NAS-Port = 1812
Tue May 17 14:15:50 2011 : Info: # Executing section authorize from
file /usr/local/etc/raddb/sites-enabled/default
Tue May 17 14:15:50 2011 : Info: +- entering group authorize {...}
Tue May 17 14:15:50 2011 : Info: ++[preprocess] returns ok
*** authorize ***
Tue May 17 14:15:50 2011 : Info: *** radlog call in authorize ***
(('User-Name', '"owk"'), ('User-Password', '"test123"'),
('NAS-IP-Address', '135.207.164.41'), ('NAS-Port', '1812'))
User-Name: "owk"
User-Password: "test123"
NAS-IP-Address: 135.207.164.41
NAS-Port: 1812
Authenticate User: owk
Tue May 17 14:16:16 2011 : Info: ++[python] returns ok
Tue May 17 14:16:16 2011 : Info: ERROR: No authenticate method
(Auth-Type) found for the request: Rejecting the user
Tue May 17 14:16:16 2011 : Info: Failed to authenticate the user.
Tue May 17 14:16:16 2011 : Info: Using Post-Auth-Type Reject
Tue May 17 14:16:16 2011 : Info: # Executing group from file
/usr/local/etc/raddb/sites-enabled/default
Tue May 17 14:16:16 2011 : Info: +- entering group REJECT {...}
Tue May 17 14:16:16 2011 : Info: [attr_filter.access_reject]
expand: %{User-Name} -> owk
Tue May 17 14:16:16 2011 : Debug: attr_filter: Matched entry DEFAULT at line 11
Tue May 17 14:16:16 2011 : Info: ++[attr_filter.access_reject] returns updated
Sending Access-Reject of id 131 to 135.207.164.41 port 49346
Tue May 17 14:16:16 2011 : Info: Finished request 0.
Tue May 17 14:16:16 2011 : Debug: Going to the next request
Tue May 17 14:16:16 2011 : Debug: Waking up in 4.9 seconds.
rad_recv: Access-Request packet from host 135.207.164.41 port 49346,
id=131, length=55
Tue May 17 14:16:16 2011 : Info: Sending duplicate reply to client
five-10 port 49346 - ID: 131
Sending Access-Reject of id 131 to 135.207.164.41 port 49346
Tue May 17 14:16:16 2011 : Debug: Waking up in 4.9 seconds.
rad_recv: Access-Request packet from host 135.207.164.41 port 49346,
id=131, length=55
Tue May 17 14:16:16 2011 : Info: Sending duplicate reply to client
five-10 port 49346 - ID: 131
Sending Access-Reject of id 131 to 135.207.164.41 port 49346
Tue May 17 14:16:16 2011 : Debug: Waking up in 4.9 seconds.
Tue May 17 14:16:21 2011 : Info: Cleaning up request 0 ID 131 with timestamp +13
Tue May 17 14:16:21 2011 : Info: Ready to process requests.
2
4
Dear Users,
I hope you will be patient with me, its my first time with freeradius.
I have problems to authenticate Windows 7 Clients with freeradius.
Using WPA2-Enterprise results in Access-Rejects after one Request.
Using WPA-Enterprise results in about nine different Access-Challanges
and one final Access-Accept - that cant be right.
I have set up a testing scenario with the local test user bob. If local
authentication works properly i want to proxy all requests without EAP
to another freeradius server. I will have questions to that later :)
radtest from localhost an remotehost succeeded.
Setting:
Win7_Client<-----WLAN----->WAP LinksysWRT54gl<------MPLS-Network over
PPPoE----------->FreeRADIUS_proxy(<---------------------------->FreeRADIUS_main)
Windows 7 dd-wrt v24 SP2
Ubuntu Server 10.4.2,
freeradius 2.1.10 generic
10.73.108.254
internal:
10.0.73.1 external: 213.x.x.x
I dont get a clue if the Problem is Windows, Certificates, Network oder
simply misconfigured freeradius.
certificates:
- i build the certs with and without that windows extension OID in
server.cnf with make from ../raddb/certs
- 2048 bit
Windows 7:
- installed ca.der as root cert in win7 and configured it for the
desired WiFi network
- for my eyes no difference in debug logs if validate server cert or not.
- unchecked using windows user or domain for auth
- EAP comes with PEAP/MSCHAPv2 as default - but the certs are for eap -
tls right?
WAP:
- WPA2 Enterprise with AES no accept packet possible until now
- WPA Enterprise with AES results in that 9-times Challenges until accept
freeRADIUS:
- compiled with installed openSSL dev lib
- default config as it comes out of the box, exept: added user bob with
cleartext password in users, added the WAP as client in clients.conf,
changed default_eap_type = "peap" and private_key_password =
"MYSECRET_FROM_SERVER_CERT" in eap.conf
configuration and stuff pls look at attached debug.log from running
radiusd -X
debug.log contains the output of radiusd -X with Access-Requests over
WPA-Enterprise.
I hope you got a hint for me.
Thanks !
Simon
FreeRADIUS Version 2.1.10, for host i686-pc-linux-gnu, built on May 12 2011 at 13:56:14
Copyright (C) 1999-2009 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 v2.
Starting - reading configuration files ...
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/modules/
including configuration file /usr/local/etc/raddb/modules/attr_filter
including configuration file /usr/local/etc/raddb/modules/exec
including configuration file /usr/local/etc/raddb/modules/passwd
including configuration file /usr/local/etc/raddb/modules/realm
including configuration file /usr/local/etc/raddb/modules/linelog
including configuration file /usr/local/etc/raddb/modules/cui
including configuration file /usr/local/etc/raddb/modules/chap
including configuration file /usr/local/etc/raddb/modules/wimax
including configuration file /usr/local/etc/raddb/modules/detail
including configuration file /usr/local/etc/raddb/modules/sradutmp
including configuration file /usr/local/etc/raddb/modules/mac2vlan
including configuration file /usr/local/etc/raddb/modules/pam
including configuration file /usr/local/etc/raddb/modules/sqlcounter_expire_on_login
including configuration file /usr/local/etc/raddb/modules/krb5
including configuration file /usr/local/etc/raddb/modules/ippool
including configuration file /usr/local/etc/raddb/modules/logintime
including configuration file /usr/local/etc/raddb/modules/detail.example.com
including configuration file /usr/local/etc/raddb/modules/dynamic_clients
including configuration file /usr/local/etc/raddb/modules/otp
including configuration file /usr/local/etc/raddb/modules/expr
including configuration file /usr/local/etc/raddb/modules/counter
including configuration file /usr/local/etc/raddb/modules/ldap
including configuration file /usr/local/etc/raddb/modules/opendirectory
including configuration file /usr/local/etc/raddb/modules/preprocess
including configuration file /usr/local/etc/raddb/modules/files
including configuration file /usr/local/etc/raddb/modules/always
including configuration file /usr/local/etc/raddb/modules/unix
including configuration file /usr/local/etc/raddb/modules/expiration
including configuration file /usr/local/etc/raddb/modules/ntlm_auth
including configuration file /usr/local/etc/raddb/modules/smbpasswd
including configuration file /usr/local/etc/raddb/modules/detail.log
including configuration file /usr/local/etc/raddb/modules/mschap
including configuration file /usr/local/etc/raddb/modules/sql_log
including configuration file /usr/local/etc/raddb/modules/digest
including configuration file /usr/local/etc/raddb/modules/policy
including configuration file /usr/local/etc/raddb/modules/mac2ip
including configuration file /usr/local/etc/raddb/modules/acct_unique
including configuration file /usr/local/etc/raddb/modules/radutmp
including configuration file /usr/local/etc/raddb/modules/etc_group
including configuration file /usr/local/etc/raddb/modules/echo
including configuration file /usr/local/etc/raddb/modules/attr_rewrite
including configuration file /usr/local/etc/raddb/modules/smsotp
including configuration file /usr/local/etc/raddb/modules/inner-eap
including configuration file /usr/local/etc/raddb/modules/pap
including configuration file /usr/local/etc/raddb/modules/checkval
including configuration file /usr/local/etc/raddb/modules/perl
including configuration file /usr/local/etc/raddb/eap.conf
including configuration file /usr/local/etc/raddb/policy.conf
including files in directory /usr/local/etc/raddb/sites-enabled/
including configuration file /usr/local/etc/raddb/sites-enabled/inner-tunnel
including configuration file /usr/local/etc/raddb/sites-enabled/default
including configuration file /usr/local/etc/raddb/sites-enabled/control-socket
main {
allow_core_dumps = no
}
including dictionary file /usr/local/etc/raddb/dictionary
main {
prefix = "/usr/local"
localstatedir = "/usr/local/var"
logdir = "/usr/local/var/log/radius"
libdir = "/usr/local/lib"
radacctdir = "/usr/local/var/log/radius/radacct"
hostname_lookups = no
max_request_time = 30
cleanup_delay = 5
max_requests = 1024
pidfile = "/usr/local/var/run/radiusd/radiusd.pid"
checkrad = "/usr/local/sbin/checkrad"
debug_level = 0
proxy_requests = yes
log {
stripped_names = no
auth = no
auth_badpass = no
auth_goodpass = no
}
security {
max_attributes = 200
reject_delay = 1
status_server = yes
}
}
radiusd: #### Loading Realms and Home Servers ####
proxy server {
retry_delay = 5
retry_count = 3
default_fallback = no
dead_time = 120
wake_all_if_all_dead = no
}
home_server localhost {
ipaddr = 127.0.0.1
port = 1812
type = "auth"
secret = "testing123"
response_window = 20
max_outstanding = 65536
require_message_authenticator = yes
zombie_period = 40
status_check = "status-server"
ping_interval = 30
check_interval = 30
num_answers_to_alive = 3
num_pings_to_alive = 3
revive_interval = 120
status_check_timeout = 4
irt = 2
mrt = 16
mrc = 5
mrd = 30
}
home_server_pool my_auth_failover {
type = fail-over
home_server = localhost
}
realm example.com {
auth_pool = my_auth_failover
}
realm LOCAL {
}
radiusd: #### Loading Clients ####
client localhost {
ipaddr = 127.0.0.1
require_message_authenticator = no
secret = "testing123"
nastype = "other"
}
client 10.73.108.0/24 {
require_message_authenticator = no
secret = "testing123-3"
shortname = "Spot"
}
radiusd: #### Instantiating modules ####
instantiate {
Module: Linked to module rlm_exec
Module: Instantiating module "exec" from file /usr/local/etc/raddb/modules/exec
exec {
wait = no
input_pairs = "request"
shell_escape = yes
}
Module: Linked to module rlm_expr
Module: Instantiating module "expr" from file /usr/local/etc/raddb/modules/expr
Module: Linked to module rlm_expiration
Module: Instantiating module "expiration" from file /usr/local/etc/raddb/modules/expiration
expiration {
reply-message = "Password Has Expired "
}
Module: Linked to module rlm_logintime
Module: Instantiating module "logintime" from file /usr/local/etc/raddb/modules/logintime
logintime {
reply-message = "You are calling outside your allowed timespan "
minimum-timeout = 60
}
}
radiusd: #### Loading Virtual Servers ####
server inner-tunnel { # from file /usr/local/etc/raddb/sites-enabled/inner-tunnel
modules {
Module: Checking authenticate {...} for more modules to load
Module: Linked to module rlm_pap
Module: Instantiating module "pap" from file /usr/local/etc/raddb/modules/pap
pap {
encryption_scheme = "auto"
auto_header = no
}
Module: Linked to module rlm_chap
Module: Instantiating module "chap" from file /usr/local/etc/raddb/modules/chap
Module: Linked to module rlm_mschap
Module: Instantiating module "mschap" from file /usr/local/etc/raddb/modules/mschap
mschap {
use_mppe = yes
require_encryption = no
require_strong = no
with_ntdomain_hack = no
}
Module: Linked to module rlm_unix
Module: Instantiating module "unix" from file /usr/local/etc/raddb/modules/unix
unix {
radwtmp = "/usr/local/var/log/radius/radwtmp"
}
Module: Linked to module rlm_eap
Module: Instantiating module "eap" from file /usr/local/etc/raddb/eap.conf
eap {
default_eap_type = "peap"
timer_expire = 60
ignore_unknown_eap_types = no
cisco_accounting_username_bug = no
max_sessions = 4096
}
Module: Linked to sub-module rlm_eap_md5
Module: Instantiating eap-md5
Module: Linked to sub-module rlm_eap_leap
Module: Instantiating eap-leap
Module: Linked to sub-module rlm_eap_gtc
Module: Instantiating eap-gtc
gtc {
challenge = "Password: "
auth_type = "PAP"
}
Module: Linked to sub-module rlm_eap_tls
Module: Instantiating eap-tls
tls {
rsa_key_exchange = no
dh_key_exchange = yes
rsa_key_length = 512
dh_key_length = 512
verify_depth = 0
CA_path = "/usr/local/etc/raddb/certs"
pem_file_type = yes
private_key_file = "/usr/local/etc/raddb/certs/server.pem"
certificate_file = "/usr/local/etc/raddb/certs/server.pem"
CA_file = "/usr/local/etc/raddb/certs/ca.pem"
private_key_password = "MYSECRET_FROM_SERVER_CERT"
dh_file = "/usr/local/etc/raddb/certs/dh"
random_file = "/usr/local/etc/raddb/certs/random"
fragment_size = 1024
include_length = yes
check_crl = no
cipher_list = "DEFAULT"
make_cert_command = "/usr/local/etc/raddb/certs/bootstrap"
cache {
enable = no
lifetime = 24
max_entries = 255
}
verify {
}
}
Module: Linked to sub-module rlm_eap_ttls
Module: Instantiating eap-ttls
ttls {
default_eap_type = "md5"
copy_request_to_tunnel = no
use_tunneled_reply = no
virtual_server = "inner-tunnel"
include_length = yes
}
Module: Linked to sub-module rlm_eap_peap
Module: Instantiating eap-peap
peap {
default_eap_type = "mschapv2"
copy_request_to_tunnel = no
use_tunneled_reply = no
proxy_tunneled_request_as_eap = yes
virtual_server = "inner-tunnel"
}
Module: Linked to sub-module rlm_eap_mschapv2
Module: Instantiating eap-mschapv2
mschapv2 {
with_ntdomain_hack = no
}
Module: Checking authorize {...} for more modules to load
Module: Linked to module rlm_realm
Module: Instantiating module "suffix" from file /usr/local/etc/raddb/modules/realm
realm suffix {
format = "suffix"
delimiter = "@"
ignore_default = no
ignore_null = no
}
Module: Linked to module rlm_files
Module: Instantiating module "files" from file /usr/local/etc/raddb/modules/files
files {
usersfile = "/usr/local/etc/raddb/users"
acctusersfile = "/usr/local/etc/raddb/acct_users"
preproxy_usersfile = "/usr/local/etc/raddb/preproxy_users"
compat = "no"
}
Module: Checking session {...} for more modules to load
Module: Linked to module rlm_radutmp
Module: Instantiating module "radutmp" from file /usr/local/etc/raddb/modules/radutmp
radutmp {
filename = "/usr/local/var/log/radius/radutmp"
username = "%{User-Name}"
case_sensitive = yes
check_with_nas = yes
perm = 384
callerid = yes
}
Module: Checking post-proxy {...} for more modules to load
Module: Checking post-auth {...} for more modules to load
Module: Linked to module rlm_attr_filter
Module: Instantiating module "attr_filter.access_reject" from file /usr/local/etc/raddb/modules/attr_filter
attr_filter attr_filter.access_reject {
attrsfile = "/usr/local/etc/raddb/attrs.access_reject"
key = "%{User-Name}"
}
} # modules
} # server
server { # from file /usr/local/etc/raddb/radiusd.conf
modules {
Module: Checking authenticate {...} for more modules to load
Module: Linked to module rlm_digest
Module: Instantiating module "digest" from file /usr/local/etc/raddb/modules/digest
Module: Checking authorize {...} for more modules to load
Module: Linked to module rlm_preprocess
Module: Instantiating module "preprocess" from file /usr/local/etc/raddb/modules/preprocess
preprocess {
huntgroups = "/usr/local/etc/raddb/huntgroups"
hints = "/usr/local/etc/raddb/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
}
Module: Checking preacct {...} for more modules to load
Module: Linked to module rlm_acct_unique
Module: Instantiating module "acct_unique" from file /usr/local/etc/raddb/modules/acct_unique
acct_unique {
key = "User-Name, Acct-Session-Id, NAS-IP-Address, Client-IP-Address, NAS-Port"
}
Module: Checking accounting {...} for more modules to load
Module: Linked to module rlm_detail
Module: Instantiating module "detail" from file /usr/local/etc/raddb/modules/detail
detail {
detailfile = "/usr/local/var/log/radius/radacct/%{Client-IP-Address}/detail-%Y%m%d"
header = "%t"
detailperm = 384
dirperm = 493
locking = no
log_packet_header = no
}
Module: Instantiating module "attr_filter.accounting_response" from file /usr/local/etc/raddb/modules/attr_filter
attr_filter attr_filter.accounting_response {
attrsfile = "/usr/local/etc/raddb/attrs.accounting_response"
key = "%{User-Name}"
}
Module: Checking session {...} for more modules to load
Module: Checking post-proxy {...} for more modules to load
Module: Checking post-auth {...} for more modules to load
} # modules
} # server
radiusd: #### Opening IP addresses and Ports ####
listen {
type = "auth"
ipaddr = *
port = 0
}
listen {
type = "acct"
ipaddr = *
port = 0
}
listen {
type = "control"
listen {
socket = "/usr/local/var/run/radiusd/radiusd.sock"
}
}
listen {
type = "auth"
ipaddr = 127.0.0.1
port = 18120
}
Listening on authentication address * port 1812
Listening on accounting address * port 1813
Listening on command file /usr/local/var/run/radiusd/radiusd.sock
Listening on authentication address 127.0.0.1 port 18120 as server inner-tunnel
Listening on proxy address * port 1814
Ready to process requests.
rad_recv: Access-Request packet from host 10.73.108.254 port 2055, id=0, length=119
User-Name = "bob"
NAS-IP-Address = 10.73.108.254
Called-Station-Id = "c2c1c018553e"
Calling-Station-Id = "001e654bde20"
NAS-Identifier = "c2c1c018553e"
NAS-Port = 53
Framed-MTU = 1400
NAS-Port-Type = Wireless-802.11
EAP-Message = 0x0201000801626f62
Message-Authenticator = 0xb0dac5d5516e083d0cf8f0844b9c1bf7
# Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
++[digest] returns noop
[suffix] No '@' in User-Name = "bob", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
[eap] EAP packet type response id 1 length 8
[eap] No EAP Start, assuming it's an on-going EAP conversation
++[eap] returns updated
[files] users: Matched entry bob at line 1
++[files] returns ok
++[expiration] returns noop
++[logintime] returns noop
[pap] WARNING: Auth-Type already set. Not setting to PAP
++[pap] returns noop
Found Auth-Type = EAP
# Executing group from file /usr/local/etc/raddb/sites-enabled/default
+- entering group authenticate {...}
[eap] EAP Identity
[eap] processing type tls
[tls] Initiate
[tls] Start returned 1
++[eap] returns handled
Sending Access-Challenge of id 0 to 10.73.108.254 port 2055
EAP-Message = 0x010200061920
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x100d0b13100f1212d04f6d2a999d2f8b
Finished request 0.
Going to the next request
Waking up in 4.9 seconds.
rad_recv: Access-Request packet from host 10.73.108.254 port 2055, id=0, length=246
Cleaning up request 0 ID 0 with timestamp +25
WARNING: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
WARNING: !! EAP session for state 0x100d0b13100f1212 did not finish!
WARNING: !! Please read http://wiki.freeradius.org/Certificate_Compatibility
WARNING: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
User-Name = "bob"
NAS-IP-Address = 10.73.108.254
Called-Station-Id = "c2c1c018553e"
Calling-Station-Id = "001e654bde20"
NAS-Identifier = "c2c1c018553e"
NAS-Port = 53
Framed-MTU = 1400
State = 0x100d0b13100f1212d04f6d2a999d2f8b
NAS-Port-Type = Wireless-802.11
EAP-Message = 0x0202007519800000006b16030100660100006203014dd2abd5dd3cdf77091d87a1310cd27e040a8c9c3b2da1a028d11edfafcde2a8000018002f00350005000ac013c014c009c00a003200380013000401000021ff01000100000000080006000003626f62000a0006000400170018000b00020100
Message-Authenticator = 0xc67efa07682c65e72fc0e82a299a912f
# Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
++[digest] returns noop
[suffix] No '@' in User-Name = "bob", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
[eap] EAP packet type response id 2 length 117
[eap] Continuing tunnel setup.
++[eap] returns ok
Found Auth-Type = EAP
# Executing group from file /usr/local/etc/raddb/sites-enabled/default
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP/peap
[eap] processing type peap
[peap] processing EAP-TLS
TLS Length 107
[peap] Length Included
[peap] eaptls_verify returned 11
[peap] (other): before/accept initialization
[peap] TLS_accept: before/accept initialization
[peap] <<< TLS 1.0 Handshake [length 0066], ClientHello
[peap] TLS_accept: SSLv3 read client hello A
[peap] >>> TLS 1.0 Handshake [length 0031], ServerHello
[peap] TLS_accept: SSLv3 write server hello A
[peap] >>> TLS 1.0 Handshake [length 0804], Certificate
[peap] TLS_accept: SSLv3 write certificate A
[peap] >>> TLS 1.0 Handshake [length 0004], ServerHelloDone
[peap] TLS_accept: SSLv3 write server done A
[peap] TLS_accept: SSLv3 flush data
[peap] TLS_accept: Need to read more data: SSLv3 read client certificate A
In SSL Handshake Phase
In SSL Accept mode
[peap] eaptls_process returned 13
[peap] EAPTLS_HANDLED
++[eap] returns handled
Sending Access-Challenge of id 0 to 10.73.108.254 port 2055
EAP-Message = 0x0103040019c00000084816030100310200002d03014dd2abd4a60b5649a868c0dde3471924b6b00c8c381049c16df9d96584020ea000002f000005ff0100010016030108040b0008000007fd0003853082038130820269a003020102020105300d06092a864886f70d0101040500308180310b3009060355040613024445310b3009060355040813025348310d300b060355040713044b69656c310f300d060355040a1306544e47204147311d301b06092a864886f70d010901160e746563686e696b40746e672e6465312530230603550403131c544e4720414720436572746966696361746520417574686f72697479301e170d3131303531373135
EAP-Message = 0x343033355a170d3136303531353135343033355a306e310b3009060355040613024445310b3009060355040813025348310f300d060355040a1306544e472041473122302006035504031319544e4720414720536572766572204365727469666963617465311d301b06092a864886f70d010901160e746563686e696b40746e672e646530820122300d06092a864886f70d01010105000382010f003082010a0282010100d8d6225069787453257c4461758d5a159d09901c830b942fa8dec19f56515ee3e44fd904f5fef9cf2f0a0ed733ba5eb79d8cb00a6c3f1da79210174ffc71f669a083c19a92649be960abe4262506c6ae0d8c88a9eac7835d
EAP-Message = 0x65c0ff79a77aa91ca62cb54d37a55ad37948560acd1e70eb26fe3fd1ad5851b3af0b9d0568ec893d70b9fc29710759c0515e511459ae4250a1c9cf72bb207594f9083aaf6901beeca389d14c058e5dd68fb17236305bc2b4a00b8977f4c71fa824f5b7ac16b7afe8aea2959136b73534da6b76c49162d75451d436186228c63926937093804799c40e5f02d8e87cafbc849801640fd0c9a62e2409a2e81822bb967bdce911627eeb0203010001a317301530130603551d25040c300a06082b06010505070301300d06092a864886f70d010104050003820101006f4ebd3de9a045e7453fcaad27f47f9ee18104e54d5aab72ddd77fa1608c59a9a76e20
EAP-Message = 0xa563e682fc457f06a624685583afe2f520ad14e26f79a3d08c6282dee3a15da0c345578e5dad0e4fb0bd18166eaecff9fec1f1f35b5c002ec7ac8718ffab6863a1bc83649fce0967624fad3cd1aedb3f4ac7047f20331b31d3b79a4c3943f0b1cb78451902baae934a4c5f5ac6526a80c063dc531f2d20675928bc081333c9417a5e690624b1faa31bbdfd50d57698ffa432e7796d588a2ced41f4011389c6c8ef2f800ecb70e05f8d626fa6a7cb32f99703b03aabe136ff3398accd3d4c6265c6e0488452a97838c18767a14c451942b51caecd5e93fa6680d56ec5c20004723082046e30820356a003020102020900f2e42380f2d1145d300d06092a
EAP-Message = 0x864886f70d01010505003081
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x100d0b13110e1212d04f6d2a999d2f8b
Finished request 1.
Going to the next request
Waking up in 4.9 seconds.
rad_recv: Access-Request packet from host 10.73.108.254 port 2055, id=0, length=135
Cleaning up request 1 ID 0 with timestamp +25
WARNING: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
WARNING: !! EAP session for state 0x100d0b13110e1212 did not finish!
WARNING: !! Please read http://wiki.freeradius.org/Certificate_Compatibility
WARNING: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
User-Name = "bob"
NAS-IP-Address = 10.73.108.254
Called-Station-Id = "c2c1c018553e"
Calling-Station-Id = "001e654bde20"
NAS-Identifier = "c2c1c018553e"
NAS-Port = 53
Framed-MTU = 1400
State = 0x100d0b13110e1212d04f6d2a999d2f8b
NAS-Port-Type = Wireless-802.11
EAP-Message = 0x020300061900
Message-Authenticator = 0xd8b0178d466cb36842c8ce7f85249787
# Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
++[digest] returns noop
[suffix] No '@' in User-Name = "bob", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
[eap] EAP packet type response id 3 length 6
[eap] Continuing tunnel setup.
++[eap] returns ok
Found Auth-Type = EAP
# Executing group from file /usr/local/etc/raddb/sites-enabled/default
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP/peap
[eap] processing type peap
[peap] processing EAP-TLS
[peap] Received TLS ACK
[peap] ACK handshake fragment handler
[peap] eaptls_verify returned 1
[peap] eaptls_process returned 13
[peap] EAPTLS_HANDLED
++[eap] returns handled
Sending Access-Challenge of id 0 to 10.73.108.254 port 2055
EAP-Message = 0x010403fc194080310b3009060355040613024445310b3009060355040813025348310d300b060355040713044b69656c310f300d060355040a1306544e47204147311d301b06092a864886f70d010901160e746563686e696b40746e672e6465312530230603550403131c544e4720414720436572746966696361746520417574686f72697479301e170d3131303531373135343033355a170d3136303531353135343033355a308180310b3009060355040613024445310b3009060355040813025348310d300b060355040713044b69656c310f300d060355040a1306544e47204147311d301b06092a864886f70d010901160e746563686e696b40
EAP-Message = 0x746e672e6465312530230603550403131c544e4720414720436572746966696361746520417574686f7269747930820122300d06092a864886f70d01010105000382010f003082010a0282010100e93670e06aaa7ea1894baaf99cd50b7964db3ecf7f569411203334701a6eaa8e36c055cf0cebeac15f0b132e167cb6182ebc88bfc3a334a9470881cf5336ea303ff9f697a494cead9f64f1c508ba4b137d0da09e7adf82643c6f8a17be715dee44e8ae11a0d2222b0085f38cceee12109bdf2e1ac740a9b2fa7bf5fb8b6b8e93b6175be2d78466c35dcce79c5782f4316ee9fee551bef7db556a7af9909114a74902337d97cbf10e5bbe4ec9f55dc3
EAP-Message = 0xd26b4a94092e757d41d68308dd949ebc550a8e91479d7f388ca04915fab9ef496f7e35883a34128fbbae4767faac26278ffd10438cdd7b12e7a50d83db7799fcdaf2cbed54cbc24c297aabd994e76f7b5f0203010001a381e83081e5301d0603551d0e0416041428cf127b083986d7b466b1fd1c00d7d5800f39d73081b50603551d230481ad3081aa801428cf127b083986d7b466b1fd1c00d7d5800f39d7a18186a48183308180310b3009060355040613024445310b3009060355040813025348310d300b060355040713044b69656c310f300d060355040a1306544e47204147311d301b06092a864886f70d010901160e746563686e696b40746e
EAP-Message = 0x672e6465312530230603550403131c544e4720414720436572746966696361746520417574686f72697479820900f2e42380f2d1145d300c0603551d13040530030101ff300d06092a864886f70d01010505000382010100d3bfa1a73a0851f70b93f5c4e362c664f12a8a42bfacd0b21514f376cc85e6374946e6d34a71f766bd88ab383176e8e6cede620972b26c7fb859976036ea7a9baad7700cf404a697f56a28dddf08705bba951c61f56e4d407b9b87f28843d48d35432b2d5fb83a393c906e6144337d0865f2ef4de380117f8012455229c35b841403984747f58ab7547e398991c5c318f937cc8c59b45ddda4108cbd0ae1e74c83a7d96e70
EAP-Message = 0x7f9e8eff783a5655
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x100d0b1312091212d04f6d2a999d2f8b
Finished request 2.
Going to the next request
Waking up in 4.9 seconds.
rad_recv: Access-Request packet from host 10.73.108.254 port 2055, id=0, length=135
Cleaning up request 2 ID 0 with timestamp +25
WARNING: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
WARNING: !! EAP session for state 0x100d0b1312091212 did not finish!
WARNING: !! Please read http://wiki.freeradius.org/Certificate_Compatibility
WARNING: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
User-Name = "bob"
NAS-IP-Address = 10.73.108.254
Called-Station-Id = "c2c1c018553e"
Calling-Station-Id = "001e654bde20"
NAS-Identifier = "c2c1c018553e"
NAS-Port = 53
Framed-MTU = 1400
State = 0x100d0b1312091212d04f6d2a999d2f8b
NAS-Port-Type = Wireless-802.11
EAP-Message = 0x020400061900
Message-Authenticator = 0x9ee76e174f575c845910ce66467f4e67
# Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
++[digest] returns noop
[suffix] No '@' in User-Name = "bob", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
[eap] EAP packet type response id 4 length 6
[eap] Continuing tunnel setup.
++[eap] returns ok
Found Auth-Type = EAP
# Executing group from file /usr/local/etc/raddb/sites-enabled/default
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP/peap
[eap] processing type peap
[peap] processing EAP-TLS
[peap] Received TLS ACK
[peap] ACK handshake fragment handler
[peap] eaptls_verify returned 1
[peap] eaptls_process returned 13
[peap] EAPTLS_HANDLED
++[eap] returns handled
Sending Access-Challenge of id 0 to 10.73.108.254 port 2055
EAP-Message = 0x01050062190029692ee5a7a5fdf4327bcce76583fdd68c78584b3eb346515bf711edbffd111d781f38dc8d8b1d0274d83bb35ecf7f3bdee5f49eb1e7cae44ca1bfbeccb7ce2d94ee34b695fd61bc218b4a647ee316c9f62d9f16030100040e000000
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x100d0b1313081212d04f6d2a999d2f8b
Finished request 3.
Going to the next request
Waking up in 4.9 seconds.
rad_recv: Access-Request packet from host 10.73.108.254 port 2055, id=0, length=467
Cleaning up request 3 ID 0 with timestamp +25
WARNING: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
WARNING: !! EAP session for state 0x100d0b1313081212 did not finish!
WARNING: !! Please read http://wiki.freeradius.org/Certificate_Compatibility
WARNING: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
User-Name = "bob"
NAS-IP-Address = 10.73.108.254
Called-Station-Id = "c2c1c018553e"
Calling-Station-Id = "001e654bde20"
NAS-Identifier = "c2c1c018553e"
NAS-Port = 53
Framed-MTU = 1400
State = 0x100d0b1313081212d04f6d2a999d2f8b
NAS-Port-Type = Wireless-802.11
EAP-Message = 0x020501501980000001461603010106100001020100456d29be5bcf8c5933f9d3bd3c44c6fb96e31800b8152fb037b22f7468711dd5c363dc1899e21479b74e22f0033d92776f433d3349a51ab906f6a310e9c4f9133883cc18ce0ea3ffe494bd72c615977720b37a8feecb3e4ef30be1aa1c3b0d76cbebd8124ec360498dc2bc4f658fc4dd79c55fed00541321757f5c77491f2e25d88e04a27d512603b722f219be8d57e2bf0e278a43a6e2f850de7098f0ad66af8187e1975e6c5271421f6084922a9f7cfd1c79351b7a1a86b9c85564a7921735e1c30ab9852eb8325133f158b8ea08adacc2fb3be3b65ca638d3e0913fee8586cb7d5f26c233b2bc
EAP-Message = 0xdf557ea01cf812ec5c351a01293350117225d4df7126b3c21403010001011603010030c206bb2cb47e66202309b01974fcc2e6362787b1339b193ac499a7257ec15f8632b17be84198f82eb730dbcc34482cb2
Message-Authenticator = 0x6f9c48fc5889461cead3fb19b17b93ff
# Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
++[digest] returns noop
[suffix] No '@' in User-Name = "bob", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
[eap] EAP packet type response id 5 length 253
[eap] Continuing tunnel setup.
++[eap] returns ok
Found Auth-Type = EAP
# Executing group from file /usr/local/etc/raddb/sites-enabled/default
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP/peap
[eap] processing type peap
[peap] processing EAP-TLS
TLS Length 326
[peap] Length Included
[peap] eaptls_verify returned 11
[peap] <<< TLS 1.0 Handshake [length 0106], ClientKeyExchange
[peap] TLS_accept: SSLv3 read client key exchange A
[peap] <<< TLS 1.0 ChangeCipherSpec [length 0001]
[peap] <<< TLS 1.0 Handshake [length 0010], Finished
[peap] TLS_accept: SSLv3 read finished A
[peap] >>> TLS 1.0 ChangeCipherSpec [length 0001]
[peap] TLS_accept: SSLv3 write change cipher spec A
[peap] >>> TLS 1.0 Handshake [length 0010], Finished
[peap] TLS_accept: SSLv3 write finished A
[peap] TLS_accept: SSLv3 flush data
[peap] (other): SSL negotiation finished successfully
SSL Connection Established
[peap] eaptls_process returned 13
[peap] EAPTLS_HANDLED
++[eap] returns handled
Sending Access-Challenge of id 0 to 10.73.108.254 port 2055
EAP-Message = 0x01060041190014030100010116030100304f0972823d99581d12bcf661263819e76e1736b7e72545adecd3a27dddb4070adff665ba3372bcf85f0ebc3d5548fa92
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x100d0b13140b1212d04f6d2a999d2f8b
Finished request 4.
Going to the next request
Waking up in 4.9 seconds.
rad_recv: Access-Request packet from host 10.73.108.254 port 2055, id=0, length=135
Cleaning up request 4 ID 0 with timestamp +25
WARNING: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
WARNING: !! EAP session for state 0x100d0b13140b1212 did not finish!
WARNING: !! Please read http://wiki.freeradius.org/Certificate_Compatibility
WARNING: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
User-Name = "bob"
NAS-IP-Address = 10.73.108.254
Called-Station-Id = "c2c1c018553e"
Calling-Station-Id = "001e654bde20"
NAS-Identifier = "c2c1c018553e"
NAS-Port = 53
Framed-MTU = 1400
State = 0x100d0b13140b1212d04f6d2a999d2f8b
NAS-Port-Type = Wireless-802.11
EAP-Message = 0x020600061900
Message-Authenticator = 0xb8ab753ff6c3ac7ed2c119f39f0aa60d
# Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
++[digest] returns noop
[suffix] No '@' in User-Name = "bob", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
[eap] EAP packet type response id 6 length 6
[eap] Continuing tunnel setup.
++[eap] returns ok
Found Auth-Type = EAP
# Executing group from file /usr/local/etc/raddb/sites-enabled/default
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP/peap
[eap] processing type peap
[peap] processing EAP-TLS
[peap] Received TLS ACK
[peap] ACK handshake is finished
[peap] eaptls_verify returned 3
[peap] eaptls_process returned 3
[peap] EAPTLS_SUCCESS
[peap] Session established. Decoding tunneled attributes.
[peap] Peap state TUNNEL ESTABLISHED
++[eap] returns handled
Sending Access-Challenge of id 0 to 10.73.108.254 port 2055
EAP-Message = 0x0107002b190017030100205663a730679339a6ed2fd9ba1315fdd48ff2937506934a56719d34a40707fea9
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x100d0b13150a1212d04f6d2a999d2f8b
Finished request 5.
Going to the next request
Waking up in 4.9 seconds.
rad_recv: Access-Request packet from host 10.73.108.254 port 2055, id=0, length=172
Cleaning up request 5 ID 0 with timestamp +25
WARNING: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
WARNING: !! EAP session for state 0x100d0b13150a1212 did not finish!
WARNING: !! Please read http://wiki.freeradius.org/Certificate_Compatibility
WARNING: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
User-Name = "bob"
NAS-IP-Address = 10.73.108.254
Called-Station-Id = "c2c1c018553e"
Calling-Station-Id = "001e654bde20"
NAS-Identifier = "c2c1c018553e"
NAS-Port = 53
Framed-MTU = 1400
State = 0x100d0b13150a1212d04f6d2a999d2f8b
NAS-Port-Type = Wireless-802.11
EAP-Message = 0x0207002b190017030100203ce878a12f3ad373255b4dad25ef8b579404aef0cff83c1b595019cfd25ffa57
Message-Authenticator = 0xc7fd9f70162eb96acc1e0836914380d5
# Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
++[digest] returns noop
[suffix] No '@' in User-Name = "bob", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
[eap] EAP packet type response id 7 length 43
[eap] Continuing tunnel setup.
++[eap] returns ok
Found Auth-Type = EAP
# Executing group from file /usr/local/etc/raddb/sites-enabled/default
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP/peap
[eap] processing type peap
[peap] processing EAP-TLS
[peap] eaptls_verify returned 7
[peap] Done initial handshake
[peap] eaptls_process returned 7
[peap] EAPTLS_OK
[peap] Session established. Decoding tunneled attributes.
[peap] Peap state WAITING FOR INNER IDENTITY
[peap] Identity - bob
[peap] Got inner identity 'bob'
[peap] Setting default EAP type for tunneled EAP session.
[peap] Got tunneled request
EAP-Message = 0x0207000801626f62
server {
PEAP: Setting User-Name to bob
Sending tunneled request
EAP-Message = 0x0207000801626f62
FreeRADIUS-Proxied-To = 127.0.0.1
User-Name = "bob"
server inner-tunnel {
# Executing section authorize from file /usr/local/etc/raddb/sites-enabled/inner-tunnel
+- entering group authorize {...}
++[chap] returns noop
++[mschap] returns noop
[suffix] No '@' in User-Name = "bob", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
++[control] returns noop
[eap] EAP packet type response id 7 length 8
[eap] No EAP Start, assuming it's an on-going EAP conversation
++[eap] returns updated
[files] users: Matched entry bob at line 1
++[files] returns ok
++[expiration] returns noop
++[logintime] returns noop
[pap] WARNING: Auth-Type already set. Not setting to PAP
++[pap] returns noop
Found Auth-Type = EAP
# Executing group from file /usr/local/etc/raddb/sites-enabled/inner-tunnel
+- entering group authenticate {...}
[eap] EAP Identity
[eap] processing type mschapv2
rlm_eap_mschapv2: Issuing Challenge
++[eap] returns handled
} # server inner-tunnel
[peap] Got tunneled reply code 11
EAP-Message = 0x0108001d1a0108001810735808091f67266e3b318312610ef9f6626f62
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x79d7d2d179dfc809841915d248ba50cb
[peap] Got tunneled reply RADIUS code 11
EAP-Message = 0x0108001d1a0108001810735808091f67266e3b318312610ef9f6626f62
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x79d7d2d179dfc809841915d248ba50cb
[peap] Got tunneled Access-Challenge
++[eap] returns handled
Sending Access-Challenge of id 0 to 10.73.108.254 port 2055
EAP-Message = 0x0108003b19001703010030c7bc245f1bd0e268faedb4f675e900e969f50b1cab2cae28e412fc96f046480f77cb11bb958621d17eff206da5b5e41f
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x100d0b1316051212d04f6d2a999d2f8b
Finished request 6.
Going to the next request
Waking up in 4.9 seconds.
rad_recv: Access-Request packet from host 10.73.108.254 port 2055, id=0, length=220
Cleaning up request 6 ID 0 with timestamp +25
WARNING: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
WARNING: !! EAP session for state 0x100d0b1316051212 did not finish!
WARNING: !! Please read http://wiki.freeradius.org/Certificate_Compatibility
WARNING: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
User-Name = "bob"
NAS-IP-Address = 10.73.108.254
Called-Station-Id = "c2c1c018553e"
Calling-Station-Id = "001e654bde20"
NAS-Identifier = "c2c1c018553e"
NAS-Port = 53
Framed-MTU = 1400
State = 0x100d0b1316051212d04f6d2a999d2f8b
NAS-Port-Type = Wireless-802.11
EAP-Message = 0x0208005b190017030100500cedee327c0bce1b3ad6baa3ff0a6ea7e1456894b949eaa73fe799c398d8e34954d290510d12b87f6f1f7ffa4ad3de7acabc77a3e10f1485ffaed4b08356b82d9b963a9d1b202067848e9ee0e27f822e
Message-Authenticator = 0x8cd5b2eaf4c495aeb9481477f0cdcce2
# Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
++[digest] returns noop
[suffix] No '@' in User-Name = "bob", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
[eap] EAP packet type response id 8 length 91
[eap] Continuing tunnel setup.
++[eap] returns ok
Found Auth-Type = EAP
# Executing group from file /usr/local/etc/raddb/sites-enabled/default
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP/peap
[eap] processing type peap
[peap] processing EAP-TLS
[peap] eaptls_verify returned 7
[peap] Done initial handshake
[peap] eaptls_process returned 7
[peap] EAPTLS_OK
[peap] Session established. Decoding tunneled attributes.
[peap] Peap state phase2
[peap] EAP type mschapv2
[peap] Got tunneled request
EAP-Message = 0x0208003e1a02080039317c9b6f62109be2cde0140c2f589125a3000000000000000004984edd0f4562a917adc13677487434711d466f54cd7cef00626f62
server {
PEAP: Setting User-Name to bob
Sending tunneled request
EAP-Message = 0x0208003e1a02080039317c9b6f62109be2cde0140c2f589125a3000000000000000004984edd0f4562a917adc13677487434711d466f54cd7cef00626f62
FreeRADIUS-Proxied-To = 127.0.0.1
User-Name = "bob"
State = 0x79d7d2d179dfc809841915d248ba50cb
server inner-tunnel {
# Executing section authorize from file /usr/local/etc/raddb/sites-enabled/inner-tunnel
+- entering group authorize {...}
++[chap] returns noop
++[mschap] returns noop
[suffix] No '@' in User-Name = "bob", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
++[control] returns noop
[eap] EAP packet type response id 8 length 62
[eap] No EAP Start, assuming it's an on-going EAP conversation
++[eap] returns updated
[files] users: Matched entry bob at line 1
++[files] returns ok
++[expiration] returns noop
++[logintime] returns noop
[pap] WARNING: Auth-Type already set. Not setting to PAP
++[pap] returns noop
Found Auth-Type = EAP
# Executing group from file /usr/local/etc/raddb/sites-enabled/inner-tunnel
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP/mschapv2
[eap] processing type mschapv2
[mschapv2] # Executing group from file /usr/local/etc/raddb/sites-enabled/inner-tunnel
[mschapv2] +- entering group MS-CHAP {...}
[mschap] Creating challenge hash with username: bob
[mschap] Told to do MS-CHAPv2 for bob with NT-Password
[mschap] adding MS-CHAPv2 MPPE keys
++[mschap] returns ok
MSCHAP Success
++[eap] returns handled
} # server inner-tunnel
[peap] Got tunneled reply code 11
EAP-Message = 0x010900331a0308002e533d41433435333132443031413636353737333043423832333937304243373643354145353035334445
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x79d7d2d178dec809841915d248ba50cb
[peap] Got tunneled reply RADIUS code 11
EAP-Message = 0x010900331a0308002e533d41433435333132443031413636353737333043423832333937304243373643354145353035334445
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x79d7d2d178dec809841915d248ba50cb
[peap] Got tunneled Access-Challenge
++[eap] returns handled
Sending Access-Challenge of id 0 to 10.73.108.254 port 2055
EAP-Message = 0x0109005b1900170301005044b49efcb171a5490b136e868d52db798d6fcb5351d2cd12c18507423a29d405a5c37f1fe42e04aa9fa50e2847cf8a1ea8ef4ac6a4b8da81aec317e29c1eb05bd835c61aad87796863946c43fc206ffc
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x100d0b1317041212d04f6d2a999d2f8b
Finished request 7.
Going to the next request
Waking up in 4.9 seconds.
rad_recv: Access-Request packet from host 10.73.108.254 port 2055, id=0, length=172
Cleaning up request 7 ID 0 with timestamp +25
WARNING: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
WARNING: !! EAP session for state 0x100d0b1317041212 did not finish!
WARNING: !! Please read http://wiki.freeradius.org/Certificate_Compatibility
WARNING: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
User-Name = "bob"
NAS-IP-Address = 10.73.108.254
Called-Station-Id = "c2c1c018553e"
Calling-Station-Id = "001e654bde20"
NAS-Identifier = "c2c1c018553e"
NAS-Port = 53
Framed-MTU = 1400
State = 0x100d0b1317041212d04f6d2a999d2f8b
NAS-Port-Type = Wireless-802.11
EAP-Message = 0x0209002b19001703010020838e3d080afcad2883db41d2f509174a48569119f0694117f43034e0f9ac6517
Message-Authenticator = 0x2b1607b034e50ac42eaffe000bf35724
# Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
++[digest] returns noop
[suffix] No '@' in User-Name = "bob", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
[eap] EAP packet type response id 9 length 43
[eap] Continuing tunnel setup.
++[eap] returns ok
Found Auth-Type = EAP
# Executing group from file /usr/local/etc/raddb/sites-enabled/default
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP/peap
[eap] processing type peap
[peap] processing EAP-TLS
[peap] eaptls_verify returned 7
[peap] Done initial handshake
[peap] eaptls_process returned 7
[peap] EAPTLS_OK
[peap] Session established. Decoding tunneled attributes.
[peap] Peap state phase2
[peap] EAP type mschapv2
[peap] Got tunneled request
EAP-Message = 0x020900061a03
server {
PEAP: Setting User-Name to bob
Sending tunneled request
EAP-Message = 0x020900061a03
FreeRADIUS-Proxied-To = 127.0.0.1
User-Name = "bob"
State = 0x79d7d2d178dec809841915d248ba50cb
server inner-tunnel {
# Executing section authorize from file /usr/local/etc/raddb/sites-enabled/inner-tunnel
+- entering group authorize {...}
++[chap] returns noop
++[mschap] returns noop
[suffix] No '@' in User-Name = "bob", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
++[control] returns noop
[eap] EAP packet type response id 9 length 6
[eap] No EAP Start, assuming it's an on-going EAP conversation
++[eap] returns updated
[files] users: Matched entry bob at line 1
++[files] returns ok
++[expiration] returns noop
++[logintime] returns noop
[pap] WARNING: Auth-Type already set. Not setting to PAP
++[pap] returns noop
Found Auth-Type = EAP
# Executing group from file /usr/local/etc/raddb/sites-enabled/inner-tunnel
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP/mschapv2
[eap] processing type mschapv2
[eap] Freeing handler
++[eap] returns ok
WARNING: Empty post-auth section. Using default return values.
# Executing section post-auth from file /usr/local/etc/raddb/sites-enabled/inner-tunnel
} # server inner-tunnel
[peap] Got tunneled reply code 2
MS-MPPE-Encryption-Policy = 0x00000001
MS-MPPE-Encryption-Types = 0x00000006
MS-MPPE-Send-Key = 0x95f34e95115465473d1119a5bb913370
MS-MPPE-Recv-Key = 0x7d3d8d135dfa07b63845d55d36cb563d
EAP-Message = 0x03090004
Message-Authenticator = 0x00000000000000000000000000000000
User-Name = "bob"
[peap] Got tunneled reply RADIUS code 2
MS-MPPE-Encryption-Policy = 0x00000001
MS-MPPE-Encryption-Types = 0x00000006
MS-MPPE-Send-Key = 0x95f34e95115465473d1119a5bb913370
MS-MPPE-Recv-Key = 0x7d3d8d135dfa07b63845d55d36cb563d
EAP-Message = 0x03090004
Message-Authenticator = 0x00000000000000000000000000000000
User-Name = "bob"
[peap] Tunneled authentication was successful.
[peap] SUCCESS
++[eap] returns handled
Sending Access-Challenge of id 0 to 10.73.108.254 port 2055
EAP-Message = 0x010a002b190017030100202ee07dd0ea67eadd482aaa41b54e77df0bc0d6a3c5ab2241613579541feae813
Message-Authenticator = 0x00000000000000000000000000000000
State = 0x100d0b1318071212d04f6d2a999d2f8b
Finished request 8.
Going to the next request
Waking up in 4.9 seconds.
rad_recv: Access-Request packet from host 10.73.108.254 port 2055, id=0, length=172
Cleaning up request 8 ID 0 with timestamp +25
WARNING: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
WARNING: !! EAP session for state 0x100d0b1318071212 did not finish!
WARNING: !! Please read http://wiki.freeradius.org/Certificate_Compatibility
WARNING: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
User-Name = "bob"
NAS-IP-Address = 10.73.108.254
Called-Station-Id = "c2c1c018553e"
Calling-Station-Id = "001e654bde20"
NAS-Identifier = "c2c1c018553e"
NAS-Port = 53
Framed-MTU = 1400
State = 0x100d0b1318071212d04f6d2a999d2f8b
NAS-Port-Type = Wireless-802.11
EAP-Message = 0x020a002b19001703010020dd2bba1c8637183f34912e930a6ea4aabd765737b0d070833ed2ba7f7cd8ea92
Message-Authenticator = 0x843b0013b75780b3b25163a515a8ecb4
# Executing section authorize from file /usr/local/etc/raddb/sites-enabled/default
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
++[digest] returns noop
[suffix] No '@' in User-Name = "bob", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
[eap] EAP packet type response id 10 length 43
[eap] Continuing tunnel setup.
++[eap] returns ok
Found Auth-Type = EAP
# Executing group from file /usr/local/etc/raddb/sites-enabled/default
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP/peap
[eap] processing type peap
[peap] processing EAP-TLS
[peap] eaptls_verify returned 7
[peap] Done initial handshake
[peap] eaptls_process returned 7
[peap] EAPTLS_OK
[peap] Session established. Decoding tunneled attributes.
[peap] Peap state send tlv success
[peap] Received EAP-TLV response.
[peap] Success
[eap] Freeing handler
++[eap] returns ok
# Executing section post-auth from file /usr/local/etc/raddb/sites-enabled/default
+- entering group post-auth {...}
++[exec] returns noop
Sending Access-Accept of id 0 to 10.73.108.254 port 2055
MS-MPPE-Recv-Key = 0x4f13a7a3e0360ac31ae13e261d82ef623a266a784f5b418478729547e2fbab8d
MS-MPPE-Send-Key = 0xf2f9ecb0844e975644bb0d44d4b7c92af509807316647edeeabe60eea3a09eb2
EAP-Message = 0x030a0004
Message-Authenticator = 0x00000000000000000000000000000000
User-Name = "bob"
Finished request 9.
Going to the next request
Waking up in 4.9 seconds.
Cleaning up request 9 ID 0 with timestamp +25
Ready to process requests.
Sending Access-Request of id 25 to 127.0.0.1 port 1812
User-Name = "bob"
User-Password = "hello"
NAS-IP-Address = 213.1xx.xx.xx
NAS-Port = 0
rad_recv: Access-Accept packet from host 127.0.0.1 port 1812, id=25, length=20
bob Cleartext-Password := "hello"
DEFAULT Framed-Protocol == PPP
Framed-Protocol = PPP,
Framed-Compression = Van-Jacobson-TCP-IP
DEFAULT Hint == "CSLIP"
Framed-Protocol = SLIP,
Framed-Compression = Van-Jacobson-TCP-IP
DEFAULT Hint == "SLIP"
Framed-Protocol = SLIP
4
15
Hi,
I have a question. I already read how to make this, but I'm not sur if it
works !
So, what do I want ? I have 2 SSID : students and an other staff. I want to
have to ldap instance for authenticating my users.
In the /module/ldap, I have set ldap students { some stuff } and ldap staff
{ some stuff}. But now, what i need to do ?
My access point is Aruba. I can use this value "Aruba-Essid-Name" for
choosing which instance i need to use. In the /site-avaible/inner-tunel,
what i need to do ?
Something like that ?
if (Aruba-Essid-Name=="students") { students }
elsif {staff}
Thanks for your reply, and sorry for my english, I'm French ;)
--
View this message in context: http://freeradius.1045715.n5.nabble.com/multuple-ldap-freeradius-ssid-tp439…
Sent from the FreeRadius - User mailing list archive at Nabble.com.
2
6
Hello,
I have encountered a very strange issue with my setup. I have mac
address filtering setup and working perfect on one server, this server
also does other things so I want to migrate it to a new server. All
servers are on the same machine running in a vm environment. The
server1 does the filering perfect, I can see in packet captures that
the wireless client authenticates, the ap sends the access-request and
if freeradius finds the users, it sends back the access-accept, i see
this on both freeradius debug and also in my packet captures. On
server2 that is the exact same config of freeradius etc, the user
authenticates with the wifi ap, i can see the access-request in the
packet capture, on server2 running tcpdump i see the capture showing
it has sent the access-accept packet, but on the laptop i have
mirrored as a the port for the ap, i never see the access-accept
packet. This is quite confusing I think, but either way, the 2 servers
are on the same machine, both configs for freeradius are setup the
exact same, packetcaptures on both servers show the exact thing, but
server2 does not show as sending the access-accept to the AP on the
port that is mirrored from the AP but server1 does. I hope someone can
make sense of this and maybe share some insight on to what this could
be. There is no rules for the servers on any switches or AP's,
changing SERVER1's ip yields the same accept packet etc....I am
stumped and don't know what to do here...
Thanks.
2
1
I think, this module needs a little patch.
This will prevent uncontrolled situation, when no space left on
device.
At this moment, if there are no space left, then rlm_detail doesn't
return any error, when he cannot flush buffered information to the
file. Client continue sending accounting to the primary server, but
server cannot save it. As a result - accounting info can be lost.
Just meet this problem and it was solved with this code change.
--- rlm_detail.c 2011-05-18 09:37:28.000000000 +0300
+++ rlm_detail.c.new 2011-05-18 09:41:26.000000000 +0300
@@ -185,6 +185,7 @@
int lock_count;
struct timeval tv;
VALUE_PAIR *pair;
+ int fpf;
struct detail_instance *inst = instance;
@@ -463,7 +464,11 @@
RDEBUG2("Released filelock");
}
- fclose(outfp);
+ fpf = fclose(outfp);
+ if (fpf == EOF) {
+ radlog(L_ERR,"rlm_detail: cannot close the file!
(%s)", strerror(errno));
+ return RLM_MODULE_FAIL;
+ }
/*
* And everything is fine.
1
0
Dear FreeRADIUS users,
i try to migrate my radius setup to LDAP.
I use mainly the informations from "Frank Ranner"
(http://lists.cistron.nl/pipermail/freeradius-users/2007-September/msg00205.…)
Today i have a problem to understand the xlat statement in the "hint" file:
DEFAULT
Hint = `%{ldap:ldap:///ou=hosts,dc=whatever?radiusHuntgroupName?one?ipHostNumber=%{NAS-IP-Address}}`
Can anybody explain that, step by step? (yes i read the rlm_ldap doku
file and tryed the mailinglistsearch)
Especially the second "ldap"?!
Is there a way to get the result? I cannot find any information in the
debug log (radiusd -X).
Thanks
Con
2
1
17 May '11
I am trying to follow the excellent instructions in the proxy.conf file for setting up a virtual server using realms, however I keep getting an error when I try to start radisud -X telling me that the regex is invalid... here is my realm decleration, what am I doing wrong?
realm "~*\\.cru$" {
}
realm "~*\\.cru\\.umhb\\.edu$" {
}
realm "~*\\.umhb$" {
}
realm "~*\\.umhb\\.edu$" {
}
I know the realms are blank at this time so they do effectively nothing, but one step at a time : )
And here is the error from startup:
realm LOCAL {
}
realm ~*\.cru$ {
/etc/raddb/proxy.conf[676]: Invalid regex in realm "~*\.cru$"
} # realm ~*\.cru$
Jake Sallee
Godfather of Bandwidth
Network Engineer
University of Mary Hardin-Baylor
900 College St.
Belton, Texas
76513
Fone: 254-295-4658
Phax: 254-295-4221
2
2