About mismatching shared secret

Sergio Belkin sebelk at gmail.com
Mon Jul 16 15:12:35 CEST 2012


Hi folks,

I've found on FR Version 2.1.12 that mismatching shared secret errors
are not recorded on "regulars logs" (eg /var/log/radius/radius.log)
but only when run in mode debug:

"Received Accounting-Request packet from client 10.129.189.1 with
invalid signature!  (Shared secret is incorrect.) Dropping packet
without response."

My configuration:


FreeRADIUS Version 2.1.12, for host x86_64-unknown-linux-gnu, built on
Jan  3 2012 at 16:18:16
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-testing/radiusd.conf
including configuration file /etc/raddb-testing/proxy.conf
including configuration file /etc/raddb-testing/clients.conf
including files in directory /etc/raddb-testing/modules/
including configuration file /etc/raddb-testing/modules/chap
including configuration file /etc/raddb-testing/modules/mschap
including configuration file
/etc/raddb-testing/modules/sqlcounter_expire_on_login
including configuration file /etc/raddb-testing/modules/exec
including configuration file /etc/raddb-testing/modules/realm
including configuration file /etc/raddb-testing/modules/checkval
including configuration file /etc/raddb-testing/modules/rediswho
including configuration file /etc/raddb-testing/modules/passwd
including configuration file /etc/raddb-testing/modules/attr_filter
including configuration file /etc/raddb-testing/modules/linelog
including configuration file /etc/raddb-testing/modules/wimax
including configuration file /etc/raddb-testing/modules/pam
including configuration file /etc/raddb-testing/modules/inner-eap
including configuration file /etc/raddb-testing/modules/echo
including configuration file /etc/raddb-testing/modules/soh
including configuration file /etc/raddb-testing/modules/replicate
including configuration file /etc/raddb-testing/modules/acct_unique
including configuration file /etc/raddb-testing/modules/etc_group
including configuration file /etc/raddb-testing/modules/pap
including configuration file /etc/raddb-testing/modules/expr
including configuration file /etc/raddb-testing/modules/smbpasswd
including configuration file /etc/raddb-testing/modules/attr_rewrite
including configuration file /etc/raddb-testing/modules/radutmp
including configuration file /etc/raddb-testing/modules/mac2ip
including configuration file /etc/raddb-testing/modules/logintime
including configuration file /etc/raddb-testing/modules/sql_log
including configuration file /etc/raddb-testing/modules/smsotp
including configuration file /etc/raddb-testing/modules/preprocess
including configuration file /etc/raddb-testing/modules/policy
including configuration file /etc/raddb-testing/modules/cui
including configuration file /etc/raddb-testing/modules/perl
including configuration file /etc/raddb-testing/modules/digest
including configuration file /etc/raddb-testing/modules/mac2vlan
including configuration file /etc/raddb-testing/modules/otp
including configuration file /etc/raddb-testing/modules/files
including configuration file /etc/raddb-testing/modules/always
including configuration file /etc/raddb-testing/modules/ntlm_auth
including configuration file /etc/raddb-testing/modules/detail
including configuration file /etc/raddb-testing/modules/krb5
including configuration file /etc/raddb-testing/modules/sradutmp
including configuration file /etc/raddb-testing/modules/opendirectory
including configuration file /etc/raddb-testing/modules/counter
including configuration file /etc/raddb-testing/modules/detail.example.com
including configuration file /etc/raddb-testing/modules/ippool
including configuration file /etc/raddb-testing/modules/expiration
including configuration file /etc/raddb-testing/modules/dynamic_clients
including configuration file /etc/raddb-testing/modules/detail.log
including configuration file /etc/raddb-testing/modules/redis
including configuration file /etc/raddb-testing/modules/ldap
including configuration file /etc/raddb-testing/modules/unix
including configuration file /etc/raddb-testing/eap.conf
including configuration file /etc/raddb-testing/policy.conf
including files in directory /etc/raddb-testing/sites-enabled/
including configuration file /etc/raddb-testing/sites-enabled/status
including configuration file /etc/raddb-testing/sites-enabled/control-socket
including configuration file /etc/raddb-testing/sites-enabled/inner-tunnel
including configuration file /etc/raddb-testing/sites-enabled/default
including configuration file /etc/raddb-testing/sites-enabled/inner-tunnel-peap
main {
	user = "radiusd"
	group = "radiusd"
	allow_core_dumps = no
}
including dictionary file /etc/raddb-testing/dictionary
main {
	name = "radiusd"
	prefix = "/usr/local-test"
	localstatedir = "/usr/local-test/var"
	sbindir = "/usr/local-test/sbin"
	logdir = "/usr/local-test/var/log/radius"
	run_dir = "/usr/local-test/var/run/radiusd"
	libdir = "/usr/local-test/lib"
	radacctdir = "/usr/local-test/var/log/radius/radacct"
	hostname_lookups = no
	max_request_time = 30
	cleanup_delay = 5
	max_requests = 1024
	pidfile = "/usr/local-test/var/run/radiusd/radiusd.pid"
	checkrad = "/usr/local-test/sbin/checkrad"
	debug_level = 0
	proxy_requests = no
 log {
	stripped_names = yes
	auth = yes
	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 = 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 localhost {
	ipaddr = 127.0.0.1
	require_message_authenticator = no
	secret = "testing123"
	nastype = "other"
 }
 client 192.168.1.5 {
	require_message_authenticator = no
	secret = "testing123"
	shortname = "spectrum.sarlanga.edu"
 }
 client 10.129.100.1 {
	require_message_authenticator = no
	secret = "sarlangalad0-Red-3-winnie"
	shortname = "AP-PI-PB"
 }
 client 10.129.10.1 {
	require_message_authenticator = no
	secret = "sarlangalad0-Red-3-winnie"
	shortname = "AP-PI-SS"
 }
 client 10.129.11.1 {
	require_message_authenticator = no
	secret = "sarlangalad0-Red-3-winnie"
	shortname = "AP-PI-1"
 }
 client 10.129.111.1 {
	require_message_authenticator = no
	secret = "sarlangalad0-Red-3-winnie"
	shortname = "AP-PI-1"
 }
 client 10.129.12.1 {
	require_message_authenticator = no
	secret = "sarlangalad0-Red-3-winnie"
	shortname = "AP-PI-2"
 }
 client 10.129.13.1 {
	require_message_authenticator = no
	secret = "sarlangalad0-Red-3-winnie"
	shortname = "AP-PI-3"
 }
 client 10.129.14.1 {
	require_message_authenticator = no
	secret = "sarlangalad0-Red-3-winnie"
	shortname = "AP-PI-4"
 }
 client 10.129.199.1 {
	require_message_authenticator = no
	secret = "sarlangalad0-Red-398952"
	shortname = "PIVOT-LINKSYS"
 }
 client 10.129.200.1 {
	require_message_authenticator = no
	secret = "sarlangalad0-Red-398952"
	shortname = "PIVOT-TPLINK"
 }
 client 10.129.254.1 {
	require_message_authenticator = no
	secret = "sarlangalad0-Red-398952"
	shortname = "Transitional"
 }
 client 10.129.15.1 {
	require_message_authenticator = no
	secret = "sarlangalad0-Red-3-winnie"
	shortname = "AP-PI-5"
 }
 client 10.129.16.1 {
	require_message_authenticator = no
	secret = "sarlangalad0-Red-3-winnie"
	shortname = "AP-PI-6"
 }
 client 10.129.17.1 {
	require_message_authenticator = no
	secret = "sarlangalad0-Red-3-winnie"
	shortname = "AP-PI-7"
 }
 client 10.129.60.1 {
	require_message_authenticator = no
	secret = "sarlangalad0-Red-398952"
	shortname = "AP-Sociales-0"
 }
 client 10.129.61.1 {
	require_message_authenticator = no
	secret = "sarlangalad0-Red-398952"
	shortname = "AP-Sociales-I"
 }
 client 10.129.62.1 {
	require_message_authenticator = no
	secret = "sarlangalad0-Red-398952"
	shortname = "AP-Sociales-I"
 }
 client 10.129.158.1 {
	require_message_authenticator = no
	secret = "sarlangalad0-Red-398952"
	shortname = "AP-Leaks-SS"
 }
 client 10.129.80.1 {
	require_message_authenticator = no
	secret = "sarlangalad0-Red-398952"
	shortname = "AP-Leaks-PB"
 }
 client 10.129.180.1 {
	require_message_authenticator = no
	secret = "sarlangalad0-Red-398952"
	shortname = "AP-Leaks-PB-SUM"
 }
 client 10.128.255.81 {
	require_message_authenticator = no
	secret = "sarlangalad0-Red-398952"
	shortname = "AP-Leaks-I"
 }
 client 10.129.81.1 {
	require_message_authenticator = no
	secret = "sarlangalad0-Red-398952"
	shortname = "AP-Leaks-I"
 }
 client 10.128.255.82 {
	require_message_authenticator = no
	secret = "sarlangalad0-Red-398952"
	shortname = "AP-Leaks-II"
 }
 client 10.129.82.1 {
	require_message_authenticator = no
	secret = "sarlangalad0-Red-398952"
	shortname = "AP-Leaks-II"
 }
 client 10.128.250.1 {
	require_message_authenticator = no
	secret = "sarlangalad0-Red-398952"
	shortname = "AP-Leaks-Bridge"
 }
 client 10.128.255.172 {
	require_message_authenticator = no
	secret = "sarlangalad0-Red-398952"
	shortname = "AP-Leaks-I_bis_test"
 }
 client 10.128.255.83 {
	require_message_authenticator = no
	secret = "sarlangalad0-Red-398952"
	shortname = "AP-Leaks-III"
 }
 client 10.129.83.1 {
	require_message_authenticator = no
	secret = "sarlangalad0-Red-398952"
	shortname = "AP-Leaks-III"
 }
 client 10.129.183.1 {
	require_message_authenticator = no
	secret = "sarlangalad0-Red-398952"
	shortname = "AP-Leaks-III"
 }
 client 10.129.84.1 {
	require_message_authenticator = no
	secret = "sarlangalad0-Red-398952"
	shortname = "AP-Leaks-IV"
 }
 client 10.129.184.1 {
	require_message_authenticator = no
	secret = "sarlangalad0-Red-398952"
	shortname = "AP-Leaks-IV-Bis"
 }
 client 10.129.194.1 {
	require_message_authenticator = no
	secret = "sarlangalad0-Red-398952"
	shortname = "AP-Leaks-IV-Bis-2"
 }
 client 10.128.255.181 {
	require_message_authenticator = no
	secret = "sarlangalad0-Red-398952"
	shortname = "AP-Leaks-I_bis"
 }
 client 10.129.181.1 {
	require_message_authenticator = no
	secret = "sarlangalad0-Red-398952"
	shortname = "AP-Leaks-I_bis"
 }
 client 10.129.162.1 {
	require_message_authenticator = no
	secret = "sarlangalad0-Red-398952"
	shortname = "AP-Leaks-I_bis_2"
 }
 client 10.128.255.86 {
	require_message_authenticator = no
	secret = "sarlangalad0-Red-398952"
	shortname = "AP-Leaks-VI"
 }
 client 10.129.86.1 {
	require_message_authenticator = no
	secret = "sarlangalad0-Red-398952"
	shortname = "AP-Leaks-VI"
 }
 client 10.128.255.87 {
	require_message_authenticator = no
	secret = "sarlangalad0-Red-398952"
	shortname = "AP-Leaks-VII"
 }
 client 10.129.87.1 {
	require_message_authenticator = no
	secret = "sarlangalad0-Red-398952"
	shortname = "AP-Leaks-VII"
 }
 client 10.129.187.1 {
	require_message_authenticator = no
	secret = "sarlangalad0-Red-398952"
	shortname = "AP-Leaks-VII-Derecho"
 }
 client 10.129.99.1 {
	require_message_authenticator = no
	secret = "sarlangalad0-Red-398952"
	shortname = "AP-Leaks-Pivot"
 }
 client 10.129.52.1 {
	require_message_authenticator = no
	secret = "sarlangalad0-Red-398952"
	shortname = "AP-PV-PB"
 }
 client 10.128.255.85 {
	require_message_authenticator = no
	secret = "sarlangalad0-Red-398952"
	shortname = "AP-Leaks-V"
 }
 client 10.129.85.1 {
	require_message_authenticator = no
	secret = "sarlangalad0-Red-398952"
	shortname = "AP-Leaks-V"
 }
 client 10.129.189.1 {
	require_message_authenticator = no
	secret = "sarlangalad0-Red-398952"
	shortname = "AP-Leaks-IX-HD"
 }
 client 10.129.88.1 {
	require_message_authenticator = no
	secret = "sarlangalad0-Red-398952"
	shortname = "AP-Leaks-VIII"
 }
 client 10.129.89.1 {
	require_message_authenticator = no
	secret = "sarlangalad0-Red-398952"
	shortname = "oficina-test"
 }
 client 10.129.160.1 {
	require_message_authenticator = no
	secret = "sarlangalad0-Red-398952"
	shortname = "AP-Sociales-Auditorio"
 }
 client 10.129.182.1 {
	require_message_authenticator = no
	secret = "sarlangalad0-Red-398952"
	shortname = "AP-Leaks-X"
 }
 client 192.168.2.53 {
	require_message_authenticator = no
	secret = "akantilad0-Green-22"
	shortname = "sarlanga3"
 }
 client 192.168.45 {
	require_message_authenticator = no
	secret = "sarlangalad0-black-54"
	shortname = "sarlanga4"
 }
 client 192.168.3.201 {
	require_message_authenticator = no
	secret = "sarlangalad0-blue-246692"
	shortname = "sarlanga7"
 }
 client 192.168.4 {
	require_message_authenticator = no
	secret = "Zarag0Za-Muppet5-32"
	shortname = "AP-sarlanga7"
 }
 client 192.168.142.240 {
	require_message_authenticator = no
	secret = "sarlangalad0-Red-398952"
	shortname = "AP-Cabre-1"
 }
 client 192.168.142.241 {
	require_message_authenticator = no
	secret = "sarlangalad0-Red-398952"
	shortname = "AP-Cabre-2"
 }
 client 192.168.142.242 {
	require_message_authenticator = no
	secret = "sarlangalad0-Red-398952"
	shortname = "AP-Cabre-3"
 }
radiusd: #### Instantiating modules ####
 instantiate {
 Module: Linked to module rlm_exec
 Module: Instantiating module "exec" from file /etc/raddb-testing/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-testing/modules/expr
 Module: Linked to module rlm_expiration
 Module: Instantiating module "expiration" from file
/etc/raddb-testing/modules/expiration
  expiration {
	reply-message = "Password Has Expired  "
  }
 Module: Linked to module rlm_logintime
 Module: Instantiating module "logintime" from file
/etc/raddb-testing/modules/logintime
  logintime {
	reply-message = "You are calling outside your allowed timespan  "
	minimum-timeout = 60
  }
 }
radiusd: #### Loading Virtual Servers ####
server { # from file /etc/raddb-testing/radiusd.conf
 modules {
  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-testing/modules/pap
  pap {
	encryption_scheme = "auto"
	auto_header = yes
  }
 Module: Linked to module rlm_chap
 Module: Instantiating module "chap" from file /etc/raddb-testing/modules/chap
 Module: Linked to module rlm_mschap
 Module: Instantiating module "mschap" from file
/etc/raddb-testing/modules/mschap
  mschap {
	use_mppe = yes
	require_encryption = no
	require_strong = no
	with_ntdomain_hack = no
	allow_retry = yes
  }
 Module: Linked to module rlm_pam
 Module: Instantiating module "pam" from file /etc/raddb-testing/modules/pam
  pam {
	pam_auth = "radiusd"
  }
 Module: Linked to module rlm_unix
 Module: Instantiating module "unix" from file /etc/raddb-testing/modules/unix
  unix {
	radwtmp = "/usr/local-test/var/log/radius/radwtmp"
  }
 Module: Linked to module rlm_eap
 Module: Instantiating module "eap" from file /etc/raddb-testing/eap.conf
  eap {
	default_eap_type = "md5"
	timer_expire = 600
	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 = "/etc/pki/tls/certs/ips-spectrum-key.pem"
	certificate_file = "/etc/pki/tls/certs/spectrum.sarlanga.edu.cer"
	CA_file = "/etc/pki/tls/certs/IPS-IPSCABUNDLE.crt"
	dh_file = "/etc/raddb-testing/certs/dh"
	random_file = "/etc/raddb-testing/certs/random"
	fragment_size = 1024
	include_length = yes
	check_crl = no
	cipher_list = "DEFAULT"
    cache {
	enable = yes
	lifetime = 6
	max_entries = 255
    }
    verify {
    }
    ocsp {
	enable = no
	override_cert_url = yes
	url = "http://127.0.0.1/ocsp/"
    }
   }
 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"
	soh = no
   }
 Module: Linked to sub-module rlm_eap_mschapv2
 Module: Instantiating eap-mschapv2
   mschapv2 {
	with_ntdomain_hack = no
	send_error = yes
   }
 Module: Checking authorize {...} for more modules to load
 Module: Linked to module rlm_preprocess
 Module: Instantiating module "preprocess" from file
/etc/raddb-testing/modules/preprocess
  preprocess {
	huntgroups = "/etc/raddb-testing/huntgroups"
	hints = "/etc/raddb-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
  }
 Module: Linked to module rlm_detail
 Module: Instantiating module "auth_log" from file
/etc/raddb-testing/modules/detail.log
  detail auth_log {
	detailfile = "/usr/local-test/var/log/radius/radacct/requests/%{Client-IP-Address}/auth-detail-%{NAS-Identifier}-%{%{Virtual-Server}:-DEFAULT}-%Y%m%d"
	header = "%t"
	detailperm = 384
	dirperm = 493
	locking = no
	log_packet_header = no
  }
 Module: Linked to module rlm_realm
 Module: Instantiating module "suffix" from file
/etc/raddb-testing/modules/realm
  realm suffix {
	format = "suffix"
	delimiter = "@"
	ignore_default = no
	ignore_null = no
  }
 Module: Linked to module rlm_files
 Module: Instantiating module "files" from file /etc/raddb-testing/modules/files
  files {
	usersfile = "/etc/raddb-testing/users"
	acctusersfile = "/etc/raddb-testing/acct_users"
	preproxy_usersfile = "/etc/raddb-testing/preproxy_users"
	compat = "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-testing/modules/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: Instantiating module "detail" from file
/etc/raddb-testing/modules/detail
  detail {
	detailfile = "/usr/local-test/var/log/radius/radacct/%{Client-IP-Address}/detail-%Y%m%d"
	header = "%t"
	detailperm = 384
	dirperm = 493
	locking = no
	log_packet_header = yes
  }
 Module: Linked to module rlm_radutmp
 Module: Instantiating module "radutmp" from file
/etc/raddb-testing/modules/radutmp
  radutmp {
	filename = "/usr/local-test/var/log/radius/radutmp"
	username = "%{User-Name}"
	case_sensitive = yes
	check_with_nas = yes
	perm = 384
	callerid = yes
  }
 Module: Linked to module rlm_attr_filter
 Module: Instantiating module "attr_filter.accounting_response" from
file /etc/raddb-testing/modules/attr_filter
  attr_filter attr_filter.accounting_response {
	attrsfile = "/etc/raddb-testing/attrs.accounting_response"
	key = "%{User-Name}"
	relaxed = no
  }
 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
 Module: Linked to module rlm_linelog
 Module: Instantiating module "linelog" from file
/etc/raddb-testing/modules/linelog
  linelog {
	filename = "/usr/local-test/var/log/radius/linelog"
	permissions = 384
	format = "%{Packet-Type} %{reply:Packet-Type} %{User-Name}
%{EAP-Type:-PAP} %{NAS-IP-Address} %{NAS-Identifier}"
  }
 Module: Instantiating module "reply_log" from file
/etc/raddb-testing/modules/detail.log
  detail reply_log {
	detailfile = "/usr/local-test/var/log/radius/radacct/replies/%{Client-IP-Address}/reply-detail-%{%{Virtual-Server}:-DEFAULT}-%Y%m%d"
	header = "%t"
	detailperm = 384
	dirperm = 493
	locking = no
	log_packet_header = no
  }
 Module: Instantiating module "attr_filter.access_reject" from file
/etc/raddb-testing/modules/attr_filter
  attr_filter attr_filter.access_reject {
	attrsfile = "/etc/raddb-testing/attrs.access_reject"
	key = "%{User-Name}"
	relaxed = no
  }
 } # modules
} # server
server status { # from file /etc/raddb-testing/sites-enabled/status
 modules {
  Module: Creating Autz-Type = Status-Server
 Module: Checking authorize {...} for more modules to load
 Module: Linked to module rlm_always
 Module: Instantiating module "ok" from file /etc/raddb-testing/modules/always
  always ok {
	rcode = "ok"
	simulcount = 0
	mpp = no
  }
 } # modules
} # server
server inner-tunnel { # from file /etc/raddb-testing/sites-enabled/inner-tunnel
 modules {
  Module: Creating Auth-Type = LDAP
 Module: Checking authenticate {...} for more modules to load
 Module: Linked to module rlm_ldap
 Module: Instantiating module "ldap" from file /etc/raddb-testing/modules/ldap
  ldap {
	server = "ldap.sarlanga.edu"
	port = 636
	password = "sarlanga"
	identity = "cn=freeradius,ou=applications,dc=sarlanga,dc=edu"
	net_timeout = 10
	timeout = 120
	timelimit = 30
	tls_mode = no
	start_tls = no
	tls_require_cert = "allow"
   tls {
	start_tls = no
	cacertfile = "/etc/raddb-testing/cacert.pem"
	randfile = "/dev/urandom"
	require_cert = "demand"
   }
	basedn = "ou=people,dc=sarlanga,dc=edu"
	filter = "(uid=%u)"
	base_filter = "(objectclass=radiusprofile)"
	auto_header = no
	access_attr = "radiusAllowed"
	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-testing/ldap.attrmap"
	ldap_debug = 40
	ldap_connections_number = 15
	compare_check_items = no
	do_xlat = yes
	set_auth_type = yes
   keepalive {
	interval = 3
   }
  }
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-testing/ldap.attrmap
rlm_ldap: LDAP radiusCheckItem mapped to RADIUS $GENERIC$
rlm_ldap: LDAP radiusReplyItem mapped to RADIUS $GENERIC$
rlm_ldap: LDAP radiusPassword mapped to RADIUS Cleartext-Password
rlm_ldap: LDAP radiusAuthType mapped to RADIUS Auth-Type
rlm_ldap: LDAP radiusSimultaneousUse mapped to RADIUS Simultaneous-Use
rlm_ldap: LDAP radiusCalledStationId mapped to RADIUS Called-Station-Id
rlm_ldap: LDAP radiusCallingStationId mapped to RADIUS Calling-Station-Id
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 radiusNASIpAddress mapped to RADIUS NAS-IP-Address
rlm_ldap: LDAP radiusServiceType mapped to RADIUS Service-Type
rlm_ldap: LDAP radiusFramedProtocol mapped to RADIUS Framed-Protocol
rlm_ldap: LDAP radiusFramedIPAddress mapped to RADIUS Framed-IP-Address
rlm_ldap: LDAP radiusFramedIPNetmask mapped to RADIUS Framed-IP-Netmask
rlm_ldap: LDAP radiusFramedRoute mapped to RADIUS Framed-Route
rlm_ldap: LDAP radiusFramedRouting mapped to RADIUS Framed-Routing
rlm_ldap: LDAP radiusFilterId mapped to RADIUS Filter-Id
rlm_ldap: LDAP radiusFramedMTU mapped to RADIUS Framed-MTU
rlm_ldap: LDAP radiusFramedCompression mapped to RADIUS Framed-Compression
rlm_ldap: LDAP radiusLoginIPHost mapped to RADIUS Login-IP-Host
rlm_ldap: LDAP radiusLoginService mapped to RADIUS Login-Service
rlm_ldap: LDAP radiusLoginTCPPort mapped to RADIUS Login-TCP-Port
rlm_ldap: LDAP radiusCallbackNumber mapped to RADIUS Callback-Number
rlm_ldap: LDAP radiusCallbackId mapped to RADIUS Callback-Id
rlm_ldap: LDAP radiusFramedIPXNetwork mapped to RADIUS Framed-IPX-Network
rlm_ldap: LDAP radiusClass mapped to RADIUS Class
rlm_ldap: LDAP radiusSessionTimeout mapped to RADIUS Session-Timeout
rlm_ldap: LDAP radiusIdleTimeout mapped to RADIUS Idle-Timeout
rlm_ldap: LDAP radiusTerminationAction mapped to RADIUS Termination-Action
rlm_ldap: LDAP radiusLoginLATService mapped to RADIUS Login-LAT-Service
rlm_ldap: LDAP radiusLoginLATNode mapped to RADIUS Login-LAT-Node
rlm_ldap: LDAP radiusLoginLATGroup mapped to RADIUS Login-LAT-Group
rlm_ldap: LDAP radiusFramedAppleTalkLink mapped to RADIUS Framed-AppleTalk-Link
rlm_ldap: LDAP radiusFramedAppleTalkNetwork mapped to RADIUS
Framed-AppleTalk-Network
rlm_ldap: LDAP radiusFramedAppleTalkZone mapped to RADIUS Framed-AppleTalk-Zone
rlm_ldap: LDAP radiusPortLimit mapped to RADIUS Port-Limit
rlm_ldap: LDAP radiusLoginLATPort mapped to RADIUS Login-LAT-Port
rlm_ldap: LDAP radiusReplyMessage mapped to RADIUS Reply-Message
rlm_ldap: LDAP radiusTunnelType mapped to RADIUS Tunnel-Type
rlm_ldap: LDAP radiusTunnelMediumType mapped to RADIUS Tunnel-Medium-Type
rlm_ldap: LDAP radiusTunnelPrivateGroupId mapped to RADIUS
Tunnel-Private-Group-Id
conns: 0x6cb0ac0
 Module: Checking authorize {...} for more modules to load
 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
server inner-tunnel-peap { # from file
/etc/raddb-testing/sites-enabled/inner-tunnel-peap
 modules {
 Module: Checking authenticate {...} for more modules to load
 Module: Checking authorize {...} for more modules to load
 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 = 192.168.1.5
	port = 0
}
listen {
	type = "acct"
	ipaddr = 192.168.1.5
	port = 0
}
listen {
	type = "control"
 listen {
	socket = "/usr/local-test/var/run/radiusd/radiusd.sock"
 }
}
listen {
	type = "status"
	ipaddr = 127.0.0.1
	port = 18120
  client admin {
	ipaddr = 127.0.0.1
	require_message_authenticator = no
	secret = "YellowSubmarine"
  }
}
listen {
	type = "auth"
	ipaddr = 127.0.0.1
	port = 18121
}
Listening on authentication address 192.168.1.5 port 1812
Listening on accounting address 192.168.1.5 port 1813
Listening on command file /usr/local-test/var/run/radiusd/radiusd.sock
Listening on status address 127.0.0.1 port 18120 as server status
Listening on authentication address 127.0.0.1 port 18121 as server inner-tunnel
Ready to process requests.

any ideas?
-- 
--
Sergio Belkin  http://www.sergiobelkin.com
Watch More TV http://sebelk.blogspot.com
LPIC-2 Certified - http://www.lpi.org


More information about the Freeradius-Users mailing list