[Openswan Users] Interop FC2:openswan<->RH:freeswan

Herbert Xu herbert at gondor.apana.org.au
Wed Jul 14 10:28:03 CEST 2004


Clive A Stubbings <openswan at vjet.demon.co.uk> wrote:
> 
> I've just upgraded a linux laptop to Fedora Core 2 and openswan. (ie a 
> 2.6 series kernel).

If you're running a 2.6 kernel that supports the old NON-IKE NAT-T
method and you're using NAT-T then you need this patch.  This will
be in 2.6.8.

Cheers,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert at gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
===== net/ipv4/esp4.c 1.41 vs edited =====
--- 1.41/net/ipv4/esp4.c	2004-06-23 06:53:57 +10:00
+++ edited/net/ipv4/esp4.c	2004-06-24 22:26:50 +10:00
@@ -106,7 +106,6 @@
 				udpdata32 = (u32*)(uh+1);
 				udpdata32[0] = udpdata32[1] = 0;
 				esph = (struct ip_esp_hdr*)(udpdata32+2);
-				alen += 2;
 				top_iph->protocol = IPPROTO_UDP;
 				break;
 			default:
@@ -149,7 +148,6 @@
 				udpdata32 = (u32*)(uh+1);
 				udpdata32[0] = udpdata32[1] = 0;
 				esph = (struct ip_esp_hdr*)(udpdata32+2);
-				alen += 2;
 				top_iph->protocol = IPPROTO_UDP;
 				break;
 			default:


More information about the Users mailing list