linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: 2.4.22-bk2 and 2.4.23-pre1 broke routing
@ 2003-08-28 14:36 Marcelo Tosatti
  2003-08-28 16:01 ` Patrick McHardy
  0 siblings, 1 reply; 5+ messages in thread
From: Marcelo Tosatti @ 2003-08-28 14:36 UTC (permalink / raw)
  To: Robert L. Harris, David S. Miller, lkml


David?


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

I'm running 2.4.22 now and have a NAT behind my firewall as well as IPv6
happily run through unixcore.com.  I upgraded to 2.4.22-bk2 last night
to fix an odd problem where I can't ssh-6 to one host.  All of a sudden
it all works within the nat but nothing behind the firewall can get out
from behind to the real work though the firewall still can.  Recompiled
trying 2.4.23-pre1 and I get the exact same behavior.  All 3 use the
same .config file.

The only noticable change I can see is a bunch of messages:

Aug 27 22:09:10 wally kernel: MASQUERADE: No route: Rusty's brain broke!
Aug 27 22:09:16 wally kernel: MASQUERADE: No route: Rusty's brain broke!
Aug 27 22:09:16 wally kernel: MASQUERADE: No route: Rusty's brain broke!


As soon as I reverted to 2.4.22 everything works great again.  Attaching
my .config.  Please contact me directly if you need any additional
testing done.

Dual AMD Athalon
512Megs of ram
00:0a.1 I2O: Distributed Processing Technology SmartRAID V Controller (rev
02)
  (Adaptec I20 SCSI controller, no hardware or software raid in use
though)
00:0c.0 Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100] (rev
02)
00:0d.0 Ethernet controller: Lite-On Communications Inc LNE100TX (rev 20)

Robert


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 2.4.22-bk2 and 2.4.23-pre1 broke routing
  2003-08-28 14:36 2.4.22-bk2 and 2.4.23-pre1 broke routing Marcelo Tosatti
@ 2003-08-28 16:01 ` Patrick McHardy
  2003-08-28 23:21   ` David S. Miller
  0 siblings, 1 reply; 5+ messages in thread
From: Patrick McHardy @ 2003-08-28 16:01 UTC (permalink / raw)
  To: Marcelo Tosatti; +Cc: Robert L. Harris, David S. Miller, lkml

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

It's fixed by this patch. (tested by Hans Lambrechts).

Best regards,
Patrick

Marcelo Tosatti wrote:

>David?
>
>
>---------------------------
>
>I'm running 2.4.22 now and have a NAT behind my firewall as well as IPv6
>happily run through unixcore.com.  I upgraded to 2.4.22-bk2 last night
>to fix an odd problem where I can't ssh-6 to one host.  All of a sudden
>it all works within the nat but nothing behind the firewall can get out
>from behind to the real work though the firewall still can.  Recompiled
>trying 2.4.23-pre1 and I get the exact same behavior.  All 3 use the
>same .config file.
>
>The only noticable change I can see is a bunch of messages:
>
>Aug 27 22:09:10 wally kernel: MASQUERADE: No route: Rusty's brain broke!
>Aug 27 22:09:16 wally kernel: MASQUERADE: No route: Rusty's brain broke!
>Aug 27 22:09:16 wally kernel: MASQUERADE: No route: Rusty's brain broke!
>
>  
>

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 2.4.22-bk2 and 2.4.23-pre1 broke routing
  2003-08-28 16:01 ` Patrick McHardy
@ 2003-08-28 23:21   ` David S. Miller
  0 siblings, 0 replies; 5+ messages in thread
From: David S. Miller @ 2003-08-28 23:21 UTC (permalink / raw)
  To: Patrick McHardy; +Cc: marcelo, Robert.L.Harris, linux-kernel

On Thu, 28 Aug 2003 18:01:54 +0200
Patrick McHardy <kaber@trash.net> wrote:

> It's fixed by this patch. (tested by Hans Lambrechts).

Please submit this fix to the netfilter maintainers, I'd
like them to review the change and submit it to me.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 2.4.22-bk2 and 2.4.23-pre1 broke routing
  2003-08-28 14:05 Robert L. Harris
@ 2003-08-28 14:55 ` Patrick McHardy
  0 siblings, 0 replies; 5+ messages in thread
From: Patrick McHardy @ 2003-08-28 14:55 UTC (permalink / raw)
  To: Robert L. Harris; +Cc: Linux-Kernel, Netfilter Development Mailinglist

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

Please try this patch, i think it should fix it.

Regards,
Patrick

Robert L. Harris wrote:

>I'm running 2.4.22 now and have a NAT behind my firewall as well as IPv6
>happily run through unixcore.com.  I upgraded to 2.4.22-bk2 last night
>to fix an odd problem where I can't ssh-6 to one host.  All of a sudden
>it all works within the nat but nothing behind the firewall can get out
>from behind to the real work though the firewall still can.  Recompiled
>trying 2.4.23-pre1 and I get the exact same behavior.  All 3 use the
>same .config file.
>
>The only noticable change I can see is a bunch of messages:
>
>Aug 27 22:09:10 wally kernel: MASQUERADE: No route: Rusty's brain broke!
>Aug 27 22:09:16 wally kernel: MASQUERADE: No route: Rusty's brain broke!
>Aug 27 22:09:16 wally kernel: MASQUERADE: No route: Rusty's brain broke!
>
>
>As soon as I reverted to 2.4.22 everything works great again.  Attaching
>my .config.  Please contact me directly if you need any additional
>testing done.
>  
>

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* 2.4.22-bk2 and 2.4.23-pre1 broke routing
@ 2003-08-28 14:05 Robert L. Harris
  2003-08-28 14:55 ` Patrick McHardy
  0 siblings, 1 reply; 5+ messages in thread
From: Robert L. Harris @ 2003-08-28 14:05 UTC (permalink / raw)
  To: Linux-Kernel

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



I'm running 2.4.22 now and have a NAT behind my firewall as well as IPv6
happily run through unixcore.com.  I upgraded to 2.4.22-bk2 last night
to fix an odd problem where I can't ssh-6 to one host.  All of a sudden
it all works within the nat but nothing behind the firewall can get out
from behind to the real work though the firewall still can.  Recompiled
trying 2.4.23-pre1 and I get the exact same behavior.  All 3 use the
same .config file.

The only noticable change I can see is a bunch of messages:

Aug 27 22:09:10 wally kernel: MASQUERADE: No route: Rusty's brain broke!
Aug 27 22:09:16 wally kernel: MASQUERADE: No route: Rusty's brain broke!
Aug 27 22:09:16 wally kernel: MASQUERADE: No route: Rusty's brain broke!


As soon as I reverted to 2.4.22 everything works great again.  Attaching
my .config.  Please contact me directly if you need any additional
testing done.

Dual AMD Athalon
512Megs of ram
00:0a.1 I2O: Distributed Processing Technology SmartRAID V Controller (rev 02)
  (Adaptec I20 SCSI controller, no hardware or software raid in use though)
00:0c.0 Ethernet controller: Intel Corp. 82557/8/9 [Ethernet Pro 100] (rev 02)
00:0d.0 Ethernet controller: Lite-On Communications Inc LNE100TX (rev 20)

Robert


:wq!
---------------------------------------------------------------------------
Robert L. Harris                     | GPG Key ID: E344DA3B
                                         @ x-hkp://pgp.mit.edu
DISCLAIMER:
      These are MY OPINIONS ALONE.  I speak for no-one else.

Life is not a destination, it's a journey.
  Microsoft produces 15 car pileups on the highway.
    Don't stop traffic to stand and gawk at the tragedy.

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-08-28 23:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-28 14:36 2.4.22-bk2 and 2.4.23-pre1 broke routing Marcelo Tosatti
2003-08-28 16:01 ` Patrick McHardy
2003-08-28 23:21   ` David S. Miller
  -- strict thread matches above, loose matches on Subject: below --
2003-08-28 14:05 Robert L. Harris
2003-08-28 14:55 ` Patrick McHardy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).