mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-03-02 22:57:32 -05:00
Use direct connection for tracker and use proxy for peer connections #14531
Labels
No labels
Accessibility
AppImage
Bounty
Build system
CI
Can't reproduce
Code cleanup
Confirmed bug
Confirmed bug
Core
Crash
Data loss
Discussion
Docker
Documentation
Duplicate
Feature
Feature request
Feature request
Feature request
Filters
Flatpak
GUI
Has workaround
I2P
Invalid
Libtorrent
Look and feel
Meta
NSIS
Network
Not an issue
OS: *BSD
OS: Linux
OS: Windows
OS: macOS
PPA
Performance
Project management
Proxy/VPN
Qt bugs
Qt6 compat
RSS
Search engine
Security
Temp folder
Themes
Translations
Triggers
Waiting diagnosis
Waiting info
Waiting upstream
Waiting web implementation
Watched folders
WebAPI
WebUI
autoCloseOldIssue
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/qBittorrent#14531
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @syphyr on GitHub (Apr 19, 2023).
Suggestion
Please add proxy option to use direct connection with tracker and proxy with peer connections.
Use case
Some trackers are udp only but the available proxy does not support udp connections. I would like to make tcp peer connections with proxy and use direct connection to connect to udp tracker.
Extra info/examples/attachments
No response
@glassez commented on GitHub (Apr 19, 2023):
AFAIK, libtorrent allows to proxy either trackers only or both trackers+peers. @arvidn?
@syphyr commented on GitHub (Apr 20, 2023):
So this would require a change in the libtorrent library?
@glassez commented on GitHub (Apr 20, 2023):
Yes.
@syphyr commented on GitHub (Apr 24, 2023):
I created an issue with libtorrent here:
https://github.com/arvidn/libtorrent/issues/7397
Just as a test, I forced
proxy_tracker_connectionsin libtorrent to always be false, which fixed the problem with connecting to the udp tracker, but there must be more changes needed in libtorrent because then the peer connection would not work. Somehow, the peer connection also needs to be forced whileproxy_tracker_connectionsis false. Any suggestions, even dirty hacks, are welcome just to get a proof of concept.@evilblade666 commented on GitHub (Aug 25, 2023):
I want VERY much to see this separation also! Otherwise I have to constantly turn the proxy on and off in settings.
If it's enabled - I don't get any peers and when it's off - my ISP detects that I'm using torrent and limits the speed to like 2kb/s :(
@Amadeus- commented on GitHub (Mar 2, 2024):
I would like to add my support for this feature as well. It seems necessary in this day and age, when using private trackers.
@xavier2k6 commented on GitHub (May 25, 2025):
ANNOUNCEMENT!
For anybody coming across this "Feature Request" & would like/love to see a potential implementation in the future!
Here are some options available to you:
Please select/click the 👍 &/or ❤
reactionsin the original/opening post of this ticket.Please feel free (If you have the "skillset") to create a "Pull Request" implementing what's being requested in this ticket.
(new/existing contributors/developers are always welcome)
DO:
DO NOT:
(These will be disregarded/hidden as "spam/abuse/off-topic" etc. as they don't provide anything constructive.)