[Openswan Users] Failed Hunk NAT-T patch

Paul Wouters paul at xelerance.com
Fri Oct 20 15:43:59 EDT 2006


On Fri, 20 Oct 2006, conn intel wrote:

> By following your steps i am getting following output ::
>
> debian:/home/software/openswan/openswan-2.4.6# make nattpatch >
> /usr/src/kernel-source-2.6.8/natt.patch
> debian:/home/software/openswan/openswan-2.4.6# cd /usr/src/kernel-
> source-2.6.8
> debian:/usr/src/kernel-source-2.6.8# patch -p1 -s < natt.patch
> 2 out of 9 hunks FAILED -- saving rejects to file net/ipv4/udp.c.rej
>
> Now as you have suggested i have also tried old version natt patches but
> still in vain.. some of the failed outputs are as bellow.
>
> still waiting for your kind suggestions.. thank you.
>
> Ankur.
>
> Output of natt patch using 2.4.4 version :::
>
> patch -Np1 -i /home/winner/openswan-2.4.4.kernel-2.6-natt.patch
> The next patch would create the file include/net/xfrmudp.h,
> which already exists!  Skipping patch.

You are not patching a clean tree, but a tree that was already (partially)
patched. Start from scratch.

Paul
-- 
Building and integrating Virtual Private Networks with Openswan:
http://www.amazon.com/gp/product/1904811256/104-3099591-2946327?n=283155


More information about the Users mailing list