FreeRADIUS 1.0.4: SEGMENTATION FAULT

BugBuster bugbuster at libero.it
Tue Aug 23 18:17:38 CEST 2005


Hi all

I'm facing a strange behaviour with Freeradius.
The daemon starts and is able to authenticate
accounts specified in the 'raddb/users' file.

But if I uncomment the sql directive in the 'authorize' section 
(radius.conf), the deamon does not start:

        radius3:/usr/local/freeradius#
        radius3:/usr/local/freeradius# sbin/rc.radiusd start
        Starting FreeRADIUS:Tue Aug 23 17:54:52 2005 : Info: Starting -
	 reading configuration files ...

        (I have to press ^C to stop the rc script)

Running FreeRADIUS in debug mode (radiusd -sfxxyz -l stdout)
I get the "Segmentation fault" message (more details is in .txt attachment).

Background information

- MySQL (v.  4.0.24):
  the mysql user 'radius' is able to connect to localhost'
  and has INSERT, SELECT, DELETE, UPDATE privileges

- OS: 
  Debian Linux 3.1 (sarge), kernel 2.6.8-2-686-smp

- gcc -v: 
  3.3.5

-  configuration command:
        ./configure --prefix=/usr/local/freeradius \  
         --with-logdir=/usr/local/freeradius/logs\ 
        --with-radacctdir=/usr/local/freeradius/logs\ 
        --with-raddbdir=/usr/local/freeradius/raddb  --with-threads\ 
        --with-ascend-binary \
        --disable-shared \
        --enable-developer

- gdb radiusd:
  ..
  Program received signal SIGSEGV, Segmentation fault.
  [Switching to Thread 1076783616 (LWP 9291)]
  0x080902ce in lt_dlsym (handle=0x815afc8, symbol=0x8159928 "rlm_sql_mysql")
   at ltdl.c:3330
   3330      lensym = LT_STRLEN (symbol) + LT_STRLEN
(handle->loader->sym_prefix)

- /etc/hosts:
  has entries for both 'localhost' and the Internet host name.

- strace radiusd: 

   See radtrace-1.txt

   Note the message

        open("/usr/local/freeradius/lib/rlm_sql_mysql.la", O_RDONLY) = -1 
ENOENT 
        (No such file or directory)

   In fact I can't find any 'rlm_sql_mysql.la'  file.

No change removing the '--disable-shared' option.

I'm new to FreeRADIUS and so I suspect a misconfiguration.

Thanks in advance.

Ciao,
Davide
-------------- next part --------------
Starting - reading configuration files ...
reread_config:  reading radiusd.conf
Config:   including file: /usr/local/freeradius/raddb/clients.conf
Config:   including file: /usr/local/freeradius/raddb/sql.conf
 main: prefix = "/usr/local/freeradius/"
 main: localstatedir = "/usr/local/freeradius//var"
 main: logdir = "/usr/local/freeradius/logs"
 main: libdir = "/usr/local/freeradius//lib"
 main: radacctdir = "/usr/local/freeradius/logs"
 main: hostname_lookups = yes
 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/freeradius/logs/radius.log"
 main: log_auth = yes
 main: log_auth_badpass = yes
 main: log_auth_goodpass = no
 main: pidfile = "/usr/local/freeradius//var/run/radiusd/radiusd.pid"
 main: user = "freerad"
 main: group = "freerad"
 main: usercollide = no
 main: lower_user = "no"
 main: lower_pass = "no"
 main: nospace_user = "before"
 main: nospace_pass = "no"
 main: checkrad = "/usr/local/freeradius//sbin/checkrad"
 main: proxy_requests = no
 security: max_attributes = 200
 security: reject_delay = 1
 security: status_server = yes
 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
read_config_files:  reading realms
radiusd:  entering modules setup
Module: Library search path is /usr/local/freeradius/lib
Module: Loaded PAP
 pap: encryption_scheme = "md5"
Module: Instantiated pap (pap)
Module: Loaded CHAP
Module: Instantiated chap (chap)
Module: Loaded preprocess
 preprocess: huntgroups = "/usr/local/freeradius/raddb/huntgroups"
 preprocess: hints = "/usr/local/freeradius/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 detail
 detail: detailfile = "/usr/local/freeradius/logs/cert-%Y%m%d.log"
 detail: detailperm = 384
 detail: dirperm = 493
 detail: locking = no
Module: Instantiated detail (auth_log)
Module: Loaded SQL
 sql: driver = "rlm_sql_mysql"
 sql: server = "localhost"
 sql: port = "3306"
 sql: login = "radius"
 sql: password = "radius"
 sql: radius_db = "radius"
 sql: acct_table = "radacct"
 sql: acct_table2 = "radacct"
 sql: authcheck_table = "radcheck"
 sql: authreply_table = "radreply"
 sql: groupcheck_table = "radgroupcheck"
 sql: groupreply_table = "radgroupreply"
 sql: usergroup_table = "usergroup"
 sql: nas_table = "nas"
 sql: dict_table = "dictionary"
 sql: sqltrace = no
 sql: sqltracefile = "/usr/local/freeradius/logs/sqltrace.sql"
 sql: readclients = yes
 sql: deletestalesessions = yes
 sql: num_sql_socks = 5
 sql: sql_user_name = "%{User-Name}"
 sql: default_user_profile = ""
 sql: query_on_not_found = no
 sql: authorize_check_query = "SELECT id,UserName,Attribute,Value,op FROM radcheck WHERE Username = '%{SQL-User-Name}' ORDER BY id"
 sql: authorize_reply_query = "SELECT id,UserName,Attribute,Value,op FROM radreply WHERE Username = '%{SQL-User-Name}' ORDER BY id"
 sql: authorize_group_check_query = "SELECT radgroupcheck.id,radgroupcheck.GroupName,radgroupcheck.Attribute,radgroupcheck.Value,radgroupcheck.op  FROM radgroupcheck,usergroup WHERE usergroup.Username = '%{SQL-User-Name}' AND usergroup.GroupName =radgroupcheck.GroupName ORDER BY radgroupcheck.id"
 sql: authorize_group_reply_query = "SELECT radgroupreply.id,radgroupreply.GroupName,radgroupreply.Attribute,radgroupreply.Value,radgroupreply.op  FROM radgroupreply,usergroup WHERE usergroup.Username = '%{SQL-User-Name}' AND usergroup.GroupName =radgroupreply.GroupName ORDER BY radgroupreply.id"
 sql: accounting_onoff_query = "UPDATE radacct SET AcctStopTime='%S', AcctSessionTime=unix_timestamp('%S') - unix_timestamp(AcctStartTime), AcctTerminateCause='%{Acct-Terminate-Cause}', AcctStopDelay = '%{Acct-Delay-Time}' WHERE AcctSessionTime=0 AND AcctStopTime=0 AND NASIPAddress= '%{NAS-IP-Address}' AND AcctStartTime <= '%S'"
 sql: accounting_update_query = "UPDATE radacct ? SET FramedIPAddress = '%{Framed-IP-Address}', ? AcctSessionTime = '%{Acct-Session-Time}', ? AcctInputOctets = '%{Acct-Input-Octets}', ? AcctOutputOctets = '%{Acct-Output-Octets}' ? WHERE AcctSessionId = '%{Acct-Session-Id}' ? AND UserName = '%{SQL-User-Name}' ? AND NASIPAddress= '%{NAS-IP-Address}'"
 sql: accounting_update_query_alt = "INSERT into radacct (AcctSessionId, AcctUniqueId, UserName, Realm, NASIPAddress, NASPortId, NASPortType, AcctStartTime, AcctSessionTime, AcctAuthentic, ConnectInfo_start, AcctInputOctets, AcctOutputOctets, CalledStationId, CallingStationId, ServiceType, FramedProtocol, FramedIPAddress, AcctStartDelay) values('%{Acct-Session-Id}', '%{Acct-Unique-Session-Id}', '%{SQL-User-Name}', '%{Realm}', '%{NAS-IP-Address}', '%{NAS-Port}', '%{NAS-Port-Type}', DATE_SUB('%S',INTERVAL (%{Acct-Session-Time:-0} + %{Acct-Delay-Time:-0}) SECOND), '%{Acct-Session-Time}', '%{Acct-Authentic}', '', '%{Acct-Input-Octets}', '%{Acct-Output-Octets}', '%{Called-Station-Id}', '%{Calling-Station-Id}', '%{Service-Type}', '%{Framed-Protocol}', '%{Framed-IP-Address}', '0')"
 sql: accounting_start_query = "INSERT into radacct (AcctSessionId, AcctUniqueId, UserName, Realm, NASIPAddress, NASPortId,NASPortType, AcctStartTime, AcctStopTime, AcctSessionTime, AcctAuthentic, ConnectInfo_start, ConnectInfo_stop, AcctInputOctets, AcctOutputOctets, CalledStationId, CallingStationId, AcctTerminateCause, ServiceType, FramedProtocol, FramedIPAddress, AcctStartDelay, AcctStopDelay) values('%{Acct-Session-Id}', '%{Acct-Unique-Session-Id}', '%{SQL-User-Name}', '%{Realm}', '%{NAS-IP-Address}', '%{NAS-Port}', '%{NAS-Port-Type}', '%S', '0', '0', '%{Acct-Authentic}', '%{Connect-Info}', '', '0', '0', '%{Called-Station-Id}', '%{Calling-Station-Id}', '', '%{Service-Type}', '%{Framed-Protocol}', '%{Framed-IP-Address}', '%{Acct-Delay-Time}', '0')"
 sql: accounting_start_query_alt = "UPDATE radacct SET AcctStartTime = '%S', AcctStartDelay = '%{Acct-Delay-Time}', ConnectInfo_start = '%{Connect-Info}' WHERE AcctSessionId = '%{Acct-Session-Id}' AND UserName = '%{SQL-User-Name}' AND NASIPAddress= '%{NAS-IP-Address}'"
 sql: accounting_stop_query = "UPDATE radacct SET AcctStopTime = '%S', AcctSessionTime = '%{Acct-Session-Time}', AcctInputOctets = '%{Acct-Input-Octets}', AcctOutputOctets = '%{Acct-Output-Octets}', AcctTerminateCause = '%{Acct-Terminate-Cause}', AcctStopDelay = '%{Acct-Delay-Time}', ConnectInfo_stop = '%{Connect-Info}' WHERE AcctSessionId = '%{Acct-Session-Id}' AND UserName = '%{SQL-User-Name}' AND NASIPAddress = '%{NAS-IP-Address}'"
 sql: accounting_stop_query_alt = "INSERT into radacct (AcctSessionId, AcctUniqueId, UserName, Realm, NASIPAddress, NASPortId, NASPortType, AcctStartTime, AcctStopTime, AcctSessionTime, AcctAuthentic, ConnectInfo_start, ConnectInfo_stop, AcctInputOctets, AcctOutputOctets, CalledStationId, CallingStationId, AcctTerminateCause, ServiceType, FramedProtocol, FramedIPAddress, AcctStartDelay, AcctStopDelay) values('%{Acct-Session-Id}', '%{Acct-Unique-Session-Id}', '%{SQL-User-Name}', '%{Realm}', '%{NAS-IP-Address}', '%{NAS-Port}', '%{NAS-Port-Type}', DATE_SUB('%S', INTERVAL (%{Acct-Session-Time:-0} + %{Acct-Delay-Time:-0}) SECOND), '%S', '%{Acct-Session-Time}', '%{Acct-Authentic}', '', '%{Connect-Info}', '%{Acct-Input-Octets}', '%{Acct-Output-Octets}', '%{Called-Station-Id}', '%{Calling-Station-Id}', '%{Acct-Terminate-Cause}', '%{Service-Type}', '%{Framed-Protocol}', '%{Framed-IP-Address}', '0', '%{Acct-Delay-Time}')"
 sql: group_membership_query = "SELECT GroupName FROM usergroup WHERE UserName='%{SQL-User-Name}'"
 sql: connect_failure_retry_delay = 60
 sql: simul_count_query = ""
 sql: simul_verify_query = "SELECT RadAcctId, AcctSessionId, UserName, NASIPAddress, NASPortId, FramedIPAddress, CallingStationId, FramedProtocol FROM radacct WHERE UserName='%{SQL-User-Name}' AND AcctStopTime = 0"
 sql: postauth_table = "radpostauth"
 sql: postauth_query = "INSERT into radpostauth (id, user, pass, reply, date) values ('', '%{User-Name}', '%{User-Password:-Chap-Password}', '%{reply:Packet-Type}', NOW())"
 sql: safe-characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /"
Segmentation fault
-------------- next part --------------
##
## radiusd.conf	-- FreeRADIUS server configuration file.
##

prefix = /usr/local/freeradius/
exec_prefix = ${prefix}
sysconfdir = ${prefix}/etc
localstatedir = ${prefix}/var
sbindir = ${exec_prefix}/sbin
logdir = /usr/local/freeradius/logs
raddbdir = /usr/local/freeradius/raddb
radacctdir = /usr/local/freeradius/logs


confdir = ${raddbdir}
run_dir = ${localstatedir}/run/radiusd


log_file = ${logdir}/radius.log


libdir = ${exec_prefix}/lib

pidfile = ${run_dir}/radiusd.pid

user = freerad
group = freerad

max_request_time = 30
delete_blocked_requests = no
cleanup_delay = 5
max_requests = 1024
bind_address = *
port = 0

hostname_lookups = yes

allow_core_dumps = no

regular_expressions	= yes
extended_expressions	= yes

log_stripped_names = no

log_auth = yes

log_auth_badpass = yes
log_auth_goodpass = no

usercollide = no

lower_user = no
lower_pass = no

nospace_user = before
nospace_pass = no

checkrad = ${sbindir}/checkrad

# SECURITY CONFIGURATION
#
security {

	max_attributes = 200

	reject_delay = 1

	status_server = yes
}

# PROXY CONFIGURATION
#
proxy_requests  = no


# CLIENTS CONFIGURATION
#
$INCLUDE  ${confdir}/clients.conf


# SNMP CONFIGURATION
#
snmp	= no


# THREAD POOL CONFIGURATION
#
thread pool {

	start_servers = 5

	max_servers = 32

	min_spare_servers = 3
	max_spare_servers = 10

	max_requests_per_server = 0
}

# MODULE CONFIGURATION
#
modules {

	pap {
		encryption_scheme = md5
	}

	chap {
		authtype = CHAP
	}




	preprocess {

		huntgroups = ${confdir}/huntgroups
		hints = ${confdir}/hints

		with_ascend_hack = no
		ascend_channels_per_line = 23

		with_ntdomain_hack = no

		with_specialix_jetstream_hack = no

		with_cisco_vsa_hack = no
	}

	files {
		usersfile = ${confdir}/users
		acctusersfile = ${confdir}/acct_users
		preproxy_usersfile = ${confdir}/preproxy_users

		#  don't want to use the old Cistron 'users' file
		compat = no
	}

	detail {

		detailfile = ${radacctdir}/acct-%Y%m%d.log

		detailperm = 0600
	}

	detail auth_log {

		detailfile = ${radacctdir}/cert-%Y%m%d.log

	 	detailperm = 0600
	}


	acct_unique {
		key = "User-Name, Acct-Session-Id, NAS-IP-Address, Client-IP-Address, NAS-Port"
	}



	$INCLUDE  ${confdir}/sql.conf

	radutmp {

		filename = ${logdir}/radutmp

		username = %{User-Name}

		case_sensitive = yes
		
		check_with_nas = yes		
		
		perm = 0600

		callerid = "yes"
	}

	radutmp sradutmp {
		filename = ${logdir}/sradutmp
		perm = 0644
		callerid = "no"
	}

	attr_filter {
		attrsfile = ${confdir}/attrs
	}


	counter daily {
		filename = ${raddbdir}/db.daily
		key = User-Name
		count-attribute = Acct-Session-Time
		reset = daily
		counter-name = Daily-Session-Time
		check-name = Max-Daily-Session
		allowed-servicetype = Framed-User
		cache-size = 5000
	}


	always fail {
		rcode = fail
	}
	always reject {
		rcode = reject
	}
	always ok {
		rcode = ok
		simulcount = 0
		mpp = no
	}


	expr {
	}

	digest {
	}


	exec echo {

		wait = yes

		program = "/bin/echo %{User-Name}"

		input_pairs = request


		output_pairs = reply

	}

}



authorize {

	preprocess

	auth_log
	
	chap

	sql

        files
}



authenticate {

	Auth-Type PAP {
		pap
	}

	Auth-Type CHAP {
		chap
	}
}



preacct {
	preprocess

	acct_unique
}


accounting {

	detail

	radutmp
}


session {
	radutmp
}


#  Post-Authentication
#  Once we KNOW that the user has been authenticated, there are
#  additional steps we can take.
post-auth {

}


pre-proxy {

	files
}


post-proxy {
}
-------------- next part --------------
execve("sbin/radiusd", ["sbin/radiusd", "-d", "raddb/"], [/* 13 vars */]) = 0
uname({sys="Linux", node="radius3.net24.it", ...}) = 0
brk(0)                                  = 0x80af000
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40017000
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=12050, ...}) = 0
old_mmap(NULL, 12050, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40018000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/cmov/libcrypto.so.0.9.7", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\300\2"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=1029672, ...}) = 0
old_mmap(NULL, 1043608, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4001b000
old_mmap(0x40105000, 73728, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xea000) = 0x40105000
old_mmap(0x40117000, 11416, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40117000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/cmov/libssl.so.0.9.7", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0\205\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=198576, ...}) = 0
old_mmap(NULL, 199344, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4011a000
old_mmap(0x40148000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x2e000) = 0x40148000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/tls/libcrypt.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360\t\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=18876, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4014b000
old_mmap(NULL, 181692, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4014c000
old_mmap(0x40151000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x4000) = 0x40151000
old_mmap(0x40152000, 157116, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40152000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/tls/libdl.so.2", O_RDONLY)   = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320\32"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=9872, ...}) = 0
old_mmap(NULL, 8632, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40179000
old_mmap(0x4017b000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x2000) = 0x4017b000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/tls/libnsl.so.1", O_RDONLY)  = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 <\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=73304, ...}) = 0
old_mmap(NULL, 80544, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4017c000
old_mmap(0x4018d000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x11000) = 0x4018d000
old_mmap(0x4018e000, 6816, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4018e000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/tls/libresolv.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220)\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=64924, ...}) = 0
old_mmap(NULL, 73640, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40190000
old_mmap(0x4019f000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xf000) = 0x4019f000
old_mmap(0x401a0000, 8104, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x401a0000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/tls/libpthread.so.0", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0pF\0\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=78233, ...}) = 0
old_mmap(NULL, 60772, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x401a2000
old_mmap(0x401ae000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xc000) = 0x401ae000
old_mmap(0x401af000, 7524, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x401af000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/tls/libc.so.6", O_RDONLY)    = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`Z\1\000"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1254468, ...}) = 0
old_mmap(NULL, 1264780, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x401b1000
old_mmap(0x402db000, 36864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x129000) = 0x402db000
old_mmap(0x402e4000, 7308, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x402e4000
close(3)                                = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402e6000
set_thread_area({entry_number:-1 -> 6, base_addr:0x402e6a00, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
munmap(0x40018000, 12050)               = 0
set_tid_address(0x402e6a48)             = 25600
rt_sigaction(SIGRTMIN, {0x401a65d0, [], SA_SIGINFO}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
brk(0)                                  = 0x80af000
brk(0x80d0000)                          = 0x80d0000
brk(0)                                  = 0x80d0000
getpid()                                = 25600
time(NULL)                              = 1124810365
open("/etc/localtime", O_RDONLY)        = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=951, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40018000
read(3, "TZif\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\6\0\0\0\6\0"..., 4096) = 951
close(3)                                = 0
munmap(0x40018000, 4096)                = 0
fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 1), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40018000
write(1, "Tue Aug 23 17:19:25 2005 : Info:"..., 76) = 76
open("raddb//radiusd.conf", O_RDONLY)   = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=25130, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40019000
read(3, "##\n## radiusd.conf\t-- FreeRADIUS"..., 4096) = 4096
open("/usr/local/freeradius/raddb/clients.conf", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0640, st_size=3021, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001a000
read(4, "#\n# clients.conf - client config"..., 4096) = 3021
read(4, "", 4096)                       = 0
close(4)                                = 0
munmap(0x4001a000, 4096)                = 0
read(3, "e = ${radacctdir}/cert-%Y%m%d.lo"..., 4096) = 4096
open("/usr/local/freeradius/raddb/sql.conf", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=13933, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001a000
read(4, "#\n#  Configuration for the SQL m"..., 4096) = 4096
read(4, " \'no\'.\n\t# \n\t#query_on_not_found "..., 4096) = 4096
read(4, " WHERE AcctSessionTime=0 AND Acc"..., 4096) = 4096
read(4, "ent connections for verification"..., 4096) = 1645
read(4, "", 4096)                       = 0
close(4)                                = 0
munmap(0x4001a000, 4096)                = 0
read(3, "Through = 1\n\t#\n\t#  You should ad"..., 4096) = 4096
read(3, "\n\t\t#  work.\n\t\t#\n\t\tprogram = \"/bi"..., 4096) = 4096
read(3, "ation.\n\t#\n\t#expr\n\n\t#\n\t# We add t"..., 4096) = 4096
read(3, "rver authenticating against\n\t#  "..., 4096) = 4096
read(3, "e\n\n\t#  Uncomment the following l"..., 4096) = 554
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x40019000, 4096)                = 0
open("raddb//dictionary", O_RDONLY)     = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=947, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40019000
read(3, "#\n#\tThis is the master dictionar"..., 4096) = 947
open("/usr/local/freeradius//share/freeradius/dictionary", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=24605, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001a000
read(4, "#\n# Version $Id: dictionary,v 1."..., 4096) = 4096
open("/usr/local/freeradius//share/freeradius/dictionary.compat", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=1593, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402e7000
read(5, "#\n#\tObsolete names for backwards"..., 4096) = 1593
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x402e7000, 4096)                = 0
open("/usr/local/freeradius//share/freeradius/dictionary.3com", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=608, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402e7000
read(5, "#\n#\t3com SuperStack Firewall dic"..., 4096) = 608
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x402e7000, 4096)                = 0
open("/usr/local/freeradius//share/freeradius/dictionary.3gpp", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=1176, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402e7000
read(5, "#\n#\t3GPP stuff.\n#\n#\tftp://ftp.3g"..., 4096) = 1176
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x402e7000, 4096)                = 0
open("/usr/local/freeradius//share/freeradius/dictionary.3gpp2", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=4349, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402e7000
read(5, "#\n#\t3GPP2 stuff.\n#\n#\thttp://www."..., 4096) = 4096
read(5, "\t3GPP2-DNS-Update-Capability\t95\t"..., 4096) = 253
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x402e7000, 4096)                = 0
open("/usr/local/freeradius//share/freeradius/dictionary.acc", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=11047, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402e7000
read(5, "#\n# dictionary.acc\n#\t\tDictionary"..., 4096) = 4096
read(5, "nternal-config-error\t\t33\nVALUE\t\t"..., 4096) = 4096
read(5, "infrmtion-element-contnt\t100\nVAL"..., 4096) = 2855
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x402e7000, 4096)                = 0
open("/usr/local/freeradius//share/freeradius/dictionary.alcatel", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=3602, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402e7000
read(5, "#\n# Alcatel Broadband Access Ser"..., 4096) = 3602
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x402e7000, 4096)                = 0
open("/usr/local/freeradius//share/freeradius/dictionary.alteon", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=452, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402e7000
read(5, "#\n#  dictionary.alteon\n#\n#\tAlteo"..., 4096) = 452
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x402e7000, 4096)                = 0
open("/usr/local/freeradius//share/freeradius/dictionary.ascend", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=47479, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402e7000
read(5, "#\n# Ascend dictionary.\n# $Id: di"..., 4096) = 4096
read(5, "-Attempt-Limit\t\t123\tinteger\nATTR"..., 4096) = 4096
read(5, "TE\tX-Ascend-IP-Direct\t\t\t209\tipad"..., 4096) = 4096
read(5, "ATTRIBUTE\tAscend-Filter-Required"..., 4096) = 4096
read(5, "Ascend-User-Acct-Port\t\t140\tinteg"..., 4096) = 4096
read(5, "ession\t\t233\tinteger\nATTRIBUTE\tAs"..., 4096) = 4096
read(5, "cend-Data-Svc\t\tSwitched-384KR\t\t5"..., 4096) = 4096
read(5, "VALUE\t\tAscend-DHCP-Reply\tDHCP-Re"..., 4096) = 4096
read(5, "s codes\nVALUE  Ascend-Connect-Pr"..., 4096) = 4096
brk(0)                                  = 0x80d0000
brk(0x80f1000)                          = 0x80f1000
read(5, "LUE\tAscend-Calling-Id-Number-Pla"..., 4096) = 4096
read(5, "eam-Limit\t\tadsldmt-up-768000\t155"..., 4096) = 4096
read(5, "ce-Type\t\tAscend-Service-Type-Raw"..., 4096) = 2423
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x402e7000, 4096)                = 0
open("/usr/local/freeradius//share/freeradius/dictionary.bay", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=11051, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402e7000
read(5, "#\n#\tBay Networks\n#\thttp://www.ba"..., 4096) = 4096
read(5, "x-System-Disc-Reason\t\tModem-down"..., 4096) = 4096
read(5, "\t77\n#VALUE\tAnnex-Connect-Progres"..., 4096) = 2859
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x402e7000, 4096)                = 0
open("/usr/local/freeradius//share/freeradius/dictionary.bintec", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=1523, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402e7000
read(5, "#\n#\tBintec dictionary\n#\t$Id: dic"..., 4096) = 1523
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x402e7000, 4096)                = 0
open("/usr/local/freeradius//share/freeradius/dictionary.cabletron", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=784, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402e7000
read(5, "#\n#\thttp://www.cabletron.com (no"..., 4096) = 784
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x402e7000, 4096)                = 0
open("/usr/local/freeradius//share/freeradius/dictionary.cisco", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=7507, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402e7000
read(5, "#\n# dictionary.cisco\n#\n#\t\tAccoun"..., 4096) = 4096
read(5, "s-server vsa accounting\" (requir"..., 4096) = 3411
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x402e7000, 4096)                = 0
open("/usr/local/freeradius//share/freeradius/dictionary.cisco.vpn5000", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=610, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402e7000
read(5, "#\n#\t Cisco VPN 5000 Concentrator"..., 4096) = 610
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x402e7000, 4096)                = 0
open("/usr/local/freeradius//share/freeradius/dictionary.cisco.bbsm", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=337, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402e7000
read(5, "#\n#\t Cisco Building Broadband Se"..., 4096) = 337
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x402e7000, 4096)                = 0
open("/usr/local/freeradius//share/freeradius/dictionary.colubris", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=312, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402e7000
read(5, "# Colubris dictionary - dictiona"..., 4096) = 312
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x402e7000, 4096)                = 0
open("/usr/local/freeradius//share/freeradius/dictionary.erx", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=5164, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402e7000
read(5, "#\n#  dictionary.erx\n#\n#\tUnispher"..., 4096) = 4096
read(5, "\t\t\t0\nVALUE\tERX-Sa-Validate\t\t\tena"..., 4096) = 1068
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x402e7000, 4096)                = 0
open("/usr/local/freeradius//share/freeradius/dictionary.extreme", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=460, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402e7000
read(5, "#\n#\tDictionary for Extreme Netwo"..., 4096) = 460
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x402e7000, 4096)                = 0
open("/usr/local/freeradius//share/freeradius/dictionary.freeradius", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=370, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402e7000
read(5, "#\n#\tThe FreeRADIUS Vendor-Specif"..., 4096) = 370
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x402e7000, 4096)                = 0
open("/usr/local/freeradius//share/freeradius/dictionary.foundry", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=1095, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402e7000
read(5, "#\n#  dictionary.foundry\n#\n#\tAs p"..., 4096) = 1095
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x402e7000, 4096)                = 0
open("/usr/local/freeradius//share/freeradius/dictionary.gandalf", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=3821, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402e7000
read(5, "#  Gandalf dictionary\n#\n# Versio"..., 4096) = 3821
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x402e7000, 4096)                = 0
open("/usr/local/freeradius//share/freeradius/dictionary.garderos", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=338, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402e7000
read(5, "#\n# dictionary.garderos\n#\n# Vers"..., 4096) = 338
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x402e7000, 4096)                = 0
open("/usr/local/freeradius//share/freeradius/dictionary.gemtek", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=531, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402e7000
read(5, "#\n# Gemtek Systems VSA\'s\n# Versi"..., 4096) = 531
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x402e7000, 4096)                = 0
open("/usr/local/freeradius//share/freeradius/dictionary.itk", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=1513, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402e7000
read(5, "#\n#\thttp://www.digieurope.com/\n#"..., 4096) = 1513
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x402e7000, 4096)                = 0
open("/usr/local/freeradius//share/freeradius/dictionary.juniper", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=487, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402e7000
read(5, "#\n#  dictionary.juniper\n#\n#\tAs p"..., 4096) = 487
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x402e7000, 4096)                = 0
open("/usr/local/freeradius//share/freeradius/dictionary.karlnet", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=105046, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402e7000
read(5, "# ------------------------------"..., 4096) = 4096
read(5, "70k\t70\r\nVALUE\t\tKarlNet-TurboCell"..., 4096) = 4096
read(5, "e\tTxRate-155k\t155\r\nVALUE\t\tKarlNe"..., 4096) = 4096
read(5, "lNet-TurboCell-TxRate\tTxRate-239"..., 4096) = 4096
read(5, "322k\t322\r\nVALUE\t\tKarlNet-TurboCe"..., 4096) = 4096
read(5, "oCell-TxRate\tTxRate-406k\t406\r\nVA"..., 4096) = 4096
read(5, "\nVALUE\t\tKarlNet-TurboCell-TxRate"..., 4096) = 4096
brk(0)                                  = 0x80f1000
brk(0x8112000)                          = 0x8112000
read(5, "ate\tTxRate-573k\t573\r\nVALUE\t\tKarl"..., 4096) = 4096
read(5, "arlNet-TurboCell-TxRate\tTxRate-6"..., 4096) = 4096
read(5, "e-740k\t740\r\nVALUE\t\tKarlNet-Turbo"..., 4096) = 4096
read(5, "rboCell-TxRate\tTxRate-824k\t824\r\n"..., 4096) = 4096
read(5, "7\r\nVALUE\t\tKarlNet-TurboCell-TxRa"..., 4096) = 4096
read(5, "xRate\tTxRate-991k\t991\r\nVALUE\t\tKa"..., 4096) = 4096
read(5, "rlNet-TurboCell-TxRate\tTxRate-71"..., 4096) = 4096
read(5, "Cell-TxRate\tTxRate-17280k\t1151\r\n"..., 4096) = 4096
read(5, "arlNet-TurboCell-TxRate\tTxRate-2"..., 4096) = 4096
read(5, "08\r\nVALUE\t\tKarlNet-TurboCell-TxR"..., 4096) = 4096
read(5, "te-47488k\t1387\r\nVALUE\t\tKarlNet-T"..., 4096) = 4096
read(5, "-TxRate\tTxRate-57600k\t1466\r\nVALU"..., 4096) = 4096
read(5, "et-TurboCell-TxRate\tTxRate-67712"..., 4096) = 4096
read(5, "VALUE\t\tKarlNet-TurboCell-TxRate\t"..., 4096) = 4096
read(5, "7808k\t1702\r\nVALUE\t\tKarlNet-Turbo"..., 4096) = 4096
read(5, "ate\tTxRate-97920k\t1781\r\nVALUE\t\tK"..., 4096) = 4096
brk(0)                                  = 0x8112000
brk(0x8133000)                          = 0x8133000
read(5, "KarlNet-TurboCell-TxRate\tTxRate-"..., 4096) = 4096
read(5, "ll-TxRate\tTxRate-117760k\t1936\r\nV"..., 4096) = 4096
read(5, "e-127616k\t2013\r\nVALUE\t\tKarlNet-T"..., 4096) = 2646
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x402e7000, 4096)                = 0
open("/usr/local/freeradius//share/freeradius/dictionary.livingston", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=2326, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402e7000
read(5, "#\n# Vendor-Specific attributes u"..., 4096) = 2326
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x402e7000, 4096)                = 0
open("/usr/local/freeradius//share/freeradius/dictionary.localweb", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=1131, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402e7000
read(5, "################################"..., 4096) = 1131
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x402e7000, 4096)                = 0
open("/usr/local/freeradius//share/freeradius/dictionary.microsoft", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=2426, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402e7000
read(5, "#\n#\tMicrosoft\'s VSA\'s, from RFC "..., 4096) = 2426
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x402e7000, 4096)                = 0
open("/usr/local/freeradius//share/freeradius/dictionary.navini", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=319, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402e7000
read(5, "#\n# dictionary.navini\n#\n#       "..., 4096) = 319
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x402e7000, 4096)                = 0
open("/usr/local/freeradius//share/freeradius/dictionary.nomadix", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=805, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402e7000
read(5, "#\n# Version:\t$Id: dictionary.nom"..., 4096) = 805
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x402e7000, 4096)                = 0
open("/usr/local/freeradius//share/freeradius/dictionary.propel", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=371, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402e7000
read(5, "#\n#\tFound on the net.\n#\n#\t$Id: d"..., 4096) = 371
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x402e7000, 4096)                = 0
open("/usr/local/freeradius//share/freeradius/dictionary.quintum", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=1537, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402e7000
read(5, "#\n# dictionary.quintum\n#\n#\t\tCopi"..., 4096) = 1537
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x402e7000, 4096)                = 0
open("/usr/local/freeradius//share/freeradius/dictionary.redback", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=17763, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402e7000
read(5, "#\n# Redback dictionary.\n#\n# Vers"..., 4096) = 4096
read(5, "t_Packets_64\t\t130\toctets\t\tRedbac"..., 4096) = 4096
read(5, "\t40\nVALUE\tLAC_Real_Port_Type\tNAS"..., 4096) = 4096
read(5, "TTRIBUTE\tTunnel-Police-Rate\t\t67\t"..., 4096) = 4096
read(5, "M-2\t\t53\nVALUE\tLAC-Port-Type\t\tNAS"..., 4096) = 1379
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x402e7000, 4096)                = 0
open("/usr/local/freeradius//share/freeradius/dictionary.redcreek", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=632, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402e7000
read(5, "#\n#\thttp://www.redcreek.com\n#\t$I"..., 4096) = 632
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x402e7000, 4096)                = 0
open("/usr/local/freeradius//share/freeradius/dictionary.shasta", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=457, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402e7000
read(5, "#\n# dictionary.shasta\n#\n#       "..., 4096) = 457
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x402e7000, 4096)                = 0
open("/usr/local/freeradius//share/freeradius/dictionary.shiva", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=2958, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402e7000
read(5, "#\n# Shiva dictionary.\n#\n#\tShiva "..., 4096) = 2958
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x402e7000, 4096)                = 0
open("/usr/local/freeradius//share/freeradius/dictionary.sonicwall", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=2635, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402e7000
read(5, "#\n#\tSonicwall Firewall dictionar"..., 4096) = 2635
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x402e7000, 4096)                = 0
open("/usr/local/freeradius//share/freeradius/dictionary.springtide", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=836, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402e7000
read(5, "################################"..., 4096) = 836
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x402e7000, 4096)                = 0
open("/usr/local/freeradius//share/freeradius/dictionary.telebit", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=309, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402e7000
read(5, "#\n#\tTelebit dictionary\n#\t$Id: di"..., 4096) = 309
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x402e7000, 4096)                = 0
open("/usr/local/freeradius//share/freeradius/dictionary.trapeze", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=706, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402e7000
read(5, "#\n#\tdictionary.trapeze\n#\n#\tFor u"..., 4096) = 706
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x402e7000, 4096)                = 0
open("/usr/local/freeradius//share/freeradius/dictionary.tunnel", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=1736, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402e7000
read(5, "#\n# dictionary.tunnel\n#\n#\t\tExper"..., 4096) = 1736
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x402e7000, 4096)                = 0
open("/usr/local/freeradius//share/freeradius/dictionary.usr", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=62699, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402e7000
read(5, "#\n# dictionary.usr\tUSR Robotics "..., 4096) = 4096
read(5, "ger\nATTRIBUTE\tUSR-Mbi_Ct_TDM_Tim"..., 4096) = 4096
read(5, "-In\t\t\t0x9002\tstring\nATTRIBUTE\tUS"..., 4096) = 4096
read(5, "088f\tstring\nATTRIBUTE\tUSR-Call-T"..., 4096) = 4096
read(5, "-Event-Id\tResponse-Attempt-Limit"..., 4096) = 4096
read(5, "alogG2NAC\t\t35\nVALUE\tUSR-Card-Typ"..., 4096) = 4096
brk(0)                                  = 0x8133000
brk(0x8154000)                          = 0x8154000
read(5, "\t29333-BPS\t28\nVALUE\tUSR-Initial-"..., 4096) = 4096
read(5, "e\t\t1200-BPS\t4\nVALUE\tUSR-Initial-"..., 4096) = 4096
read(5, "-Final-Tx-Link-Data-Rate\t\t37333-"..., 4096) = 4096
read(5, "-Modulation-Type\t\tccittV32\t\t\t2\nV"..., 4096) = 4096
read(5, "ect-Term-Reason\tundetermined\t\t\t2"..., 4096) = 4096
read(5, "   94\nVALUE   USR-Connect-Term-R"..., 4096) = 4096
read(5, "lure-to-Connect-Reason     t1Gla"..., 4096) = 4096
read(5, "ode\t\t\tbcReject\t      14\nVALUE\tUS"..., 4096) = 4096
read(5, "\tinvalidComprDataStringLen\t11\nVA"..., 4096) = 4096
read(5, "tServer to implement\n# resource "..., 4096) = 1259
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x402e7000, 4096)                = 0
open("/usr/local/freeradius//share/freeradius/dictionary.valemount", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=659, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402e7000
read(5, "#\n#       Valemount Networks Cor"..., 4096) = 659
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x402e7000, 4096)                = 0
open("/usr/local/freeradius//share/freeradius/dictionary.versanet", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=2199, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402e7000
read(5, "#\r\n# dictionary.versanet Vendor "..., 4096) = 2199
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x402e7000, 4096)                = 0
open("/usr/local/freeradius//share/freeradius/dictionary.wispr", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=996, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402e7000
read(5, "#\n# dictionary.wispr\n#\n#\tVSAs or"..., 4096) = 996
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x402e7000, 4096)                = 0
open("/usr/local/freeradius//share/freeradius/dictionary.xedia", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=766, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402e7000
read(5, "################################"..., 4096) = 766
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x402e7000, 4096)                = 0
read(4, "\t29\tinteger\nATTRIBUTE\tCalled-Sta"..., 4096) = 4096
read(4, "IBUTE\tStrip-User-Name\t\t1035\tinte"..., 4096) = 4096
read(4, "ctets\nATTRIBUTE       EAP-Sim-CO"..., 4096) = 4096
read(4, "\t\t23\nVALUE\t\tNAS-Port-Type\t\tWirel"..., 4096) = 4096
read(4, "pe\tCoA-ACK\t\t\t\t44\nVALUE\t\tPacket-T"..., 4096) = 4096
brk(0)                                  = 0x8154000
brk(0x8175000)                          = 0x8175000
read(4, "\tMS-CHAP-Use-NTLM-Auth\tYes\t1\n", 4096) = 29
read(4, "", 4096)                       = 0
close(4)                                = 0
munmap(0x4001a000, 4096)                = 0
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x40019000, 4096)                = 0
open("raddb//naslist", O_RDONLY)        = 3
open("/usr/local/freeradius/logs/radius.log", O_WRONLY|O_APPEND|O_CREAT, 0666) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=3952, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40019000
fstat64(4, {st_mode=S_IFREG|0644, st_size=3952, ...}) = 0
_llseek(4, 3952, [3952], SEEK_SET)      = 0
time(NULL)                              = 1124810365
write(4, "Tue Aug 23 17:19:25 2005 : Info:"..., 101) = 101
close(4)                                = 0
munmap(0x40019000, 4096)                = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=1020, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40019000
read(3, "#\n#\tTHIS FILE IS DEPRECATED.\n#\n#"..., 4096) = 1020
gettimeofday({1124810365, 279077}, NULL) = 0
getpid()                                = 25600
open("/etc/resolv.conf", O_RDONLY)      = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=42, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001a000
read(4, "search net24.it\nnameserver 193.7"..., 4096) = 42
read(4, "", 4096)                       = 0
close(4)                                = 0
munmap(0x4001a000, 4096)                = 0
socket(PF_FILE, SOCK_STREAM, 0)         = 4
connect(4, {sa_family=AF_FILE, path="/var/run/.nscd_socket"}, 110) = -1 ENOENT (No such file or directory)
close(4)                                = 0
open("/etc/nsswitch.conf", O_RDONLY)    = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=465, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4001a000
read(4, "# /etc/nsswitch.conf\n#\n# Example"..., 4096) = 465
read(4, "", 4096)                       = 0
close(4)                                = 0
munmap(0x4001a000, 4096)                = 0
open("/etc/ld.so.cache", O_RDONLY)      = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=12050, ...}) = 0
old_mmap(NULL, 12050, PROT_READ, MAP_PRIVATE, 4, 0) = 0x402e7000
close(4)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/tls/libnss_files.so.2", O_RDONLY) = 4
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\35"..., 512) = 512
fstat64(4, {st_mode=S_IFREG|0644, st_size=34748, ...}) = 0
old_mmap(NULL, 38044, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x402ea000
old_mmap(0x402f3000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 0x8000) = 0x402f3000
close(4)                                = 0
munmap(0x402e7000, 12050)               = 0
open("/etc/host.conf", O_RDONLY)        = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=26, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402e7000
read(4, "order hosts,bind\nmulti on\n", 4096) = 26
read(4, "", 4096)                       = 0
close(4)                                = 0
munmap(0x402e7000, 4096)                = 0
futex(0x402e4f00, FUTEX_WAKE, 2147483647) = 0
open("/etc/hosts", O_RDONLY)            = 4
fcntl64(4, F_GETFD)                     = 0
fcntl64(4, F_SETFD, FD_CLOEXEC)         = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=286, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402e7000
read(4, "127.0.0.1\tlocalhost.localdomain\t"..., 4096) = 286
read(4, "", 4096)                       = 0
close(4)                                = 0
munmap(0x402e7000, 4096)                = 0
socket(PF_FILE, SOCK_STREAM, 0)         = 4
connect(4, {sa_family=AF_FILE, path="/var/run/.nscd_socket"}, 110) = -1 ENOENT (No such file or directory)
close(4)                                = 0
open("/etc/hosts", O_RDONLY)            = 4
fcntl64(4, F_GETFD)                     = 0
fcntl64(4, F_SETFD, FD_CLOEXEC)         = 0
fstat64(4, {st_mode=S_IFREG|0644, st_size=286, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402e7000
read(4, "127.0.0.1\tlocalhost.localdomain\t"..., 4096) = 286
close(4)                                = 0
munmap(0x402e7000, 4096)                = 0
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x40019000, 4096)                = 0
open("raddb//clients", O_RDONLY)        = 3
fstat64(3, {st_mode=S_IFREG|0640, st_size=189, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40019000
read(3, "#\n#\tTHIS FILE IS DEPRECATED.\n#\n#"..., 4096) = 189
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x40019000, 4096)                = 0
socket(PF_FILE, SOCK_STREAM, 0)         = 3
connect(3, {sa_family=AF_FILE, path="/var/run/.nscd_socket"}, 110) = -1 ENOENT (No such file or directory)
close(3)                                = 0
open("/etc/hosts", O_RDONLY)            = 3
fcntl64(3, F_GETFD)                     = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=286, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40019000
read(3, "127.0.0.1\tlocalhost.localdomain\t"..., 4096) = 286
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x40019000, 4096)                = 0
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=12050, ...}) = 0
old_mmap(NULL, 12050, PROT_READ, MAP_PRIVATE, 3, 0) = 0x402e7000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/tls/libnss_dns.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\240\16"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=13976, ...}) = 0
old_mmap(NULL, 12704, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x402f4000
old_mmap(0x402f7000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x3000) = 0x402f7000
close(3)                                = 0
munmap(0x402e7000, 12050)               = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3
connect(3, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("193.70.192.100")}, 28) = 0
send(3, "\30Y\1\0\0\1\0\0\0\0\0\0\5salsa\3iol\2it\0\0\1\0\1", 30, 0) = 30
gettimeofday({1124810365, 285659}, NULL) = 0
poll([{fd=3, events=POLLIN, revents=POLLIN}], 1, 5000) = 1
ioctl(3, FIONREAD, [121])               = 0
recvfrom(3, "\30Y\205\200\0\1\0\1\0\2\0\2\5salsa\3iol\2it\0\0\1\0\1"..., 1024, 0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("193.70.192.100")}, [16]) = 121
close(3)                                = 0
socket(PF_FILE, SOCK_STREAM, 0)         = 3
connect(3, {sa_family=AF_FILE, path="/var/run/.nscd_socket"}, 110) = -1 ENOENT (No such file or directory)
close(3)                                = 0
open("/etc/hosts", O_RDONLY)            = 3
fcntl64(3, F_GETFD)                     = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=286, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402e7000
read(3, "127.0.0.1\tlocalhost.localdomain\t"..., 4096) = 286
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x402e7000, 4096)                = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3
connect(3, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("193.70.192.100")}, 28) = 0
send(3, "\30Z\1\0\0\1\0\0\0\0\0\0\003132\00292\003210\003195\7i"..., 45, 0) = 45
gettimeofday({1124810365, 288237}, NULL) = 0
poll([{fd=3, events=POLLIN, revents=POLLIN}], 1, 5000) = 1
ioctl(3, FIONREAD, [146])               = 0
recvfrom(3, "\30Z\205\200\0\1\0\1\0\2\0\2\003132\00292\003210\00319"..., 1024, 0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("193.70.192.100")}, [16]) = 146
close(3)                                = 0
socket(PF_FILE, SOCK_STREAM, 0)         = 3
connect(3, {sa_family=AF_FILE, path="/var/run/.nscd_socket"}, 110) = -1 ENOENT (No such file or directory)
close(3)                                = 0
open("/etc/hosts", O_RDONLY)            = 3
fcntl64(3, F_GETFD)                     = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=286, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402e7000
read(3, "127.0.0.1\tlocalhost.localdomain\t"..., 4096) = 286
close(3)                                = 0
munmap(0x402e7000, 4096)                = 0
open("raddb//realms", O_RDONLY)         = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=187, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402e7000
read(3, "#\n#\tTHIS FILE IS DEPRECATED.\n#\n#"..., 4096) = 187
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x402e7000, 4096)                = 0
getrlimit(RLIMIT_CORE, {rlim_cur=0, rlim_max=RLIM_INFINITY}) = 0
setrlimit(RLIMIT_CORE, {rlim_cur=0, rlim_max=RLIM_INFINITY}) = 0
stat64("/usr/local/freeradius/logs", {st_mode=S_IFDIR|0700, st_size=1024, ...}) = 0
socket(PF_FILE, SOCK_STREAM, 0)         = 3
connect(3, {sa_family=AF_FILE, path="/var/run/.nscd_socket"}, 110) = -1 ENOENT (No such file or directory)
close(3)                                = 0
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=12050, ...}) = 0
old_mmap(NULL, 12050, PROT_READ, MAP_PRIVATE, 3, 0) = 0x402e7000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/tls/libnss_compat.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0000\22\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=28616, ...}) = 0
old_mmap(NULL, 31628, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x402f8000
old_mmap(0x402ff000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x6000) = 0x402ff000
close(3)                                = 0
munmap(0x402e7000, 12050)               = 0
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=12050, ...}) = 0
old_mmap(NULL, 12050, PROT_READ, MAP_PRIVATE, 3, 0) = 0x402e7000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/tls/libnss_nis.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20\34\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=33440, ...}) = 0
old_mmap(NULL, 36620, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40300000
old_mmap(0x40308000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x7000) = 0x40308000
close(3)                                = 0
munmap(0x402e7000, 12050)               = 0
open("/etc/passwd", O_RDONLY)           = 3
fcntl64(3, F_GETFD)                     = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
_llseek(3, 0, [0], SEEK_CUR)            = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=1182, ...}) = 0
mmap2(NULL, 1182, PROT_READ, MAP_SHARED, 3, 0) = 0x402e7000
_llseek(3, 1182, [1182], SEEK_SET)      = 0
munmap(0x402e7000, 1182)                = 0
close(3)                                = 0
chown32("/usr/local/freeradius/logs", 600, -1) = 0
open("/etc/group", O_RDONLY)            = 3
fcntl64(3, F_GETFD)                     = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
_llseek(3, 0, [0], SEEK_CUR)            = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=581, ...}) = 0
mmap2(NULL, 581, PROT_READ, MAP_SHARED, 3, 0) = 0x402e7000
_llseek(3, 581, [581], SEEK_SET)        = 0
munmap(0x402e7000, 581)                 = 0
close(3)                                = 0
setgid32(600)                           = 0
open("/etc/passwd", O_RDONLY)           = 3
fcntl64(3, F_GETFD)                     = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
_llseek(3, 0, [0], SEEK_CUR)            = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=1182, ...}) = 0
mmap2(NULL, 1182, PROT_READ, MAP_SHARED, 3, 0) = 0x402e7000
_llseek(3, 1182, [1182], SEEK_SET)      = 0
munmap(0x402e7000, 1182)                = 0
close(3)                                = 0
open("/etc/group", O_RDONLY)            = 3
fcntl64(3, F_GETFD)                     = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
_llseek(3, 0, [0], SEEK_CUR)            = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=581, ...}) = 0
mmap2(NULL, 581, PROT_READ, MAP_SHARED, 3, 0) = 0x402e7000
_llseek(3, 581, [581], SEEK_SET)        = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=581, ...}) = 0
munmap(0x402e7000, 581)                 = 0
close(3)                                = 0
setgroups32(1, [600])                   = 0
setuid32(600)                           = 0
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=12050, ...}) = 0
old_mmap(NULL, 12050, PROT_READ, MAP_PRIVATE, 3, 0) = 0x402e7000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/libnss_db.so.2", O_RDONLY)   = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\23"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=17860, ...}) = 0
old_mmap(NULL, 17092, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40309000
old_mmap(0x4030d000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x4000) = 0x4030d000
close(3)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/usr/lib/libdb3.so.3", O_RDONLY)  = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\311"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=692456, ...}) = 0
old_mmap(NULL, 696044, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4030e000
old_mmap(0x403b7000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xa8000) = 0x403b7000
close(3)                                = 0
munmap(0x402e7000, 12050)               = 0
open("/var/lib/misc/services.db", O_RDWR|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/var/lib/misc/services.db", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/etc/services", O_RDONLY)         = 3
fcntl64(3, F_GETFD)                     = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=17621, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402e7000
read(3, "# Network services, Internet sty"..., 4096) = 4096
read(3, "zis\t\t206/udp\nqmtp\t\t209/tcp\t\t\t\t# "..., 4096) = 4096
read(3, "usnote\t1352/udp\tlotusnotes\nms-sq"..., 4096) = 4096
read(3, "ility\nvnetd           13724/udp\n"..., 4096) = 4096
read(3, "mon\nircd\t\t6667/tcp\t\t\t# Internet "..., 4096) = 1237
close(3)                                = 0
munmap(0x402e7000, 4096)                = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 3
bind(3, {sa_family=AF_INET, sin_port=htons(1645), sin_addr=inet_addr("0.0.0.0")}, 16) = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 4
bind(4, {sa_family=AF_INET, sin_port=htons(1646), sin_addr=inet_addr("0.0.0.0")}, 16) = 0
rt_sigaction(SIGSEGV, {0x8051d10, [], 0}, NULL, 8) = 0
open("/usr/local/freeradius/lib/rlm_pap.la", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0755, st_size=704, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402e7000
read(5, "# rlm_pap.la - a libtool library"..., 4096) = 704
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x402e7000, 4096)                = 0
open("/usr/local/freeradius/lib/rlm_chap.la", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0755, st_size=707, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402e7000
read(5, "# rlm_chap.la - a libtool librar"..., 4096) = 707
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x402e7000, 4096)                = 0
open("/usr/local/freeradius/lib/rlm_preprocess.la", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0755, st_size=725, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402e7000
read(5, "# rlm_preprocess.la - a libtool "..., 4096) = 725
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x402e7000, 4096)                = 0
open("/usr/local/freeradius/raddb/huntgroups", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=1604, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402e7000
read(5, "#\n# huntgroups\tThis file defines"..., 4096) = 1604
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x402e7000, 4096)                = 0
open("/usr/local/freeradius/raddb/hints", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402e7000
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x402e7000, 4096)                = 0
open("/usr/local/freeradius/lib/rlm_detail.la", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0755, st_size=713, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402e7000
read(5, "# rlm_detail.la - a libtool libr"..., 4096) = 713
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x402e7000, 4096)                = 0
open("/usr/local/freeradius/lib/rlm_sql.la", O_RDONLY) = 5
fstat64(5, {st_mode=S_IFREG|0755, st_size=704, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x402e7000
read(5, "# rlm_sql.la - a libtool library"..., 4096) = 704
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x402e7000, 4096)                = 0
open("/usr/local/freeradius/lib/rlm_sql_mysql.la", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/rlm_sql_mysql.la", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/rlm_sql_mysql.la", O_RDONLY) = -1 ENOENT (No such file or directory)
open("rlm_sql_mysql.la", O_RDONLY)      = -1 ENOENT (No such file or directory)
access("/usr/local/freeradius/lib/rlm_sql_mysql.so", R_OK) = -1 ENOENT (No such file or directory)
access("/lib/rlm_sql_mysql.so", R_OK)   = -1 ENOENT (No such file or directory)
access("/usr/lib/rlm_sql_mysql.so", R_OK) = -1 ENOENT (No such file or directory)
futex(0x4017b1b4, FUTEX_WAKE, 2147483647) = 0
open("/etc/ld.so.cache", O_RDONLY)      = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=12050, ...}) = 0
old_mmap(NULL, 12050, PROT_READ, MAP_PRIVATE, 5, 0) = 0x402e7000
close(5)                                = 0
access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/mmx/cmov/rlm_sql_mysql.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/i686/mmx/cmov", 0xbfffe26c) = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/mmx/rlm_sql_mysql.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/i686/mmx", 0xbfffe26c) = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/cmov/rlm_sql_mysql.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/i686/cmov", 0xbfffe26c) = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/rlm_sql_mysql.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/i686", 0xbfffe26c)     = -1 ENOENT (No such file or directory)
open("/lib/tls/mmx/cmov/rlm_sql_mysql.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/mmx/cmov", 0xbfffe26c) = -1 ENOENT (No such file or directory)
open("/lib/tls/mmx/rlm_sql_mysql.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/mmx", 0xbfffe26c)      = -1 ENOENT (No such file or directory)
open("/lib/tls/cmov/rlm_sql_mysql.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls/cmov", 0xbfffe26c)     = -1 ENOENT (No such file or directory)
open("/lib/tls/rlm_sql_mysql.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/tls", {st_mode=S_IFDIR|0755, st_size=3072, ...}) = 0
open("/lib/i686/mmx/cmov/rlm_sql_mysql.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/i686/mmx/cmov", 0xbfffe26c) = -1 ENOENT (No such file or directory)
open("/lib/i686/mmx/rlm_sql_mysql.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/i686/mmx", 0xbfffe26c)     = -1 ENOENT (No such file or directory)
open("/lib/i686/cmov/rlm_sql_mysql.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/i686/cmov", 0xbfffe26c)    = -1 ENOENT (No such file or directory)
open("/lib/i686/rlm_sql_mysql.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/i686", 0xbfffe26c)         = -1 ENOENT (No such file or directory)
open("/lib/mmx/cmov/rlm_sql_mysql.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/mmx/cmov", 0xbfffe26c)     = -1 ENOENT (No such file or directory)
open("/lib/mmx/rlm_sql_mysql.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/mmx", 0xbfffe26c)          = -1 ENOENT (No such file or directory)
open("/lib/cmov/rlm_sql_mysql.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/cmov", 0xbfffe26c)         = -1 ENOENT (No such file or directory)
open("/lib/rlm_sql_mysql.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/usr/lib/tls/i686/mmx/cmov/rlm_sql_mysql.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/i686/mmx/cmov", 0xbfffe26c) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/i686/mmx/rlm_sql_mysql.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/i686/mmx", 0xbfffe26c) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/i686/cmov/rlm_sql_mysql.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/i686/cmov", 0xbfffe26c) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/i686/rlm_sql_mysql.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/i686", 0xbfffe26c) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/mmx/cmov/rlm_sql_mysql.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/mmx/cmov", 0xbfffe26c) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/mmx/rlm_sql_mysql.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/mmx", 0xbfffe26c)  = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/cmov/rlm_sql_mysql.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls/cmov", 0xbfffe26c) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/rlm_sql_mysql.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/tls", 0xbfffe26c)      = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/mmx/cmov/rlm_sql_mysql.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/i686/mmx/cmov", 0xbfffe26c) = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/mmx/rlm_sql_mysql.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/i686/mmx", 0xbfffe26c) = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/cmov/rlm_sql_mysql.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/i686/cmov", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
open("/usr/lib/i686/rlm_sql_mysql.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/i686", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0
open("/usr/lib/mmx/cmov/rlm_sql_mysql.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/mmx/cmov", 0xbfffe26c) = -1 ENOENT (No such file or directory)
open("/usr/lib/mmx/rlm_sql_mysql.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/mmx", 0xbfffe26c)      = -1 ENOENT (No such file or directory)
open("/usr/lib/cmov/rlm_sql_mysql.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/cmov", 0xbfffe26c)     = -1 ENOENT (No such file or directory)
open("/usr/lib/rlm_sql_mysql.so", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib", {st_mode=S_IFDIR|0755, st_size=6144, ...}) = 0
munmap(0x402e7000, 12050)               = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
sigreturn()                             = ? (mask now [])
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
-------------- next part --------------
#
#  Configuration for the SQL module, when using MySQL.
#

sql {


	driver = "rlm_sql_mysql"

	server = "localhost"
	login = "radius"
	password = "radius"

	port = 3306
	
	radius_db = "radius"
		
	acct_table1 = "radacct"
	acct_table2 = "radacct"

	postauth_table = "radpostauth"

	authcheck_table = "radcheck"
	authreply_table = "radreply"
	
	groupcheck_table = "radgroupcheck"
	groupreply_table = "radgroupreply"
	
	usergroup_table = "usergroup"
	
	deletestalesessions = yes

	sqltrace = no
	sqltracefile = ${logdir}/sqltrace.sql

	num_sql_socks = 5

	connect_failure_retry_delay = 60

	safe-characters = "@abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: /"

	#######################################################################
	#  Query config:  Username
	#######################################################################
	# This is the username that will get substituted, escaped, and added 
	# as attribute 'SQL-User-Name'.  '%{SQL-User-Name}' should be used below 
	# everywhere a username substitution is needed so you you can be sure 
	# the username passed from the client is escaped properly.  
	#
	#  Uncomment the next line, if you want the sql_user_name to mean:
	#
	#    Use Stripped-User-Name, if it's there.
	#    Else use User-Name, if it's there,
	#    Else use hard-coded string "DEFAULT" as the user name.
	#sql_user_name = "%{Stripped-User-Name:-%{User-Name:-DEFAULT}}"
	#
	sql_user_name = "%{User-Name}"

	#######################################################################
	#  Default profile
	#######################################################################
	# This is the default profile. It is found in SQL by group membership. 
	# That means that this profile must be a member of at least one group
	# which will contain the corresponding check and reply items.
	# This profile will be queried in the authorize section for every user.
	# The point is to assign all users a default profile without having to
	# manually add each one to a group that will contain the profile.
	# The SQL module will also honor the User-Profile attribute. This
	# attribute can be set anywhere in the authorize section (ie the users
	# file). It is found exactly as the default profile is found.
	# If it is set then it will *overwrite* the default profile setting.
	# The idea is to select profiles based on checks on the incoming packets,
	# not on user group membership. For example:
	# -- users file --
	# DEFAULT	Service-Type == Outbound-User, User-Profile := "outbound"
	# DEFAULT	Service-Type == Framed-User, User-Profile := "framed"
	#
	# By default the default_user_profile is not set
	#
	#default_user_profile = "DEFAULT"
	#
	# Determines if we will query the default_user_profile or the User-Profile
	# if the user is not found. If the profile is found then we consider the user
	# found. By default this is set to 'no'.
	# 
	#query_on_not_found = no


	#######################################################################
	#  Authorization Queries
	#######################################################################
	#  These queries compare the check items for the user
	#  in ${authcheck_table} and setup the reply items in 
	#  ${authreply_table}.  You can use any query/tables
	#  you want, but the return data for each row MUST 
	#  be in the  following order:
	#
	#  0. Row ID (currently unused)
	#  1. UserName/GroupName
	#  2. Item Attr Name
	#  3. Item Attr Value
	#  4. Item Attr Operation
	#######################################################################
	# Use these for case sensitive usernames. WARNING: Slower queries!
#	authorize_check_query = "SELECT id,UserName,Attribute,Value,op FROM ${authcheck_table} WHERE STRCMP(Username, '%{SQL-User-Name}') = 0 ORDER BY id"
#	authorize_reply_query = "SELECT id,UserName,Attribute,Value,op FROM ${authreply_table} WHERE STRCMP(Username, '%{SQL-User-Name}') = 0 ORDER BY id"

	authorize_check_query = "SELECT id,UserName,Attribute,Value,op FROM ${authcheck_table} WHERE Username = '%{SQL-User-Name}' ORDER BY id"
	authorize_reply_query = "SELECT id,UserName,Attribute,Value,op FROM ${authreply_table} WHERE Username = '%{SQL-User-Name}' ORDER BY id"

	# Use these for case sensitive usernames. WANRING: Slower queries!
#	authorize_group_check_query = "SELECT ${groupcheck_table}.id,${groupcheck_table}.GroupName,${groupcheck_table}.Attribute,${groupcheck_table}.Value,${groupcheck_table}.op FROM ${groupcheck_table},${usergroup_table} WHERE STRCMP(${usergroup_table}.Username, '%{SQL-User-Name}') = 0 AND ${usergroup_table}.GroupName = ${groupcheck_table}.GroupName ORDER BY ${groupcheck_table}.id"
#	authorize_group_reply_query = "SELECT ${groupreply_table}.id,${groupreply_table}.GroupName,${groupreply_table}.Attribute,${groupreply_table}.Value,${groupreply_table}.op  FROM ${groupreply_table},${usergroup_table} WHERE STRCMP(${usergroup_table}.Username, '%{SQL-User-Name}') = 0 AND ${usergroup_table}.GroupName = ${groupreply_table}.GroupName ORDER BY ${groupreply_table}.id"

	authorize_group_check_query = "SELECT ${groupcheck_table}.id,${groupcheck_table}.GroupName,${groupcheck_table}.Attribute,${groupcheck_table}.Value,${groupcheck_table}.op  FROM ${groupcheck_table},${usergroup_table} WHERE ${usergroup_table}.Username = '%{SQL-User-Name}' AND ${usergroup_table}.GroupName = ${groupcheck_table}.GroupName ORDER BY ${groupcheck_table}.id"
	authorize_group_reply_query = "SELECT ${groupreply_table}.id,${groupreply_table}.GroupName,${groupreply_table}.Attribute,${groupreply_table}.Value,${groupreply_table}.op  FROM ${groupreply_table},${usergroup_table} WHERE ${usergroup_table}.Username = '%{SQL-User-Name}' AND ${usergroup_table}.GroupName = ${groupreply_table}.GroupName ORDER BY ${groupreply_table}.id"


	#######################################################################
	#  Accounting Queries
	#######################################################################
	# accounting_onoff_query	- query for Accounting On/Off packets 
	# accounting_update_query	- query for Accounting update packets 
	# accounting_update_query_alt	- query for Accounting update packets 
	#                               (alternate in case first query fails)
	# accounting_start_query	- query for Accounting start packets 
	# accounting_start_query_alt	- query for Accounting start packets 
	#                               (alternate in case first query fails)
	# accounting_stop_query		- query for Accounting stop packets 
	# accounting_stop_query_alt	- query for Accounting start packets 
	#                               (alternate in case first query doesn't
	#                                affect any existing rows in the table)
	#######################################################################
	accounting_onoff_query = "UPDATE ${acct_table1} SET AcctStopTime='%S', AcctSessionTime=unix_timestamp('%S') - unix_timestamp(AcctStartTime), AcctTerminateCause='%{Acct-Terminate-Cause}', AcctStopDelay = '%{Acct-Delay-Time}' WHERE AcctSessionTime=0 AND AcctStopTime=0 AND NASIPAddress= '%{NAS-IP-Address}' AND AcctStartTime <= '%S'"

	accounting_update_query = "UPDATE ${acct_table1} \
	 SET FramedIPAddress = '%{Framed-IP-Address}', \
	 AcctSessionTime = '%{Acct-Session-Time}', \
	 AcctInputOctets = '%{Acct-Input-Octets}', \
	 AcctOutputOctets = '%{Acct-Output-Octets}' \
	 WHERE AcctSessionId = '%{Acct-Session-Id}' \
	 AND UserName = '%{SQL-User-Name}' \
	 AND NASIPAddress= '%{NAS-IP-Address}'"

	accounting_update_query_alt = "INSERT into ${acct_table1} (AcctSessionId, AcctUniqueId, UserName, Realm, NASIPAddress, NASPortId, NASPortType, AcctStartTime, AcctSessionTime, AcctAuthentic, ConnectInfo_start, AcctInputOctets, AcctOutputOctets, CalledStationId, CallingStationId, ServiceType, FramedProtocol, FramedIPAddress, AcctStartDelay) values('%{Acct-Session-Id}', '%{Acct-Unique-Session-Id}', '%{SQL-User-Name}', '%{Realm}', '%{NAS-IP-Address}', '%{NAS-Port}', '%{NAS-Port-Type}', DATE_SUB('%S',INTERVAL (%{Acct-Session-Time:-0} + %{Acct-Delay-Time:-0}) SECOND), '%{Acct-Session-Time}', '%{Acct-Authentic}', '', '%{Acct-Input-Octets}', '%{Acct-Output-Octets}', '%{Called-Station-Id}', '%{Calling-Station-Id}', '%{Service-Type}', '%{Framed-Protocol}', '%{Framed-IP-Address}', '0')"

	accounting_start_query = "INSERT into ${acct_table1} (AcctSessionId, AcctUniqueId, UserName, Realm, NASIPAddress, NASPortId, NASPortType, AcctStartTime, AcctStopTime, AcctSessionTime, AcctAuthentic, ConnectInfo_start, ConnectInfo_stop, AcctInputOctets, AcctOutputOctets, CalledStationId, CallingStationId, AcctTerminateCause, ServiceType, FramedProtocol, FramedIPAddress, AcctStartDelay, AcctStopDelay) values('%{Acct-Session-Id}', '%{Acct-Unique-Session-Id}', '%{SQL-User-Name}', '%{Realm}', '%{NAS-IP-Address}', '%{NAS-Port}', '%{NAS-Port-Type}', '%S', '0', '0', '%{Acct-Authentic}', '%{Connect-Info}', '', '0', '0', '%{Called-Station-Id}', '%{Calling-Station-Id}', '', '%{Service-Type}', '%{Framed-Protocol}', '%{Framed-IP-Address}', '%{Acct-Delay-Time}', '0')"

	accounting_start_query_alt  = "UPDATE ${acct_table1} SET AcctStartTime = '%S', AcctStartDelay = '%{Acct-Delay-Time}', ConnectInfo_start = '%{Connect-Info}' WHERE AcctSessionId = '%{Acct-Session-Id}' AND UserName = '%{SQL-User-Name}' AND NASIPAddress = '%{NAS-IP-Address}'"

	accounting_stop_query = "UPDATE ${acct_table2} SET AcctStopTime = '%S', AcctSessionTime = '%{Acct-Session-Time}', AcctInputOctets = '%{Acct-Input-Octets}', AcctOutputOctets = '%{Acct-Output-Octets}', AcctTerminateCause = '%{Acct-Terminate-Cause}', AcctStopDelay = '%{Acct-Delay-Time}', ConnectInfo_stop = '%{Connect-Info}' WHERE AcctSessionId = '%{Acct-Session-Id}' AND UserName = '%{SQL-User-Name}' AND NASIPAddress = '%{NAS-IP-Address}'"

	accounting_stop_query_alt = "INSERT into ${acct_table2} (AcctSessionId, AcctUniqueId, UserName, Realm, NASIPAddress, NASPortId, NASPortType, AcctStartTime, AcctStopTime, AcctSessionTime, AcctAuthentic, ConnectInfo_start, ConnectInfo_stop, AcctInputOctets, AcctOutputOctets, CalledStationId, CallingStationId, AcctTerminateCause, ServiceType, FramedProtocol, FramedIPAddress, AcctStartDelay, AcctStopDelay) values('%{Acct-Session-Id}', '%{Acct-Unique-Session-Id}', '%{SQL-User-Name}', '%{Realm}', '%{NAS-IP-Address}', '%{NAS-Port}', '%{NAS-Port-Type}', DATE_SUB('%S', INTERVAL (%{Acct-Session-Time:-0} + %{Acct-Delay-Time:-0}) SECOND), '%S', '%{Acct-Session-Time}', '%{Acct-Authentic}', '', '%{Connect-Info}', '%{Acct-Input-Octets}', '%{Acct-Output-Octets}', '%{Called-Station-Id}', '%{Calling-Station-Id}', '%{Acct-Terminate-Cause}', '%{Service-Type}', '%{Framed-Protocol}', '%{Framed-IP-Address}', '0', '%{Acct-Delay-Time}')"

	#######################################################################
	# Simultaneous Use Checking Queries
	#######################################################################
	# simul_count_query	- query for the number of current connections
	#			- If this is not defined, no simultaneouls use checking 
	#			- will be performed by this module instance
	# simul_verify_query	- query to return details of current connections for verification
	#			- Leave blank or commented out to disable verification step
	#			- Note that the returned field order should not be changed.
	#######################################################################

	# Uncomment simul_count_query to enable simultaneous use checking
	# simul_count_query = "SELECT COUNT(*) FROM ${acct_table1} WHERE UserName='%{SQL-User-Name}' AND AcctStopTime = 0"
	simul_verify_query = "SELECT RadAcctId, AcctSessionId, UserName, NASIPAddress, NASPortId, FramedIPAddress, CallingStationId, FramedProtocol FROM ${acct_table1} WHERE UserName='%{SQL-User-Name}' AND AcctStopTime = 0"

	#######################################################################
	# Group Membership Queries
	#######################################################################
	# group_membership_query	- Check user group membership
	#######################################################################

	group_membership_query = "SELECT GroupName FROM ${usergroup_table} WHERE UserName='%{SQL-User-Name}'"

	#######################################################################
	# Authentication Logging Queries
	#######################################################################
	# postauth_query		- Insert some info after authentication
	#######################################################################

	postauth_query = "INSERT into ${postauth_table} (id, user, pass, reply, date) values ('', '%{User-Name}', '%{User-Password:-Chap-Password}', '%{reply:Packet-Type}', NOW())"

	#
	# Set to 'yes' to read radius clients from the database ('nas' table)

	# MODIFICA
	#
	readclients = yes
}


More information about the Freeradius-Users mailing list