[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20070324132911.GA5629@2ka.mipt.ru>
Date: Sat, 24 Mar 2007 16:29:11 +0300
From: Evgeniy Polyakov <johnpol@....mipt.ru>
To: linux@...izon.com
Cc: johnpol.2ka.mipt.ru@...izon.com, netdev@...r.kernel.org
Subject: Re: RFC: Established connections hash function
On Sat, Mar 24, 2007 at 08:26:58AM -0400, linux@...izon.com (linux@...izon.com) wrote:
> > Result with jenkins:
> > 1 23880
> > 2 12108
> > 3 4040
> > 4 1019
> > 5 200
> > 6 30
> > 7 8
> > 8 1
> >
> > Xor:
> > 1 65536
>
> Precisely. This means that the Xor hash SUCKS, because its output is conspicuously
> non-random.
XOR hash was specially designed for network environment, so it has the
ever best result (in this scenario, but it can be too easily controlled by attacker).
It is not general purpose hash.
--
Evgeniy Polyakov
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists