I don't know if the following log has something to do with my site being down sometime. I have lot of websites on my server and they don't have any logs like the following: - - [03/Jan/2015:23:21:37 +0800] "GET /announce.php?info_hash=%D0%A2M%CE%13%21H%D4%11%0C%8C%27%22%C83%B4%A3l%92%15&peer_id=%2DSD0100%2D%C50%95xmh%9B%13%7C%D42%F7&ip= HTTP/1.1" 404 162 "-" "Bittorrent" - - [03/Jan/2015:23:21:37 +0800] "GET /announce.php?info_hash=%DE%82%BC%CFBmH%29e%FD%25%ED6b%F2%2DX%EE%BE%21&peer_id=%2DSD0100%2D%BF3%DAG%83%1F%DAGnV%E3%C8&ip= HTTP/1.0" 404 162 "-" "Bittorrent" - - [03/Jan/2015:23:21:37 +0800] "GET /announce?info_hash=%DE%82%BC%CFBmH%29e%FD%25%ED6b%F2%2DX%EE%BE%21&peer_id=%2DSD0100%2D%BF3%DAG%83%1F%DAGnV%E3%C8&ip= HTTP/1.0" 404 20283 "-" "Bittorrent" - - [03/Jan/2015:23:21:37 +0800] "GET /announce.php?info_hash=%AA%21U%8F%7F%BA%DC%8F%D2%A5%B5A%7B%26t%F7%2A%FF%1E%8C&peer_id=%2DSD0100%2D%91%11%E7%11G%7B%8C%EB%14Y%2B%26&ip= HTTP/1.0" 404 162 "-" "Bittorrent" - - [03/Jan/2015:23:21:37 +0800] "GET /announce.php?info_hash=%9A%90s%DCK%29%93%05%FE%BA%E6%D3%7D%03%12%25l%B0%B8k&peer_id=%2DSD0100%2D%20%80%3FRw%E5%0E%3D%3F%2F%B1%0F&ip= HTTP/1.0" 404 162 "-" "Bittorrent" - - [03/Jan/2015:23:21:38 +0800] "GET /announce.php?info_hash=f%F7x%23%A6w%96%955%E6T%09%3Br%DD%A5%F3%3D%A4%05&peer_id=%2DSD0100%2Dp%83%F6%00%E9%04B4%28%E5%F4%F8&ip= HTTP/1.0" 404 162 "-" "Bittorrent" - - [03/Jan/2015:23:21:38 +0800] "GET /announce?info_hash=%C7Jr%2F%E4%DF9%ECk%BA%88%94%7B%FF%8Ad%102%FA%5B&peer_id=%2DSD0100%2D%F6%F1%A1%A6%C9%01%DC%17%DC%AA%5D%19&ip= HTTP/1.0" 499 0 "-" "Bittorrent" - - [03/Jan/2015:23:21:38 +0800] "GET /announce?info_hash=%B3%DA%8D%13%F9n%5D%E3%00%F0f%19%8Fb%BA%FEgg%22%40&peer_id=%2DSD0100%2D%0F%F9%DC%2D%E3%A5%DB%CF%FE%09%AB%3C&ip= HTTP/1.0" 404 20283 "-" "Bittorrent" - - [03/Jan/2015:23:21:38 +0800] "GET /announce?info_hash=%B3%DA%8D%13%F9n%5D%E3%00%F0f%19%8Fb%BA%FEgg%22%40&peer_id=%2DSD0100%2D%2D%A6%EF%F4%FCoe%C5%CB%A2%F8%15&ip= HTTP/1.0" 499 0 "-" "Bittorrent" - - [03/Jan/2015:23:21:38 +0800] "GET /announce.php?info_hash=%B6%92n%10%AF%8F%8C%E7%7B1%F9%94%D9%1B%FB%2F%9F%E5%CF%13&peer_id=%2DSD0100%2D%B9N%C5%283%14%D0%C5%E7%96k%91&ip= HTTP/1.0" 404 162 "-" "Bittorrent" - - [03/Jan/2015:23:21:38 +0800] "GET /announce.php?info_hash=%A5u0%B1%BCC%05%CB%D0%97Ez%D6GX%1B%9E%D7%8C9&peer_id=%2DSD0100%2D%BD%2A%5E%D1%0E%ADZ%13%E0%1C%5F%1B&ip= HTTP/1.0" 404 162 "-" "Bittorrent"

I tried to search this kind of log, but there's so little information about this.

I don't install any bittorrent apps on my server and wondering why it seems that my server is acting like a tracker.

Can anyone please help me why I have these kind of log?


It doesnt look like anything to worry about. Bittorrent trackers are just regular HTTP servers.

Your server is sending 404 errors - there is no tracker on your server.

Probably at some point in the past your IP address was used as a tracker, or someone else has misconfigured their client, or their tracker dns.

  • Actually it looks that there might something bigger at play here. I get the same requests on 4 (that I am aware of) unrelated servers. I posted a question on how to block these requests via mod_security explaining a bit my findings on the subject serverfault.com/questions/656093/… It looks like a DNS Cache Poisoning by a Chinese ISP. – Cha0s Jan 5 '15 at 4:15
  • @Cha0s I think you are right. Until now, my server seems to suffer a down time sometimes because of this. Since I am using nginx, I don't think mod_security is the answer to my problem. Can you recommend any solution? – jaypabs Jan 14 '15 at 12:56
  • @jaypabs I mentioned my question to show my findings regarding those requests not being just some error in DNS or the IP being used as a torrent tracker in the past. I personally ended up blocking China with iptables. Even with mod_security the connections were so many that they would fill up apache's connections. I don't have any solution regarding nginx specifically. – Cha0s Jan 14 '15 at 13:24
  • @Cha0s May I know the command you use to block it using iptables? – jaypabs Jan 14 '15 at 13:36
  • @jaypabs I am using CSF/LFD which allows to block whole countries by CC. configserver.com/cp/csf.html – Cha0s Jan 14 '15 at 13:41

It might be some type of DDoS attack. Add this to your site's .htaccess to block them.

RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} ^Bittorrent [NC]
RewriteRule ^ http://bittorrent.com [R,L]

  • 2
    If it were a DDOS attack, this would not help. Your server will send a 302 response instead of 404, using roughly the same amount of traffic - plus now the CPU load of processing redirects. At the very least, it should send a 301 redirect so well behaved clients consider it permanent. And if it is a DDOS attack, the owners of bittorrent.com probably wont be too happy that you're passing it along to them... – Grant Jan 13 '15 at 15:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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