Page MenuHomeVyOS Platform

Accounting interim jitter for pppoe, l2tp, pptp, ipoe
Closed, ResolvedPublicFEATURE REQUEST

Description

In many cases when the router used as BRAS (Broadband Remote Access Server), on mass authorizations, it can take a negative effect on the radius server. To prevent this negative behavior when the RADIUS accounting packet floating we can use [radius]acct-interim-jitter=n

acct-interim-jitter=n
By default is not defined.

Specifies absolute maximum jitter value in seconds to be applied to accounting information interval. Calculate interim-interval+-acct-interim-jitter.

Proposed CLI command:

set service pppoe-server authentication radius acct-interim-jitter <n sec>

Details

Difficulty level
Unknown (require assessment)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Feature (new functionality)

Event Timeline

PR https://github.com/vyos/vyos-1x/pull/554

vyos@r4-roll# set service pppoe-server authentication radius acct-interim-jitter 3
[edit]
vyos@r4-roll# commit

vyos@r4-roll# sudo cat /run/accel-pppd/
pppoe.conf pppoe.pid
[edit]
vyos@r4-roll# sudo cat /run/accel-pppd/pppoe.conf | grep jit
acct-interim-jitter=3
[edit]
vyos@r4-roll#

Dmitry assigned this task to Viacheslav.
Dmitry added a project: Restricted Project.

Works properly, tested on 1.3-rolling-202009290117.
One remark, jitter will be applied for all accounting packet except the first packet. The first packet is a flag that the session is started.

erkin set Issue type to Feature (new functionality).Aug 29 2021, 12:59 PM
erkin removed a subscriber: Active contributors.