Network/VPN

From LunaSys
Revision as of 15:24, 25 December 2011 by Eadam (talk | contribs) (Created page with "= vpnc = == Troobleshooting == Error: either "to" is duplicate, or "ipid" is a garbage. Google does spit out one thread on LKML (sorry I haven't done this right away, but ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

vpnc

Troobleshooting

Error: either "to" is duplicate, or "ipid" is a garbage.

Google does spit out one thread on LKML (sorry I haven't done this right away, but I had very little time and it seemed like a kernel regression to me). Apparently, they changed the output of "ip route get", and as vpnc calls some shell script (/etc/vpnc/vpnc-script) which parses ip's output with sed, this fails. There already exists a bug report. The LKML thread suggests replacing line 119 in vpnc-script with

sed 's/cache//;s/metric \?[0-9]\+ [0-9]\+//g;s/hoplimit[0-9]\+//g;s/ipid 0x....//g'