Bug 394754

Summary: VUL-0: NetworkManager / openvpn not working correctly (routes are not set up etc)
Product: [openSUSE] openSUSE 11.0 Reporter: Forgotten User ZhJd0F0L3x <forgotten_ZhJd0F0L3x>
Component: NetworkAssignee: Tambet Ingo <tambet>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Major    
Priority: P2 - High CC: aj, funtasyspace, hdunkel, rombert, security-team, uli.2001, wolfgang.engel
Version: Beta 3plus   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Development Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Comment 7 Bin Li 2008-05-30 09:50:20 UTC
*** Bug 391164 has been marked as a duplicate of this bug. ***
Comment 8 Bin Li 2008-06-02 08:42:10 UTC
*** Bug 350884 has been marked as a duplicate of this bug. ***
Comment 13 Tambet Ingo 2008-08-02 11:06:23 UTC
*** Bug 413573 has been marked as a duplicate of this bug. ***
Comment 14 Harald Dunkel 2008-08-04 07:18:24 UTC
Since the default route (pushed by the OpenVPN server) is _silently_ ignored, there are major security concerns against Suse11. This bug blocks us from deploying it on our road-warrior laptops. 
Comment 15 Andreas Jaeger 2008-08-04 08:20:33 UTC
Harald, please do not change severity and priority of a bug.

Please read: http://en.opensuse.org/Bugs/Definitions

This is not critical, I think the right severity is major (I could even argue normal).

The bug had no priority so far (P5) and I ask Tambet to adjust it, I cannot judge whether P2 is the right one - but it's Tambet's task to set it.
Comment 16 Harald Dunkel 2008-08-04 10:26:38 UTC
Sorry, but I disagree about the severity. If the OpenVPN client (the road-warrior laptop) ignores the routing information sent by the company server, then the old routing information is still active, which is a serious security problem.

Unfortunately your Definitions page ignores security issues. IMHO this security problem should have the same severity as a crash: You cannot use the OpenVPN support in Network Manager without putting the system at risk.
Comment 17 Andreas Jaeger 2008-08-04 11:23:39 UTC
Harald, mentioning that you disagree is fine but you should not *change* the severity yourself!
Comment 18 Harald Dunkel 2008-08-04 14:46:23 UTC
Sure. 

Please add some guidelines about security issues to the Definitions page.
Comment 19 Marcus Meissner 2008-08-18 11:28:01 UTC
so is this a openvpn or network manager problem?
Comment 20 Tambet Ingo 2008-08-18 11:36:45 UTC
It's a NetworkManager bug and will be fixed in 11.1 alpha2.
Comment 21 Tambet Ingo 2008-08-18 11:39:14 UTC
"If the OpenVPN client (the road-warrior laptop) ignores the routing information sent by the company server, then the old routing information is still active, which is a serious security problem."

Could you please explain why it's a security problem? By that definition, the laptop always has a security problem until VPN is activated?
Comment 22 Harald Dunkel 2008-08-18 13:46:54 UTC
Yes, the laptop _does_ have a security problem if it is plugged into an unknown network, e.g. in an Internet Cafe or a hotel lobby. The evil gateway can be used to support a man-in-the-middle attack, for example. Even if it is just snooping around looking at which other hosts the laptop user tries to reach, this is information I do not want anybody else to see.
Comment 23 Tambet Ingo 2008-09-22 11:35:18 UTC
Fixed in factory.

I'm not sure what to do with all the other distributions. None of them has ever supported sever provided VPN routes, there's even no infrastructure to support it in the older releases. It can't be fixed without breaking the public API (and thus possibly breaking random applications).
Comment 24 Harald Dunkel 2008-09-25 07:13:04 UTC
By other distributions, do you mean older Suse releases, or other Linux distros (Debian, Fedora, etc.)?

Surely OpenVPN is a very special case, since it is rarely used. But DHCP is in much wider use. What about all the dhcp-options(5) affecting routing? Were they ignored by NM, too?
Comment 25 Tambet Ingo 2008-09-25 07:46:36 UTC
"By other distributions, do you mean older Suse releases, or other Linux distros
(Debian, Fedora, etc.)?" 

I meant suse releases, but it applies to all Linux distributions.

"Surely OpenVPN is a very special case, since it is rarely used. But DHCP is in
much wider use. What about all the dhcp-options(5) affecting routing? Were they
ignored by NM, too?"

No, only VPN (openvpn, vpnc, novellvpn, pptp) routes sent from server have always been ignored.

Comment 26 Harald Dunkel 2008-11-19 08:53:16 UTC
I tried 11.1beta5 (Gnome): Very much better now. I can connect, and the default route is setup. 

Minor problem: My OpenVPN server pushes "redirect-gateway def1". The "def1" seems to be ignored on the client, but this is surely not security relevant.
Comment 27 Tambet Ingo 2009-01-16 14:51:05 UTC
Closing this bug. It's fixed in the latest openSUSE release (11.1) and also in SLE11 betas/rc-s.