Re: [tsvwg] OCS option in draft-ietf-tsvwg-udp-options-07

Raffaele Zullo <raffaele@erg.abdn.ac.uk> Tue, 12 March 2019 16:43 UTC

Return-Path: <raffaele@erg.abdn.ac.uk>
X-Original-To: tsvwg@ietfa.amsl.com
Delivered-To: tsvwg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6AADA12785F for <tsvwg@ietfa.amsl.com>; Tue, 12 Mar 2019 09:43:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2SAZ4YJf19K9 for <tsvwg@ietfa.amsl.com>; Tue, 12 Mar 2019 09:43:17 -0700 (PDT)
Received: from pegasus.erg.abdn.ac.uk (pegasus.erg.abdn.ac.uk [137.50.19.135]) by ietfa.amsl.com (Postfix) with ESMTP id 7B3231310A6 for <tsvwg@ietf.org>; Tue, 12 Mar 2019 09:43:17 -0700 (PDT)
Received: from erg.abdn.ac.uk (at-www-1.erg.abdn.ac.uk [IPv6:2001:630:42:150::5]) by pegasus.erg.abdn.ac.uk (Postfix) with ESMTPSA id 0A3731B0013A; Tue, 12 Mar 2019 16:43:13 +0000 (GMT)
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Date: Tue, 12 Mar 2019 16:43:12 +0000
From: Raffaele Zullo <raffaele@erg.abdn.ac.uk>
To: Joe Touch <touch@strayalpha.com>
Cc: Derek Fawcus <dfawcus+lists-tsvwg@employees.org>, tsvwg <tsvwg@ietf.org>
In-Reply-To: <134F56B0-D4D2-4159-8268-2A9CDB9DD0CC@strayalpha.com>
References: <CACL_3VFg-EWCYHZ4+kYV30vjNzPs90ysAu5SCdLNb+9OPxE+3g@mail.gmail.com> <B1D19ABC-428B-42D8-AE97-BF3B967B1140@strayalpha.com> <20190311221839.GA92478@bugle.employees.org> <134F56B0-D4D2-4159-8268-2A9CDB9DD0CC@strayalpha.com>
Message-ID: <99f56dc354f68bb0fbacde4f439c1b6b@erg.abdn.ac.uk>
X-Sender: raffaele@erg.abdn.ac.uk
User-Agent: Roundcube Webmail/1.2.3
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/U_TO76YsdHzGTZxz-Ux7e0VMvng>
Subject: Re: [tsvwg] OCS option in draft-ietf-tsvwg-udp-options-07
X-BeenThere: tsvwg@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Transport Area Working Group <tsvwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tsvwg>, <mailto:tsvwg-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/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: Tue, 12 Mar 2019 16:43:19 -0000

On 2019-03-12 01:41, Joe Touch wrote:
>> On Mar 11, 2019, at 3:18 PM, Derek Fawcus 
>> <dfawcus+lists-tsvwg@employees.org> wrote:
>> 
>> The only use I could see for leaving surplus for non option use
>> would be in the case of there being an option indicating
>> 'the rest of the surplus is X', for some X.
>> 
>> So really what we lose is the ability to have an option of more
>> than 255 bytes

Hello,

To leave it open to Options longer than 255

Why not declare that a Length = 0 means that the 3rd and 4th bytes 
contain the Length of the Option?


> We can easily declare one final option that is “remainder”.
> 
> Note that comes with some caveats:
> - it wouldn’t have a length; like NOP, EOL, and OCS, it would just be a 
> flag.
> - it would not be defined as being included in the OCS (if it were, it
> would be a conventional option IMO), which means any use of that area
> would need to consider a checksum area that can be used like CCO (NOTE


AFAIU

EOL already works as an Option "remainder"

Raffaele Zullo