diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2017-04-18 20:42:32 +0300 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2017-04-18 20:42:32 +0300 |
commit | 88a908974b0b2e9c7eee8ad9a8b0b4432e95d167 (patch) | |
tree | c347a8a2aca1d4ef069862fac4c131c31a501ceb /accel-pppd/accel-ppp.conf | |
parent | c94c49114ca6c6dd342dad0db525050a154f7a0e (diff) | |
download | accel-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.conf | 1 |
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 |