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

"Stan Ratliff (sratliff)" <sratliff@cisco.com> Mon, 10 March 2014 17:52 UTC

Return-Path: <sratliff@cisco.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 61F521A04B9 for <manet-dlep-rg@ietfa.amsl.com>; Mon, 10 Mar 2014 10:52:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -15.048
X-Spam-Level:
X-Spam-Status: No, score=-15.048 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.547, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] 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 WUbHHxlPbSao for <manet-dlep-rg@ietfa.amsl.com>; Mon, 10 Mar 2014 10:52:22 -0700 (PDT)
Received: from rcdn-iport-3.cisco.com (rcdn-iport-3.cisco.com [173.37.86.74]) by ietfa.amsl.com (Postfix) with ESMTP id 49B8B1A063F for <manet-dlep-rg@ietf.org>; Mon, 10 Mar 2014 10:52:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=2687; q=dns/txt; s=iport; t=1394473936; x=1395683536; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=KzWPfuGE2df/oUnkPUPRrsHUfLF9Eq4JhQmZpr/BIhA=; b=MqqDYyzNNF7w2ox0uLvfsm+zhO7e8uqLIQZh+Z32Dh96alNXNyOL9TQp QJlbSEVZzJKIPJbBaUXDLNfXYXNL+lKP1+oPf1Ga+nSmyRG2NvXd0kdCg 0DMWJGOknuUoNDbqFO0Qh9312jKhLoYcIH7RXo8QEsAbWBNph88lZ5az4 4=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AhYFAJL7HVOtJXG//2dsb2JhbABagwaBEsFBgR8WdIIlAQEBAwF5EAIBCEYyJQIEDgWHcQjPQBeOAwQhCCsHAoMigRQEmEWSLYMtgWlC
X-IronPort-AV: E=Sophos;i="4.97,625,1389744000"; d="scan'208";a="309306835"
Received: from rcdn-core2-4.cisco.com ([173.37.113.191]) by rcdn-iport-3.cisco.com with ESMTP; 10 Mar 2014 17:52:12 +0000
Received: from xhc-rcd-x15.cisco.com (xhc-rcd-x15.cisco.com [173.37.183.89]) by rcdn-core2-4.cisco.com (8.14.5/8.14.5) with ESMTP id s2AHqCew030400 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Mon, 10 Mar 2014 17:52:12 GMT
Received: from xmb-aln-x03.cisco.com ([169.254.6.172]) by xhc-rcd-x15.cisco.com ([173.37.183.89]) with mapi id 14.03.0123.003; Mon, 10 Mar 2014 12:52:11 -0500
From: "Stan Ratliff (sratliff)" <sratliff@cisco.com>
To: "Taylor, Rick" <Rick.Taylor@cassidian.com>
Thread-Topic: [manet-dlep-rg] Slight issue with Data items
Thread-Index: AQHPPH91PCp7d2LHg0SwkWmlhgboNJra3nSA//+uEzCAAGE4gA==
Date: Mon, 10 Mar 2014 17:52:11 +0000
Message-ID: <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>
In-Reply-To: <B177F831FB91F242972D0C35F6A0733106FD04FB@SUCNPTEXM01.com.ad.uk.ds.corp>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [64.102.41.104]
Content-Type: text/plain; charset="Windows-1252"
Content-ID: <AE824D5A66F94B48B0E9B76E3410CEAB@emea.cisco.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: http://mailarchive.ietf.org/arch/msg/manet-dlep-rg/TZcoHRmdHPVTFlrhk8z7IyYYM-A
Cc: "manet-dlep-rg@ietf.org Group, (manet-dlep-rg@ietf.org)" <manet-dlep-rg@ietf.org>, Rick Taylor <rick@tropicalstormsoftware.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 17:52:24 -0000

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