forum.bittorrent.org

BitTorrent.org community

You are not logged in.

Announcement

Posting about any illegal sharing of copyrighted content is strictly forbidden.
  • Index
  •  » BEPs
  •  » BEP-32: IPv6 bootstrap nodes available

#1 2009-11-16 08:34:33

jch
Member

BEP-32: IPv6 bootstrap nodes available

Thanks to titer and the the Transmission project, there is now a pool of IPv6 DHT bootstrap nodes available on

Code:

dht.wifi.pps.jussieu.fr port 6881

You are welcome to use those nodes for testing your implementation of BEP-32.

Under no circumstances should you hard-wire the IPs in your client -- the DNS entry has a low TTL for good reason, I want to be able to add and remove nodes from the pool easily.

It is also not a good idea to hard-wire the name in your client; you really do not want to rely on a name you don't personally control.  Instead, you should set up your own bootstrap node that peers with dht.wifi.pps.jussieu.fr, and use its name in your client instead.  See below on how to do this.

Implementations

There are currently two implementations of BEP-32 available; they are listed on my BitTorrent page.  Please let me know when you implement BEP-32, so I can add yours.

Setting up your own bootstrap node

If you don't yet have an implementation of BEP-32, feel free to grab by DHT code by doing

Code:

  darcs get http://www.pps.jussieu.fr/~jch/software/repos/dht/

Compiling this will give you a small executable called dht-example.  (While this code has only been tested on GNU/Linux, I believe that it should be portable to most recent Unices.)

On a machine with a stable IPv6 address, arrange to run

Code:

dht-example -q -6 -b your:ipv6:addr:ess 6881 dht.wifi.pps.jussieu.fr 6881

Omit -q if you want to see the debugging messages.  Omit -6 if you want to participate in both the IPv4 and IPv6 DHTs.

You may monitor your node by sending it the USR1 signal.

You may then do one of the following:

  1. set up your own name in the DNS, with an AAAA pointing at your node;

(that's a nice thing to do, it will give you your own bootstrap node to use in your client)

  2. drop me an e-mail to add an AAAA to dht.wifi.pps.jussieu.fr;

(that's a nice thing to do, it will put one more node in the dht.wifi.pps.jussieu.fr pool)

  3. do both (1) and (2);

(that's a nice thing to do, it will give you your own bootstrap node that simultaneously belongs to the dht.wifi.pps.jussieu.fr pool)

  4. do neither.

(that's a nice thing to do, it will give the IPv6 DHT a stable node that will be discovered by any nodes that do an IPv6 find_nodes on a node in the dht.wifi.pps.jussieu.fr pool; it's also the only thing you can do if your IPv6 address is dynamic.)

Happy testing,

--Juliusz

Offline

 

#2 2009-11-18 20:12:55

The 8472
Azureus Developer

Re: BEP-32: IPv6 bootstrap nodes available

It looks good. 32 nodes in the routing table, the size estimator reports anything between 48 and 160 nodes, i see lookups and announces... it seems to be working. And more 6to4 nodes than i hoped for (the preference stuff is working).


Az dev

Offline

 

#3 2009-11-22 10:53:51

adrian
Member

Re: BEP-32: IPv6 bootstrap nodes available

Same here:
Everything fine so far: tested with a few magnet-links on my ipv6 only hosts: no problems so far :-)

jch: Feel free to add 2002:d503:5ed::1 to dht.wifi.pps.jussieu.fr. The node should be up 7x24.

Offline

 

#4 2009-11-22 11:27:08

jch
Member

Re: BEP-32: IPv6 bootstrap nodes available

jch: Feel free to add 2002:d503:5ed::1 to dht.wifi.pps.jussieu.fr.

Done.  Thanks.

--Juliusz

Offline

 
  • Index
  •  » BEPs
  •  » BEP-32: IPv6 bootstrap nodes available

Board footer

Powered by FluxBB