summaryrefslogtreecommitdiff
path: root/accel-pppd/accel-ppp.conf
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2017-04-18 20:47:53 +0300
committerDmitry Kozlov <xeb@mail.ru>2017-04-18 21:22:06 +0300
commita596ef53a689f0ecbf24d0043a4ad571cc8a4bf3 (patch)
treecc266cbbf9fa936098f16ba9ccdfcbe1188f57ec /accel-pppd/accel-ppp.conf
parentbf4fabd6c50a34d4223bdc78be9e852720f71bba (diff)
downloadaccel-ppp-a596ef53a689f0ecbf24d0043a4ad571cc8a4bf3.tar.gz
accel-ppp-a596ef53a689f0ecbf24d0043a4ad571cc8a4bf3.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 98ca8850..49466b1c 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