Gea-Suan Lin's BLOG

Monday, December 26, 2005

無名小站沒禮貌的 Bot

看 awstats 統計記錄的時候發現從 mail.wretch.cc 來的連線量超大,而且超頻繁,去翻 log 發現原來是個沒禮貌的 bot:(列出最後幾筆)

203.133.33.2 - - [25/Dec/2005:00:13:50 -0800] “GET /feed/ HTTP/1.0″ 200 21656 “-” “wcpan fetcher”
203.133.33.2 - - [25/Dec/2005:00:14:35 -0800] “GET /feed/ HTTP/1.0″ 200 21656 “-” “wcpan fetcher”
203.133.33.2 - - [25/Dec/2005:00:18:57 -0800] “GET /feed/ HTTP/1.0″ 200 21656 “-” “wcpan fetcher”
203.133.33.2 - - [25/Dec/2005:00:19:42 -0800] “GET /feed/ HTTP/1.0″ 200 21656 “-” “wcpan fetcher”
203.133.33.2 - - [25/Dec/2005:00:24:24 -0800] “GET /feed/ HTTP/1.0″ 200 21656 “-” “wcpan fetcher”

不支援 Last-Modified 浪費我的頻寬,然後次數又超頻繁,用 .htaccess 擋掉:

#
order allow,deny
deny from 203.133.33.
allow from all