Portal Home > Knowledgebase > Articles Database > Weird log entry in apache log


Weird log entry in apache log




Posted by MixMasters, 10-11-2009, 11:00 AM
Hey guys, I'm running apache webserver in my home computer, i saw a weird line logged by apache, like this a similar line also logged but not from IP, what it could be, what is this btw? is it any kind of danger? i also found this need help Last edited by bear; 10-11-2009 at 11:02 AM. Reason: quotes to code (formatting)

Posted by david510, 10-11-2009, 11:12 AM
Seems to be run using some script in /tmp. Have a check of your /tmp for nay suspicious script uploaded.

Posted by MixMasters, 10-11-2009, 11:14 AM
ah, It's a windows machine

Posted by larwilliams, 10-11-2009, 11:51 AM
It appears to be a 400 "Bad Request" error, caused by something creating a HTTP request with weird data (possibly an attempt to hack in via Apache). I would install mod_security and set up a good set of rules, and see if it continues.

Posted by MixMasters, 10-11-2009, 12:15 PM
I installed the mod_security and blocked the ip's which were playing with my server in my software firewall, currently i'm using default mod_security settings, please suggest any tips regarding it

Posted by larwilliams, 10-11-2009, 12:25 PM
gotroot.com got some good mod_security rulesets that you may wish to use.

Posted by MixMasters, 10-11-2009, 12:36 PM
thanks for help now apache is local only, i hope it will stop most of errors

Posted by nomankhn, 10-11-2009, 12:53 PM
Hello, Hope you are fine and have good health, can you please explain local means?

Posted by MixMasters, 10-11-2009, 02:13 PM
works in http://localhost/ only ^_^

Posted by nomankhn, 10-11-2009, 02:14 PM
oh cool

Posted by MixMasters, 10-11-2009, 02:25 PM
i only use that server for testing my clients designs, and php scripts after looking that log i thought it's good if it's a local webserver



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
CSF blocking FTP? (Views: 757)


Language: