add attribute FreeRADIUS-Client-NAS-Type in req accounting?

Alan DeKok aland at deployingradius.com
Sun Oct 1 14:55:44 CEST 2017


On Oct 1, 2017, at 7:14 AM, Dmitry Yashin via Freeradius-Users <freeradius-users at lists.freeradius.org> wrote:
> 
> it's slow ... can some trick ? like
> 
> in dynamic client
> tmp  {
>    type.'%{Packet-Src-IP-Address}' = %{FreeRADIUS-Client-NAS-Type}
> }
> 
> and use tmp.type.'%{Packet-Src-IP-Address}' in pre-acct ?

  You can't do that.

  Just store Packet-Src-IP-Address, and do NAS type lookups later.

  Alan DeKok.




More information about the Freeradius-Users mailing list