ASCII NUL in NAS-Filter-Rule

Alan DeKok aland at deployingradius.com
Thu Apr 21 16:18:44 CEST 2011


Ruslan Pustovoytov wrote:
> Phil, this construction does not send string2.
> I assume when freeradius see nul character it stops reading the string.
> Also I cannot send different rules for each customers in such manner.
> 
> I found one decision for my problem.
> If I send additional NAS-Filter-Rule attribute equal to "0x00" after
> each of my own, character nul is successfully sending.

  OK.  It may be useful (eventually) to add some code making that easier
to do.

  Alan DeKok.



More information about the Freeradius-Users mailing list