[Openswan Users] kernel patch NAT TRAVERSAL

vpn vpn at henryg.net
Mon Apr 7 19:34:56 EDT 2008


This is from net/ipv4/udp.c

     case UDP_ENCAP_ESPINUDP:
     case UDP_ENCAP_ESPINUDP_NON_IKE:         "line 1474"
        up->encap_type = val;

henryg

Julien DELEAN wrote:
> take a look at this file : net/ipv4/udp.c.rej in your kernel source 
> directory...
>
> Maybe it's only blank line or comment.
>
> Julien
>
> 2008/4/8, vpn <vpn at henryg.net <mailto:vpn at henryg.net>>:
>
>     Paul Wouters wrote:
>>     On Mon, 7 Apr 2008, vpn wrote:
>>
>>       
>>>     Subject: [Openswan Users] kernel patch NAT TRAVERSAL
>>>
>>>     I am trying to patch linux-2.6.22.19. I am following the instructions on
>>>     the wiki http://wiki.openswan.org/index.php/BuildingFromTarballsFor2/6
>>>
>>>     and/or the openswan book chapter 3. I have tried version 2.4.10, 2.4.12,
>>>     2.5.17 and 2.6.10. <http://2.6.10.> They all fail with similar output.
>>>
>>>         
>>
>>     Try: ftp://ftp.openswan.org/openswan/openswan-2.4.x.kernel-2.6.23-natt.patch
>>
>>       
>     Thanks Paul, for your quick reply, but No joy.
>
>     dev64:/usr/src# cd linux
>     dev64:/usr/src/linux# cat
>     ../openswan-2.4.x.kernel-2.6.23-natt.patch | patch -p1
>     patching file net/ipv4/Kconfig
>     Hunk #1 succeeded at 409 (offset 42 lines).
>     patching file net/ipv4/udp.c
>     Hunk #1 succeeded at 101 (offset -1 lines).
>     Hunk #2 succeeded at 1018 with fuzz 1 (offset 97 lines).
>     Hunk #3 FAILED at 1472.
>     Hunk #4 succeeded at 1870 (offset 94 lines).
>     1 out of 4 hunks FAILED -- saving rejects to file net/ipv4/udp.c.rej
>     patching file include/net/xfrmudp.h
>
>
>     _______________________________________________
>     Users at openswan.org <mailto:Users at openswan.org>
>     http://lists.openswan.org/mailman/listinfo/users
>     Building and Integrating Virtual Private Networks with Openswan:
>     http://www.amazon.com/gp/product/1904811256/104-3099591-2946327?n=283155
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openswan.org/pipermail/users/attachments/20080407/454f6a42/attachment.html 


More information about the Users mailing list