dalyea - 5:25 am on Feb 14, 2012 (gmt 0)
My apache access log has always logged the first field, the IP, in the standard #*$!.#*$!.#*$!.#*$! format. Recently, I started seeing different data in that spot, like:
crawl-66-249-72-205.googlebot.com - - [14/Feb/2012:00:00:18 -0500] "GET etc."
I turned some things on and off in my .htaccess file until I finally figured out what is causing the change - it's this:
deny from 22.214.171.124
deny from 126.96.36.199
deny from 117.135.129 # SosoSpider
deny from 188.8.131.52 # Romania hacker
allow from all
When those lines are in place, my log format changes to the expanded IP as above. When I comment it out, I get the usual #*$!.#*$!.#*$!.#*$! IP format.
Any idea why this happens? Ideally, I want to keep blocking those IP addresses, but I want to keep the usual IP format. If need be, I could block these IP addresses in the httpd.conf file (or the pre-include through cPanel on my VPS), or at least I think I could.