Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 17 Feb 2006 20:31:37 +0100 (CET)
From: Bernhard Fischer <bernhard@...chli.org>
To: owl-users@...ts.openwall.com
Subject: Re: cisco vpnclient

Am Fr 17.02.2006 20:04 schrieb Solar Designer <solar@...nwall.com>:

> On Fri, Feb 17, 2006 at 01:21:52PM +0100, Bernhard Fischer wrote:
> > Anyone ever tried to install the vpnclient from cisco on a newer
> > release
> > of Owl?
> 
> Not me.
> 
> > I do have one with kernel 2.4.26-ow1, gcc 2.95.3 and vpnclient
> > 4.0.4A
> > 
> > I want upgrade this machine, but whithout success til now. I'm not
> > sure
> > if it's the kernel or the compiler. I always get those "unresolved
> > symbol" messages when i try to insmod the cisco_ipsec module.
> 
> What unresolved symbols are there, in particular?  Do you have source
> code for this module? Are you rebuilding it from source? Are you doing
> that against your current kernel build tree (for the header files)?
> 

The vpnclient is part of closed and open source and I am building
against my current and proper kernel tree. The build script is compiling
the sources and links those object files with a binary from cisco (the
closed part).

That is the relevant part from the driver_build.sh script:
#########snip###########
INCLUDES="-I. -I${KSRCDIR}/include"
CFLAGS="-O2 -DCNI_LINUX_INTERFACE -D__KERNEL__ -DMODULE
-D_LOOSE_KERNEL_NAMES -DHAVE_CONFIG_H"
case `uname -r` in
2.[56].*)
    make "KERNEL_SOURCES=${KSRCDIR}"
    ;;
*)
    $CC $CFLAGS $INCLUDES -c linuxcniapi.c
    $CC $CFLAGS $INCLUDES -c interceptor.c
    $CC $CFLAGS $INCLUDES -c IPSecDrvOS_linux.c
    $CC $CFLAGS $INCLUDES -c frag.c
$LD -r -o cisco_ipsec frag.o linuxcniapi.o IPSecDrvOS_linux.o
    interceptor.o libdriver.so
    ;;
esac
#########snap###########

We I try to load the module I get the following mesages:

rpm!root:~/vpnclient# ./driver_build.sh /usr/src/linux
rpm!root:~/vpnclient# insmod ./cisco_ipsec
./cisco_ipsec: ./cisco_ipsec: unresolved symbol eth_type_trans
./cisco_ipsec: ./cisco_ipsec: unresolved symbol __kfree_skb
./cisco_ipsec: ./cisco_ipsec: unresolved symbol alloc_skb
./cisco_ipsec: ./cisco_ipsec: unresolved symbol htons
./cisco_ipsec: ./cisco_ipsec: unresolved symbol skb_under_panic
./cisco_ipsec: ./cisco_ipsec: unresolved symbol kmalloc
./cisco_ipsec: ./cisco_ipsec: unresolved symbol __global_cli
./cisco_ipsec: ./cisco_ipsec: unresolved symbol
unregister_netdevice_notifier
./cisco_ipsec: ./cisco_ipsec: unresolved symbol unregister_netdev
./cisco_ipsec: ./cisco_ipsec: unresolved symbol __out_of_line_bug
./cisco_ipsec: ./cisco_ipsec: unresolved symbol dev_remove_pack
./cisco_ipsec: ./cisco_ipsec: unresolved symbol do_gettimeofday
./cisco_ipsec: ./cisco_ipsec: unresolved symbol del_timer
./cisco_ipsec: ./cisco_ipsec: unresolved symbol register_netdev
./cisco_ipsec: ./cisco_ipsec: unresolved symbol kfree
./cisco_ipsec: ./cisco_ipsec: unresolved symbol __global_save_flags
./cisco_ipsec: ./cisco_ipsec: unresolved symbol dev_base
./cisco_ipsec: ./cisco_ipsec: unresolved symbol ntohs
./cisco_ipsec: ./cisco_ipsec: unresolved symbol skb_over_panic
./cisco_ipsec: ./cisco_ipsec: unresolved symbol __global_restore_flags
./cisco_ipsec: ./cisco_ipsec: unresolved symbol xtime
./cisco_ipsec: ./cisco_ipsec: unresolved symbol dev_add_pack
./cisco_ipsec: ./cisco_ipsec: unresolved symbol
register_netdevice_notifier
./cisco_ipsec: ./cisco_ipsec: unresolved symbol jiffies
./cisco_ipsec: ./cisco_ipsec: unresolved symbol printk
./cisco_ipsec: ./cisco_ipsec: unresolved symbol add_timer
./cisco_ipsec:
Hint: You are trying to load a module without a GPL compatible license
      and it has unresolved symbols.  Contact the module supplier for
      assistance, only they can help you.


As i mentioned before, I do have a working module for several month. But
with my current Owl release, I am not able to set it up again.

Greetings
Bernhard

> -- 
> Alexander Peslyak <solar at openwall.com>
> GPG key ID: B35D3598 fp: 6429 0D7E F130 C13E C929 6447 73C3 A290 B35D
> 3598
> http://www.openwall.com - bringing security into open computing
> environments
> 
> Was I helpful? Please give your feedback here:
> http://rate.affero.net/solar

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.