radutmp

Alan DeKok aland at deployingradius.com
Thu Dec 9 12:08:16 CET 2010


Gabriel Blanchard wrote:
> any reason why the session_id is limited to only 8 bytes in radutmp?

  Compatibility with the traditional "utmp" files.

> It's truncating my session_ids by 2 bytes and caused me a lot of
> headaches :P
> 
> Would it break anything if I'd just increase it to 32 bytes?

  Yes.  "radlast" is a shell script wrapper around "last".

> While we're at it, why not change the login to 64 bytes as well?

  Or, just store the data in a database.

> I can implement it and submit a patch...just thought I'd email the list
> first to make sure I'm not doing anything stupid.

  I'd prefer to get rid of old files.  Databases are simple to use, and
should be preferred over files that grow forever.

  Alan DeKok.



More information about the Freeradius-Devel mailing list