ホームブログ記事表示
サポート情報 2015.07.31
dynamic.163data.com.cn のスパム対策

レンタルしているサーバーの設定で海外からのアクセスを遮断していましたが dynamic.163data.com.cn からのアクセスと不要な POST 行為が頻発していました。検索してみると、中国系の有名なスパム業者でした。

アクセス制限を行うため .htaccess ファイルに deny from でブロック設定しましたが、状況は変わりませんでした。どうやらアクセス制限できないホスト名のようです。


.htaccess で特定の IP アドレスやホスト名からアクセスを制限する

特定の範囲で IP アドレスを指定して制限をかけたい場合は [ deny from 111.222. ] にします。これは 111.222.*.* 全てを制限します。

Order allow,deny
allow from all
deny from 111.222.333.444
deny from dynamic.163data.com.cn

範囲を狭くしたい場合は [ deny from 111.222.333. ] にします。


.htaccess ファイル

IP アドレスから制限をかけたことで現在は落ち着いています。新しい情報があれば追記します。

deny from 7,120.
deny from 14.208.
deny from 16,110.
deny from 27.148.
deny from 27.150.
deny from 27.151.
deny from 27.153.
deny from 27.154.
deny from 27.155.
deny from 27.156.
deny from 27.159.
deny from 29,110.
deny from 29,120.
deny from 36.248.
deny from 38.100.
deny from 42.62.
deny from 58.22.
deny from 58.34.
deny from 58.35.
deny from 58.37.
deny from 58.63.
deny from 59.173.
deny from 59.174.
deny from 59.175.
deny from 59.32.
deny from 59.36.
deny from 59.47.
deny from 59.52.
deny from 59.55.
deny from 59.56.
deny from 59.57.
deny from 59.58.
deny from 59.59.
deny from 59.60.
deny from 59.61.
deny from 60.176.
deny from 60.188.
deny from 61.131.
deny from 61.134.
deny from 61.140.
deny from 61.154.
deny from 61.159.
deny from 61.165.
deny from 61.166.
deny from 61.169.
deny from 61.170.
deny from 61.173.
deny from 61.183.
deny from 61.240.
deny from 67.225.
deny from 69.197.
deny from 82.192.
deny from 91.231.98.
deny from 93.118.64.0/20
deny from 95.181.
deny from 101.224.
deny from 104.245.96.0/21
deny from 107.148.0.0/15
deny from 110.80.
deny from 110.82.
deny from 110.83.
deny from 110.84.
deny from 110.85.
deny from 110.86.
deny from 110.87.
deny from 110.88.
deny from 110.89.
deny from 110.90.
deny from 112.111.
deny from 112.112.
deny from 112.117.
deny from 114.66.
deny from 114.216.
deny from 116.249.
deny from 116.12.
deny from 116.52.
deny from 116.54.
deny from 117.24.
deny from 117.25.
deny from 117.26.
deny from 117.27.
deny from 117.28.
deny from 117.29.
deny from 117.30.
deny from 117.60.
deny from 117.63.
deny from 117.80.
deny from 117.82.
deny from 117.84.
deny from 117.88.
deny from 117.89.
deny from 119.78.
deny from 119.96.
deny from 119.161.
deny from 119.144.
deny from 119.176.
deny from 120.32.
deny from 120.33.
deny from 120.35.
deny from 120.37.
deny from 120.39.
deny from 120.40.
deny from 120.41.
deny from 120.42.
deny from 120.43.
deny from 121.204.
deny from 121.205.
deny from 121.206.
deny from 121.207.
deny from 121.224.
deny from 121.225.
deny from 121.227.
deny from 121.236.
deny from 121.239.
deny from 121.32.
deny from 121.35.
deny from 123.125
deny from 123.184.
deny from 123.185.
deny from 123.186.
deny from 123.187.
deny from 124.72.
deny from 124.236.
deny from 124.79.
deny from 125.112.
deny from 125.64.
deny from 125.70.
deny from 125.75.
deny from 125.77.
deny from 125.78.
deny from 125.79.
deny from 125.80.
deny from 140.237.
deny from 162.252.156.0/22
deny from 178.137.
deny from 175.42.
deny from 175.43.
deny from 175.44.
deny from 180.152.
deny from 180.76.
deny from 195.211.
deny from 198.50.207.
deny from 202.103.
deny from 202.108.
deny from 202.111.
deny from 209.162.242.0/23
deny from 212.179.240.0/20
deny from 213.180.204.
deny from 218.5.
deny from 218.26.
deny from 218.66.
deny from 218.77.
deny from 218.78.
deny from 218.85.
deny from 218.86.
deny from 218.88.
deny from 218.93.
deny from 218.144.0.0/12
deny from 219.126.
deny from 219.131.
deny from 219.136.
deny from 219.137.
deny from 219.140.
deny from 220.160.
deny from 220.161.
deny from 220.163.
deny from 220.165.
deny from 220.166.
deny from 220.181.
deny from 220.185.
deny from 220.191.
deny from 220.248.
deny from 220.249.
deny from 220.255.
deny from 221.10.
deny from 221.130.
deny from 221.176.
deny from 221.204.
deny from 221.232.
deny from 221.236.
deny from 221.238.
deny from 222.130.
deny from 222.170.
deny from 222.172.
deny from 222.176.
deny from 222.208.
deny from 222.221.
deny from 222.64.
deny from 222.67.
deny from 222.71.
deny from 222.76.
deny from 222.77.
deny from 222.78.
deny from 222.79.
deny from 222.91.

問題がある場合は範囲を変更してください


追記メモ

dynamic.163data.com.cn 以外も含みます。

deny from 36.249.
deny from 36.250.
deny from 117.168.0.0/14
deny from 123.150.
deny from 123.151.
deny from 123.152.0.0/13
deny from 142.4.
deny from 188.143.

krfilter (IPアドレス一覧)


Copyright(C) 岐阜パソコン教室 All Rights Reserved.