lkml.org 
[lkml]   [2003]   [Aug]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
SubjectRe: Linux 2.4.23-pre1
Date
Thanks Patrick,

forwarding and NAT works as before

greetings,
Hans

----- Original Message -----
From: "Patrick McHardy" <kaber@trash.net>
To: "Hans Lambrechts" <hans.lambrechts@skynet.be>
Cc: <linux-kernel@vger.kernel.org>; "Netfilter Development Mailinglist"
<netfilter-devel@lists.netfilter.org>
Sent: Thursday, August 28, 2003 4:56 PM
Subject: Re: Linux 2.4.23-pre1


> Please try this patch.
>
> Regards,
> Patrick
>
> Hans Lambrechts wrote:
>
> >Greetings,
> >
> >
> >
> >>Harald Welte:
> >> o [NETFILTER]: Backport iptables AH/ESP fixes from 2.6.x
> >> o [NETFILTER]: Fix uninitialized return in iptables tftp
> >> o [NETFILTER]: NAT optimization
> >> o [NETFILTER]: Conntrack optimization (LIST_DELETE)
> >>
> >>
> >>
> >
> >
> >I see this in my log:
> >
> >Aug 28 10:45:44 pc kernel: MASQUERADE: No route: Rusty's brain broke!
> >Aug 28 10:46:10 pc last message repeated 13 times
> >Aug 28 10:48:42 pc kernel: NET: 1 messages suppressed.
> >Aug 28 10:48:42 pc kernel: MASQUERADE: No route: Rusty's brain broke!
> >Aug 28 10:48:43 pc kernel: MASQUERADE: Route sent us somewhere else.
> >
> >Forwarding and masquerading doesn't work anymore.
> >
> >Hans
> >
> >
>


----------------------------------------------------------------------------
----


> ===== net/ipv4/netfilter/ipt_MASQUERADE.c 1.6 vs edited =====
> --- 1.6/net/ipv4/netfilter/ipt_MASQUERADE.c Tue Aug 12 11:30:12 2003
> +++ edited/net/ipv4/netfilter/ipt_MASQUERADE.c Thu Aug 28 16:54:15 2003
> @@ -90,6 +90,7 @@
> #ifdef CONFIG_IP_ROUTE_FWMARK
> key.fwmark = (*pskb)->nfmark;
> #endif
> + key.oif = 0;
> if (ip_route_output_key(&rt, &key) != 0) {
> /* Funky routing can do this. */
> if (net_ratelimit())
>


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:48    [W:0.056 / U:1.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site