Problem in xlat.c code

BALSIANOK, Peter Peter.Balsianok at orange.sk
Tue Dec 18 11:32:24 CET 2012


I have recompiled freeradius-2.2.0 ( with new version of xlat.c ), I get segmentation fault when i tried accounting request

[radiusd at tdrad1 ggsn]$ /app/radius/freeradius-2.2.0/sbin/radiusd -Xxx -d /app/radius/raddb/ggsn/
Tue Dec 18 11:26:55 2012 : Info: FreeRADIUS Version 2.2.0, for host i686-pc-linux-gnu, built on Nov 27 2012 at 13:30:37
Tue Dec 18 11:26:55 2012 : Info: Copyright (C) 1999-2012 The FreeRADIUS server project and contributors. 
Tue Dec 18 11:26:55 2012 : Info: There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A 
Tue Dec 18 11:26:55 2012 : Info: PARTICULAR PURPOSE. 
Tue Dec 18 11:26:55 2012 : Info: You may redistribute copies of FreeRADIUS under the terms of the 
Tue Dec 18 11:26:55 2012 : Info: GNU General Public License v2. 
Tue Dec 18 11:26:55 2012 : Info: Starting - reading configuration files ...
Tue Dec 18 11:26:55 2012 : Debug: including configuration file /app/radius/raddb/ggsn//radiusd.conf
Tue Dec 18 11:26:55 2012 : Debug: including configuration file /app/radius/raddb/ggsn//proxy.conf
Tue Dec 18 11:26:55 2012 : Debug: including configuration file /app/radius/raddb/ggsn//clients.conf
Tue Dec 18 11:26:55 2012 : Debug: including files in directory /app/radius/raddb/ggsn//modules/
Tue Dec 18 11:26:55 2012 : Debug: including configuration file /app/radius/raddb/ggsn//modules/ntlm_auth
Tue Dec 18 11:26:55 2012 : Debug: including configuration file /app/radius/raddb/ggsn//modules/mac2ip
Tue Dec 18 11:26:55 2012 : Debug: including configuration file /app/radius/raddb/ggsn//modules/unix
Tue Dec 18 11:26:55 2012 : Debug: including configuration file /app/radius/raddb/ggsn//modules/detail.example.com
Tue Dec 18 11:26:55 2012 : Debug: including configuration file /app/radius/raddb/ggsn//modules/dhcp_sqlippool
Tue Dec 18 11:26:55 2012 : Debug: including configuration file /app/radius/raddb/ggsn//sql/mysql/ippool-dhcp.conf
Tue Dec 18 11:26:55 2012 : Debug: including configuration file /app/radius/raddb/ggsn//modules/files
Tue Dec 18 11:26:55 2012 : Debug: including configuration file /app/radius/raddb/ggsn//modules/smsotp
Tue Dec 18 11:26:55 2012 : Debug: including configuration file /app/radius/raddb/ggsn//modules/digest
Tue Dec 18 11:26:55 2012 : Debug: including configuration file /app/radius/raddb/ggsn//modules/replicate
Tue Dec 18 11:26:55 2012 : Debug: including configuration file /app/radius/raddb/ggsn//modules/expr
Tue Dec 18 11:26:55 2012 : Debug: including configuration file /app/radius/raddb/ggsn//modules/wimax
Tue Dec 18 11:26:55 2012 : Debug: including configuration file /app/radius/raddb/ggsn//modules/ippool
Tue Dec 18 11:26:55 2012 : Debug: including configuration file /app/radius/raddb/ggsn//modules/inner-eap
Tue Dec 18 11:26:55 2012 : Debug: including configuration file /app/radius/raddb/ggsn//modules/policy
Tue Dec 18 11:26:55 2012 : Debug: including configuration file /app/radius/raddb/ggsn//modules/preprocess
Tue Dec 18 11:26:55 2012 : Debug: including configuration file /app/radius/raddb/ggsn//modules/chap
Tue Dec 18 11:26:55 2012 : Debug: including configuration file /app/radius/raddb/ggsn//modules/acct_unique
Tue Dec 18 11:26:55 2012 : Debug: including configuration file /app/radius/raddb/ggsn//modules/echo
Tue Dec 18 11:26:55 2012 : Debug: including configuration file /app/radius/raddb/ggsn//modules/rediswho
Tue Dec 18 11:26:55 2012 : Debug: including configuration file /app/radius/raddb/ggsn//modules/dynamic_clients
Tue Dec 18 11:26:55 2012 : Debug: including configuration file /app/radius/raddb/ggsn//modules/attr_filter
Tue Dec 18 11:26:55 2012 : Debug: including configuration file /app/radius/raddb/ggsn//modules/always
Tue Dec 18 11:26:55 2012 : Debug: including configuration file /app/radius/raddb/ggsn//modules/soh
Tue Dec 18 11:26:55 2012 : Debug: including configuration file /app/radius/raddb/ggsn//modules/radrelay
Tue Dec 18 11:26:55 2012 : Debug: including configuration file /app/radius/raddb/ggsn//modules/expiration
Tue Dec 18 11:26:55 2012 : Debug: including configuration file /app/radius/raddb/ggsn//modules/mschap
Tue Dec 18 11:26:55 2012 : Debug: including configuration file /app/radius/raddb/ggsn//modules/linelog
Tue Dec 18 11:26:55 2012 : Debug: including configuration file /app/radius/raddb/ggsn//modules/detail
Tue Dec 18 11:26:55 2012 : Debug: including configuration file /app/radius/raddb/ggsn//modules/pam
Tue Dec 18 11:26:55 2012 : Debug: including configuration file /app/radius/raddb/ggsn//modules/radutmp
Tue Dec 18 11:26:55 2012 : Debug: including configuration file /app/radius/raddb/ggsn//modules/perl
Tue Dec 18 11:26:55 2012 : Debug: including configuration file /app/radius/raddb/ggsn//modules/sqlcounter_expire_on_login
Tue Dec 18 11:26:55 2012 : Debug: including configuration file /app/radius/raddb/ggsn//modules/cui
Tue Dec 18 11:26:55 2012 : Debug: including configuration file /app/radius/raddb/ggsn//modules/opendirectory
Tue Dec 18 11:26:55 2012 : Debug: including configuration file /app/radius/raddb/ggsn//modules/etc_group
Tue Dec 18 11:26:55 2012 : Debug: including configuration file /app/radius/raddb/ggsn//modules/ldap
Tue Dec 18 11:26:55 2012 : Debug: including configuration file /app/radius/raddb/ggsn//modules/exec
Tue Dec 18 11:26:55 2012 : Debug: including configuration file /app/radius/raddb/ggsn//modules/krb5
Tue Dec 18 11:26:55 2012 : Debug: including configuration file /app/radius/raddb/ggsn//modules/sql_log
Tue Dec 18 11:26:55 2012 : Debug: including configuration file /app/radius/raddb/ggsn//modules/smbpasswd
Tue Dec 18 11:26:55 2012 : Debug: including configuration file /app/radius/raddb/ggsn//modules/logintime
Tue Dec 18 11:26:55 2012 : Debug: including configuration file /app/radius/raddb/ggsn//modules/attr_rewrite
Tue Dec 18 11:26:55 2012 : Debug: including configuration file /app/radius/raddb/ggsn//modules/redis
Tue Dec 18 11:26:55 2012 : Debug: including configuration file /app/radius/raddb/ggsn//modules/mac2vlan
Tue Dec 18 11:26:55 2012 : Debug: including configuration file /app/radius/raddb/ggsn//modules/cache
Tue Dec 18 11:26:55 2012 : Debug: including configuration file /app/radius/raddb/ggsn//modules/checkval
Tue Dec 18 11:26:55 2012 : Debug: including configuration file /app/radius/raddb/ggsn//modules/otp
Tue Dec 18 11:26:55 2012 : Debug: including configuration file /app/radius/raddb/ggsn//modules/realm
Tue Dec 18 11:26:55 2012 : Debug: including configuration file /app/radius/raddb/ggsn//modules/sradutmp
Tue Dec 18 11:26:55 2012 : Debug: including configuration file /app/radius/raddb/ggsn//modules/counter
Tue Dec 18 11:26:55 2012 : Debug: including configuration file /app/radius/raddb/ggsn//modules/pap
Tue Dec 18 11:26:55 2012 : Debug: including configuration file /app/radius/raddb/ggsn//modules/passwd
Tue Dec 18 11:26:55 2012 : Debug: including files in directory /app/radius/raddb/ggsn//sites-enabled/
Tue Dec 18 11:26:55 2012 : Debug: including configuration file /app/radius/raddb/ggsn//sites-enabled/default
Tue Dec 18 11:26:55 2012 : Debug: including dictionary file /app/radius/raddb/ggsn//dictionary
Tue Dec 18 11:26:55 2012 : Debug: main {
Tue Dec 18 11:26:55 2012 : Debug: 	name = "radiusd"
Tue Dec 18 11:26:55 2012 : Debug: 	prefix = "/app/radius/freeradius-2.2.0"
Tue Dec 18 11:26:55 2012 : Debug: 	localstatedir = "/app_log/radius/ggsn"
Tue Dec 18 11:26:55 2012 : Debug: 	sbindir = "/app/radius/freeradius-2.2.0/sbin"
Tue Dec 18 11:26:55 2012 : Debug: 	logdir = "/app_log/radius/ggsn"
Tue Dec 18 11:26:55 2012 : Debug: 	run_dir = "/app_log/radius/ggsn/run/radiusd"
Tue Dec 18 11:26:55 2012 : Debug: 	libdir = "/app/radius/freeradius-2.2.0/lib"
Tue Dec 18 11:26:55 2012 : Debug: 	radacctdir = "/app_log/radius/ggsn/radacct"
Tue Dec 18 11:26:55 2012 : Debug: 	hostname_lookups = no
Tue Dec 18 11:26:55 2012 : Debug: 	max_request_time = 30
Tue Dec 18 11:26:55 2012 : Debug: 	cleanup_delay = 5
Tue Dec 18 11:26:55 2012 : Debug: 	max_requests = 25600
Tue Dec 18 11:26:55 2012 : Debug: 	pidfile = "/app_log/radius/ggsn/run/radiusd/radiusd.pid"
Tue Dec 18 11:26:55 2012 : Debug: 	checkrad = "/app/radius/freeradius-2.2.0/sbin/checkrad"
Tue Dec 18 11:26:55 2012 : Debug: 	debug_level = 0
Tue Dec 18 11:26:55 2012 : Debug: 	proxy_requests = yes
Tue Dec 18 11:26:55 2012 : Debug:  log {
Tue Dec 18 11:26:55 2012 : Debug: 	stripped_names = no
Tue Dec 18 11:26:55 2012 : Debug: 	auth = no
Tue Dec 18 11:26:55 2012 : Debug: 	auth_badpass = no
Tue Dec 18 11:26:55 2012 : Debug: 	auth_goodpass = no
Tue Dec 18 11:26:55 2012 : Debug:  }
Tue Dec 18 11:26:55 2012 : Debug:  security {
Tue Dec 18 11:26:55 2012 : Debug: 	max_attributes = 200
Tue Dec 18 11:26:55 2012 : Debug: 	reject_delay = 1
Tue Dec 18 11:26:55 2012 : Debug: 	status_server = no
Tue Dec 18 11:26:55 2012 : Debug:  }
Tue Dec 18 11:26:55 2012 : Debug: }
Tue Dec 18 11:26:55 2012 : Debug: radiusd: #### Loading Realms and Home Servers ####
Tue Dec 18 11:26:55 2012 : Debug:  realm LOCAL {
Tue Dec 18 11:26:55 2012 : Debug:  }
Tue Dec 18 11:26:55 2012 : Debug:  realm orangewap {
Tue Dec 18 11:26:55 2012 : Debug: 	accthost = 213.151.250.21:1813
Tue Dec 18 11:26:55 2012 : Debug: 	secret = testing123
Tue Dec 18 11:26:55 2012 : Debug:  }
Tue Dec 18 11:26:55 2012 : Debug:  realm orangewap_csd {
Tue Dec 18 11:26:55 2012 : Debug: 	authhost = 213.151.208.181:1645
Tue Dec 18 11:26:55 2012 : Debug: 	accthost = 213.151.208.181:1646
Tue Dec 18 11:26:55 2012 : Debug: 	secret = testing123
Tue Dec 18 11:26:55 2012 : Debug:  }
Tue Dec 18 11:26:55 2012 : Debug:  realm orangewapdis {
Tue Dec 18 11:26:55 2012 : Debug: 	authhost = 85.237.225.46:1745
Tue Dec 18 11:26:55 2012 : Debug: 	accthost = 85.237.225.46:1746
Tue Dec 18 11:26:55 2012 : Debug: 	secret = testing123
Tue Dec 18 11:26:55 2012 : Debug:  }
Tue Dec 18 11:26:55 2012 : Debug:  realm orangewapdis_csd {
Tue Dec 18 11:26:55 2012 : Debug: 	authhost = 85.237.225.47:1645
Tue Dec 18 11:26:55 2012 : Debug: 	accthost = 85.237.225.47:1646
Tue Dec 18 11:26:55 2012 : Debug: 	secret = testing123
Tue Dec 18 11:26:55 2012 : Debug:  }
Tue Dec 18 11:26:55 2012 : Debug:  realm testwap {
Tue Dec 18 11:26:55 2012 : Debug: 	authhost = 213.151.208.133:1745
Tue Dec 18 11:26:55 2012 : Debug: 	accthost = 213.151.208.133:1746
Tue Dec 18 11:26:55 2012 : Debug: 	secret = testing123
Tue Dec 18 11:26:55 2012 : Debug:  }
Tue Dec 18 11:26:55 2012 : Debug:  realm testwap_csd {
Tue Dec 18 11:26:55 2012 : Debug: 	authhost = 213.151.208.182:1645
Tue Dec 18 11:26:55 2012 : Debug: 	accthost = 213.151.208.182:1646
Tue Dec 18 11:26:55 2012 : Debug: 	secret = testing123
Tue Dec 18 11:26:55 2012 : Debug:  }
Tue Dec 18 11:26:55 2012 : Debug:  realm mvaswap {
Tue Dec 18 11:26:55 2012 : Debug: 	accthost = 213.151.250.21:1813
Tue Dec 18 11:26:55 2012 : Debug: 	secret = testing123
Tue Dec 18 11:26:55 2012 : Debug:  }
Tue Dec 18 11:26:55 2012 : Debug:  realm orangewap_ng {
Tue Dec 18 11:26:55 2012 : Debug: 	accthost = 213.151.250.21:1813
Tue Dec 18 11:26:55 2012 : Debug: 	secret = testing123
Tue Dec 18 11:26:55 2012 : Debug:  }
Tue Dec 18 11:26:55 2012 : Debug:  realm mvaswapsite {
Tue Dec 18 11:26:55 2012 : Debug: 	accthost = 213.151.250.149:1813
Tue Dec 18 11:26:55 2012 : Debug: 	secret = testing123
Tue Dec 18 11:26:55 2012 : Debug:  }
Tue Dec 18 11:26:55 2012 : Debug: radiusd: #### Loading Clients ####
Tue Dec 18 11:26:55 2012 : Debug:  client localhost {
Tue Dec 18 11:26:55 2012 : Debug: 	ipaddr = 127.0.0.1
Tue Dec 18 11:26:55 2012 : Debug: 	require_message_authenticator = no
Tue Dec 18 11:26:55 2012 : Debug: 	secret = "L{^7- at D-{o!b:5"
Tue Dec 18 11:26:55 2012 : Debug: 	nastype = "other"
Tue Dec 18 11:26:55 2012 : Debug:  }
Tue Dec 18 11:26:55 2012 : Debug:  client 10.64.192.1 {
Tue Dec 18 11:26:55 2012 : Debug: 	require_message_authenticator = no
Tue Dec 18 11:26:55 2012 : Debug: 	secret = "$ko6J!4p&a"
Tue Dec 18 11:26:55 2012 : Debug: 	shortname = "ggsn_flexi01BB1"
Tue Dec 18 11:26:55 2012 : Debug:  }
Tue Dec 18 11:26:55 2012 : Debug:  client 10.64.64.1 {
Tue Dec 18 11:26:55 2012 : Debug: 	require_message_authenticator = no
Tue Dec 18 11:26:55 2012 : Debug: 	secret = "$ko6J!4p&a"
Tue Dec 18 11:26:55 2012 : Debug: 	shortname = "ggsn_flexi01BA1"
Tue Dec 18 11:26:55 2012 : Debug:  }
Tue Dec 18 11:26:55 2012 : Debug:  client 10.64.64.3 {
Tue Dec 18 11:26:55 2012 : Debug: 	require_message_authenticator = no
Tue Dec 18 11:26:55 2012 : Debug: 	secret = "$ko6J!4p&a"
Tue Dec 18 11:26:55 2012 : Debug: 	shortname = "ggsn_flexi03BA2"
Tue Dec 18 11:26:55 2012 : Debug:  }
Tue Dec 18 11:26:55 2012 : Debug:  client 10.13.224.3 {
Tue Dec 18 11:26:55 2012 : Debug: 	require_message_authenticator = no
Tue Dec 18 11:26:55 2012 : Debug: 	secret = "$ko6J!4p&a"
Tue Dec 18 11:26:55 2012 : Debug: 	shortname = "ggsn_flexi03BB2"
Tue Dec 18 11:26:55 2012 : Debug:  }
Tue Dec 18 11:26:55 2012 : Debug:  client 10.8.251.131 {
Tue Dec 18 11:26:55 2012 : Debug: 	require_message_authenticator = no
Tue Dec 18 11:26:55 2012 : Debug: 	secret = "testing123"
Tue Dec 18 11:26:55 2012 : Debug: 	shortname = "ggsn_ng03ba2"
Tue Dec 18 11:26:55 2012 : Debug:  }
Tue Dec 18 11:26:55 2012 : Debug:  client 10.8.251.132 {
Tue Dec 18 11:26:55 2012 : Debug: 	require_message_authenticator = no
Tue Dec 18 11:26:55 2012 : Debug: 	secret = "testing123"
Tue Dec 18 11:26:55 2012 : Debug: 	shortname = "ggsn_ng03ba2"
Tue Dec 18 11:26:55 2012 : Debug:  }
Tue Dec 18 11:26:55 2012 : Debug:  client 10.8.251.147 {
Tue Dec 18 11:26:55 2012 : Debug: 	require_message_authenticator = no
Tue Dec 18 11:26:55 2012 : Debug: 	secret = "testing123"
Tue Dec 18 11:26:55 2012 : Debug: 	shortname = "ggsn_ng03bb1"
Tue Dec 18 11:26:55 2012 : Debug:  }
Tue Dec 18 11:26:55 2012 : Debug:  client 10.8.251.148 {
Tue Dec 18 11:26:55 2012 : Debug: 	require_message_authenticator = no
Tue Dec 18 11:26:55 2012 : Debug: 	secret = "testing123"
Tue Dec 18 11:26:55 2012 : Debug: 	shortname = "ggsn_ng03bb1"
Tue Dec 18 11:26:55 2012 : Debug:  }
Tue Dec 18 11:26:55 2012 : Debug: radiusd: #### Instantiating modules ####
Tue Dec 18 11:26:55 2012 : Debug:  instantiate {
Tue Dec 18 11:26:55 2012 : Debug:  }
Tue Dec 18 11:26:55 2012 : Debug: radiusd: #### Loading Virtual Servers ####
Tue Dec 18 11:26:55 2012 : Debug: server { # from file /app/radius/raddb/ggsn//radiusd.conf
Tue Dec 18 11:26:55 2012 : Debug:  modules {
Tue Dec 18 11:26:55 2012 : Debug:   Module: Creating Post-Auth-Type = REJECT
Tue Dec 18 11:26:55 2012 : Debug:  Module: Checking authenticate {...} for more modules to load
Tue Dec 18 11:26:55 2012 : Debug:     (Loaded rlm_pap, checking if it's valid)
Tue Dec 18 11:26:55 2012 : Debug:  Module: Linked to module rlm_pap
Tue Dec 18 11:26:55 2012 : Debug:  Module: Instantiating module "pap" from file /app/radius/raddb/ggsn//modules/pap
Tue Dec 18 11:26:55 2012 : Debug:   pap {
Tue Dec 18 11:26:55 2012 : Debug: 	encryption_scheme = "auto"
Tue Dec 18 11:26:55 2012 : Debug: 	auto_header = no
Tue Dec 18 11:26:55 2012 : Debug:   }
Tue Dec 18 11:26:55 2012 : Debug:     (Loaded rlm_chap, checking if it's valid)
Tue Dec 18 11:26:55 2012 : Debug:  Module: Linked to module rlm_chap
Tue Dec 18 11:26:55 2012 : Debug:  Module: Instantiating module "chap" from file /app/radius/raddb/ggsn//modules/chap
Tue Dec 18 11:26:55 2012 : Debug:  Module: Checking authorize {...} for more modules to load
Tue Dec 18 11:26:55 2012 : Debug:     (Loaded rlm_preprocess, checking if it's valid)
Tue Dec 18 11:26:55 2012 : Debug:  Module: Linked to module rlm_preprocess
Tue Dec 18 11:26:55 2012 : Debug:  Module: Instantiating module "preprocess" from file /app/radius/raddb/ggsn//modules/preprocess
Tue Dec 18 11:26:55 2012 : Debug:   preprocess {
Tue Dec 18 11:26:55 2012 : Debug: 	huntgroups = "/app/radius/raddb/ggsn//huntgroups"
Tue Dec 18 11:26:55 2012 : Debug: 	hints = "/app/radius/raddb/ggsn//hints"
Tue Dec 18 11:26:55 2012 : Debug: 	with_ascend_hack = no
Tue Dec 18 11:26:55 2012 : Debug: 	ascend_channels_per_line = 23
Tue Dec 18 11:26:55 2012 : Debug: 	with_ntdomain_hack = no
Tue Dec 18 11:26:55 2012 : Debug: 	with_specialix_jetstream_hack = no
Tue Dec 18 11:26:55 2012 : Debug: 	with_cisco_vsa_hack = no
Tue Dec 18 11:26:55 2012 : Debug: 	with_alvarion_vsa_hack = no
Tue Dec 18 11:26:55 2012 : Debug:   }
Tue Dec 18 11:26:55 2012 : Debug: reading pairlist file /app/radius/raddb/ggsn//huntgroups
Tue Dec 18 11:26:55 2012 : Debug: reading pairlist file /app/radius/raddb/ggsn//hints
Tue Dec 18 11:26:55 2012 : Debug:     (Loaded rlm_realm, checking if it's valid)
Tue Dec 18 11:26:55 2012 : Debug:  Module: Linked to module rlm_realm
Tue Dec 18 11:26:55 2012 : Debug:  Module: Instantiating module "suffix" from file /app/radius/raddb/ggsn//modules/realm
Tue Dec 18 11:26:55 2012 : Debug:   realm suffix {
Tue Dec 18 11:26:55 2012 : Debug: 	format = "suffix"
Tue Dec 18 11:26:55 2012 : Debug: 	delimiter = "@"
Tue Dec 18 11:26:55 2012 : Debug: 	ignore_default = no
Tue Dec 18 11:26:55 2012 : Debug: 	ignore_null = no
Tue Dec 18 11:26:55 2012 : Debug:   }
Tue Dec 18 11:26:55 2012 : Debug:     (Loaded rlm_files, checking if it's valid)
Tue Dec 18 11:26:55 2012 : Debug:  Module: Linked to module rlm_files
Tue Dec 18 11:26:55 2012 : Debug:  Module: Instantiating module "files" from file /app/radius/raddb/ggsn//modules/files
Tue Dec 18 11:26:55 2012 : Debug:   files {
Tue Dec 18 11:26:55 2012 : Debug: 	usersfile = "/app/radius/raddb/ggsn//users"
Tue Dec 18 11:26:55 2012 : Debug: 	acctusersfile = "/app/radius/raddb/ggsn//acct_users"
Tue Dec 18 11:26:55 2012 : Debug: 	preproxy_usersfile = "/app/radius/raddb/ggsn//preproxy_users"
Tue Dec 18 11:26:55 2012 : Debug: 	compat = "no"
Tue Dec 18 11:26:55 2012 : Debug:   }
Tue Dec 18 11:26:55 2012 : Debug: reading pairlist file /app/radius/raddb/ggsn//users
Tue Dec 18 11:26:55 2012 : Debug: reading pairlist file /app/radius/raddb/ggsn//acct_users
Tue Dec 18 11:26:55 2012 : Debug: reading pairlist file /app/radius/raddb/ggsn//preproxy_users
Tue Dec 18 11:26:55 2012 : Debug:  Module: Checking preacct {...} for more modules to load
Tue Dec 18 11:26:55 2012 : Debug:     (Loaded rlm_linelog, checking if it's valid)
Tue Dec 18 11:26:55 2012 : Debug:  Module: Linked to module rlm_linelog
Tue Dec 18 11:26:55 2012 : Debug:  Module: Instantiating module "linelog" from file /app/radius/raddb/ggsn//modules/linelog
Tue Dec 18 11:26:55 2012 : Debug:   linelog {
Tue Dec 18 11:26:55 2012 : Debug: 	filename = "/app_log/radius/ggsn/linelog-%Y%m%d"
Tue Dec 18 11:26:55 2012 : Debug: 	permissions = 424
Tue Dec 18 11:26:55 2012 : Debug: 	format = "%{Acct-Status-Type}:%{Calling-Station-Id}:%{Framed-IP-Address}:%{Called-Station-Id}:%{NAS-IP-Address}:%{3GPP-SGSN-Address}:%{Acct-Multi-Session-Id}:%l"
Tue Dec 18 11:26:55 2012 : Debug: 	reference = "Accounting-Request.%{%{Acct-Status-Type}:-unknown}"
Tue Dec 18 11:26:55 2012 : Debug:   }
Tue Dec 18 11:26:55 2012 : Debug:  Module: Checking accounting {...} for more modules to load
Tue Dec 18 11:26:55 2012 : Debug:     (Loaded rlm_attr_filter, checking if it's valid)
Tue Dec 18 11:26:55 2012 : Debug:  Module: Linked to module rlm_attr_filter
Tue Dec 18 11:26:55 2012 : Debug:  Module: Instantiating module "attr_filter.accounting_response" from file /app/radius/raddb/ggsn//modules/attr_filter
Tue Dec 18 11:26:55 2012 : Debug:   attr_filter attr_filter.accounting_response {
Tue Dec 18 11:26:55 2012 : Debug: 	attrsfile = "/app/radius/raddb/ggsn//attrs.accounting_response"
Tue Dec 18 11:26:55 2012 : Debug: 	key = "%{User-Name}"
Tue Dec 18 11:26:55 2012 : Debug: 	relaxed = no
Tue Dec 18 11:26:55 2012 : Debug:   }
Tue Dec 18 11:26:55 2012 : Debug: reading pairlist file /app/radius/raddb/ggsn//attrs.accounting_response
Tue Dec 18 11:26:55 2012 : Debug:  Module: Checking post-proxy {...} for more modules to load
Tue Dec 18 11:26:55 2012 : Debug:  Module: Instantiating module "attr_filter.post-proxy" from file /app/radius/raddb/ggsn//modules/attr_filter
Tue Dec 18 11:26:55 2012 : Debug:   attr_filter attr_filter.post-proxy {
Tue Dec 18 11:26:55 2012 : Debug: 	attrsfile = "/app/radius/raddb/ggsn//attrs"
Tue Dec 18 11:26:55 2012 : Debug: 	key = "%{Realm}"
Tue Dec 18 11:26:55 2012 : Debug: 	relaxed = no
Tue Dec 18 11:26:55 2012 : Debug:   }
Tue Dec 18 11:26:55 2012 : Debug: reading pairlist file /app/radius/raddb/ggsn//attrs
Tue Dec 18 11:26:55 2012 : Debug:  Module: Checking post-auth {...} for more modules to load
Tue Dec 18 11:26:55 2012 : Debug:  Module: Instantiating module "attr_filter.access_reject" from file /app/radius/raddb/ggsn//modules/attr_filter
Tue Dec 18 11:26:55 2012 : Debug:   attr_filter attr_filter.access_reject {
Tue Dec 18 11:26:55 2012 : Debug: 	attrsfile = "/app/radius/raddb/ggsn//attrs.access_reject"
Tue Dec 18 11:26:55 2012 : Debug: 	key = "%{User-Name}"
Tue Dec 18 11:26:55 2012 : Debug: 	relaxed = no
Tue Dec 18 11:26:55 2012 : Debug:   }
Tue Dec 18 11:26:55 2012 : Debug: reading pairlist file /app/radius/raddb/ggsn//attrs.access_reject
Tue Dec 18 11:26:55 2012 : Debug:  } # modules
Tue Dec 18 11:26:55 2012 : Debug: } # server
Tue Dec 18 11:26:55 2012 : Debug: radiusd: #### Opening IP addresses and Ports ####
Tue Dec 18 11:26:55 2012 : Debug: listen {
Tue Dec 18 11:26:55 2012 : Debug: 	type = "acct"
Tue Dec 18 11:26:55 2012 : Debug: 	ipaddr = *
Tue Dec 18 11:26:55 2012 : Debug: 	port = 2813
Tue Dec 18 11:26:55 2012 : Debug: }
Tue Dec 18 11:26:55 2012 : Debug: listen {
Tue Dec 18 11:26:55 2012 : Debug: 	type = "acct"
Tue Dec 18 11:26:55 2012 : Debug: 	ipaddr = *
Tue Dec 18 11:26:55 2012 : Debug: 	port = 2646
Tue Dec 18 11:26:55 2012 : Debug: }
Tue Dec 18 11:26:55 2012 : Debug: Listening on accounting address * port 2813
Tue Dec 18 11:26:55 2012 : Debug: Listening on accounting address * port 2646
Tue Dec 18 11:26:55 2012 : Debug: Listening on proxy address * port 1402
Tue Dec 18 11:26:55 2012 : Info: Ready to process requests.
rad_recv: Accounting-Request packet from host 127.0.0.1 port 35468, id=183, length=437
	NAS-Port-Type = Virtual
	3GPP-NSAPI = "5"
	3GPP-IMEISV = "3517290534619301"
	Called-Station-Id = "orangewap"
	3GPP-Selection-Mode = "0"
	Acct-Status-Type = Start
	Acct-Output-Packets = 0
	3GPP-GGSN-Address = 213.151.217.30
	3GPP-PDP-Type = 0
	NAS-IP-Address = 10.8.251.148
	3GPP-RAT-Type = 1
	Acct-Output-Octets = 0
	3GPP-MS-Time-Zone = 1024
	3GPP-SGSN-Address = 213.151.252.32
	Acct-Terminate-Cause = User-Request
	3GPP-Location-Info = 0x0132f1100bfa2da4
	Acct-Session-Time = 199
	3GPP-IMSI-MCC-MNC = "23101"
	NAS-Identifier = "10.8.251.148"
	Framed-IP-Address = 10.47.212.42
	Acct-Input-Packets = 35
	3GPP-Negotiated-DSCP = 0
	3GPP-IMSI = "231014450299655"
	Acct-Input-Octets = 2278
	Acct-Session-Id = "D597D91E77c303c2"
	Acct-Output-Gigawords = 0
	3GPP-Charging-Characteristics = "0800"
	Proxy-State = 0x3135
	Service-Type = Framed-User
	3GPP-SGSN-MCC-MNC = "23101"
	3GPP-GPRS-Negotiated-QoS-profile = "05-23921F939668AF7480000000"
	3GPP-Charging-ID = 2009269186
	Calling-Station-Id = "421905012405"
	Framed-Protocol = GPRS-PDP-Context
	Event-Timestamp = "Dec 10 2012 00:51:32 CET"
	Acct-Input-Gigawords = 0
	3GPP-Session-Stop-Indicator = 255
	3GPP-GGSN-MCC-MNC = "23101"
	3GPP-Charging-Gateway-Address = 0.0.0.0
Tue Dec 18 11:27:23 2012 : Info: # Executing section preacct from file /app/radius/raddb/ggsn//sites-enabled/default
Tue Dec 18 11:27:23 2012 : Info: +- entering group preacct {...}
Tue Dec 18 11:27:23 2012 : Info: ++[preprocess] returns ok
Segmentation fault

-----Original Message-----
From: freeradius-users-bounces+peter.balsianok=orange.sk at lists.freeradius.org [mailto:freeradius-users-bounces+peter.balsianok=orange.sk at lists.freeradius.org] On Behalf Of Alan DeKok
Sent: Tuesday, December 18, 2012 11:06 AM
To: FreeRadius users mailing list
Subject: Re: Problem in xlat.c code

BALSIANOK, Peter wrote:
> i have found problem in xlat.c code.

  I've pulled a fix from the "master' branch.  It should now work.

  Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


More information about the Freeradius-Users mailing list