summaryrefslogtreecommitdiff
path: root/accel-pppd/accel-ppp.conf
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2017-04-18 20:42:32 +0300
committerDmitry Kozlov <xeb@mail.ru>2017-04-18 20:42:32 +0300
commit88a908974b0b2e9c7eee8ad9a8b0b4432e95d167 (patch)
treec347a8a2aca1d4ef069862fac4c131c31a501ceb /accel-pppd/accel-ppp.conf
parentc94c49114ca6c6dd342dad0db525050a154f7a0e (diff)
downloadaccel-ppp-88a908974b0b2e9c7eee8ad9a8b0b4432e95d167.tar.gz
accel-ppp-88a908974b0b2e9c7eee8ad9a8b0b4432e95d167.zip
implemented session count limiting
new config option: [common] max-sessions=N If set then accel-pppd stops reply to new connection requests if total number of sessions (active and starting) is reached specified limit.
Diffstat (limited to 'accel-pppd/accel-ppp.conf')
-rw-r--r--accel-pppd/accel-ppp.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/accel-pppd/accel-ppp.conf b/accel-pppd/accel-ppp.conf
index 98ca885..49466b1 100644
--- a/accel-pppd/accel-ppp.conf
+++ b/accel-pppd/accel-ppp.conf
@@ -40,6 +40,7 @@ thread-count=4
#single-session=replace
#sid-case=upper
#sid-source=seq
+#max-sessions=1000
[ppp]
verbose=1