]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Comment out entries in sample res_pktccops.conf.
authorRussell Bryant <russell@russellbryant.com>
Fri, 23 Sep 2011 00:44:19 +0000 (00:44 +0000)
committerRussell Bryant <russell@russellbryant.com>
Fri, 23 Sep 2011 00:44:19 +0000 (00:44 +0000)
With these options enabled, they can cause Asterisk to freak out by
SYN flooding a network and eating the CPU.  Obviously it would be good to
fix the code so that this can't happen, but we can at least change the default
configuration so it doesn't happen.

This was reported downstream to the Fedora issue tracker:

    https://bugzilla.redhat.com/show_bug.cgi?id=658431

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@337774 65c4cc65-6c06-0410-ace0-fbb531ad65f3

configs/res_pktccops.conf.sample

index 3d6180812faedcc69b360ed107bbedf04ac74636..769508db68fffd5974f2ebd070f59eeae49ca333 100644 (file)
@@ -1,32 +1,32 @@
-; Sample res_pktccops.conf
-
-[general]
-gateinfoperiod => 60 ; default 60s
-gatetimeout = 150 ; default 150
-t1 => 250 ; default 250s
-t7 => 200 ; default 200s
-t8 => 300 ; default 300s
-keepalive => 60 ; default 60s
-
-[teszt]
-host => 192.168.0.24
-pool => 10.0.1.0 10.0.1.255
-pool => 10.0.3.0 10.0.3.255
-pool => 10.0.7.0 10.0.8.255
-pool => 10.0.10.0 10.0.11.255
-
-[general]
-gateinfoperiod => 60 ; default 60s
-gatetimeout = 150 ; default 150
-t1 => 250 ; default 250s
-t7 => 200 ; default 200s
-t8 => 300 ; default 300s
-keepalive => 60 ; default 60s
-
-[test]
-host => 192.168.0.24
-pool => 10.0.1.0 10.0.1.255
-pool => 10.0.3.0 10.0.3.255
-pool => 10.0.7.0 10.0.8.255
-pool => 10.0.10.0 10.0.11.255
-
+;; Sample res_pktccops.conf
+;
+;[general]
+;gateinfoperiod => 60 ; default 60s
+;gatetimeout = 150 ; default 150
+;t1 => 250 ; default 250s
+;t7 => 200 ; default 200s
+;t8 => 300 ; default 300s
+;keepalive => 60 ; default 60s
+;
+;[teszt]
+;host => 192.168.0.24
+;pool => 10.0.1.0 10.0.1.255
+;pool => 10.0.3.0 10.0.3.255
+;pool => 10.0.7.0 10.0.8.255
+;pool => 10.0.10.0 10.0.11.255
+;
+;[general]
+;gateinfoperiod => 60 ; default 60s
+;gatetimeout = 150 ; default 150
+;t1 => 250 ; default 250s
+;t7 => 200 ; default 200s
+;t8 => 300 ; default 300s
+;keepalive => 60 ; default 60s
+;
+;[test]
+;host => 192.168.0.24
+;pool => 10.0.1.0 10.0.1.255
+;pool => 10.0.3.0 10.0.3.255
+;pool => 10.0.7.0 10.0.8.255
+;pool => 10.0.10.0 10.0.11.255
+;