[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130222001453.GC9671@order.stressinduktion.org>
Date: Fri, 22 Feb 2013 01:14:53 +0100
From: Hannes Frederic Sowa <hannes@...essinduktion.org>
To: Andi Kleen <andi@...stfloor.org>
Cc: David Miller <davem@...emloft.net>, eric.dumazet@...il.com,
netdev@...r.kernel.org, ncardwell@...gle.com, ycheng@...gle.com
Subject: Re: [PATCH] ipv6: use a stronger hash for tcp
On Thu, Feb 21, 2013 at 03:49:16PM -0800, Andi Kleen wrote:
> David Miller <davem@...emloft.net> writes:
> >
> > I bet we can consolidate this slightly, to make it less
> > expensive yet not give up much in terms of protection. Two
> > jhash3word()'s is quite a lot.
>
> jhash is not really the state of the art for general hashing anymore,
> murmur3 or cityhash are generally considered faster/possibly better.
murmur3 and cityhash are broken in terms of collision resistance. I have
not heard anything about jenkins being affected (but have not searched
either). SipHash is a relativly new hash function specifically designed
to protect against hashdos, but I fear it could be more expansive for very
small inputs: https://131002.net/siphash/
Greetings,
Hannes
--
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