peerstohttp icon indicating copy to clipboard operation
peerstohttp copied to clipboard

Feature request: expose default added trackers or allow disabling them

Open pataquets opened this issue 3 years ago • 1 comments

Looks like there is a hardcoded list of trackers that are always added to torrents here.

Some thoughts:

  • It would be great to be able to customize them, so you can worry only adding torrent hashes and they'll get eventually discovered always. I always add some reliable trackers and even for some period of time, one which I ran locally, too.
  • If not customizable, the "local trackers if available" might be tunned for some more commonplace, such as udp://localhost:6969, udp://localhost:2710 or the likes.
  • (Not sure, needs more reading of spec) It might present privacy/disclosure problems for private torrents which AFAIK, should not be announced anywhere.

Also, not sure about how would work customization, since everything is done in command line and passing the list might be cumbersome, but would work anyway, I guess. Depending on the requirements, it might be "low hanging fruit".

pataquets avatar Aug 01 '22 22:08 pataquets

We can customize trackers list pulling it from the file. I have already made this at similar project and it can be ported easily: https://github.com/WinPooh32/content/blob/main/cmd/service/main.go#L40

WinPooh32 avatar Aug 07 '22 03:08 WinPooh32