Bug 340001 - plasma-nm should disable primary connection while secondary connection is not ready
Summary: plasma-nm should disable primary connection while secondary connection is not...
Status: RESOLVED NOT A BUG
Alias: None
Product: plasmashell
Classification: Plasma
Component: Networking in general (other bugs)
Version First Reported In: master
Platform: Other Other
: NOR normal
Target Milestone: 1.0
Assignee: Lukáš Tinkl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-15 18:28 UTC by cocacooler
Modified: 2024-12-23 18:23 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cocacooler 2014-10-15 18:28:49 UTC
Plasma-nm editor has a setting for each primary connection "Automatically connect to VPN when using this connection". If this setting is used, plasma-nm should block all connections while this secondary VPN connection is being prepared because otherwise internet-using programs might leak real network info or send something via unsecure wifi. This may also happen if the primary connection suddenly disconnects you and if you have "connect automatically" enabled - it is very likely that programs like instant messengers, email clients and even pages opened in browser which use some kind of javascript to refresh constantly will send the data through unsecure connection while VPN is being prepared, and that's why it's even more important to implement this.

Reproducible: Always

Steps to Reproduce:
1. Open skype
2. Connect to wifi network with some vpn set to connect automatically
3. Reboot the router or make wifi disappear some other way

Actual Results:  
When wifi is restored back, skype or any other program gets connectivity even before VPN connection is established, leaking your IP. Then, when VPN is ready, it disconnects and connects again using VPN tunnel.

Expected Results:  
Skype or any other program should not be able to use internet while the secondary connection is still being prepared.
Comment 1 Jan Grulich 2014-10-15 18:50:21 UTC
I'm sorry, but this is not something what could be done in plasma-nm. You have to go directly to NetworkManager developers.
Comment 2 Alexander Potashev 2019-11-23 06:55:37 UTC
(In reply to Jan Grulich from comment #1)
> I'm sorry, but this is not something what could be done in plasma-nm. You
> have to go directly to NetworkManager developers.

I found that it's now reported to the NetworkManager developers: https://gitlab.freedesktop.org/NetworkManager/NetworkManager/issues/118
Comment 3 Ben Cooksley 2024-12-23 18:23:38 UTC
Bulk transfer as requested in T17796