EAP-TTLS not working

Marlen Caemmerer caemmerer at ash-berlin.eu
Thu Oct 13 13:03:34 CEST 2016


Hello,

I have a new radius instance running. Unfortunatelly users with MacOS 
cannot be authenticated.

It seems like the password does not come through.

Do you have any idea?


/etc/freeradius.testing# freeradius -X -d /etc/freeradius.testing
freeradius: FreeRADIUS Version 2.2.5, for host x86_64-pc-linux-gnu, 
built on Oct 24 2014 at 02:05:28
Copyright (C) 1999-2013 The FreeRADIUS server project and contributors.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
You may redistribute copies of FreeRADIUS under the terms of the
GNU General Public License.
For more information about these matters, see the file named COPYRIGHT.
Starting - reading configuration files ...
including configuration file /etc/freeradius.testing/radiusd.conf
including configuration file /etc/freeradius.testing/proxy.conf
including configuration file /etc/freeradius.testing/clients.conf
including configuration file /etc/freeradius.testing/wlan_clients.conf
including files in directory /etc/freeradius.testing/modules/
including configuration file /etc/freeradius.testing/modules/sql_log
including configuration file /etc/freeradius.testing/modules/perl
including configuration file /etc/freeradius.testing/modules/attr_filter
including configuration file /etc/freeradius.testing/modules/echo
including configuration file /etc/freeradius.testing/modules/rediswho
including configuration file /etc/freeradius.testing/modules/digest
including configuration file /etc/freeradius.testing/modules/pap
including configuration file /etc/freeradius.testing/modules/etc_group
including configuration file /etc/freeradius.testing/modules/policy
including configuration file /etc/freeradius.testing/modules/mac2ip
including configuration file /etc/freeradius.testing/modules/logintime
including configuration file /etc/freeradius.testing/modules/cui
including configuration file 
/etc/freeradius.testing/modules/dhcp_sqlippool
including configuration file /etc/freeradius.testing/modules/replicate
including configuration file /etc/freeradius.testing/modules/radrelay
including configuration file /etc/freeradius.testing/modules/ldap
including configuration file /etc/freeradius.testing/modules/expr
including configuration file /etc/freeradius.testing/modules/counter
including configuration file /etc/freeradius.testing/modules/ippool
including configuration file 
/etc/freeradius.testing/modules/sqlcounter_expire_on_login
including configuration file /etc/freeradius.testing/modules/cache
including configuration file /etc/freeradius.testing/modules/inner-eap
including configuration file /etc/freeradius.testing/modules/soh
including configuration file /etc/freeradius.testing/modules/checkval
including configuration file /etc/freeradius.testing/modules/radutmp
including configuration file 
/etc/freeradius.testing/modules/dynamic_clients
including configuration file /etc/freeradius.testing/modules/files
including configuration file /etc/freeradius.testing/modules/realm
including configuration file /etc/freeradius.testing/modules/unix
including configuration file /etc/freeradius.testing/modules/detail.log
including configuration file /etc/freeradius.testing/modules/sradutmp
including configuration file /etc/freeradius.testing/modules/mac2vlan
including configuration file /etc/freeradius.testing/modules/passwd
including configuration file /etc/freeradius.testing/modules/acct_unique
including configuration file 
/etc/freeradius.testing/modules/detail.example.com
including configuration file /etc/freeradius.testing/modules/linelog
including configuration file /etc/freeradius.testing/modules/mschap
including configuration file /etc/freeradius.testing/modules/expiration
including configuration file /etc/freeradius.testing/modules/chap
including configuration file 
/etc/freeradius.testing/modules/opendirectory
including configuration file /etc/freeradius.testing/modules/exec
including configuration file /etc/freeradius.testing/modules/pam
including configuration file /etc/freeradius.testing/modules/smsotp
including configuration file /etc/freeradius.testing/modules/detail
including configuration file /etc/freeradius.testing/modules/krb5
including configuration file 
/etc/freeradius.testing/modules/attr_rewrite
including configuration file /etc/freeradius.testing/modules/always
including configuration file /etc/freeradius.testing/modules/redis
including configuration file /etc/freeradius.testing/modules/preprocess
including configuration file /etc/freeradius.testing/eap.conf
including configuration file /etc/freeradius.testing/policy.conf
including files in directory /etc/freeradius.testing/sites-enabled/
including configuration file 
/etc/freeradius.testing/sites-enabled/eduroam-inner-tunnel
including configuration file 
/etc/freeradius.testing/sites-enabled/eduroam
main {
         user = "freerad"
         group = "freerad"
         allow_core_dumps = no
}
including dictionary file /etc/freeradius.testing/dictionary
main {
         name = "freeradius"
         prefix = "/usr"
         localstatedir = "/var"
         sbindir = "/usr/sbin"
         logdir = "/var/log/radius-eduroam"
         run_dir = "/var/run/freeradius"
         libdir = "/usr/lib/freeradius"
         radacctdir = "/var/log/radius-eduroam/radacct"
         hostname_lookups = no
         max_request_time = 30
         cleanup_delay = 5
         max_requests = 1024
         pidfile = "/var/run/freeradius/freeradius.pid"
         checkrad = "/usr/sbin/checkrad"
         debug_level = 0
         proxy_requests = yes
  log {
         stripped_names = no
         auth = yes
         auth_badpass = yes
         auth_goodpass = yes
  }
  security {
         max_attributes = 200
         reject_delay = 1
         status_server = yes
         allow_vulnerable_openssl = no
  }
}
radiusd: #### Loading Realms and Home Servers ####
  proxy server {
         retry_delay = 5
         retry_count = 3
         default_fallback = no
         dead_time = 120
         wake_all_if_all_dead = no
  }
  home_server localhost {
         ipaddr = 127.0.0.1
         port = 1812
         type = "auth"
         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
   coa {
         irt = 2
         mrt = 16
         mrc = 5
         mrd = 30
   }
  }
  home_server_pool my_auth_failover {
         type = fail-over
         home_server = localhost
  }
  realm example.com {
         auth_pool = my_auth_failover
  }
  realm LOCAL {
  }
radiusd: #### Loading Clients ####
  client local {
         ipaddr = 192.168.11.50
         require_message_authenticator = no
         nastype = "other"
  }
  client 192.168.11.246 {
         require_message_authenticator = no
         nastype = "other"
         virtual_server = "eduroam"
  }
  client 172.16.1.18 {
         require_message_authenticator = no
         nastype = "other"
         virtual_server = "eduroam"
  }
  client localhost {
         ipaddr = 127.0.0.1
         require_message_authenticator = no
         nastype = "other"
         virtual_server = "eduroam"
  }
  client 172.16.1.30 {
         require_message_authenticator = no
         virtual_server = "eduroam"
  }
radiusd: #### Instantiating modules ####
  instantiate {
  Module: Linked to module rlm_exec
  Module: Instantiating module "exec" from file 
/etc/freeradius.testing/modules/exec
   exec {
         wait = no
         input_pairs = "request"
         shell_escape = yes
         timeout = 10
   }
  Module: Linked to module rlm_expr
  Module: Instantiating module "expr" from file 
/etc/freeradius.testing/modules/expr
  Module: Linked to module rlm_expiration
  Module: Instantiating module "expiration" from file 
/etc/freeradius.testing/modules/expiration
   expiration {
         reply-message = "Password Has Expired  "
   }
  Module: Linked to module rlm_logintime
  Module: Instantiating module "logintime" from file 
/etc/freeradius.testing/modules/logintime
   logintime {
         reply-message = "You are calling outside your allowed timespan  
"
         minimum-timeout = 60
   }
  }
radiusd: #### Loading Virtual Servers ####
server { # from file ?
  modules {
  } # modules
} # server
server eduroam-inner-tunnel { # from file 
/etc/freeradius.testing/sites-enabled/eduroam-inner-tunnel
  modules {
   Module: Creating Auth-Type = Perl
   Module: Creating Post-Auth-Type = REJECT
  Module: Checking authenticate {...} for more modules to load
  Module: Linked to module rlm_pap
  Module: Instantiating module "pap" from file 
/etc/freeradius.testing/modules/pap
   pap {
         encryption_scheme = "auto"
         auto_header = no
   }
  Module: Linked to module rlm_mschap
  Module: Instantiating module "mschap" from file 
/etc/freeradius.testing/modules/mschap
   mschap {
         use_mppe = yes
         require_encryption = yes
         require_strong = yes
         with_ntdomain_hack = no
         allow_retry = yes
   }
  Module: Linked to module rlm_eap
  Module: Instantiating module "eap" from file 
/etc/freeradius.testing/eap.conf
   eap {
         default_eap_type = "ttls"
         timer_expire = 60
         ignore_unknown_eap_types = yes
         cisco_accounting_username_bug = no
         max_sessions = 2048
   }
  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_tls
  Module: Instantiating eap-tls
    tls {
         rsa_key_exchange = no
         dh_key_exchange = yes
         rsa_key_length = 512
         dh_key_length = 512
         verify_depth = 3
         CA_path = "/etc/freeradius.testing/certs"
         pem_file_type = yes
         private_key_file = "/etc/freeradius.testing/certs/server.key"
         certificate_file = "/etc/freeradius.testing/certs/server.pem"
         CA_file = "/etc/freeradius.testing/certs/ca.pem"
         dh_file = "/etc/freeradius.testing/certs/dh"
         random_file = "/dev/urandom"
         fragment_size = 1024
         include_length = yes
         check_crl = no
         ecdh_curve = "prime256v1"
    }
  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 = "eduroam-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 = "eduroam-inner-tunnel"
         soh = no
    }
  Module: Linked to sub-module rlm_eap_mschapv2
  Module: Instantiating eap-mschapv2
    mschapv2 {
         with_ntdomain_hack = no
         send_error = no
    }
  Module: Linked to module rlm_perl
  Module: Instantiating module "perl" from file 
/etc/freeradius.testing/modules/perl
   perl {
         module = "/etc/freeradius.testing/auth.pl"
         func_authorize = "authorize"
         func_authenticate = "authenticate"
         func_accounting = "accounting"
         func_preacct = "preacct"
         func_checksimul = "checksimul"
         func_detach = "detach"
         func_xlat = "xlat"
         func_pre_proxy = "pre_proxy"
         func_post_proxy = "post_proxy"
         func_post_auth = "post_auth"
         func_recv_coa = "recv_coa"
         func_send_coa = "send_coa"
   }
"my" variable $index_path masks earlier declaration in same scope at 
/etc/freeradius.testing/auth.pl line 254.
  Module: Checking authorize {...} for more modules to load
  Module: Linked to module rlm_preprocess
  Module: Instantiating module "preprocess" from file 
/etc/freeradius.testing/modules/preprocess
   preprocess {
         huntgroups = "/etc/freeradius.testing/huntgroups"
         hints = "/etc/freeradius.testing/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
   }
reading pairlist file /etc/freeradius.testing/huntgroups
reading pairlist file /etc/freeradius.testing/hints
  Module: Linked to module rlm_detail
  Module: Instantiating module "auth_log" from file 
/etc/freeradius.testing/modules/detail.log
   detail auth_log {
         detailfile = 
"/var/log/radius-eduroam/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/auth-detail-%Y%m%d"
         header = "%t"
         detailperm = 384
         dirperm = 493
         locking = no
         log_packet_header = no
   }
  Module: Linked to module rlm_files
  Module: Instantiating module "files" from file 
/etc/freeradius.testing/modules/files
   files {
         usersfile = "/etc/freeradius.testing/users"
         acctusersfile = "/etc/freeradius.testing/acct_users"
         preproxy_usersfile = "/etc/freeradius.testing/preproxy_users"
         compat = "no"
   }
reading pairlist file /etc/freeradius.testing/users
reading pairlist file /etc/freeradius.testing/acct_users
reading pairlist file /etc/freeradius.testing/preproxy_users
  Module: Checking accounting {...} for more modules to load
  Module: Instantiating module "detail" from file 
/etc/freeradius.testing/modules/detail
   detail {
         detailfile = 
"/var/log/radius-eduroam/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/detail-%Y%m%d"
         header = "%t"
         detailperm = 384
         dirperm = 493
         locking = no
         log_packet_header = no
   }
  Module: Checking post-proxy {...} for more modules to load
  Module: Checking post-auth {...} for more modules to load
  Module: Instantiating module "reply_log" from file 
/etc/freeradius.testing/modules/detail.log
   detail reply_log {
         detailfile = 
"/var/log/radius-eduroam/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/reply-detail-%Y%m%d"
         header = "%t"
         detailperm = 384
         dirperm = 493
         locking = no
         log_packet_header = no
   }
  } # modules
} # server
server eduroam { # from file 
/etc/freeradius.testing/sites-enabled/eduroam
  modules {
  Module: Checking authenticate {...} for more modules to load
  Module: Checking authorize {...} for more modules to load
  Module: Linked to module rlm_realm
  Module: Instantiating module "suffix" from file 
/etc/freeradius.testing/modules/realm
   realm suffix {
         format = "suffix"
         delimiter = "@"
         ignore_default = no
         ignore_null = no
   }
  Module: Checking preacct {...} for more modules to load
  Module: Checking accounting {...} for more modules to load
  Module: Checking pre-proxy {...} for more modules to load
  Module: Linked to module rlm_attr_filter
  Module: Instantiating module "attr_filter.pre-proxy" from file 
/etc/freeradius.testing/modules/attr_filter
   attr_filter attr_filter.pre-proxy {
         attrsfile = "/etc/freeradius.testing/attrs.pre-proxy"
         key = "%{Realm}"
         relaxed = no
   }
reading pairlist file /etc/freeradius.testing/attrs.pre-proxy
  Module: Instantiating module "pre_proxy_log" from file 
/etc/freeradius.testing/modules/detail.log
   detail pre_proxy_log {
         detailfile = 
"/var/log/radius-eduroam/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/pre-proxy-detail-%Y%m%d"
         header = "%t"
         detailperm = 384
         dirperm = 493
         locking = no
         log_packet_header = no
   }
  Module: Checking post-proxy {...} for more modules to load
  Module: Instantiating module "post_proxy_log" from file 
/etc/freeradius.testing/modules/detail.log
   detail post_proxy_log {
         detailfile = 
"/var/log/radius-eduroam/radacct/%{%{Packet-Src-IP-Address}:-%{Packet-Src-IPv6-Address}}/post-proxy-detail-%Y%m%d"
         header = "%t"
         detailperm = 384
         dirperm = 493
         locking = no
         log_packet_header = no
   }
  Module: Instantiating module "attr_filter.post-proxy" from file 
/etc/freeradius.testing/modules/attr_filter
   attr_filter attr_filter.post-proxy {
         attrsfile = "/etc/freeradius.testing/attrs"
         key = "%{Realm}"
         relaxed = no
   }
reading pairlist file /etc/freeradius.testing/attrs
  } # modules
} # server
radiusd: #### Opening IP addresses and Ports ####
listen {
         type = "auth"
         ipaddr = *
         port = 1820
}
listen {
         type = "acct"
         ipaddr = *
         port = 1821
}
  ... adding new socket proxy address * port 40565
Listening on authentication address * port 1820
Listening on accounting address * port 1821
Listening on proxy address * port 1822
Ready to process requests.




With kind regards,

Marlen Caemmerer



-- 
************************************************
Alice Salomon Hochschule
Computerzentrum
Marlen Caemmerer
Alice-Salomon-Platz 5
12627 Berlin

Email: caemmerer at ash-berlin.eu
************************************************


More information about the Freeradius-Users mailing list