#include <hallo.h> * David Weinehall [Sun, Oct 16 2005, 12:29:06PM]: > Package: vpnc > Version: 0.3.3+SVN20050909-4 > Severity: important > > With the latest few 0.3.3 svn snapshots of vpnc, the routing information > no longer seems to be set up correctly. Also, there's an extra warning > about RTNETLINK there wasn't there in the old (0.3.2-snapshot) version. > vpnc 0.3.2+SVN20050326-2 works for me, newer versions doesn't. > > > vpnc 0.3.2+SVN20050326-2: > > smyslov:~# vpnc-connect <config> > Enter password for <censored>
<censored> <censored> because of <beep> <beep> <beep>. You see! Please, drop the irrelevant "censored" crap which does not help me and just makes the reading complicated. You don't trust fellow developers? You could have put the log into GPG signed ascii-armored parts. > vpnc 0.3.3++SVN20050909-4: > > smyslov:~: vpnc-connect <config> > Enter password for <censored> > vpnc version 0.3.3 > IKE SA selected psk+xauth-3des-sha1 > NAT status: this end behind NAT? YES -- remote end behind NAT? no > got address 10.162.252.184 > IPSEC SA selected 3des-sha1 > RTNETLINK answers: File exists > VPNC started in background (pid: 9525)... > smyslov:~/deb# route > Kernel IP routing table > Destination Gateway Genmask Flags Metric Ref Use Iface > <censored> <censored> 255.255.255.255 UGH 0 0 0 eth0 > <censored> * 255.255.255.255 UH 0 0 0 tun0 > <censored> * 255.255.255.255 UH 0 0 0 tun0 And how should I know what the <censored> does <censored>? <censored> an idea. Please apply the attached patch to vpnc-script and tell me whether it does help. Eduard. --- vpnc-script.orig 2005-10-16 14:14:33.000000000 +0200 +++ vpnc-script 2005-10-16 14:15:11.000000000 +0200 @@ -242,6 +242,13 @@ do_ifconfig set_vpngateway_route + # -- Debian specific + if test "$TARGET_NETWORKS" ; then + for i in $TARGET_NETWORKS ; do + ip route del $i 2>/dev/null + ip route add $network dev $TUNDEV + done + else if [ -n "$CISCO_SPLIT_INC" ]; then for ((i = 0 ; i < CISCO_SPLIT_INC ; i++ )) ; do eval NETWORK="\${CISCO_SPLIT_INC_${i}_ADDR}" @@ -253,13 +260,6 @@ set_network_route "$i" "255.255.255.255" "32" done else - # -- Debian specific - if test "$TARGET_NETWORKS" ; then - for i in $TARGET_NETWORKS ; do - ip route del $i 2>/dev/null - ip route add $network dev $TUNDEV - done - else set_default_route fi fi -- * Madkiss winkt mit seiner Currywurst <TCW> Madkiss, HOSE ZU! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]