Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I can see a strange domain request in my error log:

2011/11/03 09:04:18 [error] 1203#0: *4044 FastCGI sent in stderr: "Successfully fetched 'http://jeannie733.2itb.com/oxycodonepricesideef.html': GET response code 200" while reading response header from upstream, client: 41.222.211.141, server: contra.net.au, request: "POST /wp-comments-post.php HTTP/1.1", upstream:

Does this indicate my site has been hacked?

share|improve this question
up vote 0 down vote accepted

Does this indicate my site has been hacked?

No, it means that a spam bot is trying to bypass the comments form. You can stop it by adding the belows config to server context in nginx.conf:

    set $poster "";
    if ($request_method = POST) {
        set $poster "${poster}P";
    }
    if ($request_uri = /wp-comments-post.php) {
        set $poster "${poster}W";
    }
    if ($http_referer !~ ^(jeannie733.2itb\.com) ) {
        set $poster "${poster}R";
    }
    if ($http_user_agent = "") {
        set $poster "${poster}U";
    }
    if ($poster = PWRU) {
        return 444;
    }

The 444 status code makes Nginx returns no information to the client and closes the connection.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.