From owner-freebsd-hackers@FreeBSD.ORG Wed Nov 15 14:35:38 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C75B416A416 for ; Wed, 15 Nov 2006 14:35:38 +0000 (UTC) (envelope-from joerg@britannica.bec.de) Received: from antivirus.uni-rostock.de (mailrelay1.uni-rostock.de [139.30.8.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 65EC743D76 for ; Wed, 15 Nov 2006 14:27:59 +0000 (GMT) (envelope-from joerg@britannica.bec.de) Received: from antivirus.exch.rz.uni-rostock.de ([127.0.0.1]) by antivirus.uni-rostock.de with Microsoft SMTPSVC(6.0.3790.1830); Wed, 15 Nov 2006 15:27:44 +0100 Received: from antivirus.uni-rostock.de (unverified) by antivirus.exch.rz.uni-rostock.de (Clearswift SMTPRS 5.2.5) with ESMTP id for ; Wed, 15 Nov 2006 15:22:03 +0100 Received: from mail pickup service by antivirus.uni-rostock.de with Microsoft SMTPSVC; Wed, 15 Nov 2006 15:22:03 +0100 X-SCL: 4 62.43% Received: from mail.uni-rostock.de ([139.30.8.11]) by antivirus.uni-rostock.de with Microsoft SMTPSVC(6.0.3790.1830); Wed, 15 Nov 2006 15:21:59 +0100 Received: from britannica.bec.de (storm.stura.uni-rostock.de [139.30.252.72]) by mail2.uni-rostock.de (iPlanet Messaging Server 5.2 HotFix 2.14 (built Aug 8 2006)) with ESMTP id <0J8R00BBOZWMDX@mail.uni-rostock.de> for freebsd-hackers@freebsd.org; Wed, 15 Nov 2006 15:21:58 +0100 (MET) Received: by britannica.bec.de (Postfix, from userid 1000) id BAFAC41D1; Wed, 15 Nov 2006 15:21:54 +0100 (CET) Date: Wed, 15 Nov 2006 15:21:53 +0100 From: Joerg Sonnenberger In-reply-to: <200611151353.17417.max@love2party.net> To: freebsd-hackers@freebsd.org Mail-followup-to: freebsd-hackers@freebsd.org Message-id: <20061115142153.GB7039@britannica.bec.de> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: Mutt/1.5.13 (2006-08-11) References: <200611151126.kAFBQSQr090632@lurza.secnetix.de> <200611151353.17417.max@love2party.net> X-OriginalArrivalTime: 15 Nov 2006 14:21:59.0450 (UTC) FILETIME=[697787A0:01C708C1] Subject: Re: ipv6 connection hash function wanted ... X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Nov 2006 14:35:38 -0000 On Wed, Nov 15, 2006 at 01:53:12PM +0100, Max Laier wrote: > AFAICT, the attached has this property, but I have no idea if it adds > sufficient entropy to the result - it looks like it, though. You should do at least some bit shifting on the arguments as typical ipv6 addresses are by default MAC based and larger shipments of the same hardware often have similiar enough MACs to create collisions. I think what Olliver meant was more to use an input of 128bit for crc32, after xoring src, dst and secret. Joerg