Jump to content

UDP Trackers and IPv6


Majibow

Recommended Posts

Using Wireshark and nslookup, I think I have pretty much nailed down the issue to IPv6.

It seems that uTorrent 3.2 Beta build 27215 is failing to connect with UDP trackers if it uses an IPv6 address. If I disable IPv6 or manually use the IPv4 address of the tracker it works fine.

HTTP on the other hand is fine.

Here are some trackers that I tested with:

http://www.ipv6tracker.org/ - only IPv6 addresses (nslookup)

http://tracker.ipv6tracker.org:80/announce - Working
udp://tracker.ipv6tracker.org:80/announce - Connection Timed Out

http://www.istole.it/ - Both IPv4 and v6 addresses (nslookup)

http://tracker.istole.it/announce - Both Working
udp://tracker.istole.it - v4 Working - v6 Connection Timed Out

http://www.ccc.de/ - Both IPv4 and v6 addresses (nslookup)

http://tracker.ccc.de/announce - Both Working
udp://tracker.ccc.de - v4 Working - v6 Connection Timed Out

http://www.openbittorrent.com - Always Works but only has IPv4 addresses (nslookup)

http://www.publicbt.com - Also works but only has IPv4addresses (nslookup)

Can anyone confirm or deny this?

Link to comment
Share on other sites

Well, the UDP tracker spec is IPv4 only, so... no surprise it doesn't work.

But I guess the issue is that we try to talk to it using the IPv6 address.

Thanks for the report, we'll add this to the queue of things to fix.

Link to comment
Share on other sites

  • 1 year later...

uTorrent 3.4 build 30660, dual stacked host, problem still exists.

http://www.ipv6tracker.org/ - only IPv6 addresses (nslookup)

http://tracker.ipv6tracker.org:80/announce - Workingudp://tracker.ipv6tracker.org:80/announce - Connection Timed Out
http://demonii.com/ - Both IPv4 and v6 addresses (nslookup)

http://open.demonii.com:1337/announce - Both Workingudp://open.demonii.com:1337/announce - v4 Working - v6 Connection Timed Out
Workaround:
  • To announce to the IPv4 tracker with dual-stacked host, use the literal IPv4 address in the announce URL, i.e. udp://62.210.137.203:1337/announce
  • To announce to the IPv6 tracker with dual-stacked host, use the HTTP scheme in the announce URL
[edit]

As of 2015-02-24, IPv6 HTTP announces to demonii fail with the message "No connection could be made because the target machine actively refused it", rendering the workaround obsolete in that case.

[edit2]

Additionally, as of 3.4.2 build 38758, the scheme part of the URL is automatically "corrected" from http to udp when adding the demonii tracker. Using the literal IPv6 in the URL would have been a workaround, but combined with edit1, that's a moot point.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...