Диапазоны ip адресов Китая Подписка на Комментарии к "Диапазоны ip адресов Китая "

Аватар zenon

Мысли в слух:
Надоели спамо-рекламеры из Китая.
Собственно iptables и так настроен на блокировку некоторых ip адресов, в основном это база из denyhosts.
Недавно кто-то у меня спрашивал как заблокировать страну, причиной была ddos-атака из "поднебесной".

Ещё были регистрации с постами рекламного хлама, и что интересное - явно не боты, а зашли, зарегистрировались с реальным e-mail адресом, весь этот хлам я подчистил, и заблокировал.
Вот список некоторых:
nepia - - ip:125.105.229.35
umbella - - ip адрес спамера - 125.105.226.38
dulala - - ip:125.105.230.237
Snoopy - - ip:125.105.229.208
sweety - - 125.105.227.71
wicky - - 125.105.226.181
Kitty1 - - 125.105.230.71
Ясно видно что ip адреса из поднебесной.
Едем далее - логи:

...
2013/09/27 05:34:11 [error] 58194#0: *874 FastCGI sent in stderr: "Unable to open primary script: /mnt/srv/linuxru.org/tips/index.php (No such file or directory)" while reading response header from upstream, client: 192.74.232.66, server: linuxru.org, request: "GET /tips/index.php HTTP/1.0", upstream: "fastcgi://unix:/tmp/php-fpm.sock:", host: "linuxru.org", referrer: "http://linuxru.org/index.php"
2013/09/27 05:57:16 [error] 58194#0: *1000 FastCGI sent in stderr: "Unable to open primary script: /mnt/srv/linuxru.org/tips/index.php (No such file or directory)" while reading response header from upstream, client: 192.74.232.66, server: linuxru.org, request: "GET /tips/index.php HTTP/1.0", upstream: "fastcgi://unix:/tmp/php-fpm.sock:", host: "linuxru.org", referrer: "http://linuxru.org/index.php"
2013/09/27 06:01:24 [error] 58194#0: *1067 FastCGI sent in stderr: "Unable to open primary script: /mnt/srv/linuxru.org/tips/index.php (No such file or directory)" while reading response header from upstream, client: 192.74.232.66, server: linuxru.org, request: "GET /tips/index.php HTTP/1.0", upstream: "fastcgi://unix:/tmp/php-fpm.sock:", host: "linuxru.org", referrer: "http://linuxru.org/index.php"
2013/09/27 06:07:49 [error] 58194#0: *1135 FastCGI sent in stderr: "Unable to open primary script: /mnt/srv/linuxru.org/tips/index.php (No such file or directory)" while reading response header from upstream, client: 192.74.232.66, server: linuxru.org, request: "GET /tips/index.php HTTP/1.0", upstream: "fastcgi://unix:/tmp/php-fpm.sock:", host: "linuxru.org", referrer: "http://linuxru.org/index.php"
2013/09/27 08:37:14 [error] 58193#0: *2123 FastCGI sent in stderr: "Unable to open primary script: /mnt/srv/linuxru.org/tips/index.php (No such file or directory)" while reading response header from upstream, client: 192.74.232.66, server: linuxru.org, request: "GET /tips/index.php HTTP/1.0", upstream: "fastcgi://unix:/tmp/php-fpm.sock:", host: "linuxru.org", referrer: "http://linuxru.org/index.php"
2013/09/27 09:01:44 [error] 58193#0: *2298 FastCGI sent in stderr: "Unable to open primary script: /mnt/srv/linuxru.org/tips/index.php (No such file or directory)" while reading response header from upstream, client: 192.74.232.66, server: linuxru.org, request: "GET /tips/index.php HTTP/1.0", upstream: "fastcgi://unix:/tmp/php-fpm.sock:", host: "linuxru.org", referrer: "http://linuxru.org/index.php"
2013/09/27 09:01:49 [error] 58193#0: *2306 FastCGI sent in stderr: "Unable to open primary script: /mnt/srv/linuxru.org/tips/index.php (No such file or directory)" while reading response header from upstream, client: 192.74.232.66, server: linuxru.org, request: "GET /tips/index.php HTTP/1.0", upstream: "fastcgi://unix:/tmp/php-fpm.sock:", host: "linuxru.org", referrer: "http://linuxru.org/index.php"
...

Это лишь маленький кусочек...

Ну собственно можно и вот это парсить:

58.14.0.0 - 58.25.255.255
58.30.0.0 - 58.63.255.255
58.66.0.0 - 58.67.255.255
58.82.0.0 - 58.83.255.255
58.87.64.0 - 58.87.127.255
58.100.0.0 - 58.101.255.255
58.116.0.0 - 58.119.255.255
58.128.0.0 - 58.135.255.255
58.144.0.0 - 58.144.255.255
58.192.0.0 - 58.223.255.255
58.240.0.0 - 58.255.255.255
59.32.0.0 - 59.83.255.255
59.107.0.0 - 59.109.255.255
59.151.0.0 - 59.151.127.255
59.191.0.0 - 60.31.255.255
60.55.0.0 - 60.55.255.255
60.63.0.0 - 60.63.255.255
60.160.0.0 - 60.191.255.255
60.194.0.0 - 60.195.255.255
60.200.0.0 - 60.223.255.255
60.232.0.0 - 60.233.255.255
60.255.0.0 - 60.255.255.255
61.28.0.0 - 61.28.127.255
61.29.128.0 - 61.29.255.255
61.45.128.0 - 61.45.191.255
61.47.128.0 - 61.47.191.255
61.48.0.0 - 61.55.255.255
61.128.0.0 - 61.191.255.255
61.232.0.0 - 61.237.255.255
61.240.0.0 - 61.243.255.255
121.4.0.0 - 121.35.255.255
124.6.64.0 - 124.6.127.255
124.16.0.0 - 124.17.255.255
124.20.0.0 - 124.21.255.255
124.29.0.0 - 124.29.127.255
124.40.128.0 - 124.40.191.255
124.42.0.0 - 124.42.127.255
124.47.0.0 - 124.47.63.255
124.64.0.0 - 124.79.255.255
124.88.0.0 - 124.95.255.255
124.108.8.0 - 124.108.15.255
124.112.0.0 - 124.119.255.255
124.128.0.0 - 124.135.255.255
124.147.128.0 - 124.147.255.255
124.156.0.0 - 124.156.255.255
124.160.0.0 - 124.162.255.255
124.172.0.0 - 124.173.255.255
124.192.0.0 - 124.193.255.255
124.196.0.0 - 124.196.255.255
124.200.0.0 - 124.207.255.255
124.220.0.0 - 124.240.127.255
124.242.0.0 - 124.242.255.255
124.248.0.0 - 124.251.255.255
124.254.0.0 - 124.254.63.255
125.31.192.0 - 125.47.255.255
125.58.128.0 - 125.58.255.255
125.62.0.0 - 125.62.63.255
125.64.0.0 - 125.98.255.255
125.104.0.0 - 125.127.255.255
125.171.0.0 - 125.171.255.255
125.208.0.0 - 125.208.63.255
125.210.0.0 - 125.210.255.255
125.213.0.0 - 125.213.127.255
125.215.0.0 - 125.215.63.255
125.216.0.0 - 125.223.255.255
125.254.128.0 - 125.254.191.255
134.196.0.0 - 134.196.255.255
159.226.0.0 - 159.226.255.255
161.207.0.0 - 161.207.255.255
162.105.0.0 - 162.105.255.255
166.111.0.0 - 166.111.255.255
167.139.0.0 - 167.139.255.255
168.160.0.0 - 168.160.255.255
192.83.122.0 - 192.83.122.255
192.83.169.0 - 192.83.169.255
192.124.154.0 - 192.124.154.255
192.188.170.0 - 192.188.170.255
198.17.7.0 - 198.17.7.255
202.0.110.0 - 202.0.110.255
202.0.160.0 - 202.0.179.255
202.4.128.0 - 202.4.159.255
202.4.252.0 - 202.4.255.255
202.8.128.0 - 202.8.159.255
202.10.64.0 - 202.10.79.255
202.14.88.0 - 202.14.88.255
202.14.235.0 - 202.14.238.255
202.20.120.0 - 202.20.120.255
202.22.248.0 - 202.22.255.255
202.38.0.0 - 202.38.15.255
202.38.64.0 - 202.38.138.255
202.38.140.0 - 202.38.147.255
202.38.149.0 - 202.38.156.255
202.38.158.0 - 202.38.161.255
202.38.164.0 - 202.38.177.255
202.38.184.0 - 202.38.255.255
202.41.152.0 - 202.41.159.255
202.41.240.0 - 202.41.255.255
202.43.144.0 - 202.43.159.255
202.46.32.0 - 202.46.63.255
202.46.224.0 - 202.46.239.255
202.60.112.0 - 202.60.127.255
202.63.248.0 - 202.63.251.255
202.69.4.0 - 202.69.7.255
202.69.16.0 - 202.69.31.255
202.70.0.0 - 202.70.31.255
202.74.8.0 - 202.74.15.255
202.75.208.0 - 202.75.223.255
202.85.208.0 - 202.85.223.255
202.90.0.0 - 202.90.3.255
202.90.224.0 - 202.90.239.255
202.90.252.0 - 202.91.3.255
202.91.128.0 - 202.91.131.255
202.91.176.0 - 202.91.191.255
202.92.0.0 - 202.92.3.255
202.92.252.0 - 202.93.3.255
202.93.252.0 - 202.94.31.255
202.95.0.0 - 202.95.31.255
202.95.252.0 - 202.122.7.255
202.122.32.0 - 202.122.39.255
202.122.64.0 - 202.122.95.255
202.122.112.0 - 202.122.128.255
202.123.96.0 - 202.123.111.255
202.125.176.0 - 202.125.191.255
202.127.0.0 - 202.127.7.255
202.127.12.0 - 202.127.31.255
202.127.40.0 - 202.127.63.255
202.127.112.0 - 202.127.167.255
202.127.192.0 - 202.127.255.255
202.130.0.0 - 202.130.31.255
202.130.224.0 - 202.130.255.255
202.131.16.0 - 202.131.23.255
202.131.48.0 - 202.131.63.255
202.131.208.0 - 202.131.223.255
202.136.48.0 - 202.136.63.255
202.136.208.0 - 202.136.239.255
202.136.252.0 - 202.136.255.255
202.141.160.0 - 202.141.191.255
202.142.16.0 - 202.142.31.255
202.143.16.0 - 202.143.31.255
202.148.96.0 - 202.148.127.255
202.149.160.0 - 202.149.191.255
202.149.224.0 - 202.149.255.255
202.150.16.0 - 202.150.31.255
202.152.176.0 - 202.152.191.255
202.153.48.0 - 202.153.63.255
202.158.160.0 - 202.158.191.255
202.160.176.0 - 202.160.191.255
202.164.0.0 - 202.164.15.255
202.165.96.0 - 202.165.111.255
202.165.208.0 - 202.165.223.255
202.168.160.0 - 202.168.191.255
202.170.128.0 - 202.170.159.255
202.170.216.0 - 202.170.223.255
202.173.8.0 - 202.173.15.255
202.173.224.0 - 202.173.255.255
202.179.240.0 - 202.179.255.255
202.180.128.0 - 202.180.159.255
202.181.112.0 - 202.181.127.255
202.189.80.0 - 202.189.95.255
202.192.0.0 - 202.207.255.255
203.79.0.0 - 203.79.15.255
203.80.144.0 - 203.80.159.255
203.81.16.0 - 203.81.31.255
203.83.56.0 - 203.83.63.255
203.86.0.0 - 203.86.95.255
203.88.32.0 - 203.88.63.255
203.88.192.0 - 203.88.223.255
203.89.0.0 - 203.89.3.255
203.90.0.0 - 203.90.3.255
203.90.128.0 - 203.90.223.255
203.91.32.0 - 203.91.63.255
203.91.96.0 - 203.91.111.255
203.91.120.0 - 203.91.127.255
203.92.0.0 - 203.92.3.255
203.92.160.0 - 203.92.191.255
203.93.0.0 - 203.94.31.255
203.95.0.0 - 203.95.7.255
203.95.96.0 - 203.95.111.255
203.99.16.0 - 203.99.31.255
203.99.80.0 - 203.99.95.255
203.100.32.0 - 203.100.47.255
203.100.96.0 - 203.100.127.255
203.100.192.0 - 203.100.207.255
203.110.160.0 - 203.110.191.255
203.118.192.0 - 203.118.223.255
203.119.24.0 - 203.119.35.255
203.128.32.0 - 203.128.63.255
203.128.96.0 - 203.128.159.255
203.130.32.0 - 203.130.63.255
203.132.32.0 - 203.132.63.255
203.134.240.0 - 203.134.247.255
203.135.96.0 - 203.135.127.255
203.135.160.0 - 203.135.175.255
203.148.0.0 - 203.148.63.255
203.152.64.0 - 203.152.95.255
203.156.192.0 - 203.156.255.255
203.158.16.0 - 203.158.23.255
203.161.192.0 - 203.161.223.255
203.166.160.0 - 203.166.191.255
203.171.224.0 - 203.171.239.255
203.174.96.0 - 203.174.127.255
203.175.128.0 - 203.175.159.255
203.175.192.0 - 203.175.255.255
203.184.80.0 - 203.184.95.255
203.187.160.0 - 203.187.191.255
203.190.96.0 - 203.190.111.255
203.191.64.0 - 203.191.127.255
203.192.0.0 - 203.192.31.255
203.196.0.0 - 203.196.7.255
203.207.64.0 - 203.208.19.255
203.208.32.0 - 203.208.63.255
203.209.224.0 - 203.209.255.255
203.212.0.0 - 203.212.15.255
203.222.192.0 - 203.222.207.255
203.223.0.0 - 203.223.15.255
210.5.0.0 - 210.5.31.255
210.5.128.0 - 210.5.143.255
210.12.0.0 - 210.13.255.255
210.14.64.0 - 210.14.95.255
210.14.160.0 - 210.15.191.255
210.16.128.0 - 210.16.191.255
210.21.0.0 - 210.22.255.255
210.25.0.0 - 210.47.255.255
210.51.0.0 - 210.53.255.255
210.56.192.0 - 210.56.223.255
210.72.0.0 - 210.78.255.255
210.79.64.0 - 210.79.127.255
210.79.224.0 - 210.79.255.255
210.82.0.0 - 210.83.255.255
210.87.128.0 - 210.87.191.255
210.185.192.0 - 210.185.255.255
210.192.96.0 - 210.192.127.255
210.211.0.0 - 210.211.15.255
211.64.0.0 - 211.71.255.255
211.80.0.0 - 211.103.255.255
211.136.0.0 - 211.167.255.255
218.0.0.0 - 218.31.255.255
218.56.0.0 - 218.99.255.255
218.104.0.0 - 218.109.255.255
218.185.192.0 - 218.185.223.255
218.192.0.0 - 218.207.255.255
218.240.0.0 - 218.247.255.255
218.249.0.0 - 218.249.255.255
219.72.0.0 - 219.72.255.255
219.82.0.0 - 219.82.255.255
219.128.0.0 - 219.159.255.255
219.216.0.0 - 219.239.255.255
219.242.0.0 - 219.247.255.255
220.101.192.0 - 220.101.255.255
220.112.0.0 - 220.115.255.255
220.160.0.0 - 220.207.255.255
220.231.0.0 - 220.231.63.255
220.231.128.0 - 220.231.255.255
220.232.64.0 - 220.232.127.255
220.234.0.0 - 220.234.255.255
220.248.0.0 - 220.252.255.255
221.0.0.0 - 221.12.191.255
221.13.0.0 - 221.15.255.255
221.122.0.0 - 221.123.255.255
221.129.0.0 - 221.131.255.255
221.136.0.0 - 221.137.255.255
221.172.0.0 - 221.183.255.255
221.192.0.0 - 221.239.255.255
222.16.0.0 - 222.95.255.255
222.125.0.0 - 222.125.255.255
222.128.0.0 - 222.143.255.255
222.160.0.0 - 222.163.255.255
222.168.0.0 - 222.223.255.255
222.240.0.0 - 222.249.255.255

Добавить комментарий