Re: [manet] DLEP-17: Handling of unknown / unexpected messages
"Ratliff, Stanley" <sratliff@idirect.net> Thu, 10 December 2015 14:02 UTC
Return-Path: <sratliff@idirect.net>
X-Original-To: manet@ietfa.amsl.com
Delivered-To: manet@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 19D901B3257; Thu, 10 Dec 2015 06:02:41 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.91
X-Spam-Level:
X-Spam-Status: No, score=-1.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] 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 lYjRLboU15bC; Thu, 10 Dec 2015 06:02:37 -0800 (PST)
Received: from smtp2.idirect.net (smtp2.idirect.net [198.180.159.66]) (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 7F1AD1B3254; Thu, 10 Dec 2015 06:02:36 -0800 (PST)
IronPort-PHdr: 9a23:8HH5bR3Ww6xHooW0smDT+DRfVm0co7zxezQtwd8ZsekUKPad9pjvdHbS+e9qxAeQG96LtbQd1KGL6ujJYi8p39WoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6kO74TNaIBjjLw09fr2zQd6MyZ3onL3rs7ToICx2xxOFKYtoKxu3qQiD/uI3uqBFbpgL9x3Sv3FTcP5Xz247bXianhL7+9vitMU7q3cYk7sb+sVBSaT3ebgjBfwdVWx+cjN92Mq+lRTFSwqJ6TMmVWoZn1IcAxLC4x73dpj0uyr+8OF63X/edYfTZIwIaHDq1LtmVhLuwm9TLCI07mzRzMl5kL5KiBugvRZi2MjfZ4TDZ9RkeaaIN+kTWW5AUMgVHxddC4W4YppFR74aJ+9Eq4jzqXMPoRqkCAKwQuXi1mkb1TfNwaQm3rF5Qkn91ws6EodL6SyMoQ==
X-IronPort-AV: E=Sophos;i="5.20,408,1444708800"; d="scan'208,217";a="329203"
X-IPAS-Result: A2DNAQC9hGlW/8n6+gpeGQEBAQEPAQEBAYI+gR9uBrsbghkBDYFbBxcBhXYCHIFOFAEBAQEBAQEBgQmCLYIHAQEBAQMjCkwQAgEIDgMEAQEoAwICAh8RFAkIAgQOBQiIEgOtbI1QDYRFAQEBAQEBAQEBAQEBAQEBAQEBAQEBGIZYhHuCU4I+giw6E4E2BZZvAYtKgXGVNodaHwEBglMdgVZyhFOBBwEBAQ
From: "Ratliff, Stanley" <sratliff@idirect.net>
To: Henning Rogge <hrogge@gmail.com>, "MATTY, Steven" <steven.matty@airbus.com>
Thread-Topic: [manet] DLEP-17: Handling of unknown / unexpected messages
Thread-Index: AQHRMrQuMo44RBQj2kmfS+UdHBISJp7D+bywgABZZID//+2z8A==
Date: Thu, 10 Dec 2015 14:02:33 +0000
Message-ID: <6e04810b1c1147a49f52a3aee1062202@VAUSDITCHM2.idirect.net>
References: <56687AC2.9060801@labn.net> <CALtoyomCuki__fyNnhmYoKmBcrQSSuOPGgcg8N-txG1DSaUaAg@mail.gmail.com> <56689271.306@labn.net> <23834_1449694925_566896CB_23834_3552_3_CALtoyo=JqgbqsBPo5jG-UzFR56qmAEk9zbtDBoLQUoJfcuooew@mail.gmail.com> <D9712B947A4CCA43AB42F01B90AF1DEC011F5B8E2A@AUK52982.UKN.UKNROOT.ASTRIUM.CORP> <CAGnRvurPEbzhvFGL0OrtDTvSXN9FoCfEXAfXzcAOXM27oRHPsg@mail.gmail.com>
In-Reply-To: <CAGnRvurPEbzhvFGL0OrtDTvSXN9FoCfEXAfXzcAOXM27oRHPsg@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.250.250.20]
Content-Type: multipart/alternative; boundary="_000_6e04810b1c1147a49f52a3aee1062202VAUSDITCHM2idirectnet_"
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/manet/2ozdA17y-Y4j9A-X5TqgzSd6-kg>
Cc: MANET IETF <manet@ietf.org>, "draft-ietf-manet-dlep@ietf.org" <draft-ietf-manet-dlep@ietf.org>
Subject: Re: [manet] DLEP-17: Handling of unknown / unexpected messages
X-BeenThere: manet@ietf.org
X-Mailman-Version: 2.1.15
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: Thu, 10 Dec 2015 14:02:41 -0000
Henning, As long as the overall message length isn’t screwed up, you’d be OK. Just take that value and “step over” the next <blah> octets in the incoming TCP stream… that said, I must admit that I don’t like the idea. If the message is that messed up, this probably is the right time for the “nuclear option”. I just think we’ve gone a bit too far with all of the data items. Regards, Stan From: Henning Rogge [mailto:hrogge@gmail.com] Sent: Thursday, December 10, 2015 5:06 AM To: MATTY, Steven <steven.matty@airbus.com> Cc: Stan Ratliff <ratliffstan@gmail.com>; Lou Berger <lberger@labn.net>; MANET IETF <manet@ietf.org>; draft-ietf-manet-dlep@ietf.org Subject: Re: [manet] DLEP-17: Handling of unknown / unexpected messages On Thu, Dec 10, 2015 at 10:58 AM, MATTY, Steven <steven.matty@airbus.com<mailto:steven.matty@airbus.com>> wrote: From: manet [mailto:manet-bounces@ietf.org] On Behalf Of Stan Ratliff 1) My inclination is towards the “Be generous in what you accept” side of things. But there is a trade-off when you are being a friendly DLEP application that accepts any and all messages versus trying to ensure all DLEP implementations are compliant. If you tear down the session whenever you get an invalid DLEP message then it will become VERY obvious, VERY quickly that you are talking with a ‘bad’ implementation. However, let’s say that this implementation on a router is no longer supported but is actually very useful in everything else it does right. Would it be an option to introduce an [optional] NACK DLEP message type so that you can report to the sender “Hey, you sent me this and something was up there” rather than just a silent discard? The problem is you cannot be sure that the message was not malformed if something goes wrong... which means you don't know where to start the next message in the incoming TCP stream. Henning Rogge _____________________________________________________ This electronic message and any files transmitted with it contains information from iDirect, which may be privileged, proprietary and/or confidential. It is intended solely for the use of the individual or entity to whom they are addressed. If you are not the original recipient or the person responsible for delivering the email to the intended recipient, be advised that you have received this email in error, and that any use, dissemination, forwarding, printing, or copying of this email is strictly prohibited. If you received this email in error, please delete it and immediately notify the sender. _____________________________________________________
- [manet] DLEP-17: Handling of unknown / unexpected… Lou Berger
- Re: [manet] DLEP-17: Handling of unknown / unexpe… Stan Ratliff
- Re: [manet] DLEP-17: Handling of unknown / unexpe… Lou Berger
- Re: [manet] DLEP-17: Handling of unknown / unexpe… Stan Ratliff
- Re: [manet] DLEP-17: Handling of unknown / unexpe… Henning Rogge
- Re: [manet] DLEP-17: Handling of unknown / unexpe… Lou Berger
- Re: [manet] DLEP-17: Handling of unknown / unexpe… Henning Rogge
- Re: [manet] DLEP-17: Handling of unknown / unexpe… A .Riley Eller
- Re: [manet] DLEP-17: Handling of unknown / unexpe… Lou Berger
- Re: [manet] DLEP-17: Handling of unknown / unexpe… MATTY, Steven
- Re: [manet] DLEP-17: Handling of unknown / unexpe… Henning Rogge
- Re: [manet] DLEP-17: Handling of unknown / unexpe… Ratliff, Stanley