transmission / transmission

Official Transmission BitTorrent client repository
https://transmissionbt.com
Other
12.01k stars 1.2k forks source link

feature: different speed limit for LAN->LAN connections #1310

Open ghost opened 4 years ago

ghost commented 4 years ago

Hello,...

I often need to set speed limit, so my Internet is not overloaded. But because of that, I'm downloading slower even in situation, when transfer is not going over Internet but inside local network (LAN).

Is there way how to ignore speed limits only for LAN->LAN connections? (we can just detect if IP of my partner is same as my, or add flag if connection was created over LPD)

tuxuday5 commented 4 years ago

Can't per torrent limits be used in your case?

ghost commented 4 years ago

No, because one torrent can have seeders from local network as well as from Internet. So it's solving nothing.

ckerr commented 2 years ago

My main problem with this is that it seems like it would be almost trivial to fix outside of Transmission. If you're wanting unlimited speeds on a LAN, why not use rsync to sync between machines?

Even if it does need to be done at the BitTorrent level -- e.g. if you've got a farm of clients all downloading the same torrent because you have a bot to jump on new downloads -- that seems like a use case maybe 50 people will ever have. If the project said yes to every request like this, the Preferences / Settings dialog would be 100 pages long and all the maintainers would be dead. :skull:

If someone else feels strongly about this feature and wants to write it and the PR is simple and easy to maintain and it is only exposed in the settings.json config file, i.e. no maintenance cost in the GUI apps -- I'd be willing to review the PR and possibly merge it.