All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [FWD: NAT counting]
@ 2003-02-10 22:34 Luck, Tony
  2003-02-11  7:49 ` Leonard Milcin, Jr
  0 siblings, 1 reply; 7+ messages in thread
From: Luck, Tony @ 2003-02-10 22:34 UTC (permalink / raw)
  To: linux-kernel; +Cc: laforge

> Linux is not 'being fixed', because I don't regard this as a bug - and
> only bugs need fixing.
> 
> I don't want to have the NAT code to _always_ rewrite the IP ID because
> of performance reasons.  I think we should leave the current behaviour
> and provide an _optional_ 'IPID' target for the mangle table.  So
> everybody who wants IP ID rewriting can use that target.

The fact that someone can deduce how many hosts are hidden behind
a NAT gateway may, or may not, be a bug ... depending on whether you
think that the NAT is supposed to keep this number a secret.  But there
is a real bug here too.  Suppose you have two hosts behind your NAT
that both have connections to the same host out in internet-land. And
further suppose that both those hosts have the same value for their
incrementing counter that they use for IPID.  And finally suppose that
they both send a fragmented packet to the same port on the same host.

If your NAT router isn't re-writing the IPID, can't the target host get
confused when it sees two fragments that have a source address from your
NAT machine, that have the same IPID ... but really don't belong together?

-Tony Luck  


^ permalink raw reply	[flat|nested] 7+ messages in thread
[parent not found: <DD755978BA8283409FB0087C39132BD1A07CC8@fmsmsx404.fm.intel.com.suse.lists.linux.kernel>]
* [Fwd: NAT counting]
@ 2003-02-06 15:35 Martin Josefsson
  2003-02-06 16:09 ` Kevin McConnell
  2003-02-09 10:00 ` Harald Welte
  0 siblings, 2 replies; 7+ messages in thread
From: Martin Josefsson @ 2003-02-06 15:35 UTC (permalink / raw)
  To: Netfilter-devel

Maybe this could be interesting to someone?

-----Forwarded Message-----

From: Stephen Clark <sclark46@earthlink.net>
To: linux-kernel <linux-kernel@vger.kernel.org>
Subject: NAT counting
Date: 06 Feb 2003 09:46:44 -0500

Hi all,

Is Linux being fixed to prevent this?


"how to remotely count the number of machines hiding behind a NAT box" 
<http://www.research.att.com/%7Esmb/papers/fnat.pdf> /


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

Never argue with an idiot. They drag you down to their level, then beat you with experience.

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

end of thread, other threads:[~2003-02-11 11:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-10 22:34 [FWD: NAT counting] Luck, Tony
2003-02-11  7:49 ` Leonard Milcin, Jr
2003-02-11 11:45   ` Harald Welte
     [not found] <DD755978BA8283409FB0087C39132BD1A07CC8@fmsmsx404.fm.intel.com.suse.lists.linux.kernel>
2003-02-10 22:52 ` Andi Kleen
  -- strict thread matches above, loose matches on Subject: below --
2003-02-06 15:35 [Fwd: " Martin Josefsson
2003-02-06 16:09 ` Kevin McConnell
2003-02-09 10:00 ` Harald Welte

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.