Comment out entries in sample res_pktccops.conf.

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
This commit is contained in:
Russell Bryant
2011-09-23 00:44:19 +00:00
parent f8b799c0c1
commit b50b776427

View 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
;