[manet] DLEP unspecified handling behavior

"Sipos, Brian J." <Brian.Sipos@jhuapl.edu> Wed, 17 August 2022 21:46 UTC

Return-Path: <Brian.Sipos@jhuapl.edu>
X-Original-To: manet@ietfa.amsl.com
Delivered-To: manet@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DD021C14F743 for <manet@ietfa.amsl.com>; Wed, 17 Aug 2022 14:46:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.106
X-Spam-Level:
X-Spam-Status: No, score=-2.106 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=jhuapl.edu
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id M3pB6-c0CVVo for <manet@ietfa.amsl.com>; Wed, 17 Aug 2022 14:46:04 -0700 (PDT)
Received: from aplegw01.jhuapl.edu (aplegw01.jhuapl.edu [128.244.251.168]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AD068C1524D1 for <manet@ietf.org>; Wed, 17 Aug 2022 14:46:04 -0700 (PDT)
Received: from pps.filterd (aplegw01.jhuapl.edu [127.0.0.1]) by aplegw01.jhuapl.edu (8.17.1.5/8.17.1.5) with ESMTP id 27HLhPce024394 for <manet@ietf.org>; Wed, 17 Aug 2022 17:46:02 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jhuapl.edu; h=from : to : subject : date : message-id : content-type : mime-version; s=JHUAPLDec2018; bh=Xo1OLK0oEefN6cyGjcKpiU6v/5aGSww2z3HVe56Jvnk=; b=kPkkQ3WKVC2HoVyLgxXV3L6NvrridudX/vMASXyb7Kye0OwWuvaDhAXT4AZ8Hds4Lpv1 Gt34Supdrn77Kk3ppQhjaz+/s+rZ5eAcGBM91MAD5nrZFn9fkJWsLYF+xIe+qacwGnCD g8Af9OGzFfVeOwdgPQx6+34y+kkJ7sknRTjgc+j3lqeVedPz+ehBeRdiR55VwSozgaW6 +T1KmJLwjmZF/RNHvli+n17Sk/6Nk/vB5nSgFETIeLXC22cbQbxh/UoFTB9osruXAA1n HhhJ33ek32h2u3AlF8aaT6m7YDamwJwLm/IwfdSJvqjHdSOHklbGNOX/0xsrTSzo3Iz5 +Q==
Received: from aplex26.dom1.jhuapl.edu (aplex26.dom1.jhuapl.edu [10.114.162.11]) by aplegw01.jhuapl.edu (PPS) with ESMTPS id 3hx5093wjh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for <manet@ietf.org>; Wed, 17 Aug 2022 17:46:02 -0400
Received: from APLEX21.dom1.jhuapl.edu (10.114.162.6) by APLEX26.dom1.jhuapl.edu (10.114.162.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.9; Wed, 17 Aug 2022 17:46:01 -0400
Received: from APLEX21.dom1.jhuapl.edu ([fe80::61c3:f0b7:2fc7:8018]) by APLEX21.dom1.jhuapl.edu ([fe80::61c3:f0b7:2fc7:8018%5]) with mapi id 15.02.1118.009; Wed, 17 Aug 2022 17:46:01 -0400
From: "Sipos, Brian J." <Brian.Sipos@jhuapl.edu>
To: "manet@ietf.org" <manet@ietf.org>
Thread-Topic: DLEP unspecified handling behavior
Thread-Index: AdiygQ0GHmfIujp6Rj6cKmzngMu+fA==
Date: Wed, 17 Aug 2022 21:46:01 +0000
Message-ID: <14dba05a30954e208cb6b55d8cdee712@jhuapl.edu>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
x-originating-ip: [10.114.162.26]
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg="SHA1"; boundary="----=_NextPart_000_03F8_01D8B261.367C3070"
MIME-Version: 1.0
X-CrossPremisesHeadersFilteredBySendConnector: APLEX26.dom1.jhuapl.edu
X-OrganizationHeadersPreserved: APLEX26.dom1.jhuapl.edu
X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.883,Hydra:6.0.517,FMLib:17.11.122.1 definitions=2022-08-17_15,2022-08-16_02,2022-06-22_01
Archived-At: <https://mailarchive.ietf.org/arch/msg/manet/-aTBaUgJJ_bWWJHhW238iT8F3aA>
Subject: [manet] DLEP unspecified handling behavior
X-BeenThere: manet@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Mobile Ad-hoc Networks <manet.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/manet>, <mailto:manet-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/manet/>
List-Post: <mailto:manet@ietf.org>
List-Help: <mailto:manet-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/manet>, <mailto:manet-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 17 Aug 2022 21:46:08 -0000

All,

This seems like an errata item for DLEP RFC 8175, but it's really an
omission rather than an error in specific existing text. Currently the text
in Section 11.3 "DLEP Generic Data Item" indicates the correct TLV encoding
for each Data Item but it doesn't recommend how a receiver of a DLEP signal
or message should handle a case where a data item Value contains either more
or fewer octets than expected based on the Data Item Type. Some current
implementations ignore too-large Value (i.e. treat it as padding) while
others treat the signal/message as being malformed and throw the whole thing
away (or, worse, mishandle the Value and desync the decoder from the data
item alignment causing later phantom data items).

It seems like an issue processing an individual data item Value should not
cause the entire signal/message to be discarded, but maybe this is desirable
behavior.

 

The same kind of logic seems to also apply to signal Length field vs the
actual datagram size. Throw away the entire signal or decode the items you
can and process that? Treat any additional datagram octets as padding?

 

Any thoughts from the WG?

Thanks,

Brian S.