Hi list, 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). 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? I already tried with attr_rewrite, but acctsoptime wil be recalculated in sql modul during inserts, right? Thank you all, Igor
On Mar 20, 2019, at 10:13 AM, Igor Smitran <sigor@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.
On 3/20/19 3:34 PM, Alan DeKok wrote:
On Mar 20, 2019, at 10:13 AM, Igor Smitran <sigor@blic.net> wrote:
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.
Is this possible in v2? I am not able to do an update to v3 at the momment (it is scheduled for 3rd quarter of this year). Thank you, Igor
On Mar 21, 2019, at 3:52 AM, Igor Smitran <sigor@blic.net> wrote:
Is this possible in v2? I am not able to do an update to v3 at the momment (it is scheduled for 3rd quarter of this year).
Take a look at the v3 SQL queries, and try to back-port the functionality you need. TBH, upgrading to v3 should take 2 days at most. Alan DeKok.
On 3/21/19 12:31 PM, Alan DeKok wrote:
Take a look at the v3 SQL queries, and try to back-port the functionality you need.
TBH, upgrading to v3 should take 2 days at most.
Yes, i know. But, my company has some procedures regarding upgrade so it has to wait. In the mean time i am changing SQL queries and i am trying to use Event-Timestamp if it exists, otherwise '%S'. Would this be ok to use in SQL conf: %{%{Event-Timestamp}:-'%S'} Thank you, Igor
participants (2)
-
Alan DeKok -
Igor Smitran