Acct-Session-Id special characters changed to hex

Alan DeKok aland at deployingradius.com
Wed May 27 08:53:50 CEST 2009


Sajeewa Warnakulasuriya wrote:
> I'm having some issues with the acct-session-id, where special
> characters for instance [] being converted to it's hex equivalent.

  See the "safe-characters" configuration in the SQL module.

> For example below, the Acct-Session-Id = "301[]426932183" when inserted
> into the accounting table it is inserted as 301=5B=5D426932183.

  Hmm... not many NASes send "[]" in Acct-Session-Id, for precisely this
reason.  What NAS is it?  Why is it sending those attributes?

> I have noticed the same happens with the sql-group.
> 
> Please advise how I could insert the data as received without conversion.

  Read the SQL configuration.  This *is* documented.

  Alan DeKok.



More information about the Freeradius-Users mailing list