[Bug 1871184] Re: openconnect throws errors and routing issues after connection.
I had the same problem on Ubuntu 20.04.1 LTS, 5.4.0-52-generic. I replaced /usr/share/vpnc-scripts/ with current master from https://gitlab.com/openconnect/vpnc-scripts/-/raw/master/vpnc-script, and now it works without errors. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1871184 Title: openconnect throws errors and routing issues after connection. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/vpnc-scripts/+bug/1871184/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1871184] Re: openconnect throws errors and routing issues after connection.
Using Ubuntu 20.10 now, with openconnect=8.10-1 and vpnc-scripts=0.1~git20200226-1 I dropped the --script parameter, and I did not see errors about misusing "ip route", and routing to hosts over the VPN seems to be okay. $ openconnect --authgroup=$REDACTED --cert-expire-warning=5 --compression=none --no-deflate --disable-ipv6 --timestamp --user=$USER --dump-http-traffic --verbose https://webportal.${COMPANY}/+webvpn+/ $ ip r default via 192.168.1.1 dev eth0 proto dhcp metric 100 10.0.0.0/8 dev tun0 scope link 10.123.196.0/24 dev tun0 scope link xxx.xxx.186.23 dev tun0 scope link xxx.xxx.186.25 dev tun0 scope link -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1871184 Title: openconnect throws errors and routing issues after connection. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/vpnc-scripts/+bug/1871184/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1871184] Re: openconnect throws errors and routing issues after connection.
PS: Package vpnc-scripts 0.1~git20190117-1 (focal) was / is up to date. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1871184 Title: openconnect throws errors and routing issues after connection. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/vpnc-scripts/+bug/1871184/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1871184] Re: openconnect throws errors and routing issues after connection.
I run Ubuntu 20.04 + openconnect 8.05-1 and since today I have this issue, too. I did not have it when I used openconnect the last time (one or two weeks ago). 1) Downloading the script https://gitlab.com/openconnect/vpnc- scripts/-/raw/master/vpnc-script 2) + installing it in /usr/share/vpnc-scripts/ (owner: root, group: root, permissions: -rwxr-xr-x) has solved the issue. Hint: The script "vpnc-script" was changed 5 days ago, so this change might have fixed my problem. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1871184 Title: openconnect throws errors and routing issues after connection. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/vpnc-scripts/+bug/1871184/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1871184] Re: openconnect throws errors and routing issues after connection.
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: vpnc-scripts (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/1871184 Title: openconnect throws errors and routing issues after connection. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/vpnc-scripts/+bug/1871184/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1871184] Re: openconnect throws errors and routing issues after connection.
** Changed in: vpnc-scripts (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/1871184 Title: openconnect throws errors and routing issues after connection. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/vpnc-scripts/+bug/1871184/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1871184] Re: openconnect throws errors and routing issues after connection.
I can confirm that 1- downloading the vpn-script https://gitlab.com/openconnect/vpnc- scripts/-/blob/master/vpnc-script 2- then putting it on /etc/vpnc/ 3- then running sudo openconnect --script=/etc/vpnc/vpnc-script myaccess.myvpn.com has solved the issue. Thanks -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1871184 Title: openconnect throws errors and routing issues after connection. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/vpnc-scripts/+bug/1871184/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1871184] Re: openconnect throws errors and routing issues after connection.
** Package changed: openconnect (Ubuntu) => vpnc-scripts (Ubuntu) ** Also affects: vpnc-scripts (Debian) via https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=955016 Importance: Unknown Status: Unknown -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1871184 Title: openconnect throws errors and routing issues after connection. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/vpnc-scripts/+bug/1871184/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1871184] Re: openconnect throws errors and routing issues after connection.
@laspokemon, yes, you should be able to overwrite your global vpnc- script with the latest version from the master branch. Raw source here: https://gitlab.com/openconnect/vpnc-scripts/-/raw/master/vpnc-script You will likely want to overwrite `/usr/share/vpnc-scripts/vpnc-script`, since this is the location used by Debian/Ubuntu packaging, and where the Debian/Ubuntu openconnect packages look for the script by default. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1871184 Title: openconnect throws errors and routing issues after connection. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/vpnc-scripts/+bug/1871184/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1871184] Re: openconnect throws errors and routing issues after connection.
Hi Dan Thanks I already suspected vpnc-script, can I just pull the script and throw it in /etc/vpnc-script/ Can you send the link to the last script please. I'm just getting lost in git Nash -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1871184 Title: openconnect throws errors and routing issues after connection. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openconnect/+bug/1871184/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1871184] Re: openconnect throws errors and routing issues after connection.
This is a bug in vpnc-scripts, not in OpenConnect per se. Upstream Debian bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=955016 We fixed this bug a few months ago in: https://gitlab.com/openconnect /vpnc-scripts/-/merge_requests/5 Long story short: 1) Old versions of `vpnc-script` with old versions iproute2 were silently doing the wrong thing (creating split-exclude routes always as `/32`) 2) Old `vpnc-script` with new iproute2 fails noisily, as you're showing. 3) New `vpnc-script` with new iproute2 works correctly. We need the Ubuntu package maintainers to pull in the latest vpnc- script, as Debian packagers have already done: https://bugs.debian.org /cgi-bin/bugreport.cgi?bug=955016 ** Bug watch added: Debian Bug tracker #955016 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=955016 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1871184 Title: openconnect throws errors and routing issues after connection. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openconnect/+bug/1871184/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs