ついに、このブログも有名になってきたようで・・(違
このブログの記事は携帯用に変換して配信しているのですが、
その携帯に変換した先からのスパムが増えてきました。
PCからのコメントスパムは画像認証のみで回避できています。
で、その携帯用に変換しているのが、めちゃめちゃメジャーなスクリプトなので、
スパム業者もターゲットにしたものと思われます。
というわけで、回避策。
定番の Apache .htaccess です。
以下のように書いて設置しました。
# hoge.cgi,moge.cgi は携帯からしかアクセスできないようにする設定です。
# <> ←は半角にしてください。
====== ここから ======
<FilesMatch “(hoge|moge).cgi$”>
order deny,allow
deny from all
# docomo
allow from 210.153.84.0/24
allow from 210.136.161.0/24
allow from 210.153.86.0/24
allow from 124.146.174.0/24
allow from 124.146.175.0/24
allow from 202.229.176.0/24
allow from 202.229.177.0/24
allow from 202.229.178.0/24
allow from 210.153.87.0/24
allow from 203.138.180.0/24
allow from 203.138.181.0/24
allow from 203.138.203.0/24
# au
allow from 210.230.128.224/28
allow from 121.111.227.160/27
allow from 61.117.1.0/28
allow from 219.108.158.0/27
allow from 219.125.146.0/28
allow from 61.117.2.32/29
allow from 61.117.2.40/29
allow from 219.108.158.40/29
allow from 219.125.148.0/25
allow from 222.5.63.0/25
allow from 222.5.63.128/25
allow from 222.5.62.128/25
allow from 59.135.38.128/25
allow from 219.108.157.0/25
allow from 219.125.145.0/25
allow from 121.111.231.0/25
allow from 121.111.227.0/25
allow from 118.152.214.192/26
allow from 118.159.131.0/25
allow from 118.159.133.0/25
allow from 118.159.132.160/27
# softbank
allow from 123.108.236.0/24
allow from 123.108.237.0/27
allow from 202.179.204.0/24
allow from 202.253.96.224/27
allow from 210.146.7.192/26
allow from 210.146.60.192/26
allow from 210.151.9.128/26
allow from 210.175.1.128/25
allow from 211.8.159.128/25
allow from 123.108.237.240/28
allow from 202.253.96.0/28
# willcom
allow from 61.198.128.0/24
allow from 61.198.129.0/24
allow from 61.198.130.0/24
allow from 61.198.131.0/24
allow from 61.198.132.0/24
allow from 61.198.133.0/24
allow from 61.198.134.0/24
allow from 61.198.135.0/24
allow from 61.198.136.0/24
allow from 61.198.137.0/24
allow from 61.198.138.100/32
allow from 61.198.138.101/32
allow from 61.198.138.102/32
allow from 61.198.138.103/32
allow from 61.198.139.0/29
allow from 61.198.139.128/27
allow from 61.198.139.160/28
allow from 61.198.140.0/24
allow from 61.198.141.0/24
allow from 61.198.142.0/24
allow from 61.198.143.0/24
allow from 61.198.160.0/24
allow from 61.198.161.0/24
allow from 61.198.162.0/24
allow from 61.198.163.0/24
allow from 61.198.164.0/24
allow from 61.198.165.0/24
allow from 61.198.166.0/24
allow from 61.198.168.0/24
allow from 61.198.169.0/24
allow from 61.198.170.0/24
allow from 61.198.171.0/24
allow from 61.198.172.0/24
allow from 61.198.173.0/24
allow from 61.198.174.0/24
allow from 61.198.175.0/24
allow from 61.198.248.0/24
allow from 61.198.249.0/24
allow from 61.198.250.0/24
allow from 61.198.251.0/24
allow from 61.198.252.0/24
allow from 61.198.253.0/24
allow from 61.198.254.0/24
allow from 61.198.255.0/24
allow from 61.204.0.0/24
allow from 61.204.2.0/24
allow from 61.204.3.0/25
allow from 61.204.3.128/25
allow from 61.204.4.0/24
allow from 61.204.5.0/24
allow from 61.204.6.0/25
allow from 61.204.6.128/25
allow from 61.204.7.0/25
allow from 61.204.92.0/24
allow from 61.204.93.0/24
allow from 61.204.94.0/24
allow from 61.204.95.0/24
allow from 125.28.0.0/24
allow from 125.28.1.0/24
allow from 125.28.11.0/24
allow from 125.28.12.0/24
allow from 125.28.13.0/24
allow from 125.28.14.0/24
allow from 125.28.15.0/24
allow from 125.28.16.0/24
allow from 125.28.17.0/24
allow from 125.28.2.0/24
allow from 125.28.3.0/24
allow from 125.28.4.0/24
allow from 125.28.5.0/24
allow from 125.28.6.0/24
allow from 125.28.7.0/24
allow from 125.28.8.0/24
allow from 210.168.246.0/24
allow from 210.168.247.0/24
allow from 210.169.92.0/24
allow from 210.169.93.0/24
allow from 210.169.94.0/24
allow from 210.169.95.0/24
allow from 210.169.96.0/24
allow from 210.169.97.0/24
allow from 210.169.98.0/24
allow from 210.169.99.0/24
allow from 211.126.192.128/25
allow from 211.18.232.0/24
allow from 211.18.233.0/24
allow from 211.18.234.0/24
allow from 211.18.235.0/24
allow from 211.18.236.0/24
allow from 211.18.237.0/24
allow from 211.18.238.0/24
allow from 211.18.239.0/24
allow from 219.108.10.0/24
allow from 219.108.11.0/24
allow from 219.108.12.0/24
allow from 219.108.13.0/24
allow from 219.108.14.0/24
allow from 219.108.15.0/24
allow from 219.108.4.0/24
allow from 219.108.5.0/24
allow from 219.108.6.0/24
allow from 219.108.7.0/24
allow from 219.108.8.0/24
allow from 219.108.9.0/24
allow from 221.119.0.0/24
allow from 221.119.1.0/24
allow from 221.119.2.0/24
allow from 221.119.3.0/24
allow from 221.119.4.0/24
allow from 221.119.5.0/24
allow from 221.119.6.0/24
allow from 221.119.7.0/24
allow from 221.119.8.0/24
allow from 221.119.9.0/24
# emobile
allow from 117.55.1.224/27
allow from 117.55.1.128/26
allow from 117.55.1.96/27
allow from 117.55.65.0/28
</FilesMatch>
====== ここまで ======
最新のIPアドレス情報は以下から拾ってきました。
docomo
http://www.nttdocomo.co.jp/service/imode/make/content/ip/
au
http://www.au.kddi.com/ezfactory/tec/spec/ezsava_ip.html
softbank
http://creation.mb.softbank.jp/web/web_ip.html
willcom
http://www.willcom-inc.com/ja/service/contents_service/club_air_edge/for_phone/ip/
embile
http://developer.emnet.ne.jp/ipaddress.html
めんどくさいからテキストで配信して・・^^;
-
最近の投稿
カテゴリー
- KUKSA (2)
- PC等 (89)
- Uncategorized (1)
- アウトドア (6)
- キャンプ用品 (4)
- trangia B25 (2)
- trangia メスティン (2)
- トランギア (2)
- キャンプ用品 (4)
- おもちゃ (4)
- つくったよ (7)
- ねこ (8)
- バイク (8)
- ファッション (6)
- 事故・入院 (5)
- 健康 (4)
- 写真・動画・カメラ (1)
- 写真・動画・カメラ (125)
- Apple iPhone7 (5)
- Leica 50mm f/2.8 ELMAR-M (12)
- Leica M6 (NonTTL) (17)
- Leica Summicron 35mm F2 (5)
- Nikon D40 (1)
- Pentax K-5 II s (37)
- Pentax K-7 (19)
- Pentax KM (1)
- Pentax MX (2)
- Pentax MX-1 (7)
- Pentax MZ-3 (3)
- Pentax Q (19)
- Rollei 35 S (5)
- smc PENTAX 55mm F1.8 (3)
- smc PENTAX-DA 18-135mm F3.5-5.6 ED AL[IF] DC WR (2)
- smc PENTAX-DA 35mm F2.8 Macro Limited (3)
- smc PENTAX-FA 31mm F1.8AL Limited (4)
- smc PENTAX-FA 43mm F1.9 Limited (9)
- フィルム (25)
- 動画 (11)
- 家電 (4)
- 当たったよ (2)
- 散歩 (19)
- 新高円寺 (2)
- 旅 (9)
- 未分類 (32)
- 独り言 (340)
- 管理人より (61)
- 車 (1)
- 釣り (1)
- 音楽・楽器 (14)
- 食べ物・飲み物 (19)
- 食べ物・飲み物 (2)
最近のコメント
- Q-S1 に lightch より
- 筋トレとかダイエットとか に 筋トレとかダイエットとか 201308 | YORV より
- 2013GW に kns より
- Value-Domain に OTZ | YORV より
- LHR-2BREU3 のセットアップ に ReadyNAS DUO v2 | YORV より
アーカイブ
- 2020年6月 (1)
- 2020年5月 (1)
- 2020年1月 (1)
- 2019年12月 (1)
- 2019年11月 (1)
- 2019年10月 (1)
- 2019年9月 (1)
- 2019年8月 (1)
- 2019年7月 (1)
- 2019年6月 (1)
- 2019年5月 (1)
- 2019年4月 (1)
- 2019年3月 (1)
- 2019年2月 (1)
- 2019年1月 (1)
- 2018年12月 (1)
- 2018年11月 (1)
- 2018年10月 (3)
- 2018年9月 (4)
- 2018年5月 (1)
- 2018年4月 (1)
- 2018年3月 (1)
- 2018年2月 (1)
- 2018年1月 (1)
- 2017年12月 (1)
- 2017年11月 (1)
- 2017年10月 (1)
- 2017年9月 (1)
- 2017年8月 (1)
- 2017年7月 (1)
- 2017年6月 (1)
- 2017年5月 (1)
- 2017年4月 (1)
- 2017年3月 (1)
- 2017年2月 (1)
- 2017年1月 (1)
- 2016年12月 (1)
- 2016年11月 (1)
- 2016年10月 (5)
- 2016年9月 (1)
- 2016年8月 (1)
- 2016年7月 (2)
- 2016年5月 (1)
- 2016年4月 (2)
- 2016年3月 (1)
- 2016年2月 (2)
- 2016年1月 (5)
- 2015年12月 (3)
- 2015年11月 (1)
- 2015年10月 (1)
- 2015年9月 (2)
- 2015年8月 (1)
- 2015年7月 (1)
- 2015年6月 (1)
- 2015年5月 (2)
- 2015年4月 (1)
- 2015年3月 (1)
- 2015年2月 (5)
- 2015年1月 (8)
- 2014年12月 (10)
- 2014年11月 (4)
- 2014年10月 (1)
- 2014年9月 (4)
- 2014年8月 (3)
- 2014年7月 (6)
- 2014年6月 (1)
- 2014年5月 (1)
- 2014年4月 (1)
- 2014年3月 (1)
- 2014年2月 (3)
- 2014年1月 (3)
- 2013年12月 (1)
- 2013年11月 (1)
- 2013年10月 (1)
- 2013年9月 (1)
- 2013年8月 (2)
- 2013年7月 (2)
- 2013年6月 (2)
- 2013年5月 (5)
- 2013年4月 (1)
- 2013年3月 (2)
- 2013年2月 (2)
- 2013年1月 (1)
- 2012年12月 (3)
- 2012年11月 (3)
- 2012年10月 (6)
- 2012年9月 (5)
- 2012年8月 (2)
- 2012年7月 (3)
- 2012年6月 (4)
- 2012年5月 (17)
- 2012年4月 (3)
- 2012年3月 (1)
- 2012年2月 (1)
- 2012年1月 (1)
- 2011年12月 (1)
- 2011年11月 (1)
- 2011年10月 (1)
- 2011年9月 (1)
- 2011年8月 (2)
- 2011年7月 (1)
- 2011年6月 (1)
- 2011年5月 (1)
- 2011年4月 (2)
- 2011年3月 (1)
- 2011年2月 (2)
- 2011年1月 (4)
- 2010年12月 (3)
- 2010年11月 (16)
- 2010年10月 (6)
- 2010年9月 (12)
- 2010年8月 (9)
- 2010年7月 (4)
- 2010年6月 (5)
- 2010年5月 (6)
- 2010年4月 (9)
- 2010年3月 (4)
- 2010年2月 (4)
- 2010年1月 (16)
- 2009年12月 (3)
- 2009年11月 (9)
- 2009年10月 (4)
- 2009年9月 (1)
- 2009年8月 (7)
- 2009年7月 (10)
- 2009年6月 (4)
- 2009年5月 (6)
- 2009年4月 (16)
- 2009年3月 (2)
- 2009年2月 (11)
- 2009年1月 (5)
- 2008年12月 (6)
- 2008年11月 (2)
- 2008年10月 (2)
- 2008年9月 (3)
- 2008年8月 (7)
- 2008年7月 (7)
- 2008年6月 (2)
- 2008年5月 (2)
- 2008年4月 (2)
- 2008年3月 (3)
- 2008年2月 (2)
- 2008年1月 (1)
- 2007年12月 (1)
- 2007年11月 (3)
- 2007年10月 (1)
- 2007年9月 (2)
- 2007年8月 (4)
- 2007年7月 (1)
- 2007年6月 (6)
- 2007年5月 (8)
- 2007年4月 (11)
- 2007年3月 (3)
- 2007年2月 (4)
- 2007年1月 (14)
- 2006年12月 (5)
- 2006年11月 (11)
- 2006年10月 (20)
- 2006年9月 (13)
- 2006年8月 (3)
- 2006年7月 (7)
- 2006年6月 (7)
- 2006年5月 (4)
- 2006年4月 (4)
- 2006年3月 (4)
- 2006年2月 (4)
- 2006年1月 (8)
- 2005年12月 (10)
- 2005年11月 (1)
- 2005年10月 (1)
- 2005年9月 (2)
- 2005年8月 (3)
- 2005年7月 (2)
- 2005年6月 (6)
- 2005年5月 (5)
- 2005年4月 (5)
- 2005年3月 (5)
- 2005年2月 (7)
- 2005年1月 (8)
- 2004年12月 (2)