
Code: Select all
Cobra root # vpnclient connect ic
Cisco Systems VPN Client Version 4.0.3 (B)
Copyright (C) 1998-2003 Cisco Systems, Inc. All Rights Reserved.
Client Type(s): Linux
Running on: Linux 2.6.3-gentoo-r1 #1 Sun Feb 22 16:29:28 GMT 2004 i686
cvpnd: relocation error: cvpnd: symbol _res, version GLIBC_2.0 not defined in file libc.so.6 with link time referenceCode: Select all
Cobra root # etcat -v linux-headers
* sys-kernel/linux-headers-2.6.0 :
[ I] 2.6.0 (0) OVERLAYCode: Select all
Cobra root # etcat -u glibc
U I [ Found these USE variables in : sys-libs/glibc-2.3.2-r3 ]
+ + nls : unknown
- - pic : unknown
- - build : !!internal use only!! ....
+ + nptl : unknownCode: Select all
Cobra root # emerge --info
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r3, 2.6.3-gentoo-r1)
=================================================================
System uname: 2.6.3-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 2.66GHz
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
CFLAGS="-march=pentium4 -mmmx -msse -msse2 -mfpmath=sse -Os -pipe"And it works!synack1337 wrote:othrer than a workaround, sadly no.
I was able to get proper checksum'd udp packets by compiling iptables into the kernel and doing an any any outbound rule. and everything works now.
I guess this should be mentioned to one of the maintainers for either the net code or driver code for 3c59x on 2.6.x. Not sure of the best way to go about it..
-"snizack"

Code: Select all
root@marco mac # vpnc
vpnc: error while loading shared libraries: libgcrypt.so.1: cannot open shared object file: No such file or directory
Code: Select all
bash-2.05b$ vpnc
Secure memory is not locked into core
vpnc: IKE DH Group "dh2 " unsupported
Code: Select all
more /etc/vpnc.conf
Interface name vpn0
IKE DH Group dh2
Perfect Forward Secrecy nopfs
IPSec gateway vpn.uni-mannheim.de
IPSec ID <+++>
IPSec secret <+++>
Xauth username<+++>
Code: Select all
REGISTER ^misc/net/tun$ CFUNCTION GLOBAL unlink net/tun
REGISTER ^misc/net/tun$ CFUNCTION GLOBAL symlink /dev/$devname net/tun
UNREGISTER ^misc/net/tun$ CFUNCTION GLOBAL unlink net/tunDefinitely as root.theche wrote:should I start vpnc as root or as an user?
Code: Select all
Interface name tun0
IKE DH Group dh2
Perfect Forward Secrecy nopfs
IPSec gateway ipsec-rz.vpn.uni-freiburg.de
IPSec ID <blanked>
IPSec secret <blanked>
Xauth username <blanked>
Code: Select all
strace vpnc &> /root/vpnc-straceCode: Select all
output strace: (ausschnitt)
open("/lib/i686/mmx/libgcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/i686/mmx", 0xbfffed58) = -1 ENOENT (No such file or directory)
open("/lib/i686/libgcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/i686", 0xbfffed58) = -1 ENOENT (No such file or directory)
open("/lib/mmx/libgcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib/mmx", 0xbfffed58) = -1 ENOENT (No such file or directory)
open("/lib/libgcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/lib", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/usr/lib/i686/mmx/libgcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/i686/mmx", 0xbfffed58) = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/libgcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/i686", 0xbfffed58) = -1 ENOENT (No such file or directory)
open("/usr/lib/mmx/libgcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/mmx", 0xbfffed58) = -1 ENOENT (No such file or directory)
open("/usr/lib/libgcrypt.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)
Code: Select all
find / -name *libgcrypt*:
/usr/bin/libgcrypt-config
/usr/lib/libgcrypt.so.11
/usr/lib/libgcrypt.so
/usr/lib/libgcrypt.so.7
/usr/lib/libgcrypt-pthread.so.11
/usr/lib/libgcrypt.la
/usr/lib/libgcrypt.a
/usr/lib/libgcrypt.so.11.0.0
/usr/lib/libgcrypt-pthread.so.11.0.0
/usr/lib/libgcrypt-pthread.so
/usr/lib/libgcrypt-pthread.so.7
/usr/lib/libgcrypt-pthread.la
/usr/lib/libgcrypt-pthread.a
I think we should stick to english, as some users searching the forum might have similar problemstheche wrote:eigentlich könnten wir deutsch reden...oder?
Is the module loaded? Are you using devfs? Otherwise you have to create the node. Check dmesg for a linetheche wrote:I dont't know whether there is a symlink...the directory net in /dev/ doesn't exist...and in /dev/misc/ there is no directory net...perhaps I messed something up with the TUN/TAP device driver??
Code: Select all
Universal TUN/TAP device driver 1.5 (C)1999-2002 Maxim KrasnyanskyCode: Select all
# qpkg -l vpnc
net-misc/vpnc-0.2_pre7 *
CONTENTS:
/usr
/usr/bin
/usr/bin/vpnc
/usr/bin/vpnc-connect
/usr/bin/vpnc-disconnect
/usr/share
/usr/share/doc
/usr/share/doc/vpnc-0.2_pre7
/usr/share/doc/vpnc-0.2_pre7/ChangeLog.gz
/usr/share/doc/vpnc-0.2_pre7/README.gz
/usr/share/doc/vpnc-0.2_pre7/TODO.gz
/usr/share/doc/vpnc-0.2_pre7/VERSION.gz
/etc
/etc/vpnc.conf
# ldd /usr/bin/vpnc
linux-gate.so.1 => (0xffffe000)
libgcrypt.so.11 => /usr/lib/libgcrypt.so.11 (0x4002a000)
libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0x40084000)
libc.so.6 => /lib/libc.so.6 (0x40088000)
libnsl.so.1 => /lib/libnsl.so.1 (0x401b4000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
# qpkg -l libgcrypt
dev-libs/libgcrypt-1.1.92 *
CONTENTS:
/usr
/usr/bin
/usr/bin/libgcrypt-config
/usr/lib
/usr/lib/libgcrypt.so.11.0.0
/usr/lib/libgcrypt.so.11 -> libgcrypt.so.11.0.0 1082225985
/usr/lib/libgcrypt.so -> libgcrypt.so.11.0.0 1082225985
/usr/lib/libgcrypt.la
/usr/lib/libgcrypt.a
/usr/lib/libgcrypt-pthread.so.11.0.0
/usr/lib/libgcrypt-pthread.so.11 -> libgcrypt-pthread.so.11.0.0 1082225985
/usr/lib/libgcrypt-pthread.so -> libgcrypt-pthread.so.11.0.0 1082225985
/usr/lib/libgcrypt-pthread.la
/usr/lib/libgcrypt-pthread.a
/usr/lib/libgcrypt.so.7 -> libgcrypt.so.11 1082225985
/usr/lib/libgcrypt-pthread.so.7 -> libgcrypt-pthread.so.11 1082225985
/usr/include
/usr/include/gcrypt.h
/usr/include/gcrypt-module.h
/usr/share
/usr/share/aclocal
/usr/share/aclocal/libgcrypt.m4
/usr/share/info
/usr/share/info/gcrypt.info.gz
/usr/share/doc
/usr/share/doc/libgcrypt-1.1.92
<snip some more docs here>
/usr/lib/libgcrypt-pth.so.7 -> libgcrypt-pth.so.11 1082225985
<snip strace output>
open("/usr/lib/libgcrypt.so.11", O_RDONLY) = 3 <- This is how it should be ;)
<snip>
USE="X aalib alsa apm arts avi berkdb cdr crypt cups directfb dvd encode esd fbcon foomaticdb gdbm gif gphoto2 gpm gtk gtk2 imlib java jpeg libg++ libwww mad matrox mikmod motif mozilla mpeg nas ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sasl scanner sdl slang spell ssl stroke svga tcltk tcpd tetex truetype usb video_cards_matrox x86 xinerama xml2 xmms xv zlib"
??Universal TUN/TAP device driver 1.5 (C)1999-2002 Maxim Krasnyansky
Without the propper character device, which is major 10 and minor 200, nothing is going to work.

Concerning the crypto's, the help of these items mention a few times something about IPSec, those are the ones you need I think. I don't think I chose any others.In order to make the IPsec work with the 2.6 Kernel, you need PF Key, AHS Transformations, ESP Transformations, IPsec user config interface, and all the cryptos...
Code: Select all
vpnclient statThis is the normal behavior - I have version 4.0.1a working on another machine with kernel 2.4.x and it does the same thing.Corpse2 wrote:I managed to get the vpnclient-linux-4.0.3.B-k9.tar.gz working on my 2.6.5-rc1 kernel.I think it's the patched version metioned before.
...
Altough I still have one problem, when connected I can't figure out how to define routes (for the client). when you do a
it ends with the configured routes, containing only zeroesCode: Select all
vpnclient stat![]()
Or is it possible to route traffic to the hidden cipsec0? (ifconfig -a shows it)



Code: Select all
/sbin/insmod ${PC}/${VPNMOD} >/dev/null 2>&1
Code: Select all
ls /lib/modules/2.6.6/CiscoVPN/
cisco_ipsec.ko