Good day all,
I have an Apache2 web server running on OpenSuSE 12.3. Everything seems to be working well, except when I check the apache2/access_log I find lots of entries like the following:
94.23.45.14 - - [23/Sep/2013:03:23:00 -0500] "HEAD / HTTP/1.0" 200 - "-" "-"
111.248.56.25 - - [23/Sep/2013:03:27:21 -0500] "GET http://www.google.co.jp HTTP/1.1" 200 8912 "-" "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)"
111.248.56.25 - - [23/Sep/2013:03:27:23 -0500] "CONNECT mta6.am0.yahoodns.net:25 HTTP/1.0" 200 8896 "-" "-"
111.241.46.197 - - [23/Sep/2013:04:34:28 -0500] "GET http://www.google.com.tw HTTP/1.1" 200 8490 "-" "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)"
111.241.46.197 - - [23/Sep/2013:04:34:29 -0500] "CONNECT mx0.mail2000.com.tw:25 HTTP/1.0" 200 8896 "-" "-"
192.187.96.94 - - [23/Sep/2013:08:57:27 -0500] "CONNECT 80.79.119.248:80 HTTP/1.1" 200 8489 "-" "-"
192.187.96.94 - - [23/Sep/2013:08:57:27 -0500] "GET /ohLo0Ooni9tu.php HTTP/1.1" 404 526 "-" "-"
61.231.93.149 - - [23/Sep/2013:11:38:28 -0500] "GET http://www.google.com/intl/zh-CN/ HTTP/1.1" 404 526 "-" "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)"
61.231.93.149 - - [23/Sep/2013:11:38:33 -0500] "CONNECT mx3.mail2000.com.tw:25 HTTP/1.0" 200 8473 "-" "-"
66.58.248.72 - - [23/Sep/2013:17:53:28 -0500] "\x80w\x01\x03\x01" 400 324 "-" "-"
36.231.254.239 - - [24/Sep/2013:04:48:22 -0500] "GET http://www.google.com.tw HTTP/1.1" 200 8490 "-" "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)"
36.231.254.239 - - [24/Sep/2013:04:48:27 -0500] "CONNECT mx0.mail2000.com.tw:25 HTTP/1.0" 200 8896 "-" "-"
61.228.95.9 - - [24/Sep/2013:07:47:38 -0500] "GET http://www.google.com/intl/zh-CN/ HTTP/1.1" 404 526 "-" "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)"
61.228.95.9 - - [24/Sep/2013:07:47:39 -0500] "CONNECT mx2.mail2000.com.tw:25 HTTP/1.0" 200 8896 "-" "-"
184.90.189.155 - - [24/Sep/2013:07:51:09 -0500] "\x80w\x01\x03\x01" 400 324 "-" "-"
70.89.92.5 - "" [25/Sep/2013:07:45:59 -0500] "GET /manager/html HTTP/1.1" 404 526 "-" "Mozilla/3.0 (compatible; Indy Library)"
192.187.96.94 - - [25/Sep/2013:08:23:03 -0500] "CONNECT 80.79.119.248:80 HTTP/1.1" 200 8489 "-" "-"
Specifically, entries like the following:
111.248.56.25 - - [23/Sep/2013:03:27:21 -0500] "GET http://www.google.co.jp HTTP/1.1" 200 8912 "-" "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)"
111.248.56.25 - - [23/Sep/2013:03:27:23 -0500] "CONNECT mta6.am0.yahoodns.net:25 HTTP/1.0" 200 8896 "-" "-"
If I understand this log entry correctly, 11.248.56.25 is trying to use my web server as a proxy, perhaps to send spam, to mta6.am0.yahoodns.net:25?? Or perhaps hiding behind my address to probe those servers? I’m concerned that my server seems to be returning “200”, or success. I don’t know what the other return code is, in this case 8912 and 8896.
In the following example, 192.187.96.94 first seems to be using my web server as a proxy to connect to 80.79.119.248:80 ← a web server, and the return code is 200. Then 192.187.96.94 tries to use my web server as a proxy to get a file “/ohLo0Ooni9tu.php”, and is told the file doesn’t exist. Is 192.187.96.94 trying to get this file from my server, or 80.79.119.248???
192.187.96.94 - - [23/Sep/2013:08:57:27 -0500] "CONNECT 80.79.119.248:80 HTTP/1.1" 200 8489 "-" "-"
192.187.96.94 - - [23/Sep/2013:08:57:27 -0500] "GET /ohLo0Ooni9tu.php HTTP/1.1" 404 526 "-" "-"
So after all this, what I’m looking for is advice for how to not allow my server to be used as a proxy server to send spam, or to probe other servers. I’m not loading mod_proxy, so why is my server returning a 200?
Thank you for any advice you can give, I appreciate it.
Cheers,
Terry.