是否可以通过分配托管文件的服务器的 IP 地址来绕过跟踪器来制作 torrent 文件?
我对通过 libtorrent
的 bittorrents 文件传输协议(protocol)很感兴趣,他们以这样的方式下载文件,这样你就可以在另一端获得完全没有损坏的副本,但我想绕过跟踪器,因为文件将始终位于一个位置。
如果这不可能,是否有任何其他协议(protocol)/库可以用 C、C++ 或 Ruby 实现?
最佳答案
如果您想使用 bittorrent 协议(protocol)执行此操作,您可以通过创建一个包含 webseed 的 .torrent 文件来实现。 WebSeed - HTTP/FTP Seeding (GetRight style) - BEP19
然后您使用普通的 HTTP 或 FTP 服务器来托管文件。
(如果需要,可以直接在 URL 中使用 IP。)
可以使用任何 bittorrent 客户端进行下载。
无法将地址放入 .torrent 文件中的对等点(bittorrent 客户端)。请参阅:Is it possible to include peers in trackerless torrent file?
关于c - 直接连接bittorrent转C或Ruby libtorrent,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30178748/