mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-03-02 22:57:32 -05:00
Network interface configuration in 'Advanced' options, is reset while interface missing #125
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#125
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 @svaens on GitHub (Oct 3, 2012).
Originally assigned to: @cdumez on GitHub.
Current behaviour (version 2.9.7):
Steps to reproduce
Note: This should download over tap0 interface
Note: at this point download will stall
What happens:
Download starts again! Checking 'Network interface' configurations again now, will show it listed as 'any'
What should happen:
Download should not start. Checking 'Network Interface' configurations again should show listing for missing interface, and allow the user to set it back to an existing interface, or not!
This is important because a torrent could download via an interface that was not intended to be used for bit torrent. For example, if VPN is primary torrent download interface, and VPN interface is temporarily disabled, torrent download should not be possible unless reconfigured. Important for security and privacy.
@NKJe commented on GitHub (Oct 13, 2012):
Still doesn't work version 3.0.6 downloaded from here: http://downloads.sourceforge.net/qbittorrent/qbittorrent-3.0.6.tar.gz im using kubuntu
Qt: 4.8.3
Libtorrent: 0.16.4.0
Boost: 1.49.0
@cdumez commented on GitHub (Oct 14, 2012):
Can you please provide the information for the qBittorrent log window?
@NKJe commented on GitHub (Oct 14, 2012):
14/10/2012 22:01:42 - The network interface defined is invalid: tun0
This is not surprising since i have my vpn disabled but if the vpn is disabled it should not download anything since it cant connect through the desired interface
@svaens commented on GitHub (Oct 15, 2012):
Hi,
Thanks for the work done so far.
I have tested this myself (from link provided by nikr123) ,
with the following results:
Summary: The solution seems to only partially work.
If you close qbittorrent, and re-start it,
although in the options the advanced->Network Interface value now shows 'tap0' (or whatever interface you last left it as), regardless of the fact that at that time the interface no longer exists, torrents still download!!!!
(no idea now what interface it is using).
What DOES seem to work better now, is the following test:
Observation: torrent download correctly stalls
observation: torrent remains stalled
(that is the improvement)
Observation: torrent download unexpectedly starts, even though tap0 interface does not exist
9: check configurations->advanced:
Observation: Network interface (requires restart): tap0
I do not know if the logs will be very helpful, but here they are:
15/10/2012 11:13:36 - '/home/sean/.local/share/data/qBittorrent/BT_backup/14ffe5dd23188fd5cb53a1d47f1289db70abf31e.torrent' resumed. (fast resume)
15/10/2012 11:13:36 - Options were saved successfully.
15/10/2012 11:13:36 - Embedded Tracker [OFF]
15/10/2012 11:13:36 - Encryption support [ON]
15/10/2012 11:13:36 - Local Peer Discovery support [ON]
15/10/2012 11:13:36 - PeX support [ON]
15/10/2012 11:13:36 - DHT support [ON], port: UDP/6881
15/10/2012 11:13:36 - HTTP user agent is qBittorrent v3.0.6
15/10/2012 11:13:36 - UPnP / NAT-PMP support [ON]
15/10/2012 11:13:36 - qBittorrent is bound to port: TCP/0
15/10/2012 11:13:36 - The network interface defined is invalid: tap0
15/10/2012 11:13:36 - Peer ID: -qB3060-
Thanks again for your help!
sean
@xcafebabe commented on GitHub (Dec 24, 2012):
Same issue here with 3.1.0. As a workaround, with an small script I check if my vpn is working before start qbittorrent.
@OlofFredriksson commented on GitHub (Dec 26, 2012):
Hi, I am using version 3.0.6 of Qbittorrent and it behaves likes @svaens describes it. In my opinion, the client should not be able to download torrents when starting it up and the interface is inactive. I am currently using a quickfix, with bash and checking so the interface exists before it's starting up Qbittorrent.
Any updates on this issue?
OS: Ubuntu 12.10
// Olof
@hairfamrer88 commented on GitHub (Jul 20, 2013):
I just ran into the same issue as explained by @svaens. I'm using Ubuntu 13.04 and Qbittorrent v3.0.9.
Any fixes in the works?
@michael1006 commented on GitHub (Nov 30, 2013):
I've also had the same thing happen to me, just like @svaens, on OSX and Qbittorrent v3.0.9.
I chose Qbittorrent because of the interface binding, and agree that the client should not fall back to other interfaces when the chosen one is inactive.
@ayush--s commented on GitHub (Sep 24, 2014):
still experiencing this problem on trusty
@chrishirst commented on GitHub (Sep 24, 2014):
Not particularly surprising if you are still using the version that this problem applied to.
@Noctem commented on GitHub (Jan 31, 2015):
The same problem that @svaens described is still occurring for me with the latest git master on OS X. If the VPN interface is disconnected while the application is running, it ceases to download- that's good. But if I start up the application while the VPN interface is gone, it silently falls back to another interface - that's bad.
@ppolewicz commented on GitHub (May 21, 2015):
The part of this issue which was a bug in preferences window, is now fixed.
I think the remainder of this issue is https://code.google.com/p/libtorrent/issues/detail?id=244 (in short: current operating systems don't handle this problem the way you'd expect them to)
@hrushikesh198 commented on GitHub (Feb 14, 2017):
This issue is still there in qb 3.3.10 mac. If the specified network interface goes down it continues download with the default interface.
Excerpt from log: