\000 in "octets" attribute?

Alan DeKok aland at nitros9.org
Thu Jun 15 17:03:49 CEST 2006


> 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.  Use the "octets" type, and set the value to 0x00.

  The problem comes because you're either using "string" type, or
you're using "octets", but assigning a string value of "0" to it.
Don't.  Use the native octets hex data, as documented.

  Alan DeKok.



More information about the Freeradius-Users mailing list