-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
Qbittorrent treats VPN connection as LAN, so speed limits don't apply properly #6302
Comments
libtorrent classify peers as LAN ones basing on their IP addresses only (see here). Can you check that in your case peers addresses are not within the ranges for local IPs? If you can, this would be exceptionally helpful. Thank you. |
Well apparently, that is not the case here. Check out list of peers of my torrent: https://i.imgur.com/IU8ZiOU.png |
Also, it does not seem to even care about the peers. The limits are not working at all as long as VPN is ON. Wait. I think I am going to check switching OFF the VPN to verify. |
There is one with the local IP address at the very top of the list. |
That one didn't use a significant enough part of the bandwidth to explain the bug. I will be more careful to include speed for each peer next time I make a screenshot. |
Well this is getting weirder and weirder... I have restarted QBittorrent, restarted VPN connection, unchecked "apply speed limits to peers in LAN" and... now it's working ? The limits are working as advertised ? I guess I should change reproductibility now: Reproductible: RANDOMLYI don't know what to think about this anymore. |
Well, I am closing this one as OP reported in January last and it seems like a one-time (random?) thing to happen. Which would be quite hard to debug/fix/repro. |
qBittorrent version and Operating System:
3.3.7 / 3.3.10
If on linux, libtorrent and Qt version:
Kubuntu 16.04, Linux 4.4.0-59-generic #80-Ubuntu SMP
libtorrent-rasterbar8 (1.0.10-1ppa1~xenial1)
Qt 5.5.1 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 5.3.1 20160413) on "xcb"
What is the problem:
Completely ignored upload speed limits.
What is the expected behavior:
Qbittorrent should at least try to honor the settings
Steps to reproduce:
Reproductible: ALWAYS.
Extra info(if any):
The "apply speed limits to peers in LAN" checkbox is not checked. Checking it is a working workaround - it fixes the problem (obviously).
VPN to a remote VPS (via OpenVPN).
My normal LAN IP: 192.168.1.47 (eth0)
My VPN local IP: 10.72.72.47 (tun0)
Important entries from routing table:
$ route -n
0.0.0.0 10.72.72.1 128.0.0.0 UG 0 0 0 tun0
0.0.0.0 192.168.1.5 0.0.0.0 UG 100 0 0 eth0
128.0.0.0 10.72.72.1 128.0.0.0 UG 0 0 0 tun0
Default gateway is 10.72.72.1.
The text was updated successfully, but these errors were encountered: