4.8.02 - 64-bit patch on 2.6.25

Installation, configuration and troubleshooting of the Cisco VPN Client on Linux systems

4.8.02 - 64-bit patch on 2.6.25

Postby birdman » Thu Jul 10, 2008 1:21 am

If anyone is interested I've patched 4.8.02 to run on kernel 2.6.25, 64-bit. Basically the cisco_skbuff_offset.patch generalized to use the 32-/64-bit function calls that came in at 2.6.22
and fixing some bugs (I think) in that patch along the way.
birdman
Sergeant
Sergeant
 
Posts: 15
Joined: Thu Jul 10, 2008 1:14 am

Re: 4.8.02 - 64-bit patch on 2.6.25

Postby iakoma » Sat Jul 12, 2008 6:08 pm

Hi birdman,
Yes I'm interested to run vpnclient on kernel 2.6.25, 64-bit.
I was not able to find out 4.8.02 (I've only 'vpnclient-linux-x86_64-4.8.01.0640-k9.tar.gz' and doesn't work against 2.6.25, 64-bit included the patches vpnclient-linux-2.6.24.diff & cisco_skbuff_offset.patch).

My linux box is ArchLinux 64 bit.

Tks in advance for your help.
:lol:
iakoma
Private
Private
 
Posts: 3
Joined: Sat Jul 12, 2008 5:54 pm

Re: 4.8.02 - 64-bit patch on 2.6.25

Postby iakoma » Sat Jul 12, 2008 7:31 pm

Hi again,
just for info I've found here 'http://www.lan.kth.se/vpn/bin/?M=D' the 4.8.02 client, apply the patch, but the result no change.
iakoma
Private
Private
 
Posts: 3
Joined: Sat Jul 12, 2008 5:54 pm

Re: 4.8.02 - 64-bit patch on 2.6.25

Postby birdman » Sun Jul 13, 2008 11:25 pm

You'll find my 64-bit patches (for both 4.8.01 and 4.8.02) at:

http://birdman.dynalias.org/CiscoVPN/

[(the download will say it's a binary file, but it is just a text patch file)] (Changed - it now knows it's a text file, so a browser will just display it now - you can use "Save as" to download it).
Last edited by birdman on Tue Aug 19, 2008 11:37 pm, edited 3 times in total.
birdman
Sergeant
Sergeant
 
Posts: 15
Joined: Thu Jul 10, 2008 1:14 am

Re: 4.8.02 - 64-bit patch on 2.6.25

Postby iakoma » Mon Jul 14, 2008 9:20 pm

It' work.
Thanks a lot.
:wink:
iakoma
Private
Private
 
Posts: 3
Joined: Sat Jul 12, 2008 5:54 pm

Re: 4.8.02 - 64-bit patch on 2.6.25

Postby birdman » Tue Jul 15, 2008 2:22 am

Just checked - the 4.8.02 patch works on 2.6.26 too. I'll update the web page to note this.
birdman
Sergeant
Sergeant
 
Posts: 15
Joined: Thu Jul 10, 2008 1:14 am

Re: 4.8.02 - 64-bit patch on 2.6.25

Postby birdman » Wed Dec 03, 2008 1:04 am

Also now known to work on 2.6.27.4...
birdman
Sergeant
Sergeant
 
Posts: 15
Joined: Thu Jul 10, 2008 1:14 am

Re: 4.8.02 - 64-bit patch on 2.6.25

Postby leteci » Wed Jan 14, 2009 1:25 pm

I have 4.8.02.0030 version vpn client and kernel version is 2.26.27-11

When i try to run vpn get this message: the profile specified could not be read?

Any suggestion?
leteci
Private
Private
 
Posts: 1
Joined: Wed Jan 14, 2009 1:16 pm

Re: 4.8.02 - 64-bit patch on 2.6.25

Postby tuxx-home.at » Wed Jan 21, 2009 9:57 pm

How did you invoke the client?

If the profile file resides in /etc/opt/cisco-vpnclient/Profiles/test.pcf, you need to execute:

vpnclient connect test

instead of

vpnclient connect test.pcf

or something like this.
Oh, and, all profiles _HAVE_ to be in the above mentioned directory, so copy them over to this destination if not done already.
User avatar
tuxx-home.at
Supreme Commander
Supreme Commander
 
Posts: 2199
Joined: Mon Jan 01, 2007 12:51 pm
Location: Vassach - Austria - Europe

Re: 4.8.02 - 64-bit patch on 2.6.25

Postby leomanic » Fri Jan 30, 2009 4:14 pm

I can confirm your patch makes compiling work fine on kernel 2.6.27-11 , ubuntu intrepid.

thanks for the effort :)

