freeradius-client sequence file replacement

Alan DeKok aland at
Mon Feb 1 14:20:28 CET 2010

Alex Massover wrote:
> That requires a redesign of the way freeradius-client works, because currently it opens new socket for every request.

  Then set the ID field (seq_nbr) to a random number.

> Now seq file really limits performance, so for short term I can just drop rc_get_seqnbr() in favor of random number (random code already exists there). Anyway it doesn't matter what id will be there because new socket will be used.

  Yes.  Set it to a random number.  Even rand() here is good enough.

> For a long term maybe it worth implementing what you described below, or maybe it's good enough to stay with new socket?

  For high performance systems, having multiple packets on one socket
would be best.

  Alan DeKok.

More information about the Freeradius-Devel mailing list