From: dmorris <dmorris@metavize.com>
To: netfilter-devel@lists.netfilter.org
Subject: Re: bug: -j REDIRECT broken with bridge in 2.6.0-test3
Date: Mon, 25 Aug 2003 16:24:23 -0700 [thread overview]
Message-ID: <3F4A9AA7.2070604@metavize.com> (raw)
In-Reply-To: <3F3AEDEF.2000108@metavize.com>
Does anyone have *any* idea where I could look to start solving this?
Can anyone confirm?
It is still present in 2.6.0-test4 on my test machines.
Thanks!
-dirk
dmorris wrote:
> bug: -j REDIRECT broken with bridge in 2.6.0-test3
>
> Sorry if this has already been reported, well known,
> or I'm doing something obviously wrong.
> Please email me if I can help, or give any other info.
>
> [1.] One line summary of the problem:
> -j REDIRECT does not work with a bridge in 2.6.0-test3
>
> [2.] Full description of the problem/report:
>
> -j REDIRECT --to-port 2000 works fine as a router, but not as a bridge
> this appeared sometime between 2.5.68 and 2.6.0-test3
>
> WORKING EXAMPLE:
> (A) <-----> (B) <-----> (C)
>
> where A is 10.0.0.10 and C is 10.10.10.10
> and B's left interface is 10.0.0.0/255.255.255.0
> and B's right interface is 10.10.10.0/255.255.255.0
> with echo 1 >proc/sys/net/ipv4/ip_forward
>
> On: B do the following
> iptables -t nat -A PREROUTING -p tcp --destination-port 7:7 -j
> REDIRECT --to-port 2000
> netcat -l -p 2000
>
> Then on C:
> telnet (A) 7
> <connects to netcat on B as expected>
>
> NON-WORKING EXAMPLE:
> (A) <-----> (B) <-----> (C)
>
> where A is 10.0.0.10 and C is 10.0.0.020
> and B is a bridge of IP 10.0.0.15
>
> On: B do the following
> iptables -t nat -A PREROUTING -p tcp --destination-port 7:7 -j
> REDIRECT --to-port 2000
> netcat -l -p 2000
>
> Then on C:
> telnet (A) 7
> Connecting ...
>
> The SYN just seems to get dropped somewhere.
> The SYN does not reach A (according to tcpdump)
>
>
> [3.] Keywords (i.e., modules, networking, kernel):
>
> networking, netfilter, ethernet bridge
>
> [4.] Kernel version (from /proc/version):
>
> Linux version 2.6.0-test3 (dmorris@bebe) (gcc version 3.3.1
> 20030626 (Debian prerelease)) #2 Wed Aug 13 12:59:35 PDT 2003
>
> [5.] Output of Oops.. message (if applicable) with symbolic information
> resolved (see Documentation/oops-tracing.txt)
>
> None
>
> [6.] A small shell script or example program which triggers the
> problem (if possible)
>
> Refer to above
>
> [7.] Environment
>
> The middle machine is described in depth at:
>
> http://neogenen.com/bugreport_details2.txt
>
>
next prev parent reply other threads:[~2003-08-25 23:24 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-14 2:03 bug: -j REDIRECT broken with bridge in 2.6.0-test3 dmorris
2003-08-25 23:24 ` dmorris [this message]
2003-08-26 6:12 ` Bart De Schuymer
2003-08-26 19:14 ` Bart De Schuymer
2003-10-06 22:13 ` Dirk Morris
2003-10-07 10:00 ` Harald Welte
2003-10-18 20:48 ` Bart De Schuymer
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=3F4A9AA7.2070604@metavize.com \
--to=dmorris@metavize.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.