Freeradius-Users Digest, Vol 58, Issue 30
dev nath
dev_wip_bms at yahoo.com
Wed Feb 10 01:58:05 CET 2010
Hi Alan,
Please find the debug log attached below.
I am pretty new to 802.1x, so might be missing something. Please correct me if I am wrong
EAP PEAP with MSCHAPv2 ...does MSCHAPv2 authentication at the phase2 under the hood of the TLS tunnel, dont we need the configs for MSCHAPv2 like username and password.
Regards,
Dev
start logs --------------
FreeRADIUS Version 2.1.8, for host i686-pc-linux-gnu, built on Feb 2 2010 at 16:20:53
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/sql_log
including configuration file /usr/local/etc/raddb/modules/checkval
including configuration file /usr/local/etc/raddb/modules/detail.example.com
including configuration file /usr/local/etc/raddb/modules/radutmp
including configuration file /usr/local/etc/raddb/modules/smbpasswd
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/expiration
including configuration file /usr/local/etc/raddb/modules/echo
including configuration file /usr/local/etc/raddb/modules/otp
including configuration file /usr/local/etc/raddb/modules/files
including configuration file /usr/local/etc/raddb/modules/preprocess
including configuration file /usr/local/etc/raddb/modules/ippool
including configuration file /usr/local/etc/raddb/modules/realm
including configuration file /usr/local/etc/raddb/modules/pam
including configuration file /usr/local/etc/raddb/modules/acct_unique
including configuration file /usr/local/etc/raddb/modules/attr_filter
including configuration file /usr/local/etc/raddb/modules/ntlm_auth
including configuration file /usr/local/etc/raddb/modules/expr
including configuration file /usr/local/etc/raddb/modules/sqlcounter_expire_on_login
including configuration file /usr/local/etc/raddb/modules/linelog
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/detail.log
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/logintime
including configuration file /usr/local/etc/raddb/modules/wimax
including configuration file /usr/local/etc/raddb/modules/perl
including configuration file /usr/local/etc/raddb/modules/cui
including configuration file /usr/local/etc/raddb/modules/smsotp
including configuration file /usr/local/etc/raddb/modules/policy
including configuration file /usr/local/etc/raddb/modules/ldap
including configuration file /usr/local/etc/raddb/modules/mac2vlan
including configuration file /usr/local/etc/raddb/modules/mac2ip
including configuration file /usr/local/etc/raddb/modules/krb5
including configuration file /usr/local/etc/raddb/modules/attr_rewrite
including configuration file /usr/local/etc/raddb/modules/unix
including configuration file /usr/local/etc/raddb/modules/always
including configuration file /usr/local/etc/raddb/modules/etc_group
including configuration file /usr/local/etc/raddb/modules/digest
including configuration file /usr/local/etc/raddb/modules/chap
including configuration file /usr/local/etc/raddb/modules/mschap
including configuration file /usr/local/etc/raddb/modules/counter
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/control-socket
including configuration file /usr/local/etc/raddb/sites-enabled/default
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 = no
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 localhost1 {
ipaddr = 127.0.0.1
require_message_authenticator = no
secret = "testing123"
nastype = "other"
}
client 10.191.8.187 {
require_message_authenticator = no
secret = "freeradius"
}
radiusd: #### Instantiating modules ####
instantiate {
Module: Linked to module rlm_exec
Module: Instantiating exec
exec {
wait = no
input_pairs = "request"
shell_escape = yes
}
Module: Linked to module rlm_expr
Module: Instantiating expr
Module: Linked to module rlm_expiration
Module: Instantiating expiration
expiration {
reply-message = "Password Has Expired "
}
Module: Linked to module rlm_logintime
Module: Instantiating logintime
logintime {
reply-message = "You are calling outside your allowed timespan "
minimum-timeout = 60
}
}
radiusd: #### Loading Virtual Servers ####
server inner-tunnel {
modules {
Module: Checking authenticate {...} for more modules to load
Module: Linked to module rlm_pap
Module: Instantiating pap
pap {
encryption_scheme = "auto"
auto_header = no
}
Module: Linked to module rlm_chap
Module: Instantiating chap
Module: Linked to module rlm_mschap
Module: Instantiating mschap
mschap {
use_mppe = yes
require_encryption = no
require_strong = no
with_ntdomain_hack = no
}
Module: Linked to module rlm_unix
Module: Instantiating unix
unix {
radwtmp = "/usr/local/var/log/radius/radwtmp"
}
Module: Linked to module rlm_eap
Module: Instantiating eap
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
pem_file_type = yes
private_key_file = "/usr/local/etc/raddb/certs/radsvr.key"
certificate_file = "/usr/local/etc/raddb/certs/radsvrcert.pem"
CA_file = "/usr/local/etc/raddb/certs/cacert.pem"
private_key_password = "freeradius"
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
}
}
Module: Linked to sub-module rlm_eap_ttls
Module: Instantiating eap-ttls
ttls {
default_eap_type = "md5"
copy_request_to_tunnel = yes
use_tunneled_reply = yes
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 = yes
use_tunneled_reply = yes
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 suffix
realm suffix {
format = "suffix"
delimiter = "@"
ignore_default = no
ignore_null = no
}
Module: Linked to module rlm_files
Module: Instantiating 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 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 attr_filter.access_reject
attr_filter attr_filter.access_reject {
attrsfile = "/usr/local/etc/raddb/attrs.access_reject"
key = "%{User-Name}"
}
} # modules
} # server
server {
modules {
Module: Checking authenticate {...} for more modules to load
Module: Checking authorize {...} for more modules to load
Module: Linked to module rlm_preprocess
Module: Instantiating 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 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 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 attr_filter.accounting_response
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"
}
}
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 proxy address * port 1814
Ready to process requests.
rad_recv: Access-Request packet from host 10.191.8.187 port 1025, id=15, length=125
EAP-Message = 0x021100090164657661
NAS-Port-Type = Ethernet
User-Name = "deva"
NAS-IP-Address = 10.191.8.187
NAS-Port = 2
Framed-MTU = 1000
NAS-Port-Id = "Port 2"
Calling-Station-Id = "00-c0-ee-66-09-b6"
Called-Station-Id = "00-22-6b-33-ee-0d"
Message-Authenticator = 0xa4b9e48629f2ee7e4ad6409f322bb932
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
[suffix] No '@' in User-Name = "deva", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
[eap] EAP packet type response id 17 length 9
[eap] No EAP Start, assuming it's an on-going EAP conversation
++[eap] returns updated
++[unix] returns updated
WARNING: Found User-Password == "...".
WARNING: Are you sure you don't mean Cleartext-Password?
WARNING: See "man rlm_pap" for more information.
[files] users: Matched entry deva at line 61
++[files] returns ok
++[expiration] returns noop
++[logintime] returns noop
[pap] Found existing Auth-Type, not changing it.
++[pap] returns noop
Found Auth-Type = EAP
+- entering group authenticate {...}
[eap] EAP Identity
[eap] processing type tls
[tls] Initiate
[tls] Start returned 1
++[eap] returns handled
Sending Access-Challenge of id 15 to 10.191.8.187 port 1025
EAP-Message = 0x011200061920
Message-Authenticator = 0x00000000000000000000000000000000
State = 0xb27c20a6b26e394a0ab57f4dc80f905e
Finished request 0.
Going to the next request
Waking up in 4.9 seconds.
rad_recv: Access-Request packet from host 10.191.8.187 port 1025, id=16, length=208
EAP-Message = 0x0212004a198000000040160301003b0100003703014b6c69da6376f61ced77e9a203c21d1bad812388a9b7b4dbbce4e319c8c51b680000100035000a002f006200610009000800060100
State = 0xb27c20a6b26e394a0ab57f4dc80f905e
NAS-Port-Type = Ethernet
User-Name = "deva"
NAS-IP-Address = 10.191.8.187
NAS-Port = 2
Framed-MTU = 1000
NAS-Port-Id = "Port 2"
Calling-Station-Id = "00-c0-ee-66-09-b6"
Called-Station-Id = "00-22-6b-33-ee-0d"
Message-Authenticator = 0xc75bfb0056761c651c370ce733100af1
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
[suffix] No '@' in User-Name = "deva", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
[eap] EAP packet type response id 18 length 74
[eap] Continuing tunnel setup.
++[eap] returns ok
Found Auth-Type = EAP
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP/peap
[eap] processing type peap
[peap] processing EAP-TLS
TLS Length 64
[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 003b], 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 053b], 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 16 to 10.191.8.187 port 1025
EAP-Message = 0x011303e419c000000578160301002a0200002603014b6c69eba5d1959633be99157b4bfc698d4336fa773b37271e69e202fb97e65a00003500160301053b0b0005370005340002633082025f308201c8a003020102020101300d06092a864886f70d0101050500306b310b3009060355040613025553310b3009060355040813024341310c300a060355040a13036b796f310d300b060355040b13046669726d3111300f060355040313086665646f72613131311f301d06092a864886f70d01090116106665646f72616c6c406b796f2e636f6d301e170d3130303230333137343735305a170d3230303230313137343735305a3067310b3009060355
EAP-Message = 0x040613025553310b3009060355040813024341310c300a060355040a13036b796f310d300b060355040b13046669726d310f300d06035504031306726164737672311d301b06092a864886f70d010901160e726164737672406b796f2e636f6d30819f300d06092a864886f70d010101050003818d0030818902818100be8aab06120f2db63c18efa9f677779b532d2da34915ce20d86610cc22db2aefee3313b16299aef39d57d05ed9c7cc387fd76cfff2acd4c588fb635468489d8045275b8428d5ded96697bc4e023e3fa81373b6147f7be593da077c4242f20140e6d07bcc2ce33cd7842950d40c32f9b60dfcc4afbba6b177f8e5b008ab25dc8b
EAP-Message = 0x0203010001a317301530130603551d25040c300a06082b06010505070301300d06092a864886f70d01010505000381810010f68d27691e384cd37b29568ca870d91872a61d6047b14a2af09d842a4a7e5ba25c020f6088f71afcfe654ac375dec4cabb87b2a45f2006d5bd910041a82941f4788ae93ff137215ce00fb0bd227673b35e160cb8dba986cc84a250bf84f0d6563f64582d12a28b74b68cd4eb14c46d5b2dc5ce420ade0910ffeff5824b20b70002cb308202c730820230a003020102020100300d06092a864886f70d0101050500306b310b3009060355040613025553310b3009060355040813024341310c300a060355040a13036b796f
EAP-Message = 0x310d300b060355040b13046669726d3111300f060355040313086665646f72613131311f301d06092a864886f70d01090116106665646f72616c6c406b796f2e636f6d301e170d3130303230333032313235395a170d3133303230323032313235395a306b310b3009060355040613025553310b3009060355040813024341310c300a060355040a13036b796f310d300b060355040b13046669726d3111300f060355040313086665646f72613131311f301d06092a864886f70d01090116106665646f72616c6c406b796f2e636f6d30819f300d06092a864886f70d010101050003818d0030818902818100
Message-Authenticator = 0x00000000000000000000000000000000
State = 0xb27c20a6b36f394a0ab57f4dc80f905e
Finished request 1.
Going to the next request
Waking up in 4.9 seconds.
rad_recv: Access-Request packet from host 10.191.8.187 port 1025, id=17, length=140
EAP-Message = 0x021300061900
State = 0xb27c20a6b36f394a0ab57f4dc80f905e
NAS-Port-Type = Ethernet
User-Name = "deva"
NAS-IP-Address = 10.191.8.187
NAS-Port = 2
Framed-MTU = 1000
NAS-Port-Id = "Port 2"
Calling-Station-Id = "00-c0-ee-66-09-b6"
Called-Station-Id = "00-22-6b-33-ee-0d"
Message-Authenticator = 0x703e7d0dff6e45d1d9a1f81513ea38c6
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
[suffix] No '@' in User-Name = "deva", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
[eap] EAP packet type response id 19 length 6
[eap] Continuing tunnel setup.
++[eap] returns ok
Found Auth-Type = EAP
+- 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 17 to 10.191.8.187 port 1025
EAP-Message = 0x011401a41900be2c09ebe17bf56823a8a54e9fdb8f87468ffc568253c08eb6281081c4881f47a0764f5e16850c36953dd4e5287a19930c3536b642c8cd3ad2f6216b702219774fbe99df2f59f442c8f669848d7949ea5a9cb6b64db00b0dde1eb08897db81d1ef86116e1c58ff4b7f5795e65fa6659a66f987bf97d6113442a66f0721e95e6d0203010001a37b307930090603551d1304023000302c06096086480186f842010d041f161d4f70656e53534c2047656e657261746564204365727469666963617465301d0603551d0e04160414bdf82300e11365e480d9924c6d1e34e17699bff7301f0603551d23041830168014bdf82300e11365e480
EAP-Message = 0xd9924c6d1e34e17699bff7300d06092a864886f70d010105050003818100823802406247501f766162dc90260500d56ca022471e50902ed8316f26fdcffe7f9a9d64937ebdfaed8ebd221685369c75556317916ea0301f5b1ccd550dbfc457dfcc0ccbebd826e56d4ce564b53b6a8ae91ea7a3357a3a43a5e355319ecb8ca631f9db961a5089725768e3e065927f79cea61b262d4ff6cfb7e0f39e6558b016030100040e000000
Message-Authenticator = 0x00000000000000000000000000000000
State = 0xb27c20a6b068394a0ab57f4dc80f905e
Finished request 2.
Going to the next request
Waking up in 4.8 seconds.
rad_recv: Access-Request packet from host 10.191.8.187 port 1025, id=18, length=342
EAP-Message = 0x021400d01980000000c6160301008610000082008049d315aeb5db8e95469539cb35c50329caa30a71f2af5f77edf85daa9309099eb41d0b2423672538fe84b2164a800cbd9592b32388e889d685235703bd679affd7b489ab0ed7f4a3338ce36c4f7dd4f62da3a35ede3286abc345d7d29ea5b4cc7cbd9648c43e9b574d6f8c1fe9f231e5040ae057245f2d95c76f55d157dc66a41403010001011603010030972820e36a4d7b25386123ac9715c29ec84b2232323f5d5a653a3769f9d515a3082fa5054f85e8183211a156356ab92c
State = 0xb27c20a6b068394a0ab57f4dc80f905e
NAS-Port-Type = Ethernet
User-Name = "deva"
NAS-IP-Address = 10.191.8.187
NAS-Port = 2
Framed-MTU = 1000
NAS-Port-Id = "Port 2"
Calling-Station-Id = "00-c0-ee-66-09-b6"
Called-Station-Id = "00-22-6b-33-ee-0d"
Message-Authenticator = 0x141a3c15642be74a6c95788cf8144e29
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
[suffix] No '@' in User-Name = "deva", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
[eap] EAP packet type response id 20 length 208
[eap] Continuing tunnel setup.
++[eap] returns ok
Found Auth-Type = EAP
+- 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
Sending Access-Challenge of id 18 to 10.191.8.187 port 1025
EAP-Message = 0x0115004119001403010001011603010030f3f11162018cf0697f8df90b46cb2977488676fd8c01ec17f886436a783cc80675f16b74ac916bba96c1b667b4e69948
Message-Authenticator = 0x00000000000000000000000000000000
State = 0xb27c20a6b169394a0ab57f4dc80f905e
Finished request 3.
Going to the next request
Waking up in 4.7 seconds.
rad_recv: Access-Request packet from host 10.191.8.187 port 1025, id=19, length=140
EAP-Message = 0x021500061900
State = 0xb27c20a6b169394a0ab57f4dc80f905e
NAS-Port-Type = Ethernet
User-Name = "deva"
NAS-IP-Address = 10.191.8.187
NAS-Port = 2
Framed-MTU = 1000
NAS-Port-Id = "Port 2"
Calling-Station-Id = "00-c0-ee-66-09-b6"
Called-Station-Id = "00-22-6b-33-ee-0d"
Message-Authenticator = 0xe1196e0e907453fe8529ba8754f5ba7c
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
[suffix] No '@' in User-Name = "deva", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
[eap] EAP packet type response id 21 length 6
[eap] Continuing tunnel setup.
++[eap] returns ok
Found Auth-Type = EAP
+- 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
++[eap] returns handled
Sending Access-Challenge of id 19 to 10.191.8.187 port 1025
EAP-Message = 0x0116002b19001703010020ce85837d277054c3469c6ab1594af7a219ac2c0ea337c4a1876620e1bc387232
Message-Authenticator = 0x00000000000000000000000000000000
State = 0xb27c20a6b66a394a0ab57f4dc80f905e
Finished request 4.
Going to the next request
Waking up in 4.7 seconds.
rad_recv: Access-Request packet from host 10.191.8.187 port 1025, id=20, length=151
EAP-Message = 0x0216001119800000000715030100020200
State = 0xb27c20a6b66a394a0ab57f4dc80f905e
NAS-Port-Type = Ethernet
User-Name = "deva"
NAS-IP-Address = 10.191.8.187
NAS-Port = 2
Framed-MTU = 1000
NAS-Port-Id = "Port 2"
Calling-Station-Id = "00-c0-ee-66-09-b6"
Called-Station-Id = "00-22-6b-33-ee-0d"
Message-Authenticator = 0x2ad8b97864739fa1946164e479a487bb
+- entering group authorize {...}
++[preprocess] returns ok
++[chap] returns noop
++[mschap] returns noop
[suffix] No '@' in User-Name = "deva", looking up realm NULL
[suffix] No such realm "NULL"
++[suffix] returns noop
[eap] EAP packet type response id 22 length 17
[eap] Continuing tunnel setup.
++[eap] returns ok
Found Auth-Type = EAP
+- entering group authenticate {...}
[eap] Request found, released from the list
[eap] EAP/peap
[eap] processing type peap
[peap] processing EAP-TLS
TLS Length 7
[peap] Length Included
[peap] eaptls_verify returned 11
[peap] >>> TLS 1.0 Alert [length 0002], fatal decryption_failed
TLS Alert write:fatal:decryption failed
[peap] SSL_read Error
[peap] eaptls_process returned 4
[peap] EAPTLS_OTHERS
[eap] Handler failed in EAP/peap
[eap] Failed in EAP select
++[eap] returns invalid
Failed to authenticate the user.
Using Post-Auth-Type Reject
+- entering group REJECT {...}
[attr_filter.access_reject] expand: %{User-Name} -> deva
attr_filter: Matched entry DEFAULT at line 11
++[attr_filter.access_reject] returns updated
Delaying reject of request 5 for 1 seconds
Going to the next request
Waking up in 0.9 seconds.
end of logs ....................
Date: Wed, 10 Feb 2010 00:38:47 +0100
From: Alan DeKok <aland at deployingradius.com>
Subject: Re: freeradius with PEAP configuration
To: FreeRadius users mailing list
<freeradius-users at lists.freeradius.org>
Message-ID: <4B71F207.6050108 at deployingradius.com>
Content-Type: text/plain; charset=ISO-8859-1
dev nath wrote:
> I am trying to authenticate Xsupplicant (open1x) through freeradius
> using EAP-PEAP-MSCHAPv2 configs. TLS initial connection was successful
> but MSCHAP-v2 authentication was not initiating (Xsupplicant returned
> TLS application packet not decrypted).
Knowing the real error message would help.
> PLEASE HELP with correct freeradius configurations required. I was not
> able to google the appropriate configurations for the same. Please
> provide me with config files with some working PEAP
> configurations(radiusd.conf, eap.conf, user, clients.conf)
In 2.1.x, the *default* configuration works for PEAP. See also my web
site for step-by-step instructions on getting PEAP to work:
http://deployingradius.com
Alan DeKok.
------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20100209/1d4b990b/attachment.html>
More information about the Freeradius-Users
mailing list