1 --- ./synflood-defender.sh~ 2011-07-09 01:27:54.000000000 +0300
2 +++ ./synflood-defender.sh 2013-02-07 17:38:06.912231452 +0200
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`
11 # Reading current protection mode