From 3ec2d773950ed9730467062ebd4eeec5e9d8b35c Mon Sep 17 00:00:00 2001 From: "Sergey V. Lobanov" Date: Thu, 11 Apr 2024 01:27:18 +0200 Subject: shaper: add clsact policer support Use the following configuration to enable clsact up and down limiters: [shaper] up-limiter=police down-limiter=clsact It is also recommended to set down-burst-factor=1.0 How to check current configuration in Linux: tc qdisc show dev ppp0 tc filter show dev ppp0 egress tc filter show dev ppp0 ingress Signed-off-by: Sergey V. Lobanov --- README | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'README') diff --git a/README b/README index 6498d803..143c5e13 100644 --- a/README +++ b/README @@ -21,7 +21,7 @@ Features 11. Extensible user/password database, implemented Radius, pppd compatible chap-secrets sources 12. Extensible IP pool, implemented Radius, chap-secrets and static pools 13. Supported pppd compatible ip-up/ip-down scripts -14. Builtin tbf/htb shaper manager +14. Builtin tbf/htb shaper and clsact policer manager 15. Command line interface via telnet 16. SNMP support (master or subagent via AgentX) 17. Supported SSTP @@ -68,7 +68,7 @@ read man accel-ppp.conf Built-in shaper -------------- -accel-ppp supports tbf and htb based shaper manager. +accel-ppp supports tbf and htb based shaper manager. It also supports clsact policer manager. To enable it uncomment shaper in [modules] section. It accepts radius attributes in various formats: rate, down-rate/up-rate and cisco-like. Values have to be in kilobits except cisco-like. For example: -- cgit v1.2.3