eap module change between 2.1.11 & 2.1.12 ?

Fred fred.maison at gmail.com
Tue Oct 25 17:10:30 CEST 2011


radiusd -Xxxxx follows :

FreeRADIUS Version 2.1.12, for host x86_64-redhat-linux-gnu, built on
Sep 27 2011 at 11:59:05
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 /etc/raddb/radiusd.conf
including configuration file /etc/raddb/radius-fr-ny-wifi.listen.conf
including configuration file /etc/raddb/radius-fr-ny-wifi.proxy.conf
including configuration file /etc/raddb/local.clients.conf
including configuration file /etc/raddb/loadmodules
including configuration file /etc/raddb/modules/acct_unique
including configuration file /etc/raddb/modules/always
including configuration file /etc/raddb/modules/attr_filter
including configuration file /etc/raddb/modules/attr_rewrite
including configuration file /etc/raddb/modules/chap
including configuration file /etc/raddb/modules/detail
including configuration file /etc/raddb/modules/detail.log
including configuration file /etc/raddb/modules/exec
including configuration file /etc/raddb/modules/expiration
including configuration file /etc/raddb/modules/expr
including configuration file /etc/raddb/modules/files
including configuration file /etc/raddb/modules/ldap
including configuration file /etc/raddb/modules/logintime
including configuration file /etc/raddb/modules/mschap
including configuration file /etc/raddb/modules/pap
including configuration file /etc/raddb/modules/policy
including configuration file /etc/raddb/modules/preprocess
including configuration file /etc/raddb/modules/realm
including configuration file /etc/raddb/eap.conf
including configuration file /etc/raddb/partners/modules/partners.preprocess
including configuration file /etc/raddb/partners/modules/partners.files
including configuration file /etc/raddb/partners/modules/partners.mschap
including configuration file /etc/raddb/partners/modules/partners.eap
including configuration file /etc/raddb/policy.conf
including files in directory /etc/raddb/sites-enabled/
including configuration file /etc/raddb/sites-enabled/inner-tunnel
including configuration file /etc/raddb/sites-enabled/partners
including configuration file /etc/raddb/local.clients.conf
including configuration file /etc/raddb/partners/radius-fr-ny-wifi.listen.conf
including configuration file /etc/raddb/partners/default
including configuration file /etc/raddb/sites-enabled/default
including configuration file /etc/raddb/sites-enabled/control-socket
including configuration file /etc/raddb/sites-enabled/partners.inner-tunnel
main {
	user = "radiusd"
	group = "radiusd"
	allow_core_dumps = no
}
including dictionary file /etc/raddb/dictionary
main {
	name = "radiusd"
	prefix = "/usr"
	localstatedir = "/var"
	sbindir = "/usr/sbin"
	logdir = "/var/log/radius"
	run_dir = "/var/run/radiusd"
	libdir = "/usr/lib64/freeradius"
	radacctdir = "/var/log/radius/radacct"
	hostname_lookups = no
	max_request_time = 30
	cleanup_delay = 5
	max_requests = 1024
	pidfile = "/var/run/radiusd/radiusd.pid"
	checkrad = "/usr/sbin/checkrad"
	debug_level = 4
	proxy_requests = yes
 log {
	stripped_names = no
	auth = yes
	auth_badpass = no
	auth_goodpass = no
 }
 security {
	max_attributes = 200
	reject_delay = 1
	status_server = 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"
	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
  coa {
	irt = 2
	mrt = 16
	mrc = 5
	mrd = 30
  }
 }
 realm carrefour.com {
	nostrip
	authhost = 10.48.184.69:1812
	accthost = 10.48.184.69:1813
	secret = cisco
 }
 realm LOCAL {
 }
 home_server_pool my_auth_failover {
	type = fail-over
	home_server = localhost
 }
radiusd: #### Loading Clients ####
 client 127.0.0.1 {
	ipaddr = 127.0.0.1
	require_message_authenticator = no
	secret = "testing123"
 }
 client 127.0.0.2 {
	ipaddr = 127.0.0.2
	require_message_authenticator = no
	secret = "testing123"
 }
 client 10.48.184.18 {
	ipaddr = 10.48.184.18
	require_message_authenticator = yes
	secret = "radius"
	shortname = "neuilly-local-wifi-partners"
 }
 client 10.48.184.20 {
	ipaddr = 10.48.184.20
	require_message_authenticator = yes
	secret = "radius"
 }
 client 10.49.64.18 {
	require_message_authenticator = yes
	secret = "radius"
 }
 client 10.49.64.20 {
	ipaddr = 10.49.64.20
	require_message_authenticator = yes
	secret = "radius"
	shortname = "m2-local-wifi"
 }
radiusd: #### Instantiating modules ####
 instantiate {
 Module: Linked to module rlm_exec
 Module: Instantiating module "exec" from file /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 /etc/raddb/modules/expr
 Module: Linked to module rlm_expiration
 Module: Instantiating module "expiration" from file
/etc/raddb/modules/expiration
  expiration {
	reply-message = "Password Has Expired  "
  }
 Module: Linked to module rlm_logintime
 Module: Instantiating module "logintime" from file /etc/raddb/modules/logintime
  logintime {
	reply-message = "You are calling outside your allowed timespan  "
	minimum-timeout = 60
  }
 }
radiusd: #### Loading Virtual Servers ####
server { # from file /etc/raddb/radiusd.conf
 modules {
  Module: Creating Auth-Type = LDAP
  Module: Creating Autz-Type = Status-Server
  Module: Creating Acct-Type = Status-Server
  Module: Creating Post-Proxy-Type = Fail
  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/raddb/modules/pap
  pap {
	encryption_scheme = "auto"
	auto_header = yes
  }
 Module: Linked to module rlm_mschap
 Module: Instantiating module "mschap" from file /etc/raddb/modules/mschap
  mschap {
	use_mppe = yes
	require_encryption = yes
	require_strong = yes
	with_ntdomain_hack = no
	allow_retry = yes
  }
 Module: Linked to module rlm_ldap
 Module: Instantiating module "ldap" from file /etc/raddb/modules/ldap
  ldap {
	server = "10.49.64.25"
	port = 389
	password = "uVgDRrEJ"
	identity = "cn=syncuser,dc=carrefour,dc=com"
	net_timeout = 1
	timeout = 4
	timelimit = 3
	tls_mode = no
	start_tls = no
	tls_require_cert = "allow"
   tls {
	start_tls = no
	require_cert = "allow"
   }
	basedn = "ou=People,dc=corp,dc=carrefour,dc=com"
	filter = "(uid=%{%{Stripped-User-Name}:-%{User-Name}})"
	base_filter = "(&(objectclass=radiusprofile)(!(pwdAccountLockedTime=000001010000Z))
)"
	password_attribute = "User-Password"
	auto_header = yes
	access_attr_used_for_allow = yes
	groupname_attribute = "cn"
	groupmembership_filter =
"(|(&(objectClass=GroupOfNames)(member=%{Ldap-UserDn}))(&(objectClass=GroupOfUniqueNames)(uniquemember=%{Ldap-UserDn})))"
	dictionary_mapping = "/etc/raddb/ldap.attrmap"
	ldap_debug = 0
	ldap_connections_number = 10
	compare_check_items = no
	do_xlat = yes
	set_auth_type = yes
  }
rlm_ldap: Registering ldap_groupcmp for Ldap-Group
rlm_ldap: Registering ldap_xlat with xlat_name ldap
rlm_ldap: reading ldap<->radius mappings from file /etc/raddb/ldap.attrmap
rlm_ldap: LDAP radiusCheckItem mapped to RADIUS $GENERIC$
rlm_ldap: LDAP radiusReplyItem mapped to RADIUS $GENERIC$
rlm_ldap: LDAP radiusGroupName mapped to RADIUS Ldap-Group
rlm_ldap: LDAP lmPassword mapped to RADIUS LM-Password
rlm_ldap: LDAP ntPassword mapped to RADIUS NT-Password
rlm_ldap: LDAP sambaLmPassword mapped to RADIUS LM-Password
rlm_ldap: LDAP sambaNtPassword mapped to RADIUS NT-Password
rlm_ldap: LDAP dBCSPwd mapped to RADIUS LM-Password
rlm_ldap: LDAP userPassword mapped to RADIUS Password-With-Header
rlm_ldap: LDAP acctFlags mapped to RADIUS SMB-Account-CTRL-TEXT
rlm_ldap: LDAP radiusExpiration mapped to RADIUS Expiration
rlm_ldap: LDAP radiusReplyMessage mapped to RADIUS Reply-Message
conns: 0x2b56200fcc90
 Module: Linked to module rlm_eap
 Module: Instantiating module "eap" from file /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 = 1024
	dh_key_length = 1024
	verify_depth = 0
	pem_file_type = yes
	private_key_file = "/etc/raddb/certs/acs_privkey.pem"
	certificate_file = "/etc/raddb/certs/acs_cert.pem"
	CA_file = "/etc/raddb/certs/carrefourca.pem"
	private_key_password = "cisco"
	dh_file = "/etc/raddb/certs/dh"
	random_file = "/etc/raddb/certs/random"
	fragment_size = 1024
	include_length = yes
	check_crl = no
	cipher_list = "DEFAULT"
    cache {
	enable = yes
	lifetime = 6
	max_entries = 8192
    }
   }
 Module: Linked to sub-module rlm_eap_ttls
 Module: Instantiating eap-ttls
   ttls {
	default_eap_type = "mschapv2"
	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 = no
	use_tunneled_reply = yes
	proxy_tunneled_request_as_eap = yes
	virtual_server = "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: Checking authorize {...} for more modules to load
 Module: Linked to module rlm_preprocess
 Module: Instantiating module "preprocess" from file
/etc/raddb/modules/preprocess
  preprocess {
	huntgroups = "/etc/raddb/huntgroups"
	hints = "/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: Linked to module rlm_realm
 Module: Instantiating module "suffix" from file /etc/raddb/modules/realm
  realm suffix {
	format = "suffix"
	delimiter = "@"
	ignore_default = no
	ignore_null = no
  }
 Module: Linked to module rlm_detail
 Module: Instantiating module "detail" from file /etc/raddb/modules/detail
  detail {
	detailfile = "/var/log/radius/radacct/%{Client-IP-Address}/detail-%Y%m%d"
	header = "%t %{%{Virtual-Server}:-DEFAULT}"
	detailperm = 416
	dirperm = 493
	locking = no
	log_packet_header = no
  }
 Module: Instantiating module "auth_log" from file /etc/raddb/modules/detail.log
  detail auth_log {
	detailfile = "/var/log/radius/radacct/%{Client-IP-Address}/auth-detail-%Y%m%d"
	header = "%t Virtual-Server : %{%{Virtual-Server}:-DEFAULT}
Proxy:%{%{FreeRADIUS-proxied-To}:-NONE}  "
	detailperm = 416
	dirperm = 493
	locking = no
	log_packet_header = no
  }
 Module: Checking preacct {...} for more modules to load
 Module: Linked to module rlm_acct_unique
 Module: Instantiating module "acct_unique" from file
/etc/raddb/modules/acct_unique
  acct_unique {
	key = "User-Name, Acct-Session-Id, NAS-IP-Address, Client-IP-Address, NAS-Port"
  }
 Module: Linked to module rlm_files
 Module: Instantiating module "files" from file /etc/raddb/modules/files
  files {
	usersfile = "/etc/raddb/users"
	acctusersfile = "/etc/raddb/acct_users"
	preproxy_usersfile = "/etc/raddb/preproxy_users"
	compat = "no"
  }
 Module: Checking accounting {...} for more modules to load
 Module: Linked to module rlm_attr_filter
 Module: Instantiating module "attr_filter.accounting_response" from
file /etc/raddb/modules/attr_filter
  attr_filter attr_filter.accounting_response {
	attrsfile = "/etc/raddb/attrs.accounting_response"
	key = "%{User-Name}"
	relaxed = no
  }
 Module: Checking pre-proxy {...} for more modules to load
 Module: Instantiating module "pre_proxy_log" from file
/etc/raddb/modules/detail.log
  detail pre_proxy_log {
	detailfile = "/var/log/radius/radacct/%{Client-IP-Address}/pre-proxy-detail-%Y%m%d"
	header = "%t Virtual-Server:%{%{control:Virtual-Server}:-DEFAULT}
Proxy:%{%{control:FreeRADIUS-Proxied-To}:-NONE}
%{%control:{Proxy-To-Realm}:-NoProxyToReal} "
	detailperm = 416
	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/raddb/modules/detail.log
  detail post_proxy_log {
	detailfile = "/var/log/radius/radacct/%{Client-IP-Address}/post-proxy-detail-%Y%m%d"
	header = "%t Virtual-Server:%{%{Virtual-Server}:-DEFAULT}
Proxy:%{%{FreeRADIUS-Proxied-To}:-NONE}
%{%{Proxy-To-Realm}:-NoProxyToReal} "
	detailperm = 416
	dirperm = 493
	locking = no
	log_packet_header = no
  }
 Module: Checking post-auth {...} for more modules to load
 Module: Instantiating module "reply_log" from file
/etc/raddb/modules/detail.log
  detail reply_log {
	detailfile = "/var/log/radius/radacct/%{Client-IP-Address}/reply-detail-%Y%m%d"
	header = "%t Virtual-Server : %{%{Virtual-Server}:-DEFAULT}
Proxy:%{%{FreeRADIUS-Proxied-To}:-NONE}  "
	detailperm = 416
	dirperm = 493
	locking = no
	log_packet_header = no
  }
 Module: Instantiating module "attr_filter.access_reject" from file
/etc/raddb/modules/attr_filter
  attr_filter attr_filter.access_reject {
	attrsfile = "/etc/raddb/attrs.access_reject"
	key = "%{User-Name}"
	relaxed = no
  }
 } # modules
} # server
server inner-tunnel { # from file /etc/raddb/sites-enabled/inner-tunnel
 modules {
 Module: Checking authenticate {...} for more modules to load
 Module: Linked to module rlm_chap
 Module: Instantiating module "chap" from file /etc/raddb/modules/chap
 Module: Checking authorize {...} for more modules to load
 Module: Linked to module rlm_always
 Module: Instantiating module "reject" from file /etc/raddb/modules/always
  always reject {
	rcode = "reject"
	simulcount = 0
	mpp = no
  }
 Module: Checking post-proxy {...} for more modules to load
 Module: Checking post-auth {...} for more modules to load
 } # modules
} # server
server partners { # from file /etc/raddb/sites-enabled/partners
 modules {
  Module: Creating Auth-Type = eap2
 Module: Checking authenticate {...} for more modules to load
 Module: Instantiating module "eap2" from file
/etc/raddb/partners/modules/partners.eap
  eap eap2 {
	default_eap_type = "peap"
	timer_expire = 60
	ignore_unknown_eap_types = yes
	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_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 = 1024
	dh_key_length = 1024
	verify_depth = 0
	pem_file_type = yes
	private_key_file = "/etc/raddb/certs/acs_privkey.pem"
	certificate_file = "/etc/raddb/certs/acs_cert.pem"
	CA_file = "/etc/raddb/certs/carrefourca.pem"
	private_key_password = "cisco"
	dh_file = "/etc/raddb/certs/dh"
	random_file = "/etc/raddb/certs/random"
	fragment_size = 1024
	include_length = yes
	check_crl = no
	cipher_list = "DEFAULT"
    cache {
	enable = no
	lifetime = 6
	max_entries = 8192
	name = "A"
    }
   }
rlm_eap: SSL error error:140DB111:SSL
routines:SSL_CTX_set_session_id_context:ssl session id context too
long
rlm_eap_tls: Error reading certificate file /etc/raddb/certs/acs_cert.pem
rlm_eap: Failed to initialize type tls
/etc/raddb/partners/modules/partners.eap[1]: Instantiation failed for
module "eap2"
/etc/raddb/partners/default[43]: Failed to load module "eap2".
/etc/raddb/partners/default[30]: Errors parsing authenticate section.

2011/10/25 Fred <fred.maison at gmail.com>:
> Hi Phil,
> Unfortunately, shortening eap module instance name to eap2 seems to
> give same result.
> Best regards,
> Fred
>
> 2011/10/25 Phil Mayers <p.mayers at imperial.ac.uk>:
>> On 25/10/11 14:25, Fred wrote:
>>>
>>> Hi Alan,
>>> While waiting for a fix on github, (I will not be able to rebuild my
>>> servers today) I try to make a workaround, as due to this SSL problem,
>>> I cannot have anymore
>>
>> As per my email - there are other options.
>>
>> You can make your EAP module name shorter; or you can specify the:
>>
>> eap {
>>  tls {
>>    cache {
>>      name = A
>>    }
>>  }
>> }
>>
>> ...the idea being to make "name" a SHORT string. Then it should work. Have
>> you tried this?
>> -
>> List info/subscribe/unsubscribe? See
>> http://www.freeradius.org/list/users.html
>>
>




More information about the Freeradius-Users mailing list