洪流DHT udp [英] Torrent DHT udp

查看:152
本文介绍了洪流DHT udp的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试访问Torrent DHT网络,并且很难确定如何访问DHT中的入口"节点.

Im trying to get access to a Torrent DHT network, and im having a hard time figuring out howto get access to the "entry" node in DHT.

如何在Bittorent客户端中获取DHT "bootstrapped"?

描述可以在端口6881(UDP)上运行的router.bittorrent.com和router.utorrent.com使用几个标准入口节点. AND http://www.bittorrent.org/beps/bep_0005.html 描述了如何与DHT服务器进行交互的协议.

Describes that a couple of standard entry nodes could be used router.bittorrent.com and router.utorrent.com running on port 6881 (UDP). AND http://www.bittorrent.org/beps/bep_0005.html describes the protocol on howto interact with a DHT server.

但是,如果我向router.utorrent.com:6881发送一条简单的UDP消息,我如何知道将响应我的请求将哪些端口消息发回给我?我尝试在与发送给6881的端口相同的端口上侦听消息,但是我什么也没收到.

But if i send a simple UDP message to router.utorrent.com:6881, how do i know which port messages will be sent back to me in response to my requests? i tried listening for messages on the same port as i send to 6881 but i receive nothing.

这些入口点是否仅限于自己的客户端(uTorrent)或任何第三方客户端都可以使用其路由器"?

Is these entry points limited to their own client (uTorrent) or can any thirdparty client use their "router"?

推荐答案

DHT响应始终发送到发送查询的同一端口.

DHT responses are always sent to the same port the query was sent from.

如果没有从router.utorrent.com收到响应,则可能是由于它暂时关闭或网络接口已饱和(我上次检查它每秒处理6000个请求,iirc).如果仅发送一条消息,则该消息也可能在网络中丢失.

If you're not getting a response from router.utorrent.com, it could be because it's temporarily down or because its network interface is saturated (last time I checked it was handling 6000 requests per second, iirc). If you only sent a single message, it could have been lost in the network as well.

DHT路由器不响应的另一个原因是您的查询格式错误.我建议运行Wireshark,将uTorrent的DHT消息与您自己的DHT消息并排比较.

Another reason for the DHT router not to respond would be if your query is mal-formed. I would suggest running wireshark, comparing uTorrent's DHT messages with your own, side-by-side.

uTorrent的DHT路由器未锁定到任何特定客户端,任何人都可以使用它进行引导.

uTorrent's DHT router is not locked in to any specific client, anyone can use it for bootstrapping.

作为引导的另一种方法,您可以下载一些受欢迎的.torrent文件,向跟踪器通告,然后从对等站点进行引导.

As an alternative way to bootstrap, you could download some popular .torrent files, announce to the tracker and bootstrap off of the peers.

这篇关于洪流DHT udp的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