<div>Hi,</div>
<div> </div>
<div>I was trying to configure EAP with TLS/TTlS. After enabling TLS/TTLS in "eap.conf", I tried sending an Radius Access-Request with EAP-Identitye response. The Server is crashing becoz of segmentation fault. The debug lod from the server is given below.
</div>
<div> </div>
<div>-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
</div>
<div>cheux301:/etc/freeradius# freeradius -X<br>Starting - reading configuration files ...<br>reread_config:  reading radiusd.conf<br>Config:   including file: /etc/freeradius/proxy.conf<br>Config:   including file: /etc/freeradius/clients.conf
<br>Config:   including file: /etc/freeradius/snmp.conf<br>Config:   including file: /etc/freeradius/eap.conf<br>Config:   including file: /etc/freeradius/sql.conf<br> main: prefix = "/usr"<br> main: localstatedir = "/var"
<br> main: logdir = "/var/log/freeradius"<br> main: libdir = "/usr/lib/freeradius:/usr/local/lib"<br> main: radacctdir = "/var/log/freeradius/radacct"<br> main: hostname_lookups = no<br> main: max_request_time = 30
<br> main: cleanup_delay = 5<br> main: max_requests = 1024<br> main: delete_blocked_requests = 0<br> main: port = 0<br> main: allow_core_dumps = no<br> main: log_stripped_names = yes<br> main: log_file = "/var/log/freeradius/radius.log"
<br> main: log_auth = no<br> main: log_auth_badpass = no<br> main: log_auth_goodpass = no<br> main: pidfile = "/var/run/freeradius/freeradius.pid"<br> main: bind_address = <a href="http://127.0.0.1">127.0.0.1</a>
 IP address [<a href="http://127.0.0.1">127.0.0.1</a>]<br> main: user = "freerad"<br> main: group = "freerad"<br> main: usercollide = no<br> main: lower_user = "no"<br> main: lower_pass = "no"
<br> main: nospace_user = "no"<br> main: nospace_pass = "no"<br> main: checkrad = "/usr/sbin/checkrad"<br> main: proxy_requests = no<br> proxy: retry_delay = 5<br> proxy: retry_count = 3<br> proxy: synchronous = no
<br> proxy: default_fallback = yes<br> proxy: dead_time = 120<br> proxy: post_proxy_authorize = no<br> proxy: wake_all_if_all_dead = no<br> security: max_attributes = 200<br> security: reject_delay = 1<br> security: status_server = no
<br> main: debug_level = 0<br>read_config_files:  reading dictionary<br>read_config_files:  reading naslist<br>Using deprecated naslist file.  Support for this will go away soon.<br>read_config_files:  reading clients<br>
read_config_files:  reading realms<br>radiusd:  entering modules setup<br>Module: Library search path is /usr/lib/freeradius:/usr/local/lib<br>Module: Loaded exec<br> exec: wait = yes<br> exec: program = "(null)"
<br> exec: input_pairs = "request"<br> exec: output_pairs = "(null)"<br> exec: packet_type = "(null)"<br>rlm_exec: Wait=yes but no output defined. Did you mean output=none?<br>Module: Instantiated exec (exec)
<br>Module: Loaded expr<br>Module: Instantiated expr (expr)<br>Module: Loaded PAP<br> pap: encryption_scheme = "crypt"<br>Module: Instantiated pap (pap)<br>Module: Loaded CHAP<br>Module: Instantiated chap (chap)
<br>Module: Loaded MS-CHAP<br> mschap: use_mppe = yes<br> mschap: require_encryption = yes<br> mschap: require_strong = yes<br> mschap: with_ntdomain_hack = no<br> mschap: passwd = "(null)"<br> mschap: ntlm_auth = "(null)"
<br>Module: Instantiated mschap (mschap)<br>Module: Loaded System<br> unix: cache = no<br> unix: passwd = "/etc/passwd"<br> unix: shadow = "/etc/shadow"<br> unix: group = "/etc/group"<br> unix: radwtmp = "/var/log/freeradius/radwtmp"
<br> unix: usegroup = no<br> unix: cache_reload = 600<br>Module: Instantiated unix (unix)<br>Module: Loaded eap<br> eap: default_eap_type = "md5"<br> eap: timer_expire = 60<br> eap: ignore_unknown_eap_types = no
<br> eap: cisco_accounting_username_bug = no<br>rlm_eap: Loaded and initialized type md5<br>rlm_eap: Loaded and initialized type leap<br> gtc: challenge = "Password: "<br> gtc: auth_type = "PAP"<br>rlm_eap: Loaded and initialized type gtc
<br> tls: rsa_key_exchange = no<br> tls: dh_key_exchange = yes<br> tls: rsa_key_length = 512<br> tls: dh_key_length = 512<br> tls: verify_depth = 0<br> tls: CA_path = "(null)"<br> tls: pem_file_type = yes<br> tls: private_key_file = "/etc/freeradius/certs/cert-
srv.pem"<br> tls: certificate_file = "/etc/freeradius/certs/cert-srv.pem"<br> tls: CA_file = "/etc/freeradius/certs/demoCA/cacert.pem"<br> tls: private_key_password = "whatever"<br> tls: dh_file = "/etc/freeradius/certs/dh"
<br> tls: random_file = "/etc/freeradius/certs/random"<br> tls: fragment_size = 1024<br> tls: include_length = yes<br> tls: check_crl = yes<br> tls: check_cert_cn = "%{User-Name}"<br> tls: cipher_list = "DEFAULT"
<br> tls: check_cert_issuer = "/C=GB/ST=Berkshire/L=Newbury/O=My Company Ltd"<br>rlm_eap_tls: Loading the certificate file as a chain<br>rlm_eap: Loaded and initialized type tls<br> ttls: default_eap_type = "md5"
<br> ttls: copy_request_to_tunnel = no<br> ttls: use_tunneled_reply = no<br>rlm_eap: Loaded and initialized type ttls<br> mschapv2: with_ntdomain_hack = no<br>rlm_eap: Loaded and initialized type mschapv2<br>Module: Instantiated eap (eap)
<br>Module: Loaded preprocess<br> preprocess: huntgroups = "/etc/freeradius/huntgroups"<br> preprocess: hints = "/etc/freeradius/hints"<br> preprocess: with_ascend_hack = no<br> preprocess: ascend_channels_per_line = 23
<br> preprocess: with_ntdomain_hack = no<br> preprocess: with_specialix_jetstream_hack = no<br> preprocess: with_cisco_vsa_hack = no<br> preprocess: with_alvarion_vsa_hack = no<br>Module: Instantiated preprocess (preprocess)
<br>Module: Loaded realm<br> realm: format = "suffix"<br> realm: delimiter = "@"<br> realm: ignore_default = no<br> realm: ignore_null = no<br>Module: Instantiated realm (suffix)<br>Module: Loaded files
<br> files: usersfile = "/etc/freeradius/users"<br> files: acctusersfile = "/etc/freeradius/acct_users"<br> files: preproxy_usersfile = "/etc/freeradius/preproxy_users"<br> files: compat = "no"
<br>Module: Instantiated files (files)<br>Module: Loaded Acct-Unique-Session-Id<br> acct_unique: key = "User-Name, Acct-Session-Id, NAS-IP-Address, Client-IP-Address"<br>Module: Instantiated acct_unique (acct_unique)
<br>Module: Loaded detail<br> detail: detailfile = "/var/log/freeradius/radacct/%{Client-IP-Address}/detail-%Y%m%d"<br> detail: detailperm = 384<br> detail: dirperm = 493<br> detail: locking = no<br>Module: Instantiated detail (detail)
<br>Module: Loaded radutmp<br> radutmp: filename = "/var/log/freeradius/radutmp"<br> radutmp: username = "%{User-Name}"<br> radutmp: case_sensitive = yes<br> radutmp: check_with_nas = yes<br> radutmp: perm = 384
<br> radutmp: callerid = yes<br>Module: Instantiated radutmp (radutmp)<br>Listening on authentication <a href="http://127.0.0.1:1812">127.0.0.1:1812</a><br>Listening on accounting <a href="http://127.0.0.1:1813">127.0.0.1:1813
</a><br>Ready to process requests.<br>rad_recv: Access-Request packet from host <a href="http://127.0.0.1:32823">127.0.0.1:32823</a>, id=217, length=95<br>        User-Name = "jrc"<br>        NAS-Identifier = "jrcnas"
<br>        NAS-Port-Type = Ethernet<br>        CUI = "0"<br>        Service-Type = Framed-User<br>        Framed-MTU = 1400<br>        Calling-Station-Id = "1:1:1:1:1:1"<br>        Message-Authenticator = 0x2568987af6f31763f9199f8067fafee1
<br>        EAP-Message = 0x02d20008016a7263<br>  Processing the authorize section of radiusd.conf<br>modcall: entering group authorize for request 0<br>Segmentation fault<br>cheux301:/etc/freeradius#<br> </div>
<div> </div>
<div> </div>
<div>-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
</div>
<div> </div>
<div> </div>
<div>-- <br>Thanks & Regards,<br>Govardhana K N </div>