apache httpd as spam source
When I read my apache access log, I found thise strange lines :
200.51.38.2 - - [01/Sep/2004:21:41:55 +0700] "POST http://200.51.38.2:25/ HTTP/1.0" 200 1114 "-" "-"
168.61.4.12 - - [01/Sep/2004:22:56:03 +0700] "POST http://168.61.5.196:25/ HTTP/1.0" 200 1114 "-" "-"
1
As far as I know, these lines told us that my apache server is used by somebody on 200.51.38.2 and 168.61.4.12, posting something to another smtp server, and the smtp server replies OK. Is this a new way to send spam :mad: ? anybody can tell how to fix this ?
Re: apache httpd as spam source
The columns are as such:
<source ip> <identd> <username> <date> <request> <method> <return code> <bytes> <referer> <client>
Quote:
Originally posted here by spyderman202020
When I read my apache access log, I found thise strange lines :
200.51.38.2 - - [01/Sep/2004:21:41:55 +0700] "POST http://200.51.38.2:25/ HTTP/1.0" 200 1114 "-" "-"
168.61.4.12 - - [01/Sep/2004:22:56:03 +0700] "POST http://168.61.5.196:25/ HTTP/1.0" 200 1114 "-" "-"
1
As far as I know, these lines told us that my apache server is used by somebody on 200.51.38.2 and 168.61.4.12, posting something to another smtp server, and the smtp server replies OK. Is this a new way to send spam :mad: ? anybody can tell how to fix this ?
A couple of questions:
1) Do you have PHP on this server?
2) Do you have mod_rewrite or mod_proxy installed in Apache?
I almost wonder whether you haven't typo'd something in a php script on your webserver...regardless, I have seen Apache used to proxy traffic, either as a result of having mod_proxy running and/or allowing the CONNECT method; however, the traffic you are showing doesn't match with that. If you haven't done it already, you should consider limiting the methods allowed on the web server:
You can use the <LimitExcept> method in the configuration file to limit access, I have something along the lines of :
Code:
AllowOverride None
<LimitExcept POST GET OPTIONS>
..
..
</LimitExcept>
This limits access to the web server only to OPTIONS (to see whats allowed) and GET/POST.
I guess I will wait to see what your answer to mod_proxy and PHP are before rambling on anymore :)