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

Randy Stewart <randall@lakerest.net> Thu, 28 May 2009 01:38 UTC

Return-Path: <randall@lakerest.net>
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 B03E928C142 for <tsvwg@core3.amsl.com>; Wed, 27 May 2009 18:38:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[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 4sZVAGGU5UVz for <tsvwg@core3.amsl.com>; Wed, 27 May 2009 18:38:47 -0700 (PDT)
Received: from lakerest.net (unknown [IPv6:2001:240:585:2:213:d4ff:fef3:2d8d]) by core3.amsl.com (Postfix) with ESMTP id 04A2328C10B for <tsvwg@ietf.org>; Wed, 27 May 2009 18:38:46 -0700 (PDT)
Received: from [192.168.1.118] (cpe-066-057-254-179.nc.res.rr.com [66.57.254.179]) (authenticated bits=0) by lakerest.net (8.14.3/8.14.3) with ESMTP id n4S1dh0s044796 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Wed, 27 May 2009 21:39:44 -0400 (EDT) (envelope-from randall@lakerest.net)
DKIM-Signature: a=rsa-sha1; c=simple/simple; d=lakerest.net; s=mail; t=1243474785; h=Cc:Message-Id:From:To:In-Reply-To:Content-Type: Content-Transfer-Encoding:Mime-Version:Subject:Date:References: X-Mailer; b=gq9ObcLv3/MNNodm0dD2FtITbF+m/S2EAE2BU/yviPk9R0v2TNHDQbz FauuDwW/4Fn09ak5mCNxYd2xgSlXfTA==
Message-Id: <D3F996EE-AF45-4E38-8DA8-5C43E98A3112@lakerest.net>
From: Randy Stewart <randall@lakerest.net>
To: Anantha Ramaiah <ananth@cisco.com>
In-Reply-To: <0C53DCFB700D144284A584F54711EC58075636B3@xmb-sjc-21c.amer.cisco.com>
Content-Type: text/plain; charset="US-ASCII"; format="flowed"; delsp="yes"
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Date: Wed, 27 May 2009 21:39:38 -0400
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>
X-Mailer: Apple Mail (2.935.3)
Cc: "James Polk (jmpolk)" <jmpolk@cisco.com>, mallman@icir.org, tsvwg <tsvwg@ietf.org>, Fernando Gont <fernando@gont.com.ar>, Joe Touch <touch@ISI.EDU>
Subject: Re: [Tsvwg] WGLC for Port Randomization starts now (April 1st)
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 01:38:48 -0000

Not getting into the details of vtags.. I think you hit
upon the key point. If you are doing time-wait.. you are
doing time-wait on vtags... aka: 32 bit numbers.

An IP address/Port is NEVER blocked from re-use right away
like it can be in TCP due to time-wait. This was always
one of the most irritating things I did not like in TCP. I
understand the need for it.. but I have been known (in past
lives) while testing things (in a lab) to reboot a machine to
get out of time-wait (due to frustration ;-D)

R
On May 27, 2009, at 9:20 PM, Anantha Ramaiah (ananth) wrote:

> Joe,
>
>>
>>>>> It needs to be pointed out at that, other transport
>> protocols like
>>>>> SCTP doesn't have the TIME-WAIT requirement since the protocol
>>>>> supports in-built mechanisms to deal with the need for the same.
>>>> SCTP has a TIME WAIT state for its connection IDs (socket
>>>
>>> TCB is gone, only the vtag can be in time-wait (some
>> implementations
>>> do it). TIME-WAIT state doesn't exist in the SCTP protocol. Pl see
>>> Randy's and my responses.
>>
>> While I agree that the term "TIME-WAIT" does not appear in
>
> Term, huh? TIME-WAIT is a state in TCP state machine, SCTP doesn't  
> have
> it. Period. As far as SCTP goes the 4 tuple (socket-pair) is never  
> held
> in TIME-WAIT unlike TCP, i.e, you don't have to hold the TCB hanging  
> in
> there for about 2MSL. Now, as Randy explained the vtag alone CAN be  
> held
> in some timewait(again not mandated by the protocol). This is not
> specified in SCTP RFC, nor is the timewait value. SCTP is robust  
> against
> time-wait hazards because of the vtag facility and that is what I  
> meant
> when I said the protocol has "inbuilt mechanisms" for dealing with  
> data
> corruption from an old incarnation (your crash ;-)
>
>> RFC 2690, there is a note:
>
> FWIW, RFC 2690 is obselete. Pl refer RFC 4960.
>
>>
>> " A new Verification Tag value MUST be used each time the
>>   endpoint tears-down and then re-establishes an association to the
>>   same peer."
>>
>> Can you explain how you know that the tag is new unless you
>> hold it for some period of time?
>
> Well, this is purely implementation specific, some imp. can simply  
> be ok
> having a sequential allocation for vtags. Agreed everything isn't
> infinite and there is a wrap up coming into play which can happen if a
> host is trying to make bajillions of connections (open/close), yes you
> can dream up such similar scenarios. The SCTP RFC doesn't say that  
> vtag
> generation needs to be sequential/random (rightfully so, since it is  
> all
> implementation details). The Key point is TCP mandates keeping state
> (active closer) needs to wait for 2MSL whereas SCTP the TCB can be
> freed, and vtag time-wait is optional, and SCTP does not suffer from
> time-wait hazards since vtag protects it.
>
> -Anantha
>

-----
Randall Stewart
randall@lakerest.net