
Война торрентов или здрасте кривые руки :)

http://forum.utorrent.com/viewtopic.php?id=83062
Reporting in too.
x.x.x.94 - - [28/Aug/2010:18:59:11 +0200] "GET
/announce.php?passkey=&info_hash=%e6%88xA%7d%a0%86%d1%e8%d0z%b7g%05r%a6%9a%90%25%e0&peer_id=-UT2040-%0bT%efL0%16%23M%c3%c9%5d%db&port=49828&uploaded=0&downloaded=0&left=0&corrupt=0&key=66347E81&event=started&numwant=200&compact=1&no_peer_id=1&ipv6=2002%3a5039%3aa45e%3a%3a5039%3aa45e
HTTP/1.1" 200 340 "-" "uTorrent/2040(21515)"
x.x.x.94 - - [28/Aug/2010:18:59:12 +0200] "GET
/announce.php?passkey=&info_hash=%e6%88xA%7d%a0%86%d1%e8%d0z%b7g%05r%a6%9a%90%25%e0&peer_id=-UT2040-%0bT%efL0%16%23M%c3%c9%5d%db&port=49828&uploaded=0&downloaded=0&left=0&corrupt=0&key=66347E81&event=started&numwant=200&compact=1&no_peer_id=1&ipv6=2002%3a5039%3aa45e%3a%3a5039%3aa45e
HTTP/1.1" 200 340 "-" "uTorrent/2040(21515)"
Took me the whole afternoon debugging to finally find out what
was going on.
Trying to re-generate the bug was difficult on my client. I noticed
the tracker returned an error due to unknown torrent, but when I
started an unkown torrent on my newly installed client it just
worked perfectly.
But, I also noticed there's an IPv6 flag in the url, so I enabled
ipv6 on my test-client (Windows 7 btw) and there it was. uTorrent
spamming the tracker about every second. After disabling IPv6
again it still had the same problem.
To decrease the load on my server I've added the following to my
apache configuration:
SetEnvIf User-Agent
uTorrent\/2040\(21515\) GoAway=1
Order
Deny,Allow
Allow From
All
Deny From
env=GoAway
Because just disallowing the client didn't do the trick and still
required executing the first set of php lines. But now, after the
server returns forbidden to uTorrent it still keeps spamming.
|
</> |
