Re: [middisc] TCP middlebox option requirements

"Frederick, Ron" <ron.frederick@bluecoat.com> Sat, 28 May 2011 20:35 UTC

Return-Path: <ron.frederick@bluecoat.com>
X-Original-To: middisc@ietfa.amsl.com
Delivered-To: middisc@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 64819E0752 for <middisc@ietfa.amsl.com>; Sat, 28 May 2011 13:35:39 -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.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YbVZxjA-Xk6A for <middisc@ietfa.amsl.com>; Sat, 28 May 2011 13:35:38 -0700 (PDT)
Received: from whisker.bluecoat.com (whisker.bluecoat.com [216.52.23.28]) by ietfa.amsl.com (Postfix) with ESMTP id D6802E06FD for <middisc@ietf.org>; Sat, 28 May 2011 13:35:38 -0700 (PDT)
Received: from PWSVL-EXCHTS-01.internal.cacheflow.com ([10.2.2.122]) by whisker.bluecoat.com (8.14.2/8.14.2) with ESMTP id p4SKZbLK004612 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Sat, 28 May 2011 13:35:37 -0700 (PDT)
Received: from PWSVL-EXCMBX-01.internal.cacheflow.com ([fe80::15bc:12e2:4676:340f]) by PWSVL-EXCHTS-01.internal.cacheflow.com ([fe80::5c50:e2ba:8115:4223%20]) with mapi id 14.01.0255.000; Sat, 28 May 2011 13:35:31 -0700
From: "Frederick, Ron" <ron.frederick@bluecoat.com>
To: "Eddy, Wesley M. (GRC-MS00)[ASRC AEROSPACE CORP]" <wesley.m.eddy@nasa.gov>
Thread-Topic: [middisc] TCP middlebox option requirements
Thread-Index: Acr9u8KhAqzztGtOS7Ogy2U9es0MEAAAJd3QRxSuIYAAA1T3LQDlQ7EA
Date: Sat, 28 May 2011 20:35:31 +0000
Message-ID: <0D3673BF-621F-48B0-AADA-E877A0FD103A@bluecoat.com>
References: <0C53DCFB700D144284A584F54711EC5809BD740A@xmb-sjc-21c.amer.cisco.com><4BF6CF8A.5030707@bluecoat.com><AF3CDDFAE1BB6C41B8F9EF3F4ADA9D11ADAB3597@MAILBOXES2.nbttech.com><4BFC6B29.1080706@bluecoat.com><2A7D4A79-0E08-480F-A67B-35338D226E14@bluecoat.com><AF3CDDFAE1BB6C41B8F9EF3F4ADA9D11ADB9D3D6@MAILBOXES2.nbttech.com><93730462-B3C5-4ACA-8C0A-C69F52BF0822@bluecoat.com> <C304DB494AC0C04C87C6A6E2FF5603DB47E64A333F@NDJSSCC01.ndc.nasa.gov>, <3A2E247DEDD847669D302BFF7ED0E69B@davidPC> <C304DB494AC0C04C87C6A6E2FF5603DB5AB9554DA5@NDJSSCC01.ndc.nasa.gov>
In-Reply-To: <C304DB494AC0C04C87C6A6E2FF5603DB5AB9554DA5@NDJSSCC01.ndc.nasa.gov>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [216.52.23.68]
Content-Type: text/plain; charset="us-ascii"
Content-ID: <5A4BFF406643674FA512A962CE4BC998@bluecoat.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailman-Approved-At: Sun, 29 May 2011 19:04:53 -0700
Cc: "middisc@ietf.org" <middisc@ietf.org>
Subject: Re: [middisc] TCP middlebox option requirements
X-BeenThere: middisc@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "Discussions on TCP option for middlebox discovery." <middisc.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/middisc>, <mailto:middisc-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/middisc>
List-Post: <mailto:middisc@ietf.org>
List-Help: <mailto:middisc-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/middisc>, <mailto:middisc-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 28 May 2011 20:35:39 -0000

On May 24, 2011, at 7:22 AM, Eddy, Wesley M. (GRC-MS00)[ASRC AEROSPACE CORP] wrote:
> 
> Hi David, PENs are a good thought in comparison to OUIs for this purpose.
> 
> I don't speak for the authors, but we have to be a bit sympathetic to the fact that there is only very limited amount of space available for TCP options and burning 32-bits for an enterprise number is going to eat away considerably from the space available to do something useful.
> 
> Personally, I would have no problem seeing a compact mechanism that's just big enough to allow expandability to some double-digit multiple of the number of current vendors, and also support falling back to using either a full Private Enterprise Number or an OUI once the more compacted space is exhausted.

Choosing to go with the OUI instead of a PEN here was mainly because OUIs only took 24 bits of space rather than 32 bits. which is the my understanding of the intended size of a PEN. However, even 24 bits was more than we wanted to pay in most cases, and that's what led to the different variants of the option, where the OUI was only used as a fallback.

If there are still objections to using a full byte for vendor code (due to this "wasting" a byte for standard options), I would propose one of the following:

- Allow standard type codes to be allocated starting with 0x00, in an increasing fashion and allow vendor codes to be allocated starting with 0xFE in a decreasing fashion. At some point, if it looks like too many vendor codes are being allocated, IANA can declare that no more are available and that additional vendors must use the 0xFF form with an OUI, leaving the remainder of the space for standard type codes.

or

- Allow both standard type codes and vendor codes to just be allocated in an increasing fashion from 0x00. As Andrew noted, the code determines everything about how to interpret the rest of the payload, so there's really no difference between the two from a decoding perspective.

Either way, I would want to see a rule that IANA would only ever allocate one single-byte vendor code to any vendor and it would be up to that vendor to allocate any necessary additional bits or bytes in the payload as needed to support multiple option types. If a vendor failed to plan ahead in this regard, they would need to either rework their options later to adjust for this or to allocate additional options using the 0xFF variant with their OUI.
-- 
Ron Frederick
ronf@bluecoat.com