[Openswan Users] Kernel-2.6.27 and nat-t patch

Sasa sasa at shoponweb.it
Tue Jun 23 12:54:57 EDT 2009


..with openswan-2.4.x.kernel-2.6.23-natt.patch I have this result:

[root at fw linux-2.6.27.24]# 
patch -p1<../openswan-2.4.x.kernel-2.6.23-natt.patch
patching file net/ipv4/Kconfig
Hunk #1 succeeded at 385 (offset 18 lines).
patching file net/ipv4/udp.c
Hunk #2 succeeded at 978 with fuzz 1 (offset 57 lines).
Hunk #3 succeeded at 1383 (offset 8 lines).
Hunk #4 FAILED at 1784.
1 out of 4 hunks FAILED -- saving rejects to file net/ipv4/udp.c.rej
The next patch would create the file include/net/xfrmudp.h,
which already exists!  Assume -R? [n] n
Apply anyway? [n] n
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file include/net/xfrmudp.h.rej
[root at fw linux-2.6.27.24]# 
patch -p1<../openswan-2.4.x.kernel-2.6.23-natt.patch
patching file net/ipv4/Kconfig
Reversed (or previously applied) patch detected!  Assume -R? [n]
Apply anyway? [n] y
Hunk #1 succeeded at 373 with fuzz 2 (offset 6 lines).
patching file net/ipv4/udp.c
Reversed (or previously applied) patch detected!  Assume -R? [n]
Apply anyway? [n] y
Hunk #1 FAILED at 102.
Hunk #2 succeeded at 1101 with fuzz 2 (offset 180 lines).
Hunk #3 FAILED at 1555.
Hunk #4 FAILED at 1956.
3 out of 4 hunks FAILED -- saving rejects to file net/ipv4/udp.c.rej
The next patch would create the file include/net/xfrmudp.h,
which already exists!  Assume -R? [n]
Apply anyway? [n] y
patching file include/net/xfrmudp.h
Patch attempted to create file include/net/xfrmudp.h, which already exists.
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file include/net/xfrmudp.h.rej
Thanks.

------

   Salvatore.



----- Original Message ----- 
From: "Paul Wouters" <paul at xelerance.com>
To: "Sasa" <sasa at shoponweb.it>
Cc: <users at openswan.org>
Sent: Tuesday, June 23, 2009 6:22 PM
Subject: Re: [Openswan Users] Kernel-2.6.27 and nat-t patch


> On Tue, 23 Jun 2009, Sasa wrote:
>
>> "Paul Wouters" wrote:
>>> Try using a mode modern version of the nat-t patch from the ftp server.
>>> openswan 2.4.13 was released when 2.6.18 or so was out....
>>
>> ..sorry but in:
>> ftp://ftp.openswan.org/openswan/
>> the latest nat-t patch that I have find is 
>> "openswan-2.4.13.kernel-2.6-natt.patch.gz", where I find the latest nat-t 
>> patch ?
>
> Try this one:
>
> ftp://ftp.openswan.org/openswan/openswan-2.4.x.kernel-2.6.23-natt.patch
>
> Paul
> 



More information about the Users mailing list