rakshasa / rtorrent

rTorrent BitTorrent client
https://github.com/rakshasa/rtorrent/wiki
GNU General Public License v2.0
4.05k stars 412 forks source link

trackers.use_udp.set = no seems to ENABLE udp trackers #1043

Open PulsedMedia-Aleksi opened 3 years ago

PulsedMedia-Aleksi commented 3 years ago

Even if you specify no it seems to enable udp trackers. Only commenting this line out will disable udp trackers, and result in "cannot connect to udp tracker" messages.

Version: 0.9.8 latest git / 0.13.8 udns branch. xmlrpc-c rev 3116 Distro Debian 10 with all latest patches

PulsedMedia-Aleksi commented 3 years ago

Happens on 0.9.7/0.13.7 as well -- as well as mainline branch 0.9.8/0.13.8 Have not tried older on Debian 8 yet.

Does not get any peers from the udp trackers in this instance. User has thousands of torrents, all of which have as first udp tracker there causing blocking behavior, similar to #999

rTorrent just keeps trying to update UDP trackers. Not sure if the setting makes rtorrent to disregard any results, but at the very least it tries to update which blocks majorly everything.

pyroscope commented 3 years ago

try "= 0"

PulsedMedia-Aleksi commented 3 years ago

Nope, tried couple variations and did not fix. include = false This was on 0.9.7/0.13.7 which currently using for testing. Doubt newer would change that.

Hence adding a bounty of 75€ for anyone who fixes this. payable via paypal or iban wiretransfer. Alternatively double (300€) as service credit towards any of our services. To be eligible for the payout patch must be approved and merged by rakshasa himself to the main branch. This is not by Rakshasa, we are offering this bounty. More details of the program: https://wiki.pulsedmedia.com/index.php/Pulsed_Media#Development_Bounty_Program

kannibalox commented 9 months ago

Note that trackers.use_udp only effects newly loaded torrents and the trackers.(enable|disable) commands. Once it's set to 0, you can run the following from the Ctrl-X to quickly toggle all trackers, and UDP ones won't be re-enabled:

trackers.disable=0
trackers.enable=0