]> git.pld-linux.org Git - packages/cacti-template-synflood-defender.git/blob - iproute.patch
- drop obsolete and outdated manual inclusion of rpm macros
[packages/cacti-template-synflood-defender.git] / iproute.patch
1 --- ./synflood-defender.sh~     2011-07-09 01:27:54.000000000 +0300
2 +++ ./synflood-defender.sh      2013-02-07 17:38:06.912231452 +0200
3 @@ -56,7 +56,7 @@
4  done <$configfile
5  
6  # Current SYN queue length
7 -current_synqueue=`netstat -n | egrep '(tcp|udp)' | grep SYN | wc -l`
8 +current_synqueue=`ss -nat | grep SYN-RECV | wc -l`
9  echo $current_synqueue
10  
11  # Reading current protection mode
This page took 0.081449 seconds and 3 git commands to generate.