[Openswan Users] patching problem

Albert Agusti aagusti at serialnet.net
Tue Oct 26 19:25:08 CEST 2004

Hi again,

About NAT-T rekey problem reported yesterday, Paul said:

> A patch for this by Andreas Stefan was applied to the latest CVS version.
> Either apply his patch to the source, or check out the latest CVS.
> Paul

I tried to patch clean source code of openswan2.2.0 with the patch sent
by andreas. I've changed de header of the patch file to reflect openswan
source tree instead of strongswan, but patching failed.
The file ipsec_doi is there but patch operation is rejected. I would
prefer to patch stable version 2.2.0 + patch than using dr (last CVS).
Is this possible ? what am I doing so bad ?

[root at smaug download]# patch -p0 --verbose < nat-t-bug.patch
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
|--- openswan-2.2.0/programs/pluto/ipsec_doi.c  Fri Sep 17 23:42:38 2004
|+++ openswan-2.2.0/programs/pluto/ipsec_doi.c  Sun Oct  3 21:12:27 2004
Patching file openswan-2.2.0/programs/pluto/ipsec_doi.c using Plan A...
Hunk #1 FAILED at 2963.
1 out of 1 hunk FAILED -- saving rejects to file

Thanks in advance


More information about the Users mailing list