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

Enable DHT per torrent, instead of disable per torrent #22197

Open
user18081972 opened this issue Jan 24, 2025 · 3 comments
Open

Enable DHT per torrent, instead of disable per torrent #22197

user18081972 opened this issue Jan 24, 2025 · 3 comments

Comments

@user18081972
Copy link

user18081972 commented Jan 24, 2025

Suggestion

Currently, the UI lets me disable DHT globally, which is good.

Image

But per torrent settings then only let me disable it, which it already is.

Image

I would like to only enable DHT when I am having trouble finding peers, on a per torrent basis.

Use case

Keep DHT disabled for torrents that have peers that are easily found through the trackers.
Enable it for torrents that cant find any peers easily.

Extra info/examples/attachments

No response

@ctquantum
Copy link

Biggest load for DHT is the initial setup. Once it is connected to 100-200 links sending a request for peers for a torrent hash is minimal. I personally find 800-1200 is even faster. DHT is also used by other clients to find you faster not just you finding people to seed from. Without DHT lots of connection issues can happen. I can understand however that you might want less links to happen but DHT is more of an all or nothing technology.

@user18081972
Copy link
Author

I didnt fully understand all of what you said, which is fine.
I just wanted to add that my concern with DHT is mostly that of privacy (from what i understood of your reply, it was more so concerned about amount of connections and/or bandwidth etc.).

@Kobi-Blade
Copy link

Kobi-Blade commented Jan 30, 2025

I didnt fully understand all of what you said, which is fine. I just wanted to add that my concern with DHT is mostly that of privacy (from what i understood of your reply, it was more so concerned about amount of connections and/or bandwidth etc.).

Don't know what he talking about either, I believe he trying to imply you cannot use DHT for specific torrents, but only globally, which is wrong.

He also seems to disregard the security hazards that come with using DHT, Sybil attacks anyone? qBittorrent should in my opinion have DHT and PeX disabled by default (as both are huge security hazards), but that is just me.

As for your suggestion, I agree we should have the option to enable it per torrent.

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