lennard
leomanic
Private
Private
 
Posts: 1
Joined: Fri Jan 30, 2009 4:12 pm

Re: 4.8.02 - 64-bit patch on 2.6.25

Postby tuxx-home.at » Thu Feb 05, 2009 2:09 pm

Stephen, I got this via e-mail:

Alex, thank you for your site. I found an error in the patch from
Stephen Frost for 64-bit systems for version 4.8.01.0640.

In file interceptor.c, line 655 (after the patch has been incorporated)
which reads:

skb->mac_header,

needs to be changed to this:

#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,22)
skb->mac_header,
#else
skb->mac.raw,
#endif

Regards,

-Tom


Please update your patch accordingly so that it compiles on older kernel versions too.
I fixed that in my local copies already:

4.8.01 64bit patch:
[http://projects.tuxx-home.at/ciscovpn/patches/vpnclient-linux-4.8.01-64bit.patch]

4.8.02 64bit patch:
[http://projects.tuxx-home.at/ciscovpn/patches/vpnclient-linux-4.8.02-64bit.patch]
User avatar
tuxx-home.at
Supreme Commander
Supreme Commander
 
Posts: 2199
Joined: Mon Jan 01, 2007 12:51 pm
Location: Vassach - Austria - Europe

Re: 4.8.02 - 64-bit patch on 2.6.25

Postby sfsob » Fri Feb 27, 2009 4:28 am

Thank you so much! Working on 2.27-11 (ubuntu 8.10 64bit).

To summarize:

You need 2 files:
vpnclient-linux-x86_64-4.8.02.003.k9.tar
4.8.02-64bit.patch
Steps:
tar xvf vpnclient-linux-x86_64-4.8.02.003.k9.tar
cd vpnclient
sudo ./vpn_install
sudo /etc/init.d/vpnclient_init start
cp YourConfigFile.pcf /etc/opt/cisco-vpnclient/Profiles/
vpnclient connect YourConfigFile (no filename extension!!!)
vpnclient disconnect to exit

Note: You can get the .pcf file from a pc that has the cisco vpn client installed on it.
Note: My org uses a different GroupName in the pcf file for linux than they use for windows - windows clients are required to have virus and firewall software.
sfsob
Private
Private
 
Posts: 2
Joined: Fri Feb 27, 2009 3:57 am

Re: 4.8.02 - 64-bit patch on 2.6.25

Postby sfsob » Fri Feb 27, 2009 4:31 am

Forgot the patch step
Just before running vpn_install...
patch < ./patch 4.8.02-64bit.patch
sfsob
Private
Private
 
Posts: 2
Joined: Fri Feb 27, 2009 3:57 am

Re: 4.8.02 - 64-bit patch on 2.6.25

Postby aweng » Tue Mar 10, 2009 7:33 am

sfsob wrote:You need 2 files:
vpnclient-linux-x86_64-4.8.02.003.k9.tar
4.8.02-64bit.patch


Just want to confirm it - do I still need to patch vpnclient-linux-2.6.24-final.diff?? I am also running on ubuntu 8.10 64bit

I can install successfully ONLY use the 4.8.02-64bit.patch and VPN is connected. but the system is locked after access any computer in VPN.

I am also using wireless to connect VPN.

thanks
aweng
Private
Private
 
Posts: 1
Joined: Tue Mar 10, 2009 7:26 am

Re: 4.8.02 - 64-bit patch on 2.6.25

Postby tuxx-home.at » Tue Mar 10, 2009 8:43 pm

no, you do not need the 2.6.24 patch, but you will need the hyperthreading workaround mentionend in the topic below:

[http://forum.tuxx-home.at/viewtopic.php?f=15&t=457]
User avatar
tuxx-home.at
Supreme Commander
Supreme Commander
 
Posts: 2199
Joined: Mon Jan 01, 2007 12:51 pm
Location: Vassach - Austria - Europe

Next

Return to Cisco VPN Client on Linux systems

Who is online

Users browsing this forum: No registered users and 1 guest

cron