CISCO_ACCOUNTING_HACK

Alan DeKok aland at deployingradius.com
Tue Aug 18 01:32:43 CEST 2009


Gabriel Blanchard wrote:
> Now on another note (not sure If I should create a separate thread about
> this)
> 
> in detail.c
> 
>     /*
>      *    Cap delay at 4 packets/s.  If the end system can't
>      *    handle this, then it's very broken.
>      */
>     if (data->delay_time > (USEC / 4)) data->delay_time= USEC / 4;
> 
> My (and most) SQL servers are capable of handling more than 4 SQL
> queries per second. Maybe that setting shouldn't be so static?

  The delay is inter-packet delay.  i.e. time between reading two
consecutive packets from the detail file.

  This code sets the *maximum* delay.  It's capped at .25s.

  The *minimum* delay is whatever your SQL server can handle.

  Alan DeKok.




More information about the Freeradius-Devel mailing list