Okay all you smart people out there, here is one for you.

i'm running radius 1.0.0 on a solaris 9 box. pretty standard config but with 2 detail files instead of one. one file for each nas device, and one file/day for each nas device.

when i run radrelay on accounting packets from a 3com termserver, redback, or even our dinosaur of a livingston portmaster i have no problems, but when i try to radrelay packets from a PDSN (Nortel Shasta running simple ip), radrelay doesn't start (in fact, it cores) and if i start with -xx i get "Bus Error (core dumped)" I'm not having any problems with authentication from this device and i'm still recieving accounting packets from the device.

my command line was as follows (only without the \ ):
/opt/bin/radrelay -a /opt/var/log/radius/radacct/12.21.213.86 -d \
/opt/etc/raddb -r 209.4.229.75:1813 -S </path/to/filename> detail-NAS

from the core (with -xx) [just getting this by doing strings core | more]

CORE
radrelay
/opt/bin/radrelay -xx -a /opt/var/log/radius/radacct/12.21.213.86 -d /opt/etc/r
CORE
SUNW,Sun-Fire-280R
CORE
rela
t/va
/rad
13.8
CORE
CORE
are/freeare/free/opt//shy.cisco.
CORE
radrelay
/opt/bin/radrelay -xx -a /opt/var/log/radius/radacct/12.21.213.86 -d /opt/etc/r
CORE
are/freeare/free/opt//shy.cisco.
CORE
SUNW,Sun-Fire-280R
CORE
CORE
SunOS
david
Generic_112233-11
sun4u
CORE
CORE
CORE
are/freeare/free/opt//shy.cisco.
CORE
an attribute name
Expected end of line or comma
failed to get value
expecting '='
Read a comment instead of a token
$Id: token.c,v 1.17 2003/09/12 19:25:29 phampson Exp $
$Id: misc.c,v 1.41.2.1 2004/06/14 15:25:15 aland Exp $
%d.%d.%d.%d
%x:%x:%x:%x
0123456789abcdef
$Id: log.c,v 1.7 2003/09/12 19:25:29 phampson Exp $
$Id: filters.c,v 1.36 2004/02/26 19:04:20 aland Exp $


... snip out list of all running processes ...

0123456789ABCDEFabcdef
Unknown string "%s" in IPX data filter
Invalid character in IP address
0123456789
Unknown IP protocol "%s" in IP data filter
Unknown extra string "%s" in IP data filter
Unknown string "%s" in IP data filter
Invalid string "%s" in generic data filter
Unknown Ascend filter direction "%s"
Unknown Ascend filter action "%s"
Unknown Ascend filter type "%s"
 %02x
%s %s %s
 %u
%02x
 more
 srcipxnet 0x%04x srcipxnode 0x%02x%02x%02x%02x%02x%02x
 dstipxnet 0x%04x dstipxnode 0x%02x%02x%02x%02x%02x%02x
 dstipxsock %s 0x%04x
 srcipxsock %s 0x%04x
 srcip %d.%d.%d.%d/%d
 dstip %d.%d.%d.%d/%d
 est
 dstport %s %d
 srcport %s %d
$Id: rbtree.c,v 1.10 2004/05/14 08:34:44 aland Exp $
$Id: radrelay.c,v 1.22 2004/04/28 21:22:40 kkalev Exp $

... snip out what looks like binary stuff ...

/opt/etc/raddb
Van-Jacobsen-TCP-IP
VJ-TCP-IP
Shell-User
Unix
Dialback-Login-User
Dialback-Framed-User
Login
Framed
Callback-Login
Callback-Framed
Exec-User
None
Local
3Com-Monitor
3Com-Manager
3Com-Administrator
Qy files
the p
Q:26:20 a
Qshare/fr
Qr-ride t
Qfor info
Qdictiona
Qmbers yo
QTRIBUTE
qX 8
?fQfy
TC_{|
~(pE
XkSm
eL%2nO
m{S4Zi
;8J\
*s3J
5T;^
Fri Feb 18 10:24:54 2005
Acct-Status-Type = Stop
User-Name = "wap"
Event-Timestamp = "Feb 18 2005 10:26:31 AKST"
Service-Type = Framed-User
NAS-IP-Address = 64.4.239.197
Shasta-Attr-4 = 0x53686173746120353030303a2069534f532028746d292c207064736e2d6d74
632d332e302e3128352900
Acct-Session-Id = "0b000d73"
3GPP2-Correlation-Id = "0b000d72"
Calling-Station-Id = "000009073559898"
NAS-Port = 184552818
NAS-Port-Type = Virtual
Framed-IP-Netmask = 255.255.255.255
3GPP2-IP-Technology = 1
3GPP2-BSID = "07FA0001013B"
Acct-Authentic = RADIUS
Framed-IP-Address = 64.4.233.5
Acct-Input-Octets = 1468
Acct-Output-Octets = 4612
Acct-Input-Packets = 22
Acct-Output-Packets = 9
Acct-Terminate-Cause = User-Request
3GPP2-Release-Indicator = 3
3GPP2-Session-Continue = 0
Acct-Session-Time = 47
3GPP2-Bad-PPP-Frame-Count = 0
3GPP2-Received-HDLC-Octets = 1779
Client-IP-Address = 12.21.213.86
Acct-Unique-Session-Id = "609d3811c1efae36"
Timestamp = 1108754694
Fri Feb 18 10:30:20 2005
Acct-Status-Type = Start
User-Name = "wap"
Event-Timestamp = "Feb 18 2005 10:31:58 AKST"
Service-Type = Framed-User
NAS-IP-Address = 64.4.239.197
Shasta-Attr-4 = 0x53686173746120353030303a2069534f532028746d292c207064736e2d6d74
632d332e302e3128352900
Acct-Session-Id = "0b000d74"
3GPP2-Correlation-Id = "0b000d73"
Calling-Station-Id = "000009073559993"
NAS-Port = 184552819
NAS-Port-Type = Virtual
Framed-IP-Netmask = 255.255.255.255
3GPP2-Forward-FCH-Mux-Option = 15
3GPP2-Reverse-FCH-Mux-Option = 13
3GPP2-Attr-14 = 0x00000003
3GPP2-Attr-15 = 0x000000ff
3GPP2-Service-Option = 33
3GPP2-Forward-Traffic-Type = 1
3GPP2-Reverse-Traffic-Type = 1
3GPP2-FCH-Frame-Size = 0
3GPP2-Forward-FCH-RC = 3
3GPP2-Reverse-FCH-RC = 3
3GPP2-IP-Technology = 1
3GPP2-BSID = "07FA0001012D"
Acct-Authentic = RADIUS
Framed-IP-Address = 64.4.233.10
3GPP2-PCF-IP-Address = 172.16.200.2
3GPP2-Compulsory-Tunnel-Indicator = 0
3GPP2-Begin-Session = 1
Client-IP-Address = 12.21.213.86
Acct-Unique-Session-Id = "cee384ac39a4612c"
Timestamp = 1108755020
Fri Feb 18 10:31:44 2005
Acct-Status-Type = Stop
User-Name = "wap"
Event-Timestamp = "Feb 18 2005 10:33:22 AKST"
Service-Type = Framed-User
NAS-IP-Address = 64.4.239.197
Shasta-Attr-4 = 0x53686173746120353030303a2069534f532028746d292c207064736e2d6d74
632d332e302e3128352900
Acct-Session-Id = "0b000d74"
3GPP2-Correlation-Id = "0b000d73"
Calling-Station-Id = "000009073559993"
NAS-Port = 184552819
NAS-Port-Type = Virtual
Framed-IP-Netmask = 255.255.255.255
3GPP2-IP-Technology = 1
3GPP2-BSID = "07FA0001012D"
Acct-Authentic = RADIUS
Framed-IP-Address = 64.4.233.10
Acct-Input-Octets = 88
Acct-Output-Octets = 88
Acct-Input-Packets = 2
Acct-Output-Packets = 2
Acct-Terminate-Cause = User-Request
3GPP2-Release-Indicator = 3
3GPP2-Session-Continue = 0


... and continues like that for a while ...

... some more stuff that i'm not sure if i need to add or not ...

Anyone got any ideas what i might be doing wrong here?

Thanks in advance for your help
t-
--
Terry J Fike Jr
System Administrator
MTA Solutions
907-793-4100
[EMAIL PROTECTED]

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

Reply via email to