Wanna see this logo while booting your 2.6 kernel? Click here!

29.05.2007 16:34

Linux 2.6.22 breaks the Cisco VPN client again - here's the one and only patch


============================== ATTENTION ==============================
This article is _OUTDATED_. No more patches needed for the new Cisco VPN-Client for Linux (v4.8.01.0640-k9).
See the links section for download information.
============================== ATTENTION ==============================

Today I got an e-mail from someone having problems compiling the Cisco VPN client on Linux 2.6.22-rc3. I heard some rumors about network cleanups etc. in the new version of the Linux kernel but didn't pay attention to it until now.
Infact, some things regarding the "sk_buff" structure have been changed and therefore quite some work was needed to make the Cisco VPN client compatible again.

The new patch is backwards compatible and can also be applied for kernel versions below 2.6.22 (that means it incorporates the changes made for 2.6.19 too) and therefore this one is the one and only VPN client patch around here.

If you already patched your VPN Client, you need to undo the previous patch before applying the new one or simply untar the installation archive again into a new directory and apply the new patch onto it.

Installation instructions:
1. Untar the VPN Client
# tar xzf vpnclient-linux-4.8.00.0490-k9.tar.gz

2. Download the patch
# wget -q http://tuxx-home.at/projects/cisco-vpnclient/vpnclient-linux-2.6.22.diff

3. Change to the vpnclient directory
# cd vpnclient

4. Apply the patch
# patch <../vpnclient-linux-2.6.22.diff
patching file frag.c
patching file interceptor.c
patching file IPSecDrvOS_linux.c
patching file linuxcniapi.c
patching file linux_os.h

Now the patch has been applied and you can safely install the client
#./vpn_install

Downloads:

References:

Links:
============================== ATTENTION ==============================
This article is _OUTDATED_. No more patches needed for the new Cisco VPN-Client for Linux (v4.8.01.0640-k9).
See the links section for download information.
============================== ATTENTION ==============================