Git Product home page Git Product logo

Comments (7)

zenghuazhe avatar zenghuazhe commented on May 17, 2024

this is in more detail
https://stackoverflow.com/questions/50340371/dht-find-node-no-response

from dht.

shiyanhui avatar shiyanhui commented on May 17, 2024

请问你是在局域网上跑的吗? 由于NAT原因在局域网里边往往会出现你说的这种情况. 建议在拥有独立ip的服务器上跑一下.

from dht.

zenghuazhe avatar zenghuazhe commented on May 17, 2024

你好,电脑是连的学校wifi(并且开了vpn)。。。我ping了一些ip有些是可以ping通的
您说的独立ip服务器,我在想是不是需要租个阿里云服务器- -

from dht.

shiyanhui avatar shiyanhui commented on May 17, 2024

连的wifi肯定是NAT网络了, 可以买最便宜的那个套餐试一下. Vultr, 阿里云等都可以.

from dht.

zenghuazhe avatar zenghuazhe commented on May 17, 2024

非常感谢!我去试一下

from dht.

zenghuazhe avatar zenghuazhe commented on May 17, 2024

你好,真的很谢谢你的帮助。我已经收集了大量infohash 以及对应的peers信息, 现在想更进一步, 做一个类似于磁力链接网站那样的搜索功能,就是通过关键字筛选出对应的bt种子(其实只要是有效的磁力链接就行,然后可以直接通过迅雷等解析下载),想请问一下之后的实现(比如与peers取得联系 获取文件的描述信息,以便于建立 关键字和对应bt种子的索引)可以参考的协议, 以及关键字检索的工具、库。
再次感谢!

from dht.

shiyanhui avatar shiyanhui commented on May 17, 2024

获取种子可以参考官方文档BEP-9和BEP-10. 关键字检索工具选择有很多, 比如elasticsearch/solr等, 不怕麻烦的话也可以自己实现.

from dht.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.