Opened 8 years ago
Last modified 8 years ago
#5950 new Enhancement
dht-0.23
Reported by: | jch | Owned by: | jordan |
---|---|---|---|
Priority: | Low | Milestone: | None Set |
Component: | libtransmission | Version: | 2.84 |
Severity: | Minor | Keywords: | dht |
Cc: |
Description
dht-0.23 is available.
Change History (3)
comment:1 Changed 8 years ago by jch
comment:2 Changed 8 years ago by cfpp2p
Informational
DHT bootstrapping for transmission is hard-coded to dht.transmissionbt.com
https://trac.transmissionbt.com/browser/trunk/libtransmission/tr-dht.c#L248
It is possible to manually assign fallback if normal bootstrap from dht.transmissionbt.com fails, but otherwise it's set to dht.transmissionbt.com
https://trac.transmissionbt.com/browser/trunk/libtransmission/tr-dht.c#L202
To be clear, router.bittorrent.com, if it were used for DHT bootstrapping transmission, currently remains functional. router.bittorrent.com appears equivalently operational to dht.transmissionbt.com, while running transmission without the dht-0.24 patches.
router.bittorrent.com
[16:16:38.855] DHT Initializing DHT (tr-dht.c:285) [16:16:38.855] Couldn't read "/transmission-PID/.config/transmission-daemon/dht.dat": No such file or directory (utils.c:443) [16:16:38.855] DHT Generating new id (tr-dht.c:318) [16:16:38.855] DHT DHT initialized (tr-dht.c:339) [16:17:04.912] DHT Attempting bootstrap from router.bittorrent.com (tr-dht.c:256) [16:21:56.722] DHT Finished bootstrapping (tr-dht.c:267) [16:33:59.741] True Starting IPv4 DHT announce (firewalled, 150 nodes) (tr-dht.c:583) [16:34:05.750] True Learned 11 IPv4 peers from DHT (tr-dht.c:543) [16:34:16.766] True Learned 13 IPv4 peers from DHT (tr-dht.c:543) [16:34:16.766] True Learned 1 IPv4 peers from DHT (tr-dht.c:543) [16:34:16.766] True Learned 3 IPv4 peers from DHT (tr-dht.c:543) [16:34:16.766] True Learned 33 IPv4 peers from DHT (tr-dht.c:543) [16:34:16.766] True Learned 1 IPv4 peers from DHT (tr-dht.c:543) [16:34:17.767] True Learned 50 IPv4 peers from DHT (tr-dht.c:543) [16:34:17.767] True Learned 19 IPv4 peers from DHT (tr-dht.c:543) [16:34:35.803] True Learned 100 IPv4 peers from DHT (tr-dht.c:543) [16:34:35.803] True Learned 100 IPv4 peers from DHT (tr-dht.c:543) [16:34:35.803] True Learned 100 IPv4 peers from DHT (tr-dht.c:543) [16:34:36.805] True Learned 100 IPv4 peers from DHT (tr-dht.c:543) [16:34:36.805] True Learned 100 IPv4 peers from DHT (tr-dht.c:543) [16:34:57.855] True Learned 100 IPv4 peers from DHT (tr-dht.c:543) [16:35:09.872] True Learned 100 IPv4 peers from DHT (tr-dht.c:543) [16:35:11.875] True Learned 100 IPv4 peers from DHT (tr-dht.c:543) [16:35:18.925] True Learned 100 IPv4 peers from DHT (tr-dht.c:543) [16:36:00.084] True Learned 100 IPv4 peers from DHT (tr-dht.c:543) [16:36:17.109] True Learned 100 IPv4 peers from DHT (tr-dht.c:543) [16:38:20.506] True IPv4 DHT announce done (tr-dht.c:551)
router.bittorrent.com
DHT time to bootstrap: 4 munutes 52 seconds torrent DHT announce: 4 minutes 21 seconds
. . .
sample from TR_DHT_VERBOSE dht_debug
_
Pong! Pong! Splitting. Sending ping to cached node. Pong! Find node! Sending closest nodes (-1). (8+0 nodes.) Get_peers! Sending nodes for get_peers. (8+0 nodes.) Find node! Sending closest nodes (-1). (8+0 nodes.) Sending find_node for neighborhood maintenance. Nodes found (8+0)! Sending ping to dubious node. Pong! Unparseable message: d1:ad2:id20:..F.<..>.$^....G....6:target20:.V........c.SYj..XD>5:token8:...._.LM4:votei0ee1:q4:vote1:t4:....1:v4:UT.j1:y1:qe Sending find_node for neighborhood maintenance. Nodes found (8+0)! Find node! Sending closest nodes (-1). (8+0 nodes.) Get_peers! Sending ping to dubious node. Sending nodes for get_peers. (8+0 nodes.) Pong! Find node! Sending closest nodes (-1). (8+0 nodes.)
_
logged message and count TR_DHT_VERBOSE
Sending ping 339 Sending pong 74 Pong! 244 Sending find_node for neighborhood maintenance 74 Nodes found 112 Sending ping to dubious node 286 Splitting 20 Unparseable message: 45 Sending closest nodes 393 Sending nodes for get_peers 84
dht.transmissionbt.com
[16:57:19.334] DHT Initializing DHT (tr-dht.c:285) [16:57:19.334] Couldn't read "/transmission-PID/.config/transmission-daemon/dht.dat": No such file or directory (utils.c:443) [16:57:19.334] DHT Generating new id (tr-dht.c:318) [16:57:19.334] DHT DHT initialized (tr-dht.c:339) [16:57:45.472] DHT Attempting bootstrap from dht.transmissionbt.com (tr-dht.c:256) [17:02:55.357] DHT Finished bootstrapping (tr-dht.c:267) [17:09:21.592] True Starting IPv4 DHT announce (firewalled, 82 nodes) (tr-dht.c:583) [17:09:21.592] True Learned 1 IPv4 peers from DHT (tr-dht.c:543) [17:09:22.594] True Learned 3 IPv4 peers from DHT (tr-dht.c:543) [17:09:22.594] True Learned 1 IPv4 peers from DHT (tr-dht.c:543) [17:10:00.689] True Learned 14 IPv4 peers from DHT (tr-dht.c:543) [17:10:00.689] True Learned 31 IPv4 peers from DHT (tr-dht.c:543) [17:10:00.689] True Learned 1 IPv4 peers from DHT (tr-dht.c:543) [17:10:00.689] True Learned 32 IPv4 peers from DHT (tr-dht.c:543) [17:10:00.689] True Learned 60 IPv4 peers from DHT (tr-dht.c:543) [17:10:11.705] True Learned 14 IPv4 peers from DHT (tr-dht.c:543) [17:11:09.828] True Learned 100 IPv4 peers from DHT (tr-dht.c:543) [17:11:09.828] True Learned 83 IPv4 peers from DHT (tr-dht.c:543) [17:11:09.828] True Learned 100 IPv4 peers from DHT (tr-dht.c:543) [17:11:09.828] True Learned 100 IPv4 peers from DHT (tr-dht.c:543) [17:11:09.828] True Learned 100 IPv4 peers from DHT (tr-dht.c:543) [17:11:30.918] True Learned 100 IPv4 peers from DHT (tr-dht.c:543) [17:11:31.920] True Learned 100 IPv4 peers from DHT (tr-dht.c:543) [17:11:31.920] True Learned 100 IPv4 peers from DHT (tr-dht.c:543) [17:11:52.950] True Learned 200 IPv4 peers from DHT (tr-dht.c:543) [17:12:27.069] True Learned 100 IPv4 peers from DHT (tr-dht.c:543) [17:13:49.337] True IPv4 DHT announce done (tr-dht.c:551)
dht.transmissionbt.com
DHT time to bootstrap: 5 munutes 10 seconds torrent DHT announce: 4 minutes 28 seconds
logged message and count TR_DHT_VERBOSE
Sending ping 233 Sending pong 107 Pong! 163 Sending find_node for neighborhood maintenance 68 Nodes found 100 Sending ping to dubious node 165 Splitting 17 Unparseable message: 27 Sending closest nodes 519 Sending nodes for get_peers 104
comment:3 Changed 8 years ago by leena
just updated to latest svn version of transmission (r14538) and the dht version in third-parties is 0.22, but it fails to compile (see http://pastebin.com/WjZxcK0i). the CHANGES file indicates there is an incompatible change regarding the callback now taking const arguments, which does look like the compilation errors i'm seeing.
dht-0.24 is available now. Sorry for that. Much faster bootstrap if using the bootstrap nodes at router.bittorrent.com (which break the spec).