How to block by user agent?!
Robert Gabriel
lists at ruby-forum.com
Thu Jun 25 16:11:26 MSD 2009
Im using nginx 0.7.60 for my blog, but I get a lot of weird requests
from some users agent "Zulu_1.0". I wanna block it. How could this be
done in nginx? If anyone has an idea please let me know.
Sample from access_log:
190.166.242.217 - - [25/Jun/2009:06:58:57 -0500] "GET /status HTTP/1.1"
404 33136 "www.windowsupdate.com" "Zulu_1.0" "-"
209.161.112.5 - - [25/Jun/2009:07:01:02 -0500] "GET /status HTTP/1.1"
404 33136 "www.windowsupdate.com" "Zulu_1.0" "-"
68.9.101.55 - - [25/Jun/2009:07:04:18 -0500] "GET /status HTTP/1.1" 404
33136 "www.windowsupdate.com" "Zulu_1.0" "-"
200.75.204.138 - - [25/Jun/2009:07:06:48 -0500] "GET /status HTTP/1.1"
404 33135 "www.windowsupdate.com" "Zulu_1.0" "-"
200.88.242.99 - - [25/Jun/2009:07:07:25 -0500] "GET /status HTTP/1.0"
404 33092 "www.windowsupdate.com" "Zulu_1.0" "10.0.0.74, 127.0.0.1"
200.74.156.42 - - [25/Jun/2009:07:08:49 -0500] "GET /status HTTP/1.1"
404 33136 "www.windowsupdate.com" "Zulu_1.0" "-"
--
Posted via http://www.ruby-forum.com/.
More information about the nginx
mailing list