[Tsvwg] algorithm 5 (was Re: WGLC for Port Randomization starts now (April 1st))

Mark Allman <mallman@icir.org> Wed, 27 May 2009 03:43 UTC

Return-Path: <mallman@icir.org>
X-Original-To: tsvwg@core3.amsl.com
Delivered-To: tsvwg@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id AD2F23A6D1D for <tsvwg@core3.amsl.com>; Tue, 26 May 2009 20:43:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.462
X-Spam-Level:
X-Spam-Status: No, score=-2.462 tagged_above=-999 required=5 tests=[AWL=0.137, BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BBSG6KEMuf2N for <tsvwg@core3.amsl.com>; Tue, 26 May 2009 20:43:01 -0700 (PDT)
Received: from pork.ICSI.Berkeley.EDU (pork.ICSI.Berkeley.EDU [192.150.186.19]) by core3.amsl.com (Postfix) with ESMTP id EE62B3A6D6A for <tsvwg@ietf.org>; Tue, 26 May 2009 20:43:01 -0700 (PDT)
Received: from guns.icir.org (adsl-69-222-35-58.dsl.bcvloh.ameritech.net [69.222.35.58]) by pork.ICSI.Berkeley.EDU (8.12.11.20060308/8.12.11) with ESMTP id n4R3NDmA017104; Tue, 26 May 2009 20:23:13 -0700
Received: from lawyers.icir.org (unknown [69.222.35.58]) by guns.icir.org (Postfix) with ESMTP id 66FD83A59F67; Tue, 26 May 2009 23:23:07 -0400 (EDT)
Received: from lawyers.icir.org (localhost [127.0.0.1]) by lawyers.icir.org (Postfix) with ESMTP id 2B09A293722; Tue, 26 May 2009 23:23:08 -0400 (EDT)
To: Fernando Gont <fernando@gont.com.ar>
From: Mark Allman <mallman@icir.org>
In-Reply-To: <4A1C6D04.2090709@gont.com.ar>
Organization: International Computer Science Institute (ICSI)
Song-of-the-Day: Lawyers, Guns and Money
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="--------ma45596-1"; micalg="pgp-sha1"; protocol="application/pgp-signature"
Date: Tue, 26 May 2009 23:23:08 -0400
Sender: mallman@icir.org
Message-Id: <20090527032308.2B09A293722@lawyers.icir.org>
Cc: Alfred Hönes <ah@tr-sys.de>, "James M. Polk" <jmpolk@cisco.com>, tsvwg <tsvwg@ietf.org>
Subject: [Tsvwg] algorithm 5 (was Re: WGLC for Port Randomization starts now (April 1st))
X-BeenThere: tsvwg@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: mallman@icir.org
List-Id: Transport Area Working Group <tsvwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/tsvwg>, <mailto:tsvwg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/tsvwg>
List-Post: <mailto:tsvwg@ietf.org>
List-Help: <mailto:tsvwg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tsvwg>, <mailto:tsvwg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 27 May 2009 03:43:02 -0000

> >   - 3.3.5: The algorithm is wrong.  This is my fault.  The paper is not
> >     clear.  Alas.  When a collision is found we do not increment by one,
> >     but choose a new random increment.  This is just not discussed in
> >     the paper, but should have been.  However, I looked at the code for
> >     my simulator and that is how I did it.
> 
> Any specific reason for this approach instead of the one described ni
> the port randomization I-D?

Let's backup and make sure we make something clear... I didn't somehow
mis-implement A5 in my tests.  The I-D is wrong.  (It is my fault the
I-D is wrong.  The paper is not clear enough.)  So, I'd prefer if these
were synced up just to avoid confusion.  If you want to do a riff, call
it something else.

> My take is that the one in our I-D could be better in terms of
> collisions of connection-id's.

I actually don't think it matters.  Look at the difference between A1
and A2.  Basically, there isn't any difference in the collision rate.
Sometimes A1 is better, sometimes A2 is better.  I'd expect the same
thing in the case of A5 and some inc-by-one riff.

allman