Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gumby should support a custom LibTorrent tracker #285

Open
qstokkink opened this issue Dec 9, 2016 · 5 comments
Open

Gumby should support a custom LibTorrent tracker #285

qstokkink opened this issue Dec 9, 2016 · 5 comments

Comments

@qstokkink
Copy link
Contributor

To allow for experiments to use full-fledged LibTorrent, a functional LibTorrent tracker is required. This should probably be implemented like the Dispersy tracker, using a twistd service (see run_tracker.sh) on the sync node.

Implementation details of the libtorrent udp tracker api can be found here.

@devos50
Copy link
Contributor

devos50 commented Oct 27, 2020

Is this still something we would like to have?

@qstokkink
Copy link
Contributor Author

Ideally, yes. Currently we have no choice but to use the wild Internet (slower and more prone to unexpected interference).

@synctext
Copy link
Member

synctext commented Feb 7, 2022

@qstokkink and @devos50 .. Would a handy ToDo be?

  • read UDP tracker docs of LibTorrent tracker
  • setup tracker in cmdline manually; ability to seed torrents
  • Still use twistd service? (I assume this is outdated Dec 2016 stuff) What to use?
  • use internal tracker for experiments, integrated in Gumby scripts

@devos50
Copy link
Contributor

devos50 commented Feb 7, 2022

@synctext twisted has been removed from Tribler a long time ago, and has been superseded by asyncio. I would avoid using specialised "services" and use Gumby modules instead (e.g., a UDPTorrentTrackerModule or HTTPTorrentTrackerModule).

Note that we are already have code to setup UDP and HTTP torrent trackers in Tribler, see here. This code is part of our unit testing framework and can easily be ported to Gumby since it does not require additional dependencies. It might even be possible to directly import the tracker code from Gumby, without duplicating the tracker logic in the Gumby codebase (although that would not be a very clean solution).

Also, Tribler support in Gumby is still broken unfortunately. @kozlovsky is currently working on this.

@devos50
Copy link
Contributor

devos50 commented Mar 31, 2022

Even though we have code for HTTP torrent trackers, this code seems to be very basic and does not follow the HTTP torrent tracker standards. For example, it does not register peers that are announcing their torrent download. I found this because I require a torrent tracker in one of my ongoing experiments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants