ifconfig called with "mtu -88" argument, causes strange (slow/ partially not working) vpnc connection. (straced) Example output: # vpnc Connect Banner: | You are authorized. SIOCSIFMTU: Invalid argument VPNC started in background (pid: 22469)... I have commented 2 lines in the /etc/vpnc/vpnc-script as a workaround. do_ifconfig() { if [ -n "$INTERNAL_IP4_MTU" ]; then MTU=$INTERNAL_IP4_MTU # elif [ -n "$IPROUTE" ]; then # MTU=$(($($IPROUTE route get "$VPNGATEWAY" | sed -ne 's/^.*mtu \([[:digit:]]\+\).*$/\1/p') - 88)) else MTU=1412 fi When I try the ip command in CLI, I don't get "mtu" for "ip route get <IP>" example: $ ip route get xx.yy.zz.aa xx.yy.zz.aa via 192.168.8.1 dev br0 src 192.168.8.102 cache ipid 0x8c77 I got the script with net-misc/vpnc-0.5.3_p457-r2 . sys-apps/iproute2-2.6.37 was on my system, I got similar output with sys-apps/iproute2-2.6.38 and sys-apps/iproute2-2.6.35-r2.
Post "emerge --info vpnc" output please
Created attachment 286059 [details] my emerge info
This is the same bug as discussed at https://bugzilla.redhat.com/show_bug.cgi?id=693235 . The fix there also works for me. Another solution is at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=640978