Bug 497509 - Ktorrent uses all interfaces even when restricted to VPN interface.
Summary: Ktorrent uses all interfaces even when restricted to VPN interface.
Status: REPORTED
Alias: None
Product: ktorrent
Classification: Applications
Component: general (other bugs)
Version First Reported In: 22.12.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-15 15:04 UTC by Eric B
Modified: 2024-12-15 15:04 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric B 2024-12-15 15:04:25 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY

Even when ktorrent is configured to use tun0 (vpn interface) if the vpn is not present, it will switch to another interface.  If the vpn drops while torrenting, ktorrent automatically switches to another interface.


STEPS TO REPRODUCE
1.  In network settings, select tun0 and apply
2.   disconnect vpn and observer ktorrent behaviour.
3. 

OBSERVED RESULT
ktorrent continues to download.  If ktorrent is started without a vpn present, it will begin downloading.

EXPECTED RESULT
Ktorrent should immediately stop downloading or maintaining any internet connection once the vpn interface goes down.   ktorrent should not start if vpn interface is not present.
SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma:   Debian Bookworm KDE Frameworks Version 5.103.0
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION