[Bug 382168] Re: vpnc: do_ifconfig() in /etc/vpnc/vpnc-script misparses output of "ip route"

2012-12-05 Thread hangfirew8
This bug just appeared after updates to my 12.04.1 LTS system.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/382168

Title:
  vpnc: do_ifconfig() in /etc/vpnc/vpnc-script misparses output of "ip
  route"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vpnc/+bug/382168/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 382168] Re: vpnc: do_ifconfig() in /etc/vpnc/vpnc-script misparses output of "ip route"

2012-11-29 Thread Bug Watch Updater
** Changed in: vpnc (Debian)
   Status: Unknown => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/382168

Title:
  vpnc: do_ifconfig() in /etc/vpnc/vpnc-script misparses output of "ip
  route"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vpnc/+bug/382168/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 382168] Re: vpnc: do_ifconfig() in /etc/vpnc/vpnc-script misparses output of "ip route"

2012-11-28 Thread Florian Schlichting
** Bug watch added: Debian Bug tracker #575188
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=575188

** Changed in: vpnc (Debian)
   Importance: Undecided => Unknown

** Changed in: vpnc (Debian)
   Status: New => Unknown

** Changed in: vpnc (Debian)
 Remote watch: None => Debian Bug tracker #575188

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/382168

Title:
  vpnc: do_ifconfig() in /etc/vpnc/vpnc-script misparses output of "ip
  route"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vpnc/+bug/382168/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 382168] Re: vpnc: do_ifconfig() in /etc/vpnc/vpnc-script misparses output of "ip route"

2012-11-28 Thread Florian Schlichting
vpnc 0.5.3r512-1 contains the fix to vpnc-script (in Ubuntu from 12.04,
I believe)

** Changed in: vpnc (Ubuntu)
   Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/382168

Title:
  vpnc: do_ifconfig() in /etc/vpnc/vpnc-script misparses output of "ip
  route"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vpnc/+bug/382168/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 382168] Re: vpnc: do_ifconfig() in /etc/vpnc/vpnc-script misparses output of "ip route"

2011-07-27 Thread Launchpad Bug Tracker
** Changed in: vpnc (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/382168

Title:
  vpnc: do_ifconfig() in /etc/vpnc/vpnc-script misparses output of "ip
  route"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vpnc/+bug/382168/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 382168] Re: vpnc: do_ifconfig() in /etc/vpnc/vpnc-script misparses output of "ip route"

2010-03-23 Thread bmc5311
** Also affects: vpnc (Debian)
   Importance: Undecided
   Status: New

-- 
vpnc: do_ifconfig() in /etc/vpnc/vpnc-script misparses output of "ip route"
https://bugs.launchpad.net/bugs/382168
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 382168] Re: vpnc: do_ifconfig() in /etc/vpnc/vpnc-script misparses output of "ip route"

2010-03-13 Thread theking2
or for better readability (call me quiche-eater):
   DEV=$($IPROUTE route 
   \
| sed -ne 's/^default.* dev 
\([[:alnum:]-]\+\)\(.*metric \([0-9]\+\)\)\{0,1\}.*$/\1 \3/p'   \
| sort -n -k2   
\
| sed -e '1{s/^\([[:alnum:]-]\+\).*$/\1/;q}')

-- 
vpnc: do_ifconfig() in /etc/vpnc/vpnc-script misparses output of "ip route"
https://bugs.launchpad.net/bugs/382168
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 382168] Re: vpnc: do_ifconfig() in /etc/vpnc/vpnc-script misparses output of "ip route"

2010-03-13 Thread theking2
I can concur with Peter Maydell the complete line 93 should read

DEV=$($IPROUTE route | sed -ne 's/^default.* dev
\([[:alnum:]-]\+\)\(.*metric \([0-9]\+\)\)\{0,1\}.*$/\1 \3/p' | sort -n
-k2 | sed -e '1{s/^\([[:alnum:]-]\+\).*$/\1/;q}')

-- 
vpnc: do_ifconfig() in /etc/vpnc/vpnc-script misparses output of "ip route"
https://bugs.launchpad.net/bugs/382168
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 382168] Re: vpnc: do_ifconfig() in /etc/vpnc/vpnc-script misparses output of "ip route"

2010-01-04 Thread Peter Maydell
Actually the line I'm using ends with
.. | sed -e '1{s/^\([[:alnum:]-]\+\).*$/\1/;q}')

(must have got truncated when I wrote that comment and I didn't notice).
I think this will ensure that you always get only one device name, which
yours doesn't.

-- 
vpnc: do_ifconfig() in /etc/vpnc/vpnc-script misparses output of "ip route"
https://bugs.launchpad.net/bugs/382168
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 382168] Re: vpnc: do_ifconfig() in /etc/vpnc/vpnc-script misparses output of "ip route"

2010-01-04 Thread LeLandais
DEV=$($IPROUTE route | sed -ne 's/^default.* dev
\([[:alnum:]-]\+\)\(.*metric \([0-9]\+\)\)\{0,1\}.*$/\1 \3/p' | sort -n
-k2 | sed -e 's/^\([[:alnum:]-]\+\).*$/\1/')

works better ...

-- 
vpnc: do_ifconfig() in /etc/vpnc/vpnc-script misparses output of "ip route"
https://bugs.launchpad.net/bugs/382168
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 382168] Re: vpnc: do_ifconfig() in /etc/vpnc/vpnc-script misparses output of "ip route"

2009-10-05 Thread Dan Simoes
This bug just appeared for me in 9.10 beta.

-- 
vpnc: do_ifconfig() in /etc/vpnc/vpnc-script misparses output of "ip route"
https://bugs.launchpad.net/bugs/382168
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 382168] Re: vpnc: do_ifconfig() in /etc/vpnc/vpnc-script misparses output of "ip route"

2009-05-31 Thread Peter Maydell
If you replace the current line which sets DEV with this one:

   DEV=$($IPROUTE route | sed -ne 's/^default.* dev 
\([[:alnum:]-]\+\)\(.*metric \([0-9]\+\)\)\{0,1\}.*$/\1 \3/p' | sort -n -k2  | 
sed -e '1{s/^\([[:alnum:]-]\+\).*$
 
then it works for me, at least. However, this could probably use testing to 
make sure it doesn't break anything.

(Incidentally, I think the effect of this bug will be that the MTU will
be left at the default of 1500 rather than set to 1412, which will
probably break networking in some cases.)

-- 
vpnc: do_ifconfig() in /etc/vpnc/vpnc-script misparses output of "ip route"
https://bugs.launchpad.net/bugs/382168
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs