LINUX.ORG.RU

История изменений

Исправление Amet13, (текущая версия) :

Проверил на чистой CentOS 7 на всякий случай, все ок.

[root@wordpress-162 tmp]# netstat -tulpan | grep 192.168.0.91 -c
8304
[root@wordpress-162 tmp]# cat /usr/local/ddos-deflate/ignoreip.list 
127.0.0.1
192.168.0.1
192.168.0.91
[root@wordpress-162 tmp]# iptables -L -vn
Chain INPUT (policy ACCEPT 743K packets, 50M bytes)
 pkts bytes target     prot opt in     out     source               destination         

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination         

Chain OUTPUT (policy ACCEPT 743K packets, 679M bytes)
 pkts bytes target     prot opt in     out     source               destination         

NO_OF_CONNECTIONS=300

Исходная версия Amet13, :

Проверил на чистой CentOS 7 на всякий случай, все ок.

[root@wordpress-162 tmp]# netstat -tulpan | grep 192.168.0.91 -c
8304
[root@wordpress-162 tmp]# cat /usr/local/ddos-deflate/ignoreip.list 
127.0.0.1
192.168.0.1
192.168.0.91
[root@wordpress-162 tmp]# iptables -L -vn
Chain INPUT (policy ACCEPT 743K packets, 50M bytes)
 pkts bytes target     prot opt in     out     source               destination         

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination         

Chain OUTPUT (policy ACCEPT 743K packets, 679M bytes)
 pkts bytes target     prot opt in     out     source               destination