[Bug 194487] Re: network-manager[-openvpn] doesn't handle properly routes pushed by OpenVPN 2.1_Rc7

2012-09-08 Thread Launchpad Bug Tracker
[Expired for network-manager (Ubuntu) because there has been no activity
for 60 days.]

** Changed in: network-manager (Ubuntu)
   Status: Incomplete = Expired

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openvpn in Ubuntu.
https://bugs.launchpad.net/bugs/194487

Title:
  network-manager[-openvpn] doesn't handle properly routes pushed by
  OpenVPN 2.1_Rc7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/194487/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 194487] Re: network-manager[-openvpn] doesn't handle properly routes pushed by OpenVPN 2.1_Rc7

2012-09-08 Thread Launchpad Bug Tracker
[Expired for network-manager-openvpn (Ubuntu) because there has been no
activity for 60 days.]

** Changed in: network-manager-openvpn (Ubuntu)
   Status: Incomplete = Expired

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openvpn in Ubuntu.
https://bugs.launchpad.net/bugs/194487

Title:
  network-manager[-openvpn] doesn't handle properly routes pushed by
  OpenVPN 2.1_Rc7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/194487/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 194487] Re: network-manager[-openvpn] doesn't handle properly routes pushed by OpenVPN 2.1_Rc7

2012-07-10 Thread Thomas Hood
@Ulf, Tony, Diego: Is there any improvement in Ubuntu 12.04?

** Changed in: network-manager (Ubuntu)
   Status: Confirmed = Incomplete

** Changed in: network-manager-openvpn (Ubuntu)
   Status: Confirmed = Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openvpn in Ubuntu.
https://bugs.launchpad.net/bugs/194487

Title:
  network-manager[-openvpn] doesn't handle properly routes pushed by
  OpenVPN 2.1_Rc7

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/194487/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 194487] Re: network-manager[-openvpn] doesn't handle properly routes pushed by OpenVPN 2.1_Rc7

2009-08-26 Thread Diego Rivera
Here's my first crack at a patch.  It's for Ubuntu 8.04LTS (package
versions are referenced in each patch filename).

It has the GUI change for the OpenVPN stuff only.  For PPTP the new
delegating routing mode doesn't really make sense since PPTP doesn't
have a mechanism (that I know of) to transfer routing information to a
client in a portable way.  Thus - it's either default route, or manual
routing (i.e. the old, bad behavior).

For VPNC the story is different - IPSec mode_cfg does permit the
communication of routing information to the client.  I'm not sure if
vpnc supports this, but this is the other part of the GUI that might
need some work.

The OpenVPN stuff works as advertised.  I didn't check the file
import/export - I'm too tired today :)

The change consists in adding a configuration option called route_mode
which has  (currently) two values (possibly more in the future): 0 or
absent = current, broken behavior, 1 = new behavior (delegate routing
to the VPN client).  The GUI portion to manipulate this configuration
setting is completed only for OpenVPN.

** Attachment added: nm-patches-bug-194487.tar.gz
   http://launchpadlibrarian.net/30844341/nm-patches-bug-194487.tar.gz

-- 
network-manager[-openvpn] doesn't handle properly routes pushed by OpenVPN 
2.1_Rc7
https://bugs.launchpad.net/bugs/194487
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openvpn in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 194487] Re: network-manager[-openvpn] doesn't handle properly routes pushed by OpenVPN 2.1_Rc7

2009-08-26 Thread Diego Rivera
Ok... here's my second (actually, third! :D), cleaner crack at the same
patch.  The above patch had a couple of bugs in deleting VPN connections
(wouldn't be properly deleted), and wouldn't import the new route_mode
value from files.

Again - it still only covers network-manager and network-manager-
openvpn.  The other network-manager vpn modules (vpnc and pptp) are also
modified, but only to maintain binary compatibility.  In particular,
this new functionality makes sense *at most* for vpnc, since PPTP
doesn't have a portable mechanism to provide routing information like
OpenVPN does (for vpnc/IPSec, mod_cfg is able to provide said routing
info).

Cheers.

** Attachment added: nm-patches-194487-v3.tar.gz
   http://launchpadlibrarian.net/30858152/nm-patches-194487-v3.tar.gz

-- 
network-manager[-openvpn] doesn't handle properly routes pushed by OpenVPN 
2.1_Rc7
https://bugs.launchpad.net/bugs/194487
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openvpn in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 194487] Re: network-manager[-openvpn] doesn't handle properly routes pushed by OpenVPN 2.1_Rc7

2009-08-26 Thread Tony Espy
Diego, thanks for the attached patches.  asac is on vacation, so I'll
attempt to field this one for now...

In order for your patches to land in Hardy 8.04, they'd have to be
released via the SRU process:

https://wiki.ubuntu.com/StableReleaseUpdates

I'm not saying it's impossible to land your changes as an SRU, but as
your patches contain changes to both NetworkManager and the applet, they
may be seen as risky.

Also the patches as attached would need to be re-factored to separate
out changes to the files in the debian directory, and to utilize the
correct patch system ( eg. quilt for NetworkManager ).

Ideally, the best place for your changes to land would be the current
release under development ( Karmic ), which unfortunately is about to
hit FeatureFreeze ( tomorrow ).

Since what you've really done is add a new feature which adds missing
functionality, another possibility would be to try and work directly
with upstream to get your patches integrated into NM 0.8 which is
currently under development.  If done in a timely manner, there's
potential that your changes could land in Karmic, as we may continue to
pull upstream snapshots of NM 0.8 and the VPN plugins as we try and
finalize the release.

You can contact the upstream developers, and myself and asac on #nm on
the Ubuntu IRC server.

Here are the URLs for the upstream git trees for NM, the applet, and the
vpn plugins:

git://anongit.freedesktop.org/NetworkManager/NetworkManager
git://git.gnome.org/network-manager-applet
git://git.gnome.org/network-manager-openvpn
git://git.gnome.org/network-manager-pptp
git://git.gnome.org/network-manager-vpnc

asac may have a different opinion, so you might want to try and touch
base with him next week when he returns from vacation, but I think the
upstream approach may be the best way to go.

-- 
network-manager[-openvpn] doesn't handle properly routes pushed by OpenVPN 
2.1_Rc7
https://bugs.launchpad.net/bugs/194487
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openvpn in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


Re: [Bug 194487] Re: network-manager[-openvpn] doesn't handle properly routes pushed by OpenVPN 2.1_Rc7

2009-08-26 Thread Diego Rivera


-- 
network-manager[-openvpn] doesn't handle properly routes pushed by OpenVPN 
2.1_Rc7
https://bugs.launchpad.net/bugs/194487
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openvpn in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 194487] Re: network-manager[-openvpn] doesn't handle properly routes pushed by OpenVPN 2.1_Rc7

2009-08-26 Thread Diego Rivera
I sort of expected this to be the case - I'll read up on how to refactor
those patches as you metion.

However, the important part is that it the patches are built and
designed such that if you install the patched version over existing
configs, nothing changes functionally - i.e. you have to actually want
to use the new functionality for it to be activated.  If not, then
everything hums along the same way it did before the patch.  This is
intentionally so since I understand what LTS is all about - it's about
configuration management and stability.

I'll try to get it factored for today, but you're right - it's unlikely
that I'll be able to.  Should I be able to, what's the most expedited
way to get the ball rolling to attempt to fit this in prior to feature
freeze?

Thanks for the info!

-- 
network-manager[-openvpn] doesn't handle properly routes pushed by OpenVPN 
2.1_Rc7
https://bugs.launchpad.net/bugs/194487
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openvpn in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 194487] Re: network-manager[-openvpn] doesn't handle properly routes pushed by OpenVPN 2.1_Rc7

2009-08-26 Thread Diego Rivera
This defect severely limits the functionality of the OpenVPN client.
PPTP is unaffected since the functionality is consistent with the
available feature set.  VPNC might be a case similar to OpenVPN.

** Changed in: network-manager (Ubuntu)
   Status: Invalid = Confirmed

