Bug 641068 - Doesn't work as an idicator of the VPN connection
Summary: Doesn't work as an idicator of the VPN connection
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: NetworkManager-openswan
Version: 14
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Avesh Agarwal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 637248 705890 738385
TreeView+ depends on / blocked
 
Reported: 2010-10-07 17:13 UTC by Matěj Cepl
Modified: 2018-04-11 14:15 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
: 705890 (view as bug list)
Environment:
Last Closed: 2012-03-06 20:11:04 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Matěj Cepl 2010-10-07 17:13:54 UTC
Description of problem:
When using NM-vpnc (and NM-openvpn, but it is not that much relevant there, because it is more stable) I can see when the VPN connection is down (because of failed 23 hours rekeying or something), because then NM icon in the status bar looses the padlock icon. Unfortunately, when using NM-openswan the padlock icon is still there even though ping <server inside of VPN> doesn't give any response. If nothing else is possible, couldn't NM-openswan ping some computer inside of VPN to check the connection is actually up?

Version-Release number of selected component (if applicable):
NetworkManager-openswan-0.8.0-5.20100411git.fc14.x86_64

How reproducible:
100%

Steps to Reproduce:
1.make VPN connection with NM-openswan
2.wait
3.
  
Actual results:
When the connection falls down, there is still padlock on the NM icon

Expected results:
When the connection is down, padlock should be removed

Additional info:

Comment 1 Avesh Agarwal 2010-10-13 21:20:11 UTC
I looked at this, here is the reason. Openswan does not create any interface like tun0 something done by vpnc. When tun0 is down, NM gets to know about it, and takes care of removing the padlock. However, as there is no such interface with Openswan, NM never comes to know about it, and does not take padlock icon away.

It will probably require changes in NM, so that when openswan connection goes down, and it should take this padlock away, or it will require creating tun like interface in Openswan (but Openswan upstream does not seem comfortable with it).

Comment 2 Matěj Cepl 2010-10-15 12:11:11 UTC
So, what to do? Switch this to NM bug?

Comment 3 Avesh Agarwal 2010-10-15 14:34:25 UTC
Specifically, if NM can track ip address add/delete events in addition to network interface up/down events, then it can work for Openswan.

I will send email to Dan Williams, and see what are his views.

Comment 4 Matthew Mosesohn 2010-12-14 22:43:26 UTC
this affects RHEL 6.0 also

Comment 5 Avesh Agarwal 2012-03-06 20:11:04 UTC
This has been solved in rhel (705890 738385) and patches have been upstream nm-openswan and openswan so closing it as fixed.


Note You need to log in before you can comment on or make changes to this bug.