自分自身のための ものづくり / 自分自身のためのものづくりメモ

突っ込みなどがありましたら掲示板にお願いします。

* deny from 66.232.96.0/19

#掲示板spam対策
 連投がウザイ(*)ので、丸ごと.htaccessでBBSから排除。

$ cat /var/log/apache/access.log | grep POST | grep 66.232 | grep '16/Feb' | cat -n | tail -1
139 66.232.113.98 - - [16/Feb/2007:22:49:40 +0900] "POST ttp://baku.homeuni
x.net/BBS/BBS.cgi HTTP/1.0" 403
 2月16日だけで139件かよ…。

 この範囲の人がこのサイトを見て更に掲示板に書き込みを行おうとする可能性は、無視してもいいだろう。個人向けプロバイダでもなさげな雰囲気だし(唯一逆引きできたアドレスのホスト名は"host.a1hosting4u.com")。

$ whois  66.232.118.177

Country:    US

NetRange:   66.232.96.0 - 66.232.127.255
CIDR:       66.232.96.0/19

*連投の例

2007/02/16,21:07:19,66.232.113.98,"host.a1hosting4u.com","-","-",POST,"ttp://baku.homeunix.net/BBS/BBS.cgi","","1.0",403
2007/02/16,21:07:19,66.232.113.98,"host.a1hosting4u.com","-","-",POST,"ttp://baku.homeunix.net/BBS/BBS.cgi","","1.0",403
2007/02/16,21:07:19,66.232.113.98,"host.a1hosting4u.com","-","-",POST,"ttp://baku.homeunix.net/BBS/BBS.cgi","","1.0",403
2007/02/16,21:07:20,66.232.113.98,"host.a1hosting4u.com","-","-",POST,"ttp://baku.homeunix.net/BBS/BBS.cgi","","1.0",403
2007/02/16,21:07:20,66.232.113.98,"host.a1hosting4u.com","-","-",POST,"ttp://baku.homeunix.net/BBS/BBS.cgi","","1.0",403
2007/02/16,21:07:20,66.232.113.98,"host.a1hosting4u.com","-","-",POST,"ttp://baku.homeunix.net/BBS/BBS.cgi","","1.0",403
2007/02/16,21:07:21,66.232.113.98,"host.a1hosting4u.com","-","-",POST,"ttp://baku.homeunix.net/BBS/BBS.cgi","","1.0",403
2007/02/16,21:07:21,66.232.113.98,"host.a1hosting4u.com","-","-",POST,"ttp://baku.homeunix.net/BBS/BBS.cgi","","1.0",403
2007/02/16,21:07:22,66.232.113.98,"host.a1hosting4u.com","-","-",POST,"ttp://baku.homeunix.net/BBS/BBS.cgi","","1.0",403
2007/02/16,21:07:22,66.232.113.98,"host.a1hosting4u.com","-","-",POST,"ttp://baku.homeunix.net/BBS/BBS.cgi","","1.0",403
2007/02/16,21:07:23,66.232.113.98,"host.a1hosting4u.com","-","-",POST,"ttp://baku.homeunix.net/BBS/BBS.cgi","","1.0",403
2007/02/16,21:07:24,66.232.113.98,"host.a1hosting4u.com","-","-",POST,"ttp://baku.homeunix.net/BBS/BBS.cgi","","1.0",403
2007/02/16,21:07:26,66.232.113.98,"host.a1hosting4u.com","-","-",POST,"ttp://baku.homeunix.net/BBS/BBS.cgi","","1.0",403
2007/02/16,21:07:27,66.232.113.98,"host.a1hosting4u.com","-","-",POST,"ttp://baku.homeunix.net/BBS/BBS.cgi","","1.0",403
2007/02/16,21:07:29,66.232.113.98,"host.a1hosting4u.com","-","-",POST,"ttp://baku.homeunix.net/BBS/BBS.cgi","","1.0",403
2007/02/16,21:07:29,66.232.113.98,"host.a1hosting4u.com","-","-",POST,"ttp://baku.homeunix.net/BBS/BBS.cgi","","1.0",403
2007/02/16,21:07:32,66.232.113.98,"host.a1hosting4u.com","-","-",POST,"ttp://baku.homeunix.net/BBS/BBS.cgi","","1.0",403

create : 2007/02/15 (Thu)
update : 2007/02/17 (Sat)