From: Vijaya Chandra Vupputuri <vijay@tachyontech.net>
To: KOVACS Krisztian <hidden@balabit.hu>
Cc: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>,
netfilter-devel <netfilter-devel@lists.netfilter.org>,
Henrik Nordstrom <hno@marasystems.com>
Subject: Re: More on LIST_DELETE message with kernels 2.4.23 through 2.4.25
Date: Wed, 17 Mar 2004 17:19:59 +0530 [thread overview]
Message-ID: <1079524199.5058.18.camel@vijay> (raw)
In-Reply-To: <1079522164.812.93.camel@nienna.balabit>
Hi,
I was lazy enough to send a mail to the list instead of rebooting my
test box with a 2.4.23 kernel ;) ('ve had actually disabled conntrack
for the 2.4.23 kernel, so i'd done the test previously only with the
default redhat kernel)
This time with 2.4.23, after trying to make the local connection, I
tried viewing the conntrack entries (/proc/net/ip_conntrack) and the
system happily crashed.
Regards,
Vijaya Chandra Vupputuri,
Tachyon Technologies.
On Wed, 2004-03-17 at 16:46, KOVACS Krisztian wrote:
> Hi,
>
> On Wed, 2004-03-17 at 10:38, Vijaya Chandra Vupputuri wrote:
> > 've tried to do the same but I don't seem to have any problem on a test
> > box with redhat 7.3 (2.4.18-3)
>
> I think the problem is present only on kernels > 2.4.22. This is
> because of a fix in 2.4.23 which changed when alloc_null_binding() is
> called. In 2.4.22, alloc_null_binding() is called even when
> CONFIG_IP_NF_LOCAL_NAT is off, while in 2.4.23 (and above) it's only
> called when CONFIG_IP_NF_LOCAL_NAT is turned on. I don't know if it
> matters or not with respect to this problem.
>
> > If I understood what you said properly the following is your setup,
> > the ip of the test box is 10.1.0.1 and you have a lan 10.1.0.0/16 whose
> > gateway is 10.1.0.1
> > on 10.1.0.1 you redirect any traffic to port 80 to the local port 8080
>
> Yes, this is the setup. (Although this is a virtual setup using UML,
> but it shouldn't matter at all.)
>
> > now if 10.1.0.2 tries to connect to, say, 216.239.41.104 it gets
> > redirected to the port 8080 on 10.1.0.1
>
> Yes, in theory. To trigger the bug, you should connect _from_ the
> gateway to itself. (Note that the ruleset is somewhat flawed, since it
> should redirect only traffic coming in through the LAN interface.) I
> used netcat to connect:
>
> # nc 10.1.0.1 80
>
> > but, from 10.1.0.2, if you try to connect directly to port 80 on
> > 10.1.0.1, with your setup where nothing is listening on 80, the box
> > would hang. am i right?!
>
> It does not matter if there is something listening on port 80. I think
> it wasn't clear from my previous mail that you have to connect _from_
> the gateway, and not from the attached 10.1.0.0/16 LAN.
next prev parent reply other threads:[~2004-03-17 11:49 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-11 16:04 More on LIST_DELETE message with kernels 2.4.23 through 2.4.25 Jonathan Cooper
2004-03-11 16:50 ` Jonathan Cooper
2004-03-11 21:17 ` Kovacs Krisztian
2004-03-12 11:39 ` Jonathan Cooper
2004-03-12 13:06 ` KOVACS Krisztian
2004-03-12 13:30 ` Jozsef Kadlecsik
2004-03-16 17:28 ` KOVACS Krisztian
2004-03-17 9:38 ` Vijaya Chandra Vupputuri
2004-03-17 10:51 ` Henrik Nordstrom
2004-03-17 11:16 ` KOVACS Krisztian
2004-03-17 11:48 ` KOVACS Krisztian
2004-03-17 13:04 ` Henrik Nordstrom
2004-03-17 13:37 ` KOVACS Krisztian
2004-03-17 16:35 ` Henrik Nordstrom
2004-03-25 16:12 ` KOVACS Krisztian
2004-03-25 17:40 ` Henrik Nordstrom
2004-03-17 11:49 ` Vijaya Chandra Vupputuri [this message]
2004-03-11 17:26 ` Jozsef Kadlecsik
2004-03-11 19:33 ` Jonathan Cooper
2004-03-12 7:16 ` Jozsef Kadlecsik
2004-03-12 7:26 ` Henrik Nordstrom
2004-03-12 10:58 ` Jonathan Cooper
-- strict thread matches above, loose matches on Subject: below --
2004-04-01 3:10 wanghtb
2004-04-01 20:52 ` Henrik Nordstrom
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=1079524199.5058.18.camel@vijay \
--to=vijay@tachyontech.net \
--cc=hidden@balabit.hu \
--cc=hno@marasystems.com \
--cc=kadlec@blackhole.kfki.hu \
--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.