Re: [manet-dlep-rg] Slight issue with Data items

Henning Rogge <hrogge@gmail.com> Mon, 10 March 2014 19:23 UTC

Return-Path: <hrogge@gmail.com>
X-Original-To: manet-dlep-rg@ietfa.amsl.com
Delivered-To: manet-dlep-rg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9AB2B1A065B for <manet-dlep-rg@ietfa.amsl.com>; Mon, 10 Mar 2014 12:23:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=ham
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 HhOUQt5xG9hJ for <manet-dlep-rg@ietfa.amsl.com>; Mon, 10 Mar 2014 12:23:43 -0700 (PDT)
Received: from mail-qc0-x229.google.com (mail-qc0-x229.google.com [IPv6:2607:f8b0:400d:c01::229]) by ietfa.amsl.com (Postfix) with ESMTP id 4641B1A0643 for <manet-dlep-rg@ietf.org>; Mon, 10 Mar 2014 12:23:40 -0700 (PDT)
Received: by mail-qc0-f169.google.com with SMTP id i17so8377427qcy.28 for <manet-dlep-rg@ietf.org>; Mon, 10 Mar 2014 12:23:34 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=vgdVWyIIq+LDVs50g4Zh+JwkHEr1RL/GXylZFSM9vIA=; b=k9KQXbqZL8Zn2sIE0Jt1MgNgIG0iayYSgAX3NBLFzUGzHGhghhtEB3YWWL3bRWWhbe +u1J2qAb+617xUgOa9KrObVR78JtTTyHFs7Sg28WIUxIF3a/j5JkznPODu1hKCHg4GX4 GB55uwySOvRv5aNV73UY0KiaX9KPknvxlfJT7qTgjGxb9WodvROIq51a52yPmZqXz68n 1jZCDY+A1e15YweH+H4i227L/z2e/udPaDjefXDv+/mCiQbrXXL2QE/BB3SUpXJzk9SP +U1zZn8lrXN5ascKhODUqUgTlL3XB6UffxxigJDmspfaJohhr8uxT5s+LopcClb1joVS L40A==
X-Received: by 10.224.171.200 with SMTP id i8mr4566619qaz.96.1394479414763; Mon, 10 Mar 2014 12:23:34 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.224.120.66 with HTTP; Mon, 10 Mar 2014 12:23:14 -0700 (PDT)
In-Reply-To: <3007663E-E9AA-4D24-93B4-F8810C5471D4@cisco.com>
References: <38A5475DE83986499AEACD2CFAFC3F98FA6C8222@tss-server1.home.tropicalstormsoftware.com> <d5a2b437-1a21-4569-9b97-5048512604bc@SUCNPTEXC01.COM.AD.UK.DS.CORP> <B177F831FB91F242972D0C35F6A0733106FD04FB@SUCNPTEXM01.com.ad.uk.ds.corp> <3007663E-E9AA-4D24-93B4-F8810C5471D4@cisco.com>
From: Henning Rogge <hrogge@gmail.com>
Date: Mon, 10 Mar 2014 20:23:14 +0100
Message-ID: <CAGnRvuroF05-k0Kw9qyP5rAyqFu2y+RROa6MOMZWZG2ErNSwmw@mail.gmail.com>
To: "Stan Ratliff (sratliff)" <sratliff@cisco.com>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable
Archived-At: http://mailarchive.ietf.org/arch/msg/manet-dlep-rg/JuTJmTQqhd-0_8Z1Npo4BXgj9v0
Cc: "manet-dlep-rg@ietf.org Group, (manet-dlep-rg@ietf.org)" <manet-dlep-rg@ietf.org>, Rick Taylor <rick@tropicalstormsoftware.com>, "Taylor, Rick" <Rick.Taylor@cassidian.com>
Subject: Re: [manet-dlep-rg] Slight issue with Data items
X-BeenThere: manet-dlep-rg@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: DLEP Radio Group <manet-dlep-rg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/manet-dlep-rg>, <mailto:manet-dlep-rg-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/manet-dlep-rg/>
List-Post: <mailto:manet-dlep-rg@ietf.org>
List-Help: <mailto:manet-dlep-rg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/manet-dlep-rg>, <mailto:manet-dlep-rg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 10 Mar 2014 19:23:45 -0000

Don't we already have a list of "mandatory/optional" data items for each signal?

Maybe we should reword "unknown" into "neither defined as mandatory or
optional for a signal" ?

Henning Rogge

On Mon, Mar 10, 2014 at 6:52 PM, Stan Ratliff (sratliff)
<sratliff@cisco.com> wrote:
>
> On Mar 10, 2014, at 1:25 PM, "Taylor, Rick" <Rick.Taylor@cassidian.com> wrote:
>
>>
>>> I'll offer up a slight modification of the "London Rule" :  Experimental Data
>>> Items (and Vendor-specific TLVs) that are not supported by an
>>> implementation should be parsed (e.g. "stepped over') and silently dropped.
>>> Data Item TLVs that are not *understood* (e.g. TLV number not registered,
>>> or "reserved"), OR are out-of-context (like a Version TLV in a destination
>>> update message) should cause PEER_TERMINATION and closure of TCP
>>> session.
>>
>> That will rely on a clear list of every suitable data item TLV used with each signal, which might turn into an O(N^2) documentation nightmare.
>>
>> I was wondering about adding an 8bit context field to the TLV header: 8bit Type, 8bit Context, 16bit Length (seems to align nicely).
>>
>> Context: 1 = Discovery Data Item, 2 = Session Initiation/Termination Data Item, 3 = Peer Data Item, 4 = Link Data Item, plus the classic experimental and reserved spaces.
>>
>> This might be easier to specify, and reduces the London Rule to "Any data item received with a context field that does not match the context of the enclosing signal MUST result in PEER_TERMINATION", then all that is needed is to define the context of each signal, back to O(N) for those of you familiar with big-O notation.
>
> Hmmm... could be. Let me noodle on this a bit.
>
> Regards,
> Stan
>
>
>>
>> I know this seems like adding error checking to the protocol, but with Vendor Extensions and experimental TLVs a bit of error checking is no bad thing, just think of it as an FEC code...
>>
>> Alternatively you could consider Type and Context as one little endian 16bit value... or swap them around to make CTLV...
>>
>> Rick
>>
>> The information contained within this e-mail and any files attached to this e-mail is private and in addition may include commercially sensitive information. The contents of this e-mail are for the intended recipient only and therefore if you wish to disclose the information contained within this e-mail or attached files, please contact the sender prior to any such disclosure. If you are not the intended recipient, any disclosure, copying or distribution is prohibited. Please also contact the sender and inform them of the error and delete the e-mail, including any attached files from your system. Cassidian Limited, part of the Airbus Defence and Space division. Registered Office: Quadrant House, Celtic Springs, Coedkernew, Newport , NP10 8FZ. Registered in England and Wales under company number 04191036
>
> _______________________________________________
> manet-dlep-rg mailing list
> manet-dlep-rg@ietf.org
> https://www.ietf.org/mailman/listinfo/manet-dlep-rg