Login Main site Create account

24.09.2007 15:26

New Cisco VPN Client 4.8.01.0640-k9 compiles on 2.6.22 out of the box!


Today I received the brandnew Cisco VPN Client for Linux: v4.8.01.0640-k9. It finally contains all necessary fixes to compile flawlessly on recent kernel versions, so all the patching on the old v4.8.0.0490 isn't necessary anymore.
Additionally, the new version is a so called "biarch" archive, that means although the name of the file contains "x86_64" it is suitable for both, 64bit and 32bit systems.

Have fun giving it a try, below are the download links.

Downloads:
Comments added earlier to http://tuxx-home.at/archives/2007/09/24/T15_26_49/index.html:
Guest on 2007-10-05 00:32:50 wrote:
Thanks! Works great.
Guest on 2007-10-06 09:25:53 wrote:
It also works on Fedora 7.<BR />
Guest on 2007-10-07 04:50:58 wrote:
Does not work on SuSE 10.3

make -C /lib/modules/2.6.22.5-31-default/build SUBDIRS=/home/Software/Linux/vpnclient modules
make[1]: Entering directory `/usr/src/linux-2.6.22.5-31-obj/x86_64/default'
make -C ../../../linux-2.6.22.5-31 O=../linux-2.6.22.5-31-obj/x86_64/default modules
CC [M] /home/Software/Linux/vpnclient/linuxcniapi.o
In file included from /home/Software/Linux/vpnclient/Cniapi.h:15,
from /home/Software/Linux/vpnclient/linuxcniapi.c:31:
/home/Software/Linux/vpnclient/GenDefs.h:110:2: warning: #warning 64 bit
/home/Software/Linux/vpnclient/linuxcniapi.c: In function ‘CniInjectReceive’:
/home/Software/Linux/vpnclient/linuxcniapi.c:341: warning: cast from pointer to integer of different size
/home/Software/Linux/vpnclient/linuxcniapi.c:342: warning: cast from pointer to integer of different size
/home/Software/Linux/vpnclient/linuxcniapi.c: In function ‘CniInjectSend’:
/home/Software/Linux/vpnclient/linuxcniapi.c:481: warning: cast from pointer to integer of different size
/home/Software/Linux/vpnclient/linuxcniapi.c:482: warning: cast from pointer to integer of different size
/home/Software/Linux/vpnclient/linuxcniapi.c:491: warning: cast to pointer from integer of different size
/home/Software/Linux/vpnclient/linuxcniapi.c:491: warning: cast from pointer to integer of different size
CC [M] /home/Software/Linux/vpnclient/frag.o
In file included from /home/Software/Linux/vpnclient/Cniapi.h:15,
from /home/Software/Linux/vpnclient/frag.c:20:
/home/Software/Linux/vpnclient/GenDefs.h:110:2: warning: #warning 64 bit
/home/Software/Linux/vpnclient/frag.c: In function ‘queue_fragment’:
/home/Software/Linux/vpnclient/frag.c:50: warning: cast to pointer from integer of different size
/home/Software/Linux/vpnclient/frag.c:50: warning: cast to pointer from integer of different size
/home/Software/Linux/vpnclient/frag.c:50: warning: cast to pointer from integer of different size
/home/Software/Linux/vpnclient/frag.c:50: warning: cast to pointer from integer of different size
/home/Software/Linux/vpnclient/frag.c:52: warning: cast to pointer from integer of different size
/home/Software/Linux/vpnclient/frag.c:52: warning: cast to pointer from integer of different size
/home/Software/Linux/vpnclient/frag.c:52: warning: cast to pointer from integer of different size
/home/Software/Linux/vpnclient/frag.c:52: warning: cast to pointer from integer of different size
/home/Software/Linux/vpnclient/frag.c:70: warning: cast to pointer from integer of different size
/home/Software/Linux/vpnclient/frag.c:70: warning: cast to pointer from integer of different size
/home/Software/Linux/vpnclient/frag.c:70: warning: cast to pointer from integer of different size
/home/Software/Linux/vpnclient/frag.c:70: warning: cast to pointer from integer of different size
/home/Software/Linux/vpnclient/frag.c:73: warning: cast to pointer from integer of different size
/home/Software/Linux/vpnclient/frag.c:73: warning: cast to pointer from integer of different size
/home/Software/Linux/vpnclient/frag.c:73: warning: cast to pointer from integer of different size
/home/Software/Linux/vpnclient/frag.c:73: warning: cast to pointer from integer of different size
/home/Software/Linux/vpnclient/frag.c: In function ‘have_all_fragments’:
/home/Software/Linux/vpnclient/frag.c:126: warning: cast to pointer from integer of different size
/home/Software/Linux/vpnclient/frag.c:126: warning: cast to pointer from integer of different size
/home/Software/Linux/vpnclient/frag.c:126: warning: cast to pointer from integer of different size
/home/Software/Linux/vpnclient/frag.c:126: warning: cast to pointer from integer of different size
/home/Software/Linux/vpnclient/frag.c:134: warning: cast to pointer from integer of different size
/home/Software/Linux/vpnclient/frag.c:134: warning: cast to pointer from integer of different size
/home/Software/Linux/vpnclient/frag.c:134: warning: cast to pointer from integer of different size
/home/Software/Linux/vpnclient/frag.c:134: warning: cast to pointer from integer of different size
/home/Software/Linux/vpnclient/frag.c:141: warning: cast to pointer from integer of different size
/home/Software/Linux/vpnclient/frag.c:141: warning: cast to pointer from integer of different size
/home/Software/Linux/vpnclient/frag.c:141: warning: cast to pointer from integer of different size
/home/Software/Linux/vpnclient/frag.c:141: warning: cast to pointer from integer of different size
/home/Software/Linux/vpnclient/frag.c:142: warning: cast to pointer from integer of different size
/home/Software/Linux/vpnclient/frag.c:146: warning: cast to pointer from integer of different size
/home/Software/Linux/vpnclient/frag.c:146: warning: cast to pointer from integer of different size
/home/Software/Linux/vpnclient/frag.c:146: warning: cast to pointer from integer of different size
/home/Software/Linux/vpnclient/frag.c:146: warning: cast to pointer from integer of different size
/home/Software/Linux/vpnclient/frag.c: In function ‘need_reorder_frag’:
/home/Software/Linux/vpnclient/frag.c:198: warning: cast to pointer from integer of different size
CC [M] /home/Software/Linux/vpnclient/IPSecDrvOS_linux.o
In file included from /home/Software/Linux/vpnclient/IPSecDrvOS_linux.c:24:
/home/Software/Linux/vpnclient/GenDefs.h:110:2: warning: #warning 64 bit
CC [M] /home/Software/Linux/vpnclient/interceptor.o
In file included from /home/Software/Linux/vpnclient/Cniapi.h:15,
from /home/Software/Linux/vpnclient/interceptor.c:34:
/home/Software/Linux/vpnclient/GenDefs.h:110:2: warning: #warning 64 bit
/home/Software/Linux/vpnclient/interceptor.c: In function ‘recv_ip_packet_handler’:
/home/Software/Linux/vpnclient/interceptor.c:639: warning: assignment makes integer from pointer without a cast
/home/Software/Linux/vpnclient/interceptor.c:660: warning: passing argument 2 of ‘CniNewFragment’ makes pointer from integer without a cast
/home/Software/Linux/vpnclient/interceptor.c: In function ‘do_cni_send’:
/home/Software/Linux/vpnclient/interceptor.c:778: error: invalid operands to binary -
make[4]: *** [/home/Software/Linux/vpnclient/interceptor.o] Error 1
make[3]: *** [_module_/home/Software/Linux/vpnclient] Error 2
make[2]: *** [modules] Error 2
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.22.5-31-obj/x86_64/default'
make: *** [default] Error 2
Guest on 2007-10-07 04:53:05 wrote:
The patch for version x86_64-4.8.00.0490-k9 however does work on SuSE 10.3
Alexander Griesser on 2007-10-07 07:12:58 wrote:
Thanks for reporting this.
I already know that, because yesterday someone wrote me an e-mail about this issue and my suggestion was also to try 4.8.00 with the latest patch and that worked for him too.

Currently, I don't know why 4.8.01 doesn't compile on 64bit
architectures out of the box, but I'll have a look at it and
will provide updates here.
Alexander Griesser on 2007-10-07 08:34:25 wrote:
Alright, I wrote up a little patch, but I don't know, if this will work on 64bit
systems. On 32bit it compiles without warnings and lets me create VPN
tunnels, etc. So at the first glance, everything looks perfect, but I don't know
what I might have broken with this cast-a-lot patch ;)

If you're interested, please give it a try (based on 4.8.01, of course).

Download:
http://tuxx-home.at/temp/interceptor.diff

Installation instructions:
cd /path/to/vpnclient-directory
patch </path/to/interceptor.diff
./vpn_install
Guest on 2007-10-07 15:26:12 wrote:
I tried the "interceptor.diff" patch with 4.8.01 on 64bit but it is still not working. Nevertheless 4.8.00 with the latest patch worked fine with me.
Alexander Griesser on 2007-10-07 16:05:17 wrote:
Would you be so kind to provide the compile output when using interceptor.diff? Could you send it to me via e-mail?
Alexander Griesser on 2007-10-08 22:43:36 wrote:
interceptor.diff has been updated, please try again.
Guest on 2007-10-09 16:21:17 wrote:
Now that I can compile easily I am having a problem connecting my client to the cisco server. When ever I try to use the client I get the following.

router kernel: Oops: 0000 [#1]
router kernel: PREEMPT
router kernel: CPU: 0
router kernel: EIP: 0060:[<e09d0fdf>] Tainted: P VLI
router kernel: EFLAGS: 00010202 (2.6.22.1 #2)
router kernel: EIP is at getbindingbydev+0x17/0x36 [cisco_ipsec]
router kernel: eax: 00000001 ebx: e0a21970 ecx: 00000014 edx: 00000370
router kernel: esi: d5f52800 edi: 00000000 ebp: 00000000 esp: d9f11ef8
router kernel: ds: 007b es: 007b fs: 0000 gs: 0033 ss: 0068
router kernel: Process pppd (pid: 659, ti=d9f10000 task=d615e550 task.ti=d9f10000)
router kernel: Stack: d5f52800 fffffff5 e09d0c9f c0408828 c02d3989 c0409ca0 c040aa3c e0a12f70
router kernel: fffffff5 e09d0f8a c011d2ba d5f52800 00000006 d5f52800 d5e02c00 dffef220
router kernel: d619fe48 c011d519 ffffffff 00000000 c02d16e0 d5d92be0 00000282 ffffffe7
router kernel: Call Trace:
router kernel: [<e09d0c9f>] remove_netdev+0x12/0x6f [cisco_ipsec]
router kernel: [<c02d3989>] neigh_ifdown+0x58/0x65
router kernel: [<e09d0f8a>] handle_netdev_event+0x1d/0x28 [cisco_ipsec]
router kernel: [<c011d2ba>] notifier_call_chain+0x3a/0x5a
router kernel: [<c011d519>] raw_notifier_call_chain+0x17/0x1b
router kernel: [<c02d16e0>] unregister_netdevice+0xf0/0x1d3
router kernel: [<c02d17d2>] unregister_netdev+0xf/0x15
router kernel: [<e097f177>] ppp_shutdown_interface+0x65/0xb1 [ppp_generic]
router kernel: [<e097c062>] ppp_release+0x4c/0x4e [ppp_generic]
router kernel: [<c015888a>] __fput+0xff/0x110
router kernel: [<c0157238>] filp_close+0x43/0x6d
router kernel: [<c01572c1>] sys_close+0x5f/0xa7
router kernel: [<c010278e>] syscall_call+0x7/0xb
router kernel: =======================
router kernel: Code: 00 02 b8 01 00 00 00 0f 44 d0 89 d0 c3 ba 01 00 00 00 eb f6
56 31 c9 31 d2 53 89 c6 bb 00 16 a2 e0 8b 82 00 16 a2 e0 85 c0 74 08 <8b> 40 44
39 46 44 74 13 83 c1 01 83 c2 2c 83 c3 2c 83 f9 14 7e
router kernel: EIP: [<e09d0fdf>] getbindingbydev+0x17/0x36 [cisco_ipsec] SS:ESP 0068:d9f11ef8
Alexander Griesser on 2007-10-09 16:25:59 wrote:
Hmm... maybe my patch is to blame?
Please try 4.8.00 with the latest available patch for 4.8.00, that will work on your
system until I've a solution.
Guest on 2007-10-20 19:40:40 wrote:
Computer freezes when I start using ciiscoVPN 4.8.00/amd64 with this patch (probably kernel panic).

ubuntu 7.10/amd64

Tomas
Alexander Griesser on 2007-10-20 21:40:35 wrote:
What do you mean with "this" patch? interceptor.diff has been removed from the server as it definetly causes segfaults and kernel panics, but the other vpnclient
patches work fine.

http://tuxx-home.at/archives/2007/05/29/T16_34_26/
Guest on 2007-10-25 03:36:24 wrote:
Hi all,
I can confirm that the vpnclient-linux-x86_64-4.8.01.0640-k9.tar.gz
works with OpenSUSE 10.3 / Kernel 2.6.22.9

Thanks for providing the patch,
Thomas
Guest on 2007-10-25 15:27:21 wrote:
I also have problems compiling on x64 version.
Could someone post a link to a previous version of the client with the patch, that will work on gutsy 64 bit?

Thanks,
Ariel
Guest on 2007-10-26 17:44:05 wrote:
I can't compile vpnclient-linux-x86_64-4.8.01.0640-k9.tar.gz on Ubuntu 7.10 64bit. Here is the output:

make -C /lib/modules/2.6.22-14-generic/build SUBDIRS=/root/vpnclient modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic'
CC [M] /root/vpnclient/linuxcniapi.o
In file included from /root/vpnclient/Cniapi.h:15,
from /root/vpnclient/linuxcniapi.c:31:
/root/vpnclient/GenDefs.h:110:2: warning: #warning 64 bit
/root/vpnclient/linuxcniapi.c: In function ‘CniInjectReceive’:
/root/vpnclient/linuxcniapi.c:341: warning: cast from pointer to integer of different size
/root/vpnclient/linuxcniapi.c:342: warning: cast from pointer to integer of different size
/root/vpnclient/linuxcniapi.c: In function ‘CniInjectSend’:
/root/vpnclient/linuxcniapi.c:481: warning: cast from pointer to integer of different size
/root/vpnclient/linuxcniapi.c:482: warning: cast from pointer to integer of different size
/root/vpnclient/linuxcniapi.c:491: warning: cast to pointer from integer of different size
/root/vpnclient/linuxcniapi.c:491: warning: cast from pointer to integer of different size
CC [M] /root/vpnclient/frag.o
In file included from /root/vpnclient/Cniapi.h:15,
from /root/vpnclient/frag.c:20:
/root/vpnclient/GenDefs.h:110:2: warning: #warning 64 bit
/root/vpnclient/frag.c: In function ‘queue_fragment’:
/root/vpnclient/frag.c:50: warning: cast to pointer from integer of different size
/root/vpnclient/frag.c:50: warning: cast to pointer from integer of different size
/root/vpnclient/frag.c:50: warning: cast to pointer from integer of different size
/root/vpnclient/frag.c:50: warning: cast to pointer from integer of different size
/root/vpnclient/frag.c:52: warning: cast to pointer from integer of different size
/root/vpnclient/frag.c:52: warning: cast to pointer from integer of different size
/root/vpnclient/frag.c:52: warning: cast to pointer from integer of different size
/root/vpnclient/frag.c:52: warning: cast to pointer from integer of different size
/root/vpnclient/frag.c:70: warning: cast to pointer from integer of different size
/root/vpnclient/frag.c:70: warning: cast to pointer from integer of different size
/root/vpnclient/frag.c:70: warning: cast to pointer from integer of different size
/root/vpnclient/frag.c:70: warning: cast to pointer from integer of different size
/root/vpnclient/frag.c:73: warning: cast to pointer from integer of different size
/root/vpnclient/frag.c:73: warning: cast to pointer from integer of different size
/root/vpnclient/frag.c:73: warning: cast to pointer from integer of different size
/root/vpnclient/frag.c:73: warning: cast to pointer from integer of different size
/root/vpnclient/frag.c: In function ‘have_all_fragments’:
/root/vpnclient/frag.c:126: warning: cast to pointer from integer of different size
/root/vpnclient/frag.c:126: warning: cast to pointer from integer of different size
/root/vpnclient/frag.c:126: warning: cast to pointer from integer of different size
/root/vpnclient/frag.c:126: warning: cast to pointer from integer of different size
/root/vpnclient/frag.c:134: warning: cast to pointer from integer of different size
/root/vpnclient/frag.c:134: warning: cast to pointer from integer of different size
/root/vpnclient/frag.c:134: warning: cast to pointer from integer of different size
/root/vpnclient/frag.c:134: warning: cast to pointer from integer of different size
/root/vpnclient/frag.c:141: warning: cast to pointer from integer of different size
/root/vpnclient/frag.c:141: warning: cast to pointer from integer of different size
/root/vpnclient/frag.c:141: warning: cast to pointer from integer of different size
/root/vpnclient/frag.c:141: warning: cast to pointer from integer of different size
/root/vpnclient/frag.c:142: warning: cast to pointer from integer of different size
/root/vpnclient/frag.c:146: warning: cast to pointer from integer of different size
/root/vpnclient/frag.c:146: warning: cast to pointer from integer of different size
/root/vpnclient/frag.c:146: warning: cast to pointer from integer of different size
/root/vpnclient/frag.c:146: warning: cast to pointer from integer of different size
/root/vpnclient/frag.c: In function ‘need_reorder_frag’:
/root/vpnclient/frag.c:198: warning: cast to pointer from integer of different size
CC [M] /root/vpnclient/IPSecDrvOS_linux.o
In file included from /root/vpnclient/IPSecDrvOS_linux.c:24:
/root/vpnclient/GenDefs.h:110:2: warning: #warning 64 bit
CC [M] /root/vpnclient/interceptor.o
In file included from /root/vpnclient/Cniapi.h:15,
from /root/vpnclient/interceptor.c:34:
/root/vpnclient/GenDefs.h:110:2: warning: #warning 64 bit
/root/vpnclient/interceptor.c: In function ‘recv_ip_packet_handler’:
/root/vpnclient/interceptor.c:639: warning: assignment makes integer from pointer without a cast
/root/vpnclient/interceptor.c:660: warning: passing argument 2 of ‘CniNewFragment’ makes pointer from integer without a cast
/root/vpnclient/interceptor.c: In function ‘do_cni_send’:
/root/vpnclient/interceptor.c:778: error: invalid operands to binary -
make[2]: *** [/root/vpnclient/interceptor.o] Error 1
make[1]: *** [_module_/root/vpnclient] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic'
make: *** [default] Error 2

If it is possible, please fix it. Thank you ,
Tomas
Guest on 2007-10-27 18:22:00 wrote:
Thomas, have a look here for a howto on Gutsty x86_64:
http://ubuntuforums.org/showthread.php?t=592475

Alexander Griesser on 2007-10-28 12:56:48 wrote:
Currently, I have no idea on how to fix 4.8.01 to build on
64bit systems, but you can always use the 4.8.00 version with my patch which works just fine on newer kernels.

Here's the link to the previous archives:

http://tuxx-home.at/archives/cat_12/
Alexander Griesser on 2007-10-28 12:59:00 wrote:
Ah, well and BTW, the linux clients itself can be downloaded from:

http://tuxx-home.at/vpn/Linux/
Guest on 2007-10-31 13:38:49 wrote:
Hi all.<BR /><BR />I\'ve some problems on compilation of vpnclient 4.8.01 on Fedora 7 x86_64.<BR /><BR />Here you have the log.<BR /><BR />Any comments?<BR /><BR />Thank\'s,<BR />Alex.<BR /><BR /><BR />[umpire274@elprofe vpnclient]$ sudo ./vpn_install<BR />Password:<BR />Cisco Systems VPN Client Version 4.8.01 (0640) Linux Installer<BR />Copyright (C) 1998-2006 Cisco Systems, Inc. All Rights Reserved.<BR /><BR />By installing this product you agree that you have read the<BR />license.txt file (The VPN Client license) and will comply with<BR />its terms. <BR /><BR /><BR />Directory where binaries will be installed [/usr/local/bin]<BR /><BR />Automatically start the VPN service at boot time [yes]<BR /><BR />In order to build the VPN kernel module, you must have the<BR />kernel headers for the version of the kernel you are running.<BR /><BR /><BR />Directory containing linux kernel source code [/lib/modules/2.6.22.9-91.fc7/build]<BR /><BR />* Binaries will be installed in \"/usr/local/bin\".<BR />* Modules will be installed in \"/lib/modules/2.6.22.9-91.fc7/CiscoVPN\".<BR />* The VPN service will be started AUTOMATICALLY at boot time.<BR />* Kernel source from \"/lib/modules/2.6.22.9-91.fc7/build\" will be used to build the module.<BR /><BR />Is the above correct [y]<BR /><BR />Shutting down /opt/cisco-vpnclient/bin/vpnclient: module cisco_ipsec is not running.<BR />Stopped: /etc/init.d/vpnclient_init (VPN init script)<BR />Making module<BR />make -C /lib/modules/2.6.22.9-91.fc7/build SUBDIRS=/usr/local/src/vpnclient modules<BR />make[1]: Entering directory `/usr/src/kernels/2.6.22.9-91.fc7-x86_64\'<BR /> CC [M] /usr/local/src/vpnclient/linuxcniapi.o<BR />In file included from /usr/local/src/vpnclient/Cniapi.h:15,<BR /> from /usr/local/src/vpnclient/linuxcniapi.c:31:<BR />/usr/local/src/vpnclient/GenDefs.h:110:2: warning: #warning 64 bit<BR />/usr/local/src/vpnclient/linuxcniapi.c: In function ‘CniInjectReceive’:<BR />/usr/local/src/vpnclient/linuxcniapi.c:341: warning: cast from pointer to integer of different size<BR />/usr/local/src/vpnclient/linuxcniapi.c:342: warning: cast from pointer to integer of different size<BR />/usr/local/src/vpnclient/linuxcniapi.c: In function ‘CniInjectSend’:<BR />/usr/local/src/vpnclient/linuxcniapi.c:481: warning: cast from pointer to integer of different size<BR />/usr/local/src/vpnclient/linuxcniapi.c:482: warning: cast from pointer to integer of different size<BR />/usr/local/src/vpnclient/linuxcniapi.c:491: warning: cast to pointer from integer of different size<BR />/usr/local/src/vpnclient/linuxcniapi.c:491: warning: cast from pointer to integer of different size<BR /> CC [M] /usr/local/src/vpnclient/frag.o<BR />In file included from /usr/local/src/vpnclient/Cniapi.h:15,<BR /> from /usr/local/src/vpnclient/frag.c:20:<BR />/usr/local/src/vpnclient/GenDefs.h:110:2: warning: #warning 64 bit<BR />/usr/local/src/vpnclient/frag.c: In function ‘queue_fragment’:<BR />/usr/local/src/vpnclient/frag.c:50: warning: cast to pointer from integer of different size<BR />/usr/local/src/vpnclient/frag.c:50: warning: cast to pointer from integer of different size<BR />/usr/local/src/vpnclient/frag.c:50: warning: cast to pointer from integer of different size<BR />/usr/local/src/vpnclient/frag.c:50: warning: cast to pointer from integer of different size<BR />/usr/local/src/vpnclient/frag.c:52: warning: cast to pointer from integer of different size<BR />/usr/local/src/vpnclient/frag.c:52: warning: cast to pointer from integer of different size<BR />/usr/local/src/vpnclient/frag.c:52: warning: cast to pointer from integer of different size<BR />/usr/local/src/vpnclient/frag.c:52: warning: cast to pointer from integer of different size<BR />/usr/local/src/vpnclient/frag.c:70: warning: cast to pointer from integer of different size<BR />/usr/local/src/vpnclient/frag.c:70: warning: cast to pointer from integer of different size<BR />/usr/local/src/vpnclient/frag.c:70: warning: cast to pointer from integer of different size<BR />/usr/local/src/vpnclient/frag.c:70: warning: cast to pointer from integer of different size<BR />/usr/local/src/vpnclient/frag.c:73: warning: cast to pointer from integer of different size<BR />/usr/local/src/vpnclient/frag.c:73: warning: cast to pointer from integer of different size<BR />/usr/local/src/vpnclient/frag.c:73: warning: cast to pointer from integer of different size<BR />/usr/local/src/vpnclient/frag.c:73: warning: cast to pointer from integer of different size<BR />/usr/local/src/vpnclient/frag.c: In function ‘have_all_fragments’:<BR />/usr/local/src/vpnclient/frag.c:126: warning: cast to pointer from integer of different size<BR />/usr/local/src/vpnclient/frag.c:126: warning: cast to pointer from integer of different size<BR />/usr/local/src/vpnclient/frag.c:126: warning: cast to pointer from integer of different size<BR />/usr/local/src/vpnclient/frag.c:126: warning: cast to pointer from integer of different size<BR />/usr/local/src/vpnclient/frag.c:134: warning: cast to pointer from integer of different size<BR />/usr/local/src/vpnclient/frag.c:134: warning: cast to pointer from integer of different size<BR />/usr/local/src/vpnclient/frag.c:134: warning: cast to pointer from integer of different size<BR />/usr/local/src/vpnclient/frag.c:134: warning: cast to pointer from integer of different size<BR />/usr/local/src/vpnclient/frag.c:141: warning: cast to pointer from integer of different size<BR />/usr/local/src/vpnclient/frag.c:141: warning: cast to pointer from integer of different size<BR />/usr/local/src/vpnclient/frag.c:141: warning: cast to pointer from integer of different size<BR />/usr/local/src/vpnclient/frag.c:141: warning: cast to pointer from integer of different size<BR />/usr/local/src/vpnclient/frag.c:142: warning: cast to pointer from integer of different size<BR />/usr/local/src/vpnclient/frag.c:146: warning: cast to pointer from integer of different size<BR />/usr/local/src/vpnclient/frag.c:146: warning: cast to pointer from integer of different size<BR />/usr/local/src/vpnclient/frag.c:146: warning: cast to pointer from integer of different size<BR />/usr/local/src/vpnclient/frag.c:146: warning: cast to pointer from integer of different size<BR />/usr/local/src/vpnclient/frag.c: In function ‘need_reorder_frag’:<BR />/usr/local/src/vpnclient/frag.c:198: warning: cast to pointer from integer of different size<BR /> CC [M] /usr/local/src/vpnclient/IPSecDrvOS_linux.o<BR />In file included from /usr/local/src/vpnclient/IPSecDrvOS_linux.c:24:<BR />/usr/local/src/vpnclient/GenDefs.h:110:2: warning: #warning 64 bit<BR /> CC [M] /usr/local/src/vpnclient/interceptor.o<BR />In file included from /usr/local/src/vpnclient/Cniapi.h:15,<BR /> from /usr/local/src/vpnclient/interceptor.c:34:<BR />/usr/local/src/vpnclient/GenDefs.h:110:2: warning: #warning 64 bit<BR />/usr/local/src/vpnclient/interceptor.c: In function ‘recv_ip_packet_handler’:<BR />/usr/local/src/vpnclient/interceptor.c:639: warning: assignment makes integer from pointer without a cast<BR />/usr/local/src/vpnclient/interceptor.c:660: warning: passing argument 2 of ‘CniNewFragment’ makes pointer from integer without a cast<BR />/usr/local/src/vpnclient/interceptor.c: In function ‘do_cni_send’:<BR />/usr/local/src/vpnclient/interceptor.c:778: error: invalid operands to binary -<BR />make[2]: *** [/usr/local/src/vpnclient/interceptor.o] Error 1<BR />make[1]: *** [_module_/usr/local/src/vpnclient] Error 2<BR />make[1]: Leaving directory `/usr/src/kernels/2.6.22.9-91.fc7-x86_64\'<BR />make: *** [default] Error 2<BR />Failed to make module \"cisco_ipsec.ko\".<BR />[umpire274@elprofe vpnclient]$
Guest on 2007-10-31 14:00:35 wrote:
> Guest on 2007-10-20 19:40:40 wrote:
> Computer freezes when I start using ciiscoVPN 4.8.00/amd64 with this patch >(probably kernel panic).

> ubuntu 7.10/amd64

> Tomas

I can confirm this behavior, also posted in:
http://ubuntuforums.org/showpost.php?p=3669182&postcount=11

I get a kernel panic, but I don't know how to capture the message.


Martin
Guest on 2007-10-31 14:05:23 wrote:
Sorry, just to be clear.

1. 2.6.22-14-generic on ubuntu 7.10/amd64
2. 4.8.00.0490-k9
3. vpnclient-linux-2.6.22.diff
4. kernel panic


Martin
Guest on 2007-11-06 00:18:31 wrote:
installation on Ubuntu 7.04 (and FC7) went fine
but when I use TunnelingMode =1 in my profile, the vpnclient connects but no data is sent through.

does anybody else have this?
Guest on 2007-11-07 16:55:02 wrote:
Thank you for providing this software, immensely helpful.
Alexander Griesser on 2007-11-09 17:53:18 wrote:
There's another patch available from a nice fellow named "Stephen Frost". Could you guys having kernel freezes and panics with the "old" patch please give it a try?

I uploaded it to:
http://tuxx-home.at/projects/cisco-vpnclient/cisco_skbuff_offset.patch

This patch has to be applied to 4.8.01.
Guest on 2007-11-14 00:23:57 wrote:
Beautiful, this client compiles without any errors. However, I do have one problem.

When I use my company's PCF file from their Windows version, it replies with, "The profile specified could not be read." I'm not sure of the specific version, other than it's "3.0" on the windows version.

I assume a PCF file from 3.0 might vary from 4.8. Anyone have any suggestions?

Thanks,
Joe
Alexander Griesser on 2007-11-14 08:15:40 wrote:
No, that should work too. The profile needs to be placed in the /etc/opt/cisco-vpnclient/Profiles directory, otherwise the vpnclient won't detect it.

Additionally, you may _NOT_ add the ".pcf" extension to the connect call and
make sure to escape existing blanks in the filename, e.g. if the profile is called
"My company.pcf", the connect call should look like this:

vpnclient connect My\ company

or

vpnclient connect "My company"

(always without the .pcf extension).

I do always rename pcf files that contains blanks in it to get rid of such problems, e.g.:

mv "My Company.pcf" My_Company.pcf
Guest on 2007-11-14 20:30:51 wrote:
I am having problems building on Fedora Core 8 (x86_64)...

# uname -a
Linux localhost.localdomain 2.6.23.1-49.fc8 #1 SMP Thu Nov 8 22:14:09 EST 2007 x86_64 x86_64 x86_64 GNU/Linux



# make -C /lib/modules/2.6.23.1-49.fc8/build SUBDIRS=/root/vpnclient-4.8.01 modules
make[1]: Entering directory `/usr/src/kernels/2.6.23.1-49.fc8-x86_64'
CC [M] /root/vpnclient-4.8.01/linuxcniapi.o
In file included from /root/vpnclient-4.8.01/Cniapi.h:15,
from /root/vpnclient-4.8.01/linuxcniapi.c:31:
/root/vpnclient-4.8.01/GenDefs.h:110:2: warning: #warning 64 bit
/root/vpnclient-4.8.01/linuxcniapi.c: In function ‘CniInjectReceive’:
/root/vpnclient-4.8.01/linuxcniapi.c:341: warning: cast from pointer to integer of different size
/root/vpnclient-4.8.01/linuxcniapi.c:342: warning: cast from pointer to integer of different size
/root/vpnclient-4.8.01/linuxcniapi.c: In function ‘CniInjectSend’:
/root/vpnclient-4.8.01/linuxcniapi.c:481: warning: cast from pointer to integer of different size
/root/vpnclient-4.8.01/linuxcniapi.c:482: warning: cast from pointer to integer of different size
/root/vpnclient-4.8.01/linuxcniapi.c:491: warning: cast to pointer from integer of different size
/root/vpnclient-4.8.01/linuxcniapi.c:491: warning: cast from pointer to integer of different size
CC [M] /root/vpnclient-4.8.01/frag.o
In file included from /root/vpnclient-4.8.01/Cniapi.h:15,
from /root/vpnclient-4.8.01/frag.c:20:
/root/vpnclient-4.8.01/GenDefs.h:110:2: warning: #warning 64 bit
/root/vpnclient-4.8.01/frag.c: In function ‘queue_fragment’:
/root/vpnclient-4.8.01/frag.c:50: warning: cast to pointer from integer of different size
/root/vpnclient-4.8.01/frag.c:50: warning: cast to pointer from integer of different size
/root/vpnclient-4.8.01/frag.c:50: warning: cast to pointer from integer of different size
/root/vpnclient-4.8.01/frag.c:50: warning: cast to pointer from integer of different size
/root/vpnclient-4.8.01/frag.c:52: warning: cast to pointer from integer of different size
/root/vpnclient-4.8.01/frag.c:52: warning: cast to pointer from integer of different size
/root/vpnclient-4.8.01/frag.c:52: warning: cast to pointer from integer of different size
/root/vpnclient-4.8.01/frag.c:52: warning: cast to pointer from integer of different size
/root/vpnclient-4.8.01/frag.c:70: warning: cast to pointer from integer of different size
/root/vpnclient-4.8.01/frag.c:70: warning: cast to pointer from integer of different size
/root/vpnclient-4.8.01/frag.c:70: warning: cast to pointer from integer of different size
/root/vpnclient-4.8.01/frag.c:70: warning: cast to pointer from integer of different size
/root/vpnclient-4.8.01/frag.c:73: warning: cast to pointer from integer of different size
/root/vpnclient-4.8.01/frag.c:73: warning: cast to pointer from integer of different size
/root/vpnclient-4.8.01/frag.c:73: warning: cast to pointer from integer of different size
/root/vpnclient-4.8.01/frag.c:73: warning: cast to pointer from integer of different size
/root/vpnclient-4.8.01/frag.c: In function ‘have_all_fragments’:
/root/vpnclient-4.8.01/frag.c:126: warning: cast to pointer from integer of different size
/root/vpnclient-4.8.01/frag.c:126: warning: cast to pointer from integer of different size
/root/vpnclient-4.8.01/frag.c:126: warning: cast to pointer from integer of different size
/root/vpnclient-4.8.01/frag.c:126: warning: cast to pointer from integer of different size
/root/vpnclient-4.8.01/frag.c:134: warning: cast to pointer from integer of different size
/root/vpnclient-4.8.01/frag.c:134: warning: cast to pointer from integer of different size
/root/vpnclient-4.8.01/frag.c:134: warning: cast to pointer from integer of different size
/root/vpnclient-4.8.01/frag.c:134: warning: cast to pointer from integer of different size
/root/vpnclient-4.8.01/frag.c:141: warning: cast to pointer from integer of different size
/root/vpnclient-4.8.01/frag.c:141: warning: cast to pointer from integer of different size
/root/vpnclient-4.8.01/frag.c:141: warning: cast to pointer from integer of different size
/root/vpnclient-4.8.01/frag.c:141: warning: cast to pointer from integer of different size
/root/vpnclient-4.8.01/frag.c:142: warning: cast to pointer from integer of different size
/root/vpnclient-4.8.01/frag.c:146: warning: cast to pointer from integer of different size
/root/vpnclient-4.8.01/frag.c:146: warning: cast to pointer from integer of different size
/root/vpnclient-4.8.01/frag.c:146: warning: cast to pointer from integer of different size
/root/vpnclient-4.8.01/frag.c:146: warning: cast to pointer from integer of different size
/root/vpnclient-4.8.01/frag.c: In function ‘need_reorder_frag’:
/root/vpnclient-4.8.01/frag.c:198: warning: cast to pointer from integer of different size
CC [M] /root/vpnclient-4.8.01/IPSecDrvOS_linux.o
In file included from /root/vpnclient-4.8.01/IPSecDrvOS_linux.c:24:
/root/vpnclient-4.8.01/GenDefs.h:110:2: warning: #warning 64 bit
CC [M] /root/vpnclient-4.8.01/interceptor.o
In file included from /root/vpnclient-4.8.01/Cniapi.h:15,
from /root/vpnclient-4.8.01/interceptor.c:34:
/root/vpnclient-4.8.01/GenDefs.h:110:2: warning: #warning 64 bit
/root/vpnclient-4.8.01/interceptor.c: In function ‘recv_ip_packet_handler’:
/root/vpnclient-4.8.01/interceptor.c:639: warning: assignment makes integer from pointer without a cast
/root/vpnclient-4.8.01/interceptor.c:660: warning: passing argument 2 of ‘CniNewFragment’ makes pointer from integer without a cast
/root/vpnclient-4.8.01/interceptor.c: In function ‘do_cni_send’:
/root/vpnclient-4.8.01/interceptor.c:778: error: invalid operands to binary -
make[2]: *** [/root/vpnclient-4.8.01/interceptor.o] Error 1
make[1]: *** [_module_/root/vpnclient-4.8.01] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.23.1-49.fc8-x86_64'
make: *** [default] Error 2
Alexander Griesser on 2007-11-14 20:34:41 wrote:
Please have a look at:

http://projects.tuxx-home.at/?id=cisco_vpn_client
Guest on 2007-11-20 12:54:17 wrote:
On PowerPC, Ubuntu 7.04,
Making module
make -C /lib/modules/2.6.20-16-powerpc/build SUBDIRS=/home/centrimadmin/Desktop/vpnclient modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.20-16-powerpc'
LD [M] /home/centrimadmin/Desktop/vpnclient/cisco_ipsec.o
ld: /home/centrimadmin/Desktop/vpnclient/libdriver.so: Relocations in generic ELF (EM: 3)
ld: /home/centrimadmin/Desktop/vpnclient/libdriver.so: Relocations in generic ELF (EM: 3)
ld: /home/centrimadmin/Desktop/vpnclient/libdriver.so: Relocations in generic ELF (EM: 3)
ld: /home/centrimadmin/Desktop/vpnclient/libdriver.so: Relocations in generic ELF (EM: 3)
/home/centrimadmin/Desktop/vpnclient/libdriver.so: could not read symbols: File in wrong format
make[2]: *** [/home/centrimadmin/Desktop/vpnclient/cisco_ipsec.o] Error 1
make[1]: *** [_module_/home/centrimadmin/Desktop/vpnclient] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.20-16-powerpc'
make: *** [default] Error 2
Failed to make module "cisco_ipsec.ko".


Oh well, perhaps I'm expecting too much.
Alexander Griesser on 2007-11-20 15:29:31 wrote:
Yes, you are. This client is only applicable for x86 systems.
You could give the client for MacOSX a shot, maybe it will fare better on PPC
systems...

http://projects.tuxx-home.at/ciscovpn/clients/macos
Guest on 2007-11-26 23:28:34 wrote:
Thanks so much for including a link to download the newest Cico VPN software. I have no idea where else I would be able to get it.

Works great on Ubuntu 7.10 2.6.22-14-generic running on a mac mini 1.66 core two duo

None of the other versions worked.
Alexander Griesser on 2007-11-27 09:36:56 wrote:
You're welcome :)
As long as Cisco doesn't stop this, you can always download the latest clients
from my website.
Guest on 2007-12-03 21:21:47 wrote:
I'm finding instability with the 4.8.01.0640, and don't seem to have it with 4.8.00.0490 (plus the patch here, thanks!). The network connection locks up, and networking is broken on the underlying interface when I bring down the vpn connection and remove the modules.
Guest on 2007-12-03 22:59:15 wrote:
I can confirm that the http://projects.tuxx-home.at/ciscovpn/clients/linux/4.8.00/vpnclient-linux-x86_64-4.8.00.0490-k9.tar.gz
with applied patch works great on Fedora 7 64 bit with kernel 2.6.22.9-91.fc7

Thanks a lot and best regards,
zgibek
Alexander Griesser on 2007-12-04 08:37:51 wrote:
Can you guys please try the following patched VPN client and report wheter
it works better or not?

http://linux-support.hiwi.rz.uni-konstanz.de/downloads/Cisco-VPN-Client-Linux-x86-4.8.01.0640-patched.tar.bz2
Guest on 2007-12-04 15:50:57 wrote:
I'm guest 2007-12-03 21:21:47. Two things: first, I was wrong about not having the problem under 4.8.00.0490; it seems that in fact it is the upgrade to 2.6.22 (Ubuntu Gutsy) that caused the problem. Unfortunately, the patched driver you gave doesn't help (I'm not sure that it was supposed to address that problem). My problem appears when I try to push large amounts of data through the connection.
Guest on 2007-12-07 00:17:20 wrote:
Anyone get cicsco vpn client to work on 2.6.23 kernel version on 64 bit platforms -- I still see no answers in here anywhere

thanks
Guest on 2007-12-13 04:48:55 wrote:
Hi, I'm running on the 2.6.22.9 kernel and after patching the cisco files, I try to run it. It acts like it is going to work, but then it says this:

Secure VPN Connection terminated locally by the Client
Reason: Failed to establish a VPN connection.
There are no new notification messages at this time.

Any clues as to why?
Alexander Griesser on 2007-12-13 08:23:06 wrote:
Please check the comments to similar previous or newer blog entries for the
Cisco VPN client patches on my blog. Some users reported that they have
to `ifdown` all other interfaces prior to establishing the VPN connection.
Guest on 2007-12-14 04:55:31 wrote:
Hi again. I have tried the 'ifdown' and it still does not work. Any other thoughts?
Guest on 2007-12-18 11:57:59 wrote:
It also works in 2.6.23.9 OOB.
Great Thanks to Alex.

greez
Guest on 2007-12-29 16:49:36 wrote:
I also get the following message for any connection I try to start:

Secure VPN Connection terminated locally by the Client
Reason: Failed to establish a VPN connection.
There are no new notification messages at this time.

I'm running 2.6.23.9-85.fc8 on a 32-bit host and using the patched 4.8.00 client. There were no obvious errors during compile and the daemon starts and runs fine.
Guest on 2008-01-02 16:20:02 wrote:
I also get the above (Guest on 2007-12-29 16:49:36) and when I do tcpdump I get :
15:06:18.882048 IP 192.168.0.132.32816 > uk-vpn-3000.***.com.29747: UDP, length 16
15:06:18.892624 IP 192.168.0.132.32816 > uk-vpn-3000.***.com.isakmp: isakmp: phase 1 I agg
15:06:19.057194 IP uk-vpn-3000.***.com.isakmp > 192.168.0.132.isakmp: isakmp: phase 1 R agg
15:06:19.057269 IP 192.168.0.132 > uk-vpn-3000.***.com: ICMP 192.168.0.132 udp port isakmp unreachable, length 484

I tried running as root (even though I did chmod 4111 /opt/cisco-vpnclient/bin/cvpnd ) and it worked sometimes, but has stopped after a reboot.
Alexander Griesser on 2008-01-03 09:39:21 wrote:
Please let's discuss all these issues in the newly created forum:

http://forum.tuxx-home.at/

This comment system is not suitable for debugging such stuff.
Thanks!
Guest on 2008-04-24 17:19:05 wrote:
Thanks for this. It works great with Ubuntu 7.10 32 bit (kernel version 2.6.22).

Ramkumar
Guest on 2008-06-07 23:30:54 wrote:
It works fine for me. Thanks! I'm using Debian 2.6.18 kernel, and another system with Debian 2.6.25 kernel.
Guest on 2008-12-26 12:22:50 wrote:
http://projects.tuxx-home.at/ciscovpn/clients/linux/4.8.02/vpnclient-linux-x86_64-4.8.02.0030-k9.tar.gz

works on
kernel ""Linux machine 2.6.27-11-generic #1 SMP Fri Dec 19 16:29:52 UTC 2008 i686 GNU/Linux.

Great!!, Thanks Man!!!
Guest on 2009-02-12 13:15:32 wrote:
I'm not sure if this is the right place to post this question. if it's not, please redirect me to the right one :-)
Question:
Once package compiled, installed, tested and connected it is possible to be sure that the connection stay always on. I have one server in the data center and one cisco ssl concentrator in my office. I need to connect some php scripts from data center to my working SAP system and for that one permanent vpn connection will be required. Is that possible?Many thanks to all of you guys.

Adi
Alexander Griesser on 2009-02-13 23:19:39 wrote:
Well, it's not really the right place to ask things like that :) Please give my support forum a try:

http://forum.tuxx-home.at

At a quick glance: You could wrap the vpn connection initiaion into an endless loop, like:

while true; do vpnclient connect yourprofile; done

That of course requires that there's no manual input necessary (passwords, etc.) and when the connection drops, it gets automatically established again.
Guest on 2009-03-01 00:58:11 wrote:
Didn't work on Ubuntu 8:(

root@isabel-laptop:~/vpnclient# vi Makefile
root@isabel-laptop:~/vpnclient# ./vpn_install
Cisco Systems VPN Client Version 4.8.01 (0640) Linux Installer
Copyright (C) 1998-2006 Cisco Systems, Inc. All Rights Reserved.

By installing this product you agree that you have read the
license.txt file (The VPN Client license) and will comply with
its terms.


Directory where binaries will be installed [/usr/local/bin]

Automatically start the VPN service at boot time [yes]no

In order to build the VPN kernel module, you must have the
kernel headers for the version of the kernel you are running.


Directory containing linux kernel source code [/lib/modules/2.6.27-7-generic/build]

* Binaries will be installed in "/usr/local/bin".
* Modules will be installed in "/lib/modules/2.6.27-7-generic/CiscoVPN".
* The VPN service will *NOT* be started automatically at boot time.
* Kernel source from "/lib/modules/2.6.27-7-generic/build" will be used to build the module.

Is the above correct [y]

Making module
make -C /lib/modules/2.6.27-7-generic/build SUBDIRS=/root/vpnclient modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.27-7-generic'
CC [M] /root/vpnclient/linuxcniapi.o
In file included from /root/vpnclient/Cniapi.h:15,
from /root/vpnclient/linuxcniapi.c:31:
/root/vpnclient/GenDefs.h:110:2: warning: #warning 64 bit
In file included from /root/vpnclient/Cniapi.h:15,
from /root/vpnclient/linuxcniapi.c:31:
/root/vpnclient/GenDefs.h:111: error: conflicting types for ‘uintptr_t’
include/linux/types.h:40: error: previous declaration of ‘uintptr_t’ was here
/root/vpnclient/linuxcniapi.c: In function ‘CniInjectReceive’:
/root/vpnclient/linuxcniapi.c:341: warning: cast from pointer to integer of different size
/root/vpnclient/linuxcniapi.c:342: warning: cast from pointer to integer of different size
/root/vpnclient/linuxcniapi.c: In function ‘CniInjectSend’:
/root/vpnclient/linuxcniapi.c:481: warning: cast from pointer to integer of different size
/root/vpnclient/linuxcniapi.c:482: warning: cast from pointer to integer of different size
/root/vpnclient/linuxcniapi.c:491: warning: cast to pointer from integer of different size
/root/vpnclient/linuxcniapi.c:491: warning: cast from pointer to integer of different size
make[2]: *** [/root/vpnclient/linuxcniapi.o] Error 1
make[1]: *** [_module_/root/vpnclient] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-7-generic'
make: *** [default] Error 2
Failed to make module "cisco_ipsec.ko".

Alexander Griesser on 2009-03-12 09:44:55 wrote:
Try client version 4.8.02 which is available from http://projects.tuxx-home.at/ciscovpn/clients/linux/4.8.02/.
Guest on 2010-04-23 13:11:05 wrote:
I am using latest Ubuntu, and 4.8.01 failed with same error as right above. Downloaded 4.8.02. It goes further, but does not succeed.

Making module
make -C /lib/modules/2.6.31-20-generic/build SUBDIRS=/home/fiol/Desktop/vpnclient modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.31-20-generic'
CC [M] /home/fiol/Desktop/vpnclient/linuxcniapi.o
CC [M] /home/fiol/Desktop/vpnclient/frag.o
CC [M] /home/fiol/Desktop/vpnclient/IPSecDrvOS_linux.o
CC [M] /home/fiol/Desktop/vpnclient/interceptor.o
/home/fiol/Desktop/vpnclient/interceptor.c: In function ‘interceptor_init’:
/home/fiol/Desktop/vpnclient/interceptor.c:132: error: ‘struct net_device’ has no member named ‘hard_start_xmit’
/home/fiol/Desktop/vpnclient/interceptor.c:133: error: ‘struct net_device’ has no member named ‘get_stats’
/home/fiol/Desktop/vpnclient/interceptor.c:134: error: ‘struct net_device’ has no member named ‘do_ioctl’
/home/fiol/Desktop/vpnclient/interceptor.c: In function ‘add_netdev’:
/home/fiol/Desktop/vpnclient/interceptor.c:271: error: ‘struct net_device’ has no member named ‘hard_start_xmit’
/home/fiol/Desktop/vpnclient/interceptor.c:272: error: ‘struct net_device’ has no member named ‘hard_start_xmit’
/home/fiol/Desktop/vpnclient/interceptor.c: In function ‘remove_netdev’:
/home/fiol/Desktop/vpnclient/interceptor.c:294: error: ‘struct net_device’ has no member named ‘hard_start_xmit’
make[2]: *** [/home/fiol/Desktop/vpnclient/interceptor.o] Error 1
make[1]: *** [_module_/home/fiol/Desktop/vpnclient] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.31-20-generic'
make: *** [default] Error 2
Failed to make module "cisco_ipsec.ko".

Your comment (HTML tags will be stripped !!):

To verify You are not a bot, type down text from this image.

Your try: