[Openswan Users] 2.1.5 Nat-t patch fails on Kernel 2.4.28

Ken Bantoft ken at xelerance.com
Mon Nov 22 22:10:47 CET 2004


Yup, they did a trivial change in sock.h which breaks the current NAT-T
patch to sock.h.

I've just fixed this in 1.0.8rc2 for the 1.x series, I'm moving on to
2.x now.  I've commited it into CVS, if you want, just grab a whole new
nat-t/include/net/sock.h.fs2_4.patch file from the anoncvs server - 

http://anoncvs.openswan.org/cgi-
bin/viewcvs.cgi/*checkout*/openswan-2/nat-
t/include/net/sock.h.fs2_4.patch?rev=1.1.6.1

We'll release updates in a day or two when I've had more time to test it
against an array of kernels.

On Fri, 2004-11-19 at 18:24 -0800, Marc Spiegelman wrote:
> ?
> I get the following error when patching the new 2.4.28 kernel....
>  
> make nattpatch | (cd /usr/src/linux-2.4 && patch -p1)
> patching file include/net/sock.h
> Hunk #1 FAILED at 245.
> Hunk #2 succeeded at 661 (offset 71 lines).
> 1 out of 2 hunks FAILED -- saving rejects to file
> include/net/sock.h.rej
> patching file net/Config.in
> Hunk #1 succeeded at 103 (offset 15 lines).
> patching file net/ipv4/udp.c
> Hunk #1 succeeded at 810 (offset 23 lines).
> Hunk #2 succeeded at 830 (offset 23 lines).
> Hunk #3 succeeded at 1087 (offset 23 lines).
> lb:/usr/src/openswan-2.1.5#
> 
>  
>  
> Anyone know of a fix?
> _______________________________________________
> Users mailing list
> Users at openswan.org
> http://lists.openswan.org/mailman/listinfo/users



More information about the Users mailing list