Adding a binary null to a value using attr_rewrite

Alan DeKok aland at ox.org
Fri Jul 15 17:52:01 CEST 2005


Tore Anderson <tore at linpro.no> wrote:
>   Hi.  I'm using attr_rewrite to add a Class attribute in my auth-
>  reply packets.  I need to include a binary null-byte in the value, but
>  I cannot figure out how to do so.

  That's why the Class attribute is "octets" in the dictionary file.

  Class = 0x000000000000

  Sends a whole bunch of zeros.

>  If I add a verbatim null-byte in radiusd.conf

  Huh?  You don't configure reply attributes in radiusd.conf

  Alan DeKok.



More information about the Freeradius-Users mailing list