summaryrefslogtreecommitdiff
path: root/accel-pppd/accel-ppp.conf
diff options
context:
space:
mode:
authorKozlov Dmitry <xeb@mail.ru>2012-01-18 18:29:52 +0400
committerKozlov Dmitry <xeb@mail.ru>2012-01-18 18:29:52 +0400
commitb463f4f2559a6f0180ba09fb1cb43d51144e95f0 (patch)
tree10a01cbfeb1893219d4f98a8f33fb14e9421892a /accel-pppd/accel-ppp.conf
parent010a21c48d1a9cc560e7d46e02acab80c79eae10 (diff)
downloadaccel-ppp-b463f4f2559a6f0180ba09fb1cb43d51144e95f0.tar.gz
accel-ppp-b463f4f2559a6f0180ba09fb1cb43d51144e95f0.zip
implemented connlimit module which can be used to reduce system overload due to flood of connections
Diffstat (limited to 'accel-pppd/accel-ppp.conf')
-rw-r--r--accel-pppd/accel-ppp.conf15
1 files changed, 13 insertions, 2 deletions
diff --git a/accel-pppd/accel-ppp.conf b/accel-pppd/accel-ppp.conf
index 0e7960d9..282d5de9 100644
--- a/accel-pppd/accel-ppp.conf
+++ b/accel-pppd/accel-ppp.conf
@@ -4,23 +4,30 @@ log_file
#log_syslog
#log_tcp
#log_pgsql
+
pptp
+l2tp
#pppoe
-#l2tp
+
auth_mschap_v2
auth_mschap_v1
auth_chap_md5
auth_pap
+
radius
ippool
sigchld
pppd_compat
+
#shaper_tbf
#chap-secrets
#net-snmp
+#logwtmp
+#connlimit
+
#ipv6_nd
#ipv6_dhcp
-#logwtmp
+#ipv6pool
[core]
log-error=/var/log/accel-ppp/core.log
@@ -152,6 +159,10 @@ tcp=127.0.0.1:2001
master=0
agent-name=accel-ppp
+[connlimit]
+limit=10/min
+burst=3
+timeout=60
[ipv6-pool]
fc00:0:1::/48,64