Segmentation fault when processing SNMP

Chris Parker cparker at starnetusa.net
Tue Feb 6 15:55:14 CET 2007


On Feb 6, 2007, at 7:27 AM, Geoffroy Arnoud wrote:

>>   That's what I suspected.  The shortname MUST be
>> defined.  Add it to
>> the "clients.conf" file.
>
> I'm sorry, but it seems that shortname is defined, see
> clients.conf is attachement.

Dump it again, and use gdb to probe the clients structure to  
determine which client
entry it is:

typedef struct radclient {
         lrad_ipaddr_t           ipaddr;
         int                     prefix;
         char                    *longname;
         char                    *secret;
         char                    *shortname;
         char                    *nastype;
         char                    *login;
         char                    *password;
         int                     number; /* internal use only */
} RADCLIENT;


gdb> print c
gdb> print c->shortname
gdb> print c->secret
etc.

--
Chris Parker
Director, Engineering
US LEC Corp.
Internet Telephony & ISP Operations

(888)212-0099   Fax (847)963-1302
Wholesale Internet Services     http://www.megapop.net
VoiceEclipse, The Fresh Alternative http://www.voiceeclipse.com

NOTICE: Message is sent IN CONFIDENCE to addressees. It may contain  
information that is privileged, proprietary or confidential.





More information about the Freeradius-Devel mailing list