What attribute to use to send custom info.

Kenroy bennettk9999 at gmail.com
Wed Apr 19 10:23:15 CEST 2017


Thanks Alan.

On Tue, Apr 18, 2017 at 3:56 PM, Alan DeKok <aland at deployingradius.com>
wrote:

> On Apr 18, 2017, at 3:45 PM, Kenroy <bennettk9999 at gmail.com> wrote:
> >
> >
> >           What  attribute can i use to put custom information  (e.g  such
> > as a token string generated by an application)   when I sent an
> > Access-Accept and have that  attribute and value be returned in the
> > accounting packets.
>
>   The Class attribute is defined to behave this way.  Most NASes implement
> it.
>
>   You *cannot* use any other attribute, because you don't control the NAS
> behaviour.
>
>   Be also aware that many NASes won't handle Class attributes longer than
> 16 octets.  If you need more than that, you're better off storing the
> strings in a local DB, and using Class to transport some 16-byte key into
> the DB.
>
>   Alan DeKok.
>
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/
> list/users.html


More information about the Freeradius-Users mailing list