[RADIATOR] Radiator 4.8 on FreeBSD 8.2 crashes with: "ERR: Attribute number 93 is not defined in your dictionary"

Mike McCauley mikem at open.com.au
Sat Nov 5 17:49:24 CDT 2011


Hi Heikki,

I think this is the same problem that is fixed in the latest patch set with:

Fixed a case where an empty Framed-IPv6-Prefix could cause a crash in 
radpwtst.

Cheers.

On Saturday 05 November 2011 08:03:49 am Heikki Vatiainen wrote:
> On 11/04/2011 12:58 PM, Traiano Welcome wrote:
>
> Hello Traiano,
>
> > Running Radiator in the foreground, I see an additional perl related (?)
> > error line:
>
> Hmm, can you reply with the acme dictionary, dictionary.acme, and do a
> Trace 5 debug. I would like to see the raw packet dump to see if you are
> receiving malformed packets.
>
> > Authentic:  CeK<200>XQ<255><142><136>><243><145><172>$x<248>
> > Attributes:
> >
> > Fri Nov  4 10:33:34 2011: ERR: Attribute number 93 is not defined in your
> > dictionary
> > 'x' outside of string in unpack at
> > /usr/local/lib/perl5/site_perl/5.12.3/Radius/Radius.pm line 1931.
>
> Thanks, this is useful information. Can you tell what version you
> Radius.pm is? There should be a line like this at the top of the file
>
> # $Id: Radius.pm,v 1.157 2011/04/05 00:13:00 mikem Exp $
>
> Version 1.157 is the originally released Radius.pm in version 4.8. Line
> 1931 seems to be related to IPv6 Radius.pm 1.157
>
> > Looking at my 2 dictionaries, attribute  93 seems to have various
> > definitions:
> >
> > (dictionary)
> >
> > ---
> > VENDORATTR     1584    Annex-Rate-Reneg-Req-Rcvd       93     integer
> > VENDORATTR   2352       RB-Remote-Port                  93      string
> > VENDORATTR      5535    3GPP2-Acct-Stop-Trigger                 93
> > integer
> >
> > (dictionary.acme)
> >
> > ---
> > VENDORATTR     9148       Acme-Flow-In-Src-Addr_FS2_F             93
> > ipaddr          Acme
> > ---
> >
> > I'm not sure which would be the overriding definition ?
>
> I do not these are the related. If it is a vendorattr, the the output
> should be something like "... attribute 93 (vendor 1234) is not defined
> ..."
>
> > Additionally, I have another FreeBSD server (8.2-RELEASE-p3 #1) running
> > radiator 4.8 (same source package), using the same dictionaries,  with
> > perl version 5.12.4, but it's running fine. I've even upgraded the
> > current perl on this system to 5.12.4, but that incremental change didn't
> > have an effect.
> >
> > I'd be grateful for any additional insights you might have.
>
> If you could create a Trace 5 dump that shows the raw data that is
> received, that would be useful.
>
> Thanks!
> Heikki



-- 
Mike McCauley                               mikem at open.com.au
Open System Consultants Pty. Ltd
9 Bulbul Place Currumbin Waters QLD 4223 Australia   http://www.open.com.au
Phone +61 7 5598-7474                       Fax   +61 7 5598-7070

Radiator: the most portable, flexible and configurable RADIUS server 
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, 
Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS, 
TTLS, PEAP, TNC, WiMAX, RSA, Vasco, Yubikey, MOTP, HOTP, TOTP,
DIAMETER etc. Full source on Unix, Windows, MacOSX, Solaris, VMS, NetWare etc.


More information about the radiator mailing list