View Full Version : [SOLVED] Apache logs - succesful POSTs?
February 13th, 2010, 02:20 AM
I installed an apache web server recently, and in looking through the logs I see some POSTS which returned 200 success codes. Since it is only service static files, I don't see how a post can succeed. What's more, the POST seems to be using my server as a proxy. Is this normal? Do I have some kind of weakness here?
188.8.131.52 - - [11/Feb/2010:22:19:18 +0000] "CONNECT 184.108.40.206:31204 HTTP/1.0" 405 313 "-" "-"
220.127.116.11 - - [11/Feb/2010:22:19:18 +0000] "POST http://18.104.22.168:31204/ HTTP/1.0" 200 1315 "-" "-"
22.214.171.124 - - [11/Feb/2010:23:26:38 +0000] "CONNECT 126.96.36.199:6667 HTTP/1.0" 405 315 "-" "-"
188.8.131.52 - - [11/Feb/2010:23:26:38 +0000] "POST http://184.108.40.206:6667/ HTTP/1.0" 200 1315 "-" "-"
February 13th, 2010, 03:05 AM
port 6667 is an IRC server port, I dont know why its in apache, but it appears that perhaps a bot is trying to find an IRC network to spam
As for the other 31204 it is IANA reserved port range, and is nothing to worry about.
EDIT: Here is my log, just so you can see that that is really no big deal!
Its so big I cant even attach it D:
edit 2: 220.127.116.11 <-- I searched with a program I found that I use on my forum to check spam lists, this one doesnt show. Not a spammer.
18.104.22.168 <-- also clean..
I scanned a few of mine, I get some returns for project honeypot of suspicious behavior etc.
February 13th, 2010, 11:42 AM
I'm learning something. I manually connected to 22.214.171.124:31204 with nc to see what would cme back, and it said "Proxy Check" before disconnecting. So they are looking for open proxies. The fact that my server returned a 200 code suggests that it is indeed runnng as an open proxy.
I've corrected my firewall to prevent outgoing connects from the webserver - it was only open to allow apt-get upgrade and I forgot to close it again afterwards. And I've left a sniffer running so I can see if the server actually tries to make the outgoing connection next time it happens. The firewall will block it now, but I should capture the outgoing SYN entering the firewall.
I got it with the sniffer. The POST succeeds (code 200), but apache is ignoring the host specification of the URL and returning its own root document. So I'm not an open proxy after all.
Powered by vBulletin® Version 4.2.2 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.