-- 
network-manager[-openvpn] doesn't handle properly routes pushed by OpenVPN 
2.1_Rc7
https://bugs.launchpad.net/bugs/194487
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openvpn in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 194487] Re: network-manager[-openvpn] doesn't handle properly routes pushed by OpenVPN 2.1_Rc7

2009-08-26 Thread Tony Espy
Diego, as I pointed out above, the FF for Karmic is tomorrow.
Exceptions are possible, however at this stage of the game, the approach
I mentioned above ( ie. working with upstream ), is probably your best
bet.

If you're able to re-factor your patches against the upstream git trees,
and create git patches, then they can just be emailed to the
NetworkManager email list ( see http://mail.gnome.org/mailman/listinfo
/networkmanager-list ).  That should get the conversation started with
upstream.

Again, as for landing your patches in Hardy, I'd wait and get asac's
opinion before re-factoring your patches against NM 0.6.6.  I understand
your point about nothing changing unless you explicitly enable the
functionality, which is the right approach, however I still have doubts
that your changes would meet SRU approval.

-- 
network-manager[-openvpn] doesn't handle properly routes pushed by OpenVPN 
2.1_Rc7
https://bugs.launchpad.net/bugs/194487
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openvpn in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 194487] Re: network-manager[-openvpn] doesn't handle properly routes pushed by OpenVPN 2.1_Rc7

2009-08-25 Thread Diego Rivera
Ok I've located the culprit logic.  It's in NetworkManagerSystem.c - the
logic first removes all routes attached to the new VPN interface, and
then proceeds to force-feed what it believes to be the correct routing
configurations.  I think what's appropriate here is the addition of a
flag in the DBUS messages which indicates the behavior to be followed.
If the flag is missing, the default (i.e. current) behavior is followed
- otherwise we can respect routing as implemented by the VPN backend
(desired), or some combination of the two.

I'll get cracking on this and see if I can come up with a small, simple
patch for the problem.

Please note: for now, I'm working only on 8.04 (NM 0.6.6).  After that,
I'll have a look at newer versions and see if the patch would need work.

Cheers.

-- 
network-manager[-openvpn] doesn't handle properly routes pushed by OpenVPN 
2.1_Rc7
https://bugs.launchpad.net/bugs/194487
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openvpn in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 194487] Re: network-manager[-openvpn] doesn't handle properly routes pushed by OpenVPN 2.1_Rc7

2009-08-25 Thread Diego Rivera
Ok I've located the culprit logic.  It's in NetworkManagerSystem.c - the
logic first removes all routes attached to the new VPN interface, and
then proceeds to force-feed what it believes to be the correct routing
configurations.  I think what's appropriate here is the addition of a
flag in the DBUS messages which indicates the behavior to be followed.
If the flag is missing, the default (i.e. current) behavior is followed
- otherwise we can respect routing as implemented by the VPN backend
(desired), or some combination of the two.

I'll get cracking on this and see if I can come up with a small, simple
patch for the problem.

Please note: for now, I'm working only on 8.04 (NM 0.6.6).  After that,
I'll have a look at newer versions and see if the patch would need work.

Cheers.

-- 
network-manager[-openvpn] doesn't handle properly routes pushed by OpenVPN 
2.1_Rc7
https://bugs.launchpad.net/bugs/194487
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openvpn in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 194487] Re: network-manager[-openvpn] doesn't handle properly routes pushed by OpenVPN 2.1_Rc7

2009-08-09 Thread Dimitrios Symeonidis
** Changed in: network-manager-openvpn (Ubuntu)
   Status: Incomplete = Confirmed

-- 
network-manager[-openvpn] doesn't handle properly routes pushed by OpenVPN 
2.1_Rc7
https://bugs.launchpad.net/bugs/194487
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openvpn in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 194487] Re: network-manager[-openvpn] doesn't handle properly routes pushed by OpenVPN 2.1_Rc7

2009-08-06 Thread Diego Rivera
Yes, this is still an issue.  I can confirm what our friend said earlier
about routes being correctly added by OpenVPN and subsequently being
removed (presumably by NetworkManager or the NM-OpenVPN plugin).

In my view the problem is that the options do not permit the selection
of the correct behavior.  There are 3 possible scenarios:

1) User explicitly chooses to use the server as the default gateway 
(user-specified-routing only makes sense in the context of route-exclusions)
2) User does NOT explicitly choose to use the server as the default gateway, 
and wants to specify which targets to route manually over the tunnel (current 
behavior)
3) Same as case 2, but add to that the acceptance of server-provided routing 
info (this is the case not functioning).  In this case, manual routes may also 
make sense as manual, forced exclusions or routes augmenting the routes 
received from the server (i.e. 10.0.0.0/8, !10.5.0.0/24).

I'm willing to work on fixing this, but I need insights as to where in
NM or NM-OpenVPN the routes are removed so I can add the logic to
selectively do that only when appropriate.

Anyone care to help me get started?

-- 
network-manager[-openvpn] doesn't handle properly routes pushed by OpenVPN 
2.1_Rc7
https://bugs.launchpad.net/bugs/194487
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openvpn in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 194487] Re: network-manager[-openvpn] doesn't handle properly routes pushed by OpenVPN 2.1_Rc7

2009-07-31 Thread Dimitrios Symeonidis
guys, is this still an issue for any of you?

-- 
network-manager[-openvpn] doesn't handle properly routes pushed by OpenVPN 
2.1_Rc7
https://bugs.launchpad.net/bugs/194487
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openvpn in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 194487] Re: network-manager[-openvpn] doesn't handle properly routes pushed by OpenVPN 2.1_Rc7

2008-10-13 Thread Thierry Carrez
Removing openvpn from the scope, following comments that openvpn in itself 
works properly.
Please re-add it if analysis shows that the problem does indeed come from 
openvpn.

** Changed in: openvpn (Ubuntu)
   Status: New = Invalid

-- 
network-manager[-openvpn] doesn't handle properly routes pushed by OpenVPN 
2.1_Rc7
https://bugs.launchpad.net/bugs/194487
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openvpn in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 194487] Re: network-manager[-openvpn] doesn't handle properly routes pushed by OpenVPN 2.1_Rc7

2008-09-22 Thread Alexander Sack
could someone please test whether this issue still exists in intrepid?

** Changed in: network-manager-openvpn (Ubuntu)
   Status: New = Incomplete

-- 
network-manager[-openvpn] doesn't handle properly routes pushed by OpenVPN 
2.1_Rc7
https://bugs.launchpad.net/bugs/194487
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openvpn in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 194487] Re: network-manager[-openvpn] doesn't handle properly routes pushed by OpenVPN 2.1_Rc7

2008-09-22 Thread Alexander Sack
unless i see evidence that its core-NM issue, I assume its a vpn plugin
problem. Testing with NM 0.7 would help to know more.

** Changed in: network-manager (Ubuntu)
   Status: New = Invalid

-- 
network-manager[-openvpn] doesn't handle properly routes pushed by OpenVPN 
2.1_Rc7
https://bugs.launchpad.net/bugs/194487
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openvpn in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 194487] Re: network-manager[-openvpn] doesn't handle properly routes pushed by OpenVPN 2.1_Rc7

2008-07-21 Thread Thierry Carrez
** Summary changed:

- OpenVPN 2.1_Rc7: Does not route properly in Ubuntu 8.04 
+ network-manager[-openvpn] doesn't handle properly routes pushed by OpenVPN 
2.1_Rc7

** Description changed:

  Openvpn 2.1_rc7 was included in the Ubuntu 8.04 hardy 2008-02-22 and 
  after that upgrade openvpn does not route to tap or tun interfaces.
  Sometimes I get the Route Error - but not always. I'm using Ubuntu 8.04 
AMD64 Alteranative
+ 
+ Update:
+ From the latest comments it appears that the routes are pushed correctly by 
OpenVPN, but that network-manager or network-manager-openvpn undo the route 
changes.

-- 
network-manager[-openvpn] doesn't handle properly routes pushed by OpenVPN 
2.1_Rc7
https://bugs.launchpad.net/bugs/194487
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openvpn in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs