\000 in "octets" attribute?

Erik Bolsø erik at linpro.no
Thu Jun 15 13:31:25 CEST 2006


On 2006-06-15 12:05, Stefan Winter <stefan.winter at restena.lu> wrote:
> Hi,
> 
> > > Then you are supposed to use the "integer" type, not "octets"
> >
> > No, that would be 4 octets.  A 1-octet attribute allowing any value
> > must be of type "string" (in RFC language, "octets" in FreeRADIUS).
> 
> Ah. Then you are in the unlucky position that you are not allowed to
> send a
> \000 to your NAS. Integer is too long, String may not terminate with a
> \000.

So I must do source-level hacks to be able to send a 1-octet \000
attribute, with current FreeRADIUS? Have I understood you correctly?

No criticism implied, of course. Thanks for the help so far.

--
Erik Bolsø
Linpro AS







More information about the Freeradius-Users mailing list