public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
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>
Subject: Re: Linux 2.4.23-pre1
Date: Thu, 28 Aug 2003 16:56:35 +0200	[thread overview]
Message-ID: <3F4E1823.7060600@trash.net> (raw)
In-Reply-To: <200308280850.h7S8oxGx001862@pc.skynet.be>

[-- Attachment #1: Type: text/plain, Size: 744 bytes --]

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
>  
>

[-- Attachment #2: x.diff --]
[-- Type: text/plain, Size: 440 bytes --]

===== 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())

  reply	other threads:[~2003-08-28 14:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <pcKD.6BP.19@gated-at.bofh.it>
2003-08-28  8:50 ` Linux 2.4.23-pre1 Hans Lambrechts
2003-08-28 14:56   ` Patrick McHardy [this message]
2003-08-28 15:49     ` Hans Lambrechts
2003-08-27 17:52 Marcelo Tosatti
2003-08-27 21:09 ` Willy Tarreau

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3F4E1823.7060600@trash.net \
    --to=kaber@trash.net \
    --cc=hans.lambrechts@skynet.be \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netfilter-devel@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox