From owner-freebsd-hackers Sat Mar 1 17:52:33 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id RAA12760 for hackers-outgoing; Sat, 1 Mar 1997 17:52:33 -0800 (PST) Received: from pdx1.world.net (pdx1.world.net [192.243.32.18]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id RAA12755 for ; Sat, 1 Mar 1997 17:52:31 -0800 (PST) From: proff@suburbia.net Received: from suburbia.net (suburbia.net [203.4.184.1]) by pdx1.world.net (8.7.5/8.7.3) with SMTP id RAA28013 for ; Sat, 1 Mar 1997 17:54:15 -0800 (PST) Received: (qmail 2161 invoked by uid 110); 2 Mar 1997 01:51:40 -0000 Message-ID: <19970302015140.2160.qmail@suburbia.net> Subject: Re: ok, final sockhash changes, new diff In-Reply-To: <199703020040.TAA09403@jenolan.caipgeneral> from "David S. Miller" at "Mar 1, 97 07:40:50 pm" To: davem@jenolan.rutgers.edu (David S. Miller) Date: Sun, 2 Mar 1997 12:51:40 +1100 (EST) Cc: dg@root.com, netdev@roxanne.nuclecu.unam.mx, hackers@freebsd.org X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > address with the lower word...but perhaps this would be just extra > overhead (since your analysis seems to show the distribution is > already quite good). > > Keep in mind that if you don't consider the local address in the hash > you'll get screwed on machines with thousands of IP aliases doing > virtual web service for many blocks of class C's. No, you only need 8 bits of entropy if your hash table is 256 entries long. This is easily contained in the remote addr, remote port and local port. It doesn't matter how many thousands of virtual addr port 80's you have, because the same port at the same remote will not be connecting to them all at the same time. Infact you could probably get away with just using the remote port and remote addr. -- Prof. Julian Assange |If you want to build a ship, don't drum up people |together to collect wood and don't assign them tasks proff@iq.org |and work, but rather teach them to long for the endless proff@gnu.ai.mit.edu |immensity of the sea. -- Antoine de Saint Exupery