Call for volunteers: IPv6 DHT

Discussion of Transmission that doesn't fit in the other categories
jch
Posts: 174
Joined: Wed May 13, 2009 12:08 am

Call for volunteers: IPv6 DHT

Postby jch » Mon Nov 16, 2009 4:58 pm

Hi,

We (The8475, titer and myself) are currently testing the new IPv6 DHT. If you have IPv6 connectivity, please have a look at

http://forum.bittorrent.org/viewtopic.php?id=134

and see whether you can help.

If you don't have IPv6 connectivity yet, get it.

I have a ready implementation for Transmission, I'll attach it under #2576 soon (the version dated 17 September is buggy).

--Juliusz

cherubin
Posts: 6
Joined: Mon Jun 02, 2008 9:23 pm

Re: Call for volunteers: IPv6 DHT

Postby cherubin » Tue Nov 24, 2009 9:51 pm

IPv6 Bootstraping with Transmission 1.76+ svn9559 on a Ubuntu miredo 1.1.3 machine seems to work good.

jch
Posts: 174
Joined: Wed May 13, 2009 12:08 am

Re: Call for volunteers: IPv6 DHT

Postby jch » Wed Nov 25, 2009 12:12 am

Yep, it looks like the IPv6 DHT has bootstrapped pretty nicely. There are about 200 nodes in the DHT, most of which are the Azureus "mldht" plugin.

--Juliusz

x190
Posts: 4810
Joined: Sun Nov 30, 2008 4:59 am

Re: Call for volunteers: IPv6 DHT

Postby x190 » Wed Apr 21, 2010 5:36 pm

jch,

How do I get IPv6 DHT to bootstrap? I'm getting 0 nodes even after 2 hours or more.

Can you provide a list of IPv6 nodes that I can add somehow to ~/Library/Application Support/Transmission/dht.dat? Maybe included in a .torrent file?

OS X 10.6 Transmission v1.92

Screen shot 2010-04-21 at 11.12.26 AM.png
Screen shot 2010-04-21 at 11.12.26 AM.png (126.1 KiB) Viewed 4891 times
Screen shot 2010-04-21 at 11.01.48 AM.png
Screen shot 2010-04-21 at 11.01.48 AM.png (46.58 KiB) Viewed 4891 times
-------------------------------------------------

x190
Posts: 4810
Joined: Sun Nov 30, 2008 4:59 am

Re: Call for volunteers: IPv6 DHT

Postby x190 » Fri Apr 23, 2010 7:55 am

Okay, so ping6 from terminal times out meaning...?

Screen shot 2010-04-23 at 12.54.53 AM.png
Screen shot 2010-04-23 at 12.54.53 AM.png (64.63 KiB) Viewed 4871 times


Here's the strange thing "2010-04-23 00:43:47 -0600 resume.c:144 [Debug] Loaded 1 IPv6 peers from resume file" and still 0 IPv6 nodes.

Is there a way to manually bootstrap IPv6DHT?

OS X 10.6.3 Transmission 1.92 stable
-------------------------------------------------

x190
Posts: 4810
Joined: Sun Nov 30, 2008 4:59 am

Re: Call for volunteers: IPv6 DHT

Postby x190 » Sun Apr 25, 2010 6:38 am

O, the stony silence. :sad:

Had a bit of joy for about 30 sec.

Screen shot 2010-04-24 at 9.43.52 PM.png
A good thing?
Screen shot 2010-04-24 at 9.43.52 PM.png (54.8 KiB) Viewed 4854 times
Screen shot 2010-04-24 at 8.10.31 PM.png
Great while it lasted. :)
Screen shot 2010-04-24 at 8.10.31 PM.png (32.26 KiB) Viewed 4854 times


jch, or anyone. How to add ipv6 nodes from dht.wifi.pps.jussieu.fr port 6881 to dht.dat? OS X 10.6.3 Transmission v1.92 Build 10526.

:arrow: :arrow: :arrow: :arrow: RSVP
-------------------------------------------------

jch
Posts: 174
Joined: Wed May 13, 2009 12:08 am

Re: Call for volunteers: IPv6 DHT

Postby jch » Sun Apr 25, 2010 10:06 pm

x190 wrote:jch, or anyone. How to add ipv6 nodes from dht.wifi.pps.jussieu.fr port 6881 to dht.dat?


It will happen automatically -- Transmission will automatically bootstrap from dht.transmissionbt.com (a large subset of dht.wifi.pps.jussieu.fr) if its regular bootstrap fails. For a manual boostrap, see http://trac.transmissionbt.com/ticket/2280#comment:9 .

But that should not be necessary -- it looks to me that you have some issues with IPv6 routing. Perhaps a firewall in the way?

--Juliusz

x190
Posts: 4810
Joined: Sun Nov 30, 2008 4:59 am

Re: Call for volunteers: IPv6 DHT

Postby x190 » Mon Apr 26, 2010 3:50 am

jch wrote:
x190 wrote:jch, or anyone. How to add ipv6 nodes from dht.wifi.pps.jussieu.fr port 6881 to dht.dat?


It will happen automatically -- Transmission will automatically bootstrap from dht.transmissionbt.com (a large subset of dht.wifi.pps.jussieu.fr) if its regular bootstrap fails. For a manual boostrap, see http://trac.transmissionbt.com/ticket/2280#comment:9 .

But that should not be necessary -- it looks to me that you have some issues with IPv6 routing. Perhaps a firewall in the way?

--Juliusz


Thanks for the response. Port is open for both tcp/udp unless dht.transmissionbt.com needs a special port. How often is that attempt made? I've only seen the following once since testing this past week--2010-04-25 19:25:58 -0600 tr-dht.c:234 [Info] DHT: Attempting bootstrap from dht.transmissionbt.com. No further information is provided by 'Message Log'. Would these nodes be incoming connections or could they be requested from my end i.e. firewall would not be an issue. IPv4DHT works without issues whether firewalled or not. Log shows 10 IPv6 peers loaded from resume file.

Are there any more definitive tests I can do to confirm my connectivity? Ping6 tests on IPv6 sites all seem to timeout or give something like "kame.net ping6: getaddrinfo -- nodename nor servname provided, or not known". Router (gateway) is Siemens 650. Firefox and Safari timeout or revert to IPv4 for sites like kame.net or ipv6.google.com. Does that brief 2 node episode (see screenshot above) indicate connectivity? Is DNS (using Google atm) or my ISP an issue?


Just to be clear, I have a green light on 6 to 4 in OS X SL. I see no way to set 6 to 4 in the router. Apple's help files state that I can connect to an IPv6 address with 6 to4. Relay address is public anycast in v6 format. Current address appears to correspond to my internal (private) IP and starts with 2002.

While typing this I suddenly got 7 nodes while firewalled!!! See picture below. I quick like a bunny opened the port. 6881 too, just in case. The fun lasted 12 mins this time. Open ports didn't help. :(

Can code be changed to do this--Attempting bootstrap from dht.transmissionbt.com--a lot more often? :) Or less verbose logging (broken, 0 nodes). It's too depressing when I've come this far!

Seriously tho' Juliusz, isn't there a way for you to key a few nodes into a torrent file and send it to me? I need the satisfaction of seeing this work and the log entries stop. :)

If I get this thing working will IPv6DHT peers be shown separately in the Inspector interface? Thanks for your input, jch, and bonne chance with that TCP-LP stuff!

Maybe, if I write all night? My 7 nodes just came back... and went 8 mins later. *sigh*
Attachments
Screen shot 2010-04-25 at 8.31.04 PM.png
Screen shot 2010-04-25 at 8.31.04 PM.png (77.65 KiB) Viewed 4838 times
Screen shot 2010-04-25 at 8.38.32 PM.png
Screen shot 2010-04-25 at 8.38.32 PM.png (32.34 KiB) Viewed 4838 times
-------------------------------------------------

jch
Posts: 174
Joined: Wed May 13, 2009 12:08 am

Re: Call for volunteers: IPv6 DHT

Postby jch » Mon Apr 26, 2010 3:20 pm

It really looks to me like you have no IPv6 connectivity at all -- your 6to4 tunnel is not working. (The IPv6 nodes you're seeing are just addresses of IPv6 nodes that your node learnt from IPv4 nodes.)

What do the following say?

Code: Select all

ping6 -n -c 10 huponomos.wifi.pps.jussieu.fr
ping6 -n -c 10 www.ietf.org
traceroute6 -n www.ietf.org
tracepath6 -n www.ietf.org

x190
Posts: 4810
Joined: Sun Nov 30, 2008 4:59 am

Re: Call for volunteers: IPv6 DHT

Postby x190 » Mon Apr 26, 2010 6:37 pm

Code: Select all

Last login: Mon Apr 26 11:48:26 on ttys000
$ ping6 -n -c 10 huponomos.wifi.pps.jussieu.fr
PING6(56=40+8+8 bytes) 2002:xxxx:xxx:1::1 --> 2001:660:3301:8063::1
Request timeout for icmp_seq=0
Request timeout for icmp_seq=1
Request timeout for icmp_seq=2
Request timeout for icmp_seq=3
Request timeout for icmp_seq=4
Request timeout for icmp_seq=5
Request timeout for icmp_seq=6
Request timeout for icmp_seq=7
Request timeout for icmp_seq=8
Request timeout for icmp_seq=9

--- huponomos.wifi.pps.jussieu.fr ping6 statistics ---
10 packets transmitted, 0 packets received, 100.0% packet loss

$ ping6 -n -c 10 www.ietf.org
PING6(56=40+8+8 bytes) 2002:xxxx:xxx:1::1 --> 2001:1890:1112:1::20
Request timeout for icmp_seq=0
Request timeout for icmp_seq=1
Request timeout for icmp_seq=2
Request timeout for icmp_seq=3
Request timeout for icmp_seq=4
Request timeout for icmp_seq=5
Request timeout for icmp_seq=6
Request timeout for icmp_seq=7
Request timeout for icmp_seq=8
Request timeout for icmp_seq=9

--- www.ietf.org ping6 statistics ---
10 packets transmitted, 0 packets received, 100.0% packet loss

l$ traceroute6 -n www.ietf.org
traceroute6 to www.ietf.org (2001:1890:1112:1::20) from 2002:xxxx:xxx:1::1, 64 hops max, 12 byte packets
 1  * * *
 2  * * *
 3  * * *
 4  * * *
 5  * * *
 6  * * *
 7  * * *
 8  * * *
 9  * * *
10  * * *
11  * * *
12  * * *
13  * * *
14  * * *
15  * * *
16  * * *
17  * * *
18  * * *
19  * * *
20  * * *
21  * * *
22  * * *
23  * * *
24  * * *
25  * * *
Terminated
$ tracepath6 -n www.ietf.org
-bash: tracepath6: command not found


Thanks for your reply, jch. I'd have to agree with your conclusions. Possibly a router or ISP problem?
-------------------------------------------------

jch
Posts: 174
Joined: Wed May 13, 2009 12:08 am

Re: Call for volunteers: IPv6 DHT

Postby jch » Mon Apr 26, 2010 8:00 pm

Actually, it looks like a firewall problem on your local host -- the traceroute result indicates that your packets never reach your router. Since I don't run Mac OS myself, I cannot help you any further -- I suggest you ask on a Mac-specific forum somewhere.

Sorry for that,

--Juliusz

x190
Posts: 4810
Joined: Sun Nov 30, 2008 4:59 am

Re: Call for volunteers: IPv6 DHT

Postby x190 » Tue Apr 27, 2010 4:56 am

http://www.deepdarc.com/miredo-osx/

Works out of the box in Snow Leopard. The turtle dances and the squirrel loops-the-loop.

ImageImage

And torrents do what torrents do--connect when they feel like it, go like heck when they feel like it, and sit there doing zip when they feel like it.

O well, another toy to play with and a bunch of IPv6 sites to explore. :)

IPv6 DHT has 72 nodes and announces complete okay. Also, can announce to IPv6 only trackers. I would like to know if IPv6 peer numbers will be shown separately, both in Message Log and Inspector. So far I've only seen a breakdown of the two protocols at start-up (from .resume file).
-------------------------------------------------

jch
Posts: 174
Joined: Wed May 13, 2009 12:08 am

Re: Call for volunteers: IPv6 DHT

Postby jch » Tue Apr 27, 2010 10:25 am

x190 wrote:http://www.deepdarc.com/miredo-osx/


Glad to hear it works for you. (You do realise that by running a Teredo daemon on your Mac, you're making Steve Jobs cry?)

IPv6 DHT has 72 nodes and announces complete okay.


Same here. That means that there are roughly 4000 nodes in the IPv6 DHT, as opposed to tens of millions in the IPv4 one. (As long as there are enough IPv4 µTorrent peers, though, you'll get your fix of IPv6 peers from PEX.)

I would like to know if IPv6 peer numbers will be shown separately, both in Message Log and Inspector.


Check the address column in the inspector.

--Juliusz

x190
Posts: 4810
Joined: Sun Nov 30, 2008 4:59 am

Re: Call for volunteers: IPv6 DHT

Postby x190 » Tue Apr 27, 2010 4:32 pm

jch wrote:
x190 wrote:http://www.deepdarc.com/miredo-osx/


Glad to hear it works for you. (You do realise that by running a Teredo daemon on your Mac, you're making Steve Jobs cry?)


Steve Jobs shouldn't have told me I could make this work with his PrefPane 6 to 4 tunnel. :mad:

I would like to know if IPv6 peer numbers will be shown separately, both in Message Log and Inspector.

Check the address column in the inspector.

--Juliusz


Haven't seen any IPv6 addresses connected yet. Also only the occasional DHT IPv4 peer, according to the Inspector. Where can I find torrents likely to have IPv6 peers? SixXS maybe? I'm also a bit puzzled as to why the Message Log shows many dozens of peers for a torrent and yet I'm only connecting to 50% or less of my very conservative requested peer count.

Which brings me to the firewall subject. Yes, I'm locked down as best I know how. 'Shields Up' shows me fully stealthed which is good, I think, since I no longer have router or NAT protection, right? Still, Transmission should be able to make all the outbound connection attempts it wants, mais non? If you can point me to info on using firewalls with IPv6 and Miredo/Teredo, I would be grateful.
-------------------------------------------------

x190
Posts: 4810
Joined: Sun Nov 30, 2008 4:59 am

Re: Call for volunteers: IPv6 DHT

Postby x190 » Tue Apr 27, 2010 7:38 pm

I feel like a proud father. My first IPv6 peer!!! I see I'm blocking quite a few incoming IPv6 connection attempts, but until I find out whether anybody has a usable blocklist of IPv6 bad guys, I guess that's the way it has to be.
Attachments
Screen shot 2010-04-27 at 12.58.12 PM.png
Screen shot 2010-04-27 at 12.58.12 PM.png (5.49 KiB) Viewed 4773 times
yay.jpg
yay.jpg (30.99 KiB) Viewed 4773 times
-------------------------------------------------


Return to “General”