rewriting acctstoptime

Alan DeKok aland at deployingradius.com
Wed Mar 20 15:34:24 CET 2019


On Mar 20, 2019, at 10:13 AM, Igor Smitran <sigor at blic.net> wrote:
> 
> i have an old ERX1440 Juniper BRAS. It is working very well with thousands of pppoe connections. CPU is not burden at all, memory too.
> 
> But, from time to time there are large delays in STOP packets (over 20 minutes).

   Vendors do love implementing things badly...

> For example (radius detail log):
> 
> Wed Mar 20 15:02:56 2019
>     Acct-Status-Type = Stop
>     User-Name = "***"
>     Event-Timestamp = "Mar 20 2019 14:40:09 CET"
>     Acct-Delay-Time = 0
>     NAS-Identifier = "ERX1440***"
>     Acct-Session-Id = "0252606670"
>     NAS-IP-Address = ****
>     Service-Type = Framed-User
> 
> For this particular event radius is going to use localtime and in database acctstoptime will be Wed Mar 20 15:02:56 2019.
> 
> Is there a way to tell radius to use Event-Timestamp if it exists?

  The default configuration in v3 does that.

> I already tried with attr_rewrite, but acctsoptime wil be recalculated in sql modul during inserts, right?

  Use 3.0.18, and use the default config.  

  Alan DeKok.




More information about the Freeradius-Users mailing list