Page MenuHomeVyOS Platform

Adding rate-limiter for pppoe server users
Closed, ResolvedPublic

Description

Need adding vyos cli syntax for service pppoe server, I propose next

#set service pppoe-server authentication local-users username <username> rate-limit 
Possible completions:
   download    Set download speed limit (bit/s)
   upload      Set upload speed limit (bit/s)

And add to pppoe.conf section [cli] with params for displaying current user rate-limit

[cli]
sessions-columns=ifname,username,ip,calling-sid,rate-limit,state,uptime,rx-bytes,tx-bytes

Details

Version
-

Event Timeline

Unknown Object (User) created this task.Apr 17 2019, 10:12 PM
Unknown Object (User) triaged this task as Normal priority.
Unknown Object (User) created this object in space S1 VyOS Public.

op-mode has been implemented and will be available in the next rolling release. (https://github.com/vyos/vyos-1x/commit/d748e526ca50f3acb98ec511fab977c4b044aea8)
Conf mode commands are in progress.

local-users implementation: https://github.com/vyos/vyos-1x/commit/c1dc93391b9ec1785ab648fa7685521c85774d28
radius based shaper settings in progress, which is then the last item.

Bugfix: Filter-ID -> Filter-Id

Gonna keep the task open for a week or 2 to see if there are still any other issues.

hagbard changed the task status from Open to On hold.Apr 25 2019, 4:52 PM
Unknown Object (User) changed the task status from Resolved to Unknown Status.Jan 1 2020, 10:46 AM
Unknown Object (User) added a project: VyOS 1.2 Crux (VyOS 1.2.5).

We have this feature on our documentation, but not in stable release 1.2.3/1.2.4
https://docs.vyos.io/en/crux/services/pppoe-server.html#radius-based-shaper-setup

I will backport this, unless objections ...

@jestabro yup, go ahead please and let me know when I can close it or if you can you can close as well.

jestabro changed the task status from Unknown Status to Resolved.Jan 29 2020, 8:52 PM