From 47645f9d0243ce48a473ab7f8cdbd22c19f69f28 Mon Sep 17 00:00:00 2001 From: Viacheslav Hletenko Date: Thu, 2 Nov 2023 13:58:48 +0000 Subject: T5704: PPPoE L2TP SSTP IPoE add option max-concurrent-sessions Add `max-starting` option: [common] max-starting=N Specifies maximum concurrent session attempts which server may processed set service pppoe-server max-concurrent-sessions '30' Useful to prevent high CPU utilization and compat execution scripts per time. --- .../include/accel-ppp/max-concurrent-sessions.xml.i | 15 +++++++++++++++ interface-definitions/service-ipoe-server.xml.in | 1 + interface-definitions/service-pppoe-server.xml.in | 1 + interface-definitions/vpn-l2tp.xml.in | 1 + interface-definitions/vpn-pptp.xml.in | 1 + interface-definitions/vpn-sstp.xml.in | 1 + 6 files changed, 20 insertions(+) create mode 100644 interface-definitions/include/accel-ppp/max-concurrent-sessions.xml.i (limited to 'interface-definitions') diff --git a/interface-definitions/include/accel-ppp/max-concurrent-sessions.xml.i b/interface-definitions/include/accel-ppp/max-concurrent-sessions.xml.i new file mode 100644 index 000000000..f6ef41019 --- /dev/null +++ b/interface-definitions/include/accel-ppp/max-concurrent-sessions.xml.i @@ -0,0 +1,15 @@ + + + + Maximum number of concurrent session start attempts + + u32:0-65535 + Maximum number of concurrent session start attempts + + + + + Maximum concurent sessions must be in range 0-65535 + + + diff --git a/interface-definitions/service-ipoe-server.xml.in b/interface-definitions/service-ipoe-server.xml.in index b6e6503d3..9ac0c8fdf 100644 --- a/interface-definitions/service-ipoe-server.xml.in +++ b/interface-definitions/service-ipoe-server.xml.in @@ -102,6 +102,7 @@ #include + #include #include diff --git a/interface-definitions/service-pppoe-server.xml.in b/interface-definitions/service-pppoe-server.xml.in index 022ac2885..44b689fe1 100644 --- a/interface-definitions/service-pppoe-server.xml.in +++ b/interface-definitions/service-pppoe-server.xml.in @@ -73,6 +73,7 @@ #include + #include #include diff --git a/interface-definitions/vpn-l2tp.xml.in b/interface-definitions/vpn-l2tp.xml.in index ee0edc3e3..60a1d323b 100644 --- a/interface-definitions/vpn-l2tp.xml.in +++ b/interface-definitions/vpn-l2tp.xml.in @@ -13,6 +13,7 @@ Remote access L2TP VPN + #include #include diff --git a/interface-definitions/vpn-pptp.xml.in b/interface-definitions/vpn-pptp.xml.in index 5a8b4a78a..964c4d21e 100644 --- a/interface-definitions/vpn-pptp.xml.in +++ b/interface-definitions/vpn-pptp.xml.in @@ -13,6 +13,7 @@ Remote access PPTP VPN + #include #include diff --git a/interface-definitions/vpn-sstp.xml.in b/interface-definitions/vpn-sstp.xml.in index 9e912063f..9c818ba60 100644 --- a/interface-definitions/vpn-sstp.xml.in +++ b/interface-definitions/vpn-sstp.xml.in @@ -25,6 +25,7 @@ + #include #include #include #include -- cgit v1.2.3