Re: [Tsvwg] Port Randomization issues summary

Joe Touch <touch@ISI.EDU> Thu, 28 May 2009 20:48 UTC

Return-Path: <touch@ISI.EDU>
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 2F0B63A6EA7 for <tsvwg@core3.amsl.com>; Thu, 28 May 2009 13:48:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.339
X-Spam-Level:
X-Spam-Status: No, score=-2.339 tagged_above=-999 required=5 tests=[AWL=0.260, 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 UqUG6NKn5AXI for <tsvwg@core3.amsl.com>; Thu, 28 May 2009 13:48:21 -0700 (PDT)
Received: from vapor.isi.edu (vapor.isi.edu [128.9.64.64]) by core3.amsl.com (Postfix) with ESMTP id A75373A6E27 for <tsvwg@ietf.org>; Thu, 28 May 2009 13:48:21 -0700 (PDT)
Received: from [128.9.184.170] ([128.9.184.170]) by vapor.isi.edu (8.13.8/8.13.8) with ESMTP id n4SKnSrV003320; Thu, 28 May 2009 13:49:30 -0700 (PDT)
Message-ID: <4A1EF8D8.9050603@isi.edu>
Date: Thu, 28 May 2009 13:49:28 -0700
From: Joe Touch <touch@ISI.EDU>
User-Agent: Thunderbird 2.0.0.21 (Windows/20090302)
MIME-Version: 1.0
To: Fernando Gont <fernando@gont.com.ar>
References: <20090415033307.F00C0CD585E@lawyers.icir.org> <4A037030.6040107@isi.edu> <0C53DCFB700D144284A584F54711EC58074EEED6@xmb-sjc-21c.amer.cisco.com> <4A1AB6EE.5080900@gont.com.ar> <0C53DCFB700D144284A584F54711EC58074EEF11@xmb-sjc-21c.amer.cisco.com> <4A1BF56D.3020709@isi.edu> <0C53DCFB700D144284A584F54711EC58074EF74C@xmb-sjc-21c.amer.cisco.com> <4A1D6F4E.2080005@isi.edu> <0C53DCFB700D144284A584F54711EC58075636B3@xmb-sjc-21c.amer.cisco.com> <4A1E10B9.3040408@isi.edu> <0C53DCFB700D144284A584F54711EC5807563761@xmb-sjc-21c.amer.cisco.com> <4A1E9922.2080007@isi.edu> <4A1EA0E7.4050309@isi.edu> <4A1EF737.20601@gont.com.ar>
In-Reply-To: <4A1EF737.20601@gont.com.ar>
X-Enigmail-Version: 0.95.7
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit
X-ISI-4-43-8-MailScanner: Found to be clean
X-MailScanner-From: touch@isi.edu
Cc: "James Polk (jmpolk)" <jmpolk@cisco.com>, "Anantha Ramaiah (ananth)" <ananth@cisco.com>, tsvwg <tsvwg@ietf.org>, mallman@icir.org
Subject: Re: [Tsvwg] Port Randomization issues summary
X-BeenThere: tsvwg@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
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: Thu, 28 May 2009 20:48:29 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



Fernando Gont wrote:
> Hello, Joe,
> 
>> 1) randomizing connection IDs helps protect against blind attacks
>>
>> 	- but ultimately the only way to avoid old segments
>> 	from interfering with new connections is to keep state
> 
> Yes. But... what does this have to do with port randomization?

It underscores the need to keep state in the endpoints, rather than just
trust that randomization will provide safety.

>> 	- randomness requires keeping more state at the endpoints
>> 	than sequential use of the ID space
> 
> Why?

If IDs are used in sequence, and endpoint can keep track of "do not use"
ones using two IDs (representing the range to be avoided). If IDs are
used randomly, then the endpoint needs a copy of each value to avoid.

>> 3) randomness is costly
>>
>> 	as SCTP demonstrated, asserting randomness may be better
>> 	done by referring to existing separate definitions
> 
> I didn't follow the recent discussion of TIME-WAIT state in SCTP, etc.
> Could you clarify this one?

See RFC4960, sec 5.3.1., which refers off to RFC4086 to define
randomness, rather than defining it within the SCTP spec.

Joe
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkoe+NgACgkQE5f5cImnZrs4bQCghb7UvpeaeumMbqAt6od61wDh
f74AoKWITAKu3eqis0uh/xGR308mu5ZI
=CqPW
-----END PGP SIGNATURE-----