Hi,

I'm in the process of up FreeRADIUS together with CiscoAP1200,
xsupplicant from open1x.org.
Authentication method is EAP-TLS. After (I suppose) successful
generation of root, server and client certifcates I get
the following output from FreeRADIUS.
What does this mean?

TLS_accept: SSLv3 write certificate request A
TLS_accept: SSLv3 flush data
TLS_accept:error in SSLv3 read client certificate A
rlm_eap_tls: SSL_read Error
1445:error:0906D06C:lib(9):func(109):reason(108):pem_lib.c:634:Expecting: DH PARAMETERS
 Error code is ..... 2
 SSL Error ..... 2
  modcall[authenticate]: module "eap" returns ok

The SSL version is a SNAP version (downloaded about 2 weeks ago).

Regards,
Olaf

[EMAIL PROTECTED] root]# ./run-radius -X -A
+ LD_LIBRARY_PATH=/usr/local/openssl/lib
+ export LD_LIBRARY_PATH LD_PRELOAD
+ /usr/local/sbin/radiusd -X -A
Starting - reading configuration files ...
reread_config:  reading radiusd.conf
Config:   including file: /usr/local/etc/raddb/proxy.conf
Config:   including file: /usr/local/etc/raddb/clients.conf
Config:   including file: /usr/local/etc/raddb/snmp.conf
Config:   including file: /usr/local/etc/raddb/sql.conf
 main: prefix = "/usr/local"
 main: localstatedir = "/usr/local/var"
 main: logdir = "/usr/local/var/log/radius"
 main: libdir = "/usr/local/lib"
 main: radacctdir = "/usr/local/var/log/radius/radacct"
 main: hostname_lookups = no
 main: max_request_time = 30
 main: cleanup_delay = 5
 main: max_requests = 1024
 main: delete_blocked_requests = 0
 main: port = 0
 main: allow_core_dumps = no
 main: log_stripped_names = no
 main: log_file = "/usr/local/var/log/radius/radius.log"
 main: log_auth = no
 main: log_auth_badpass = no
 main: log_auth_goodpass = no
 main: pidfile = "/usr/local/var/run/radiusd/radiusd.pid"
 main: user = "root"
 main: group = "root"
 main: usercollide = no
 main: lower_user = "no"
 main: lower_pass = "no"
 main: nospace_user = "no"
 main: nospace_pass = "no"
 main: checkrad = "/usr/local/sbin/checkrad"
 main: proxy_requests = no
 proxy: retry_delay = 5
 proxy: retry_count = 3
 proxy: synchronous = no
 proxy: default_fallback = yes
 proxy: dead_time = 120
 proxy: post_proxy_authorize = yes
 proxy: wake_all_if_all_dead = no
 security: max_attributes = 200
 security: reject_delay = 1
 security: status_server = no
 main: debug_level = 0
read_config_files:  reading dictionary
read_config_files:  reading naslist
Using deprecated naslist file.  Support for this will go away soon.
read_config_files:  reading clients
Using deprecated clients file.  Support for this will go away soon.
read_config_files:  reading realms
Using deprecated realms file.  Support for this will go away soon.
radiusd:  entering modules setup
Module: Library search path is /usr/local/lib
Module: Loaded expr
Module: Instantiated expr (expr)
Module: Loaded PAP
 pap: encryption_scheme = "crypt"
Module: Instantiated pap (pap)
Module: Loaded CHAP
Module: Instantiated chap (chap)
Module: Loaded MS-CHAP
 mschap: use_mppe = yes
 mschap: require_encryption = no
 mschap: require_strong = no
 mschap: passwd = "(null)"
 mschap: authtype = "MS-CHAP"
Module: Instantiated mschap (mschap)
Module: Loaded System
 unix: cache = no
 unix: passwd = "(null)"
 unix: shadow = "(null)"
 unix: group = "(null)"
 unix: radwtmp = "/usr/local/var/log/radius/radwtmp"
 unix: usegroup = no
 unix: cache_reload = 600
Module: Instantiated unix (unix)
Module: Loaded eap
 eap: default_eap_type = "tls"
 eap: timer_expire = 60
rlm_eap: Loaded and initialized the type md5
rlm_eap: Loaded and initialized the type leap
 tls: rsa_key_exchange = no
 tls: dh_key_exchange = yes
 tls: rsa_key_length = 512
 tls: dh_key_length = 512
 tls: verify_depth = 0
 tls: CA_path = "(null)"
 tls: pem_file_type = yes
 tls: private_key_file = "/etc/1x/r/cert-srv.pem"
 tls: certificate_file = "/etc/1x/r/cert-srv.pem"
 tls: CA_file = "/etc/1x/r/root.pem"
 tls: private_key_password = "whatever"
 tls: dh_file = "/etc/1x/r/dh"
 tls: random_file = "/etc/1x/r/random"
 tls: fragment_size = 1750
 tls: include_length = yes
rlm_eap_tls: conf N ctx stored
rlm_eap: Loaded and initialized the type tls
Module: Instantiated eap (eap)
Module: Loaded preprocess
 preprocess: huntgroups = "/usr/local/etc/raddb/huntgroups"
 preprocess: hints = "/usr/local/etc/raddb/hints"
 preprocess: with_ascend_hack = no
 preprocess: ascend_channels_per_line = 23
 preprocess: with_ntdomain_hack = no
 preprocess: with_specialix_jetstream_hack = no
 preprocess: with_cisco_vsa_hack = no
Module: Instantiated preprocess (preprocess)
Module: Loaded realm
 realm: format = "suffix"
 realm: delimiter = "@"
Module: Instantiated realm (suffix)
Module: Loaded files
 files: usersfile = "/usr/local/etc/raddb/users"
 files: acctusersfile = "/usr/local/etc/raddb/acct_users"
 files: preproxy_usersfile = "/usr/local/etc/raddb/preproxy_users"
 files: compat = "no"
Module: Instantiated files (files)
Module: Loaded Acct-Unique-Session-Id
 acct_unique: key = "User-Name, Acct-Session-Id, NAS-IP-Address, Client-IP-Address, 
NAS-Port-Id"
Module: Instantiated acct_unique (acct_unique)
Module: Loaded detail
 detail: detailfile = 
"/usr/local/var/log/radius/radacct/%{Client-IP-Address}/detail-%Y%m%d"
 detail: detailperm = 384
 detail: dirperm = 493
 detail: locking = no
Module: Instantiated detail (detail)
Module: Loaded radutmp
 radutmp: filename = "/usr/local/var/log/radius/radutmp"
 radutmp: username = "%{User-Name}"
 radutmp: case_sensitive = yes
 radutmp: check_with_nas = yes
 radutmp: perm = 384
 radutmp: callerid = yes
Module: Instantiated radutmp (radutmp)
Listening on IP address *, ports 1812/udp and 1813/udp.
Ready to process requests.




rad_recv: Access-Request packet from host 172.31.128.66:1645, id=9, length=137
        User-Name = "olaf-client"
        Framed-MTU = 1400
        Called-Station-Id = "000d.28ac.070a"
        Calling-Station-Id = "000b.fde7.659d"
        NAS-Port-Type = Wireless-802.11
        Message-Authenticator = 0x953ebe6e194598ec5d88b2a2a73352ff
        EAP-Message = 0x02020010016f6c61662d636c69656e74
        NAS-Port-Type = Virtual
        NAS-Port = 188
        Service-Type = Login-User
        NAS-IP-Address = 172.31.128.66
modcall: entering group authorize
  modcall[authorize]: module "preprocess" returns ok
  modcall[authorize]: module "chap" returns noop
  rlm_eap: EAP packet type notification id 2 length 16
  rlm_eap: EAP Start not found
  modcall[authorize]: module "eap" returns updated
    rlm_realm: No '@' in User-Name = "olaf-client", looking up realm NULL
    rlm_realm: No such realm "NULL"
  modcall[authorize]: module "suffix" returns noop
    users: Matched olaf-client at 90
  modcall[authorize]: module "files" returns ok
  modcall[authorize]: module "mschap" returns noop
modcall: group authorize returns updated
  rad_check_password:  Found Auth-Type EAP
auth: type "EAP"
modcall: entering group authenticate
  rlm_eap: EAP packet type notification id 2 length 16
  rlm_eap: EAP Start not found
  rlm_eap: EAP Identity
  rlm_eap: processing type tls
  rlm_eap_tls: Initiate
  rlm_eap_tls: Start returned 1
  modcall[authenticate]: module "eap" returns ok
modcall: group authenticate returns ok
radius_xlat:  'Hello, olaf-client'
Sending Access-Challenge of id 9 to 172.31.128.66:1645
        Reply-Message = "Hello, olaf-client"
        EAP-Message = 0x010300060d20
        Message-Authenticator = 0x00000000000000000000000000000000
        State = 
0x8d042b88745e96d2f5f4ac980656fcfd902e783f3d5772d435539da31be931267d86de32Finished 
request 0
Going to the next request
--- Walking the entire request list ---
Waking up in 6 seconds...
rad_recv: Access-Request packet from host 172.31.128.66:1645, id=10, length=271
        User-Name = "olaf-client"
        Framed-MTU = 1400
        Called-Station-Id = "000d.28ac.070a"
        Calling-Station-Id = "000b.fde7.659d"
        NAS-Port-Type = Wireless-802.11
        Message-Authenticator = 0x3b4cdbaf075862c3a0aee9713746eda7
        EAP-Message = 
0x020300700d800000006616030100610100005d03013f782df548f6b134d9a22cca270c7d1e39f4360527a5ec8f70ad23b699f5b81b00003600390038003500160013000a00330032002f0007006600050004006300620061001500120009006500640060001400110008000600030100
        NAS-Port-Type = Virtual
        NAS-Port = 188
        State = 
0x8d042b88745e96d2f5f4ac980656fcfd902e783f3d5772d435539da31be931267d86de32        
Service-Type = Login-User
        NAS-IP-Address = 172.31.128.66
modcall: entering group authorize
  modcall[authorize]: module "preprocess" returns ok
  modcall[authorize]: module "chap" returns noop
  rlm_eap: EAP packet type notification id 3 length 112
  rlm_eap: EAP Start not found
  modcall[authorize]: module "eap" returns updated
    rlm_realm: No '@' in User-Name = "olaf-client", looking up realm NULL
    rlm_realm: No such realm "NULL"
  modcall[authorize]: module "suffix" returns noop
    users: Matched olaf-client at 90
  modcall[authorize]: module "files" returns ok
  modcall[authorize]: module "mschap" returns noop
modcall: group authorize returns updated
  rad_check_password:  Found Auth-Type EAP
auth: type "EAP"
modcall: entering group authenticate
  rlm_eap: EAP packet type notification id 3 length 112
  rlm_eap: EAP Start not found
  rlm_eap: Request found, released from the list
  rlm_eap: EAP_TYPE - tls
  rlm_eap: processing type tls
  rlm_eap_tls: Authenticate
rlm_eap_tls:  Length Included
undefined: before/accept initialization
TLS_accept: before/accept initialization
rlm_eap_tls: <<< TLS 1.0 Handshake [length 0061], ClientHello
TLS_accept: SSLv3 read client hello A
rlm_eap_tls: >>> TLS 1.0 Handshake [length 004a], ServerHello
TLS_accept: SSLv3 write server hello A
rlm_eap_tls: >>> TLS 1.0 Handshake [length 07a3], Certificate
TLS_accept: SSLv3 write certificate A
rlm_eap_tls: >>> TLS 1.0 Handshake [length 00af], CertificateRequest
TLS_accept: SSLv3 write certificate request A
TLS_accept: SSLv3 flush data
TLS_accept:error in SSLv3 read client certificate A
rlm_eap_tls: SSL_read Error
1445:error:0906D06C:lib(9):func(109):reason(108):pem_lib.c:634:Expecting: DH PARAMETERS
 Error code is ..... 2
 SSL Error ..... 2
  modcall[authenticate]: module "eap" returns ok
modcall: group authenticate returns ok
radius_xlat:  'Hello, olaf-client'
Sending Access-Challenge of id 10 to 172.31.128.66:1645
        Reply-Message = "Hello, olaf-client"
        EAP-Message =
0x010406e00dc0000008ab160301004a0200004603013f782e9092e93c4e2bfa265c5f1dea26ada20b6e0f089ef1e9ebc2937c45306120ffaea1a49690876f6e30e08ff840ad13d817a6c05596b6a4030b8b18686e696d00350016030107a30b00079f00079c0003e5308203e13082034aa003020102020102300d06092a864886f70d010104050030819c310b3009060355040613024445311c301a060355040813134e6f7264726865696e2d5765737466616c656e310f300d0603550407130641616368656e3110300e060355040a13075068696c6970733111300f060355040b13085265736561726368310d300b060355040313046f6c6166312a30
        EAP-Message =
0x2806092a864886f70d010901161b6f6c61662e7769736368687573656e407068696c6970732e636f6d301e170d3033303932393130353835365a170d3034303932383130353835365a3081a3310b3009060355040613024445311c301a060355040813134e6f7264726865696e2d5765737466616c656e310f300d0603550407130641616368656e3110300e060355040a13075068696c6970733111300f060355040b13085265736561726368311430120603550403130b6f6c61662d736572766572312a302806092a864886f70d010901161b6f6c61662e7769736368687573656e407068696c6970732e636f6d30819f300d06092a864886f70d01
        EAP-Message =
0x0101050003818d0030818902818100a9beb4030e98ca8cfa8e68a9b57b30b9788263652d006e89c7128983d7508fafe9568a86948e87d3d3103fef79303390d4db5f4bd52cee72dcd1c992189ae55b51451ae6541961b43f3cf63f5f84066c8b3615105f13529ad4ec7ba54cd5a3450a1ac7a3c543a6dc0476bebf22531896965abb8273259efa92d1009b7aa721810203010001a38201283082012430090603551d1304023000302c06096086480186f842010d041f161d4f70656e53534c2047656e657261746564204365727469666963617465301d0603551d0e0416041482001ad02ef13dad847e9c663f6afd9858ec519b3081c90603551d2304
        EAP-Message =
0x81c13081be8014e72bd6cd03bab8210bc4d94831ff8eefa2589009a181a2a4819f30819c310b3009060355040613024445311c301a060355040813134e6f7264726865696e2d5765737466616c656e310f300d0603550407130641616368656e3110300e060355040a13075068696c6970733111300f060355040b13085265736561726368310d300b060355040313046f6c6166312a302806092a864886f70d010901161b6f6c61662e7769736368687573656e407068696c6970732e636f6d820100300d06092a864886f70d0101040500038181006c4f50d40a2589d00f3e394949466f2ed6d16eac7119a0333c83727c709ffc6ad0eadee1bb41ec
        EAP-Message =
0xf593730b5cbdb69730b2e3c4f4d8e4989cee87c3d006ed2318b39feddf83928edd668ec5b310ef510e661ec800ef0a5073f0bcb1704a7c912f6a7a7eff417105dd136c9d9c75136dc63c3f8937f1ca7034ed107f9469eda93f0003b1308203ad30820316a003020102020100300d06092a864886f70d010104050030819c310b3009060355040613024445311c301a060355040813134e6f7264726865696e2d5765737466616c656e310f300d0603550407130641616368656e3110300e060355040a13075068696c6970733111300f060355040b13085265736561726368310d300b060355040313046f6c6166312a302806092a864886f70d010901
        EAP-Message =
0x161b6f6c61662e7769736368687573656e407068696c6970732e636f6d301e170d3033303932393130353831385a170d3035303932383130353831385a30819c310b3009060355040613024445311c301a060355040813134e6f7264726865696e2d5765737466616c656e310f300d0603550407130641616368656e3110300e060355040a13075068696c6970733111300f060355040b13085265736561726368310d300b060355040313046f6c6166312a302806092a864886f70d010901161b6f6c61662e7769736368687573656e407068696c6970732e636f6d30819f300d06092a864886f70d010101050003818d0030818902818100aefa9a7f
        EAP-Message =
0xe16bcd7f8b47f40f4a055bef717c3705b8024d4e46fc463ef808a4fb9e15b0d56e1d114d0a011bded4e8f29cfc958f53d84f57f37f31453de037ff36e3a3204c1df47996aebed980ea9a175f6d24c5c4fbfa87094a54d8936ced538913312467ae6fd00f4424432f0e39d11a2ad7c3652153fb9cff8e3f7c77a1f6950203010001a381fc3081f9301d0603551d0e04160414e72bd6cd03bab8210bc4d94831ff8eefa25890093081c90603551d230481c13081be8014e72bd6cd03bab8210bc4d94831ff8eefa2589009a181a2a4819f30819c310b3009060355040613024445311c301a060355040813134e6f7264726865
        Message-Authenticator = 0x00000000000000000000000000000000
        State = 
0x357254e5fb5a552b83b13f60ff39f2f9902e783fe6b377084eb7ef6a2ffbfb6fa60ac5e7Finished 
request 1
Going to the next request
Waking up in 6 seconds...
--- Walking the entire request list ---
Cleaning up request 0 ID 9 with timestamp 3f782e90
Cleaning up request 1 ID 10 with timestamp 3f782e90
Nothing to do.  Sleeping until we see a request.






- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to