mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-03-02 22:57:32 -05:00
"Use proxy for peer connections" doesn't proxify peer connections #9105
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#9105
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 @emanruse on GitHub (Sep 9, 2019).
qBittorrent version and Operating System
4.1.7, openSUSE Leap 15
If on linux, libtorrent-rasterbar and Qt version
1.1.13.0
5.9.4
What is the problem
"Use proxy for peer connections" doesn't proxify peer connections.
What is the expected behavior
It should do what it says.
Steps to reproduce
Result:
Actual direct (not proxified) connections to peers are visible, matching the same IP addresses of the seeders and leechers which can be seen in QBT.
Extra info(if any)
Connections to tracker work (through Tor).
"Disable connections not supported by proxies" stops any and all connections (0 B/s). I don't know if this is normal and how to set it correctly in order to fully torify everything. If possible please explain.
@Chocobo1 commented on GitHub (Sep 9, 2019):
https://legaltorrents.com/tor/#Tor_for_torrenting_4_downsides_you_must_know_about
https://blog.torproject.org/bittorrent-over-tor-isnt-good-idea
https://www.reddit.com/r/TOR/comments/2u3j6m/why_exactly_is_torrenting_over_tor_bad_and_how/
Probably a bad idea to torrent over Tor.
Are those connections over UDP? If yes then it is expected and explained in the above links.
@emanruse commented on GitHub (Sep 9, 2019):
No. TCP - all of them.
@Seeker2 commented on GitHub (Sep 10, 2019):
Could be related to this probably libtorrent related bug:
http://dev.deluge-torrent.org/ticket/2149 deluge ignoring proxy settings
"I just monitored Deluge with Wireshark and found that Deluge is connecting directly to peers despite having a working proxy. However I have noticed some interesting behavior:
If I change one number in the proxy IP, for example, to a non-working proxy, no downloads work; everything is frozen. So Deluge will only download given a working proxy; it's just not using that proxy."
@emanruse commented on GitHub (Sep 10, 2019):
That is not a bug. Wrong proxy would result in inability to connect to tracker too, i.e. no way to find the peers.
@Seeker2 commented on GitHub (Sep 10, 2019):
You misunderstood the point there -- the poster used that example to demonstrate that Deluge was recognizing the proxy and connecting to it...but Deluge wasn't using the proxy for peer/seed connections!
@Chocobo1 commented on GitHub (Sep 10, 2019):
@emanruse
Seems you have the same symptom as #7734 and there are some discussion going on there currently.
@emanruse commented on GitHub (Sep 11, 2019):
Only in the part relating to the "Extra info" (2nd paragraph) in the OP. I don't have the [general] symptom of "No connections when using a Socks5 proxy server" listed in that other issue. As I explained: there are connections to tracker (proxified) and to peers (not proxified) as long as "Disable connections not supported by proxies" is off.
In short: it looks related but not "the same" as the that other issue.
@ghost commented on GitHub (May 4, 2022):
AFAIK this IP leak was fixed in RC1_2 of libtorrent. Feel free to comment to re-open it if you're still facing with latest version.