Re: [manet] Mail regarding draft-dlep-lid
Stan Ratliff <ratliffstan@gmail.com> Mon, 05 June 2017 13:58 UTC
Return-Path: <ratliffstan@gmail.com>
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 4C4851294E9 for <manet@ietfa.amsl.com>; Mon, 5 Jun 2017 06:58:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.698
X-Spam-Level:
X-Spam-Status: No, score=-2.698 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 B2PVDlPTOtzA for <manet@ietfa.amsl.com>; Mon, 5 Jun 2017 06:58:36 -0700 (PDT)
Received: from mail-it0-x233.google.com (mail-it0-x233.google.com [IPv6:2607:f8b0:4001:c0b::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 31619129516 for <manet@ietf.org>; Mon, 5 Jun 2017 06:58:33 -0700 (PDT)
Received: by mail-it0-x233.google.com with SMTP id m47so75744274iti.0 for <manet@ietf.org>; Mon, 05 Jun 2017 06:58:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=1iplsnGC4orwTWlwUcLxw5n240L83xcz+fFMG6IvEC8=; b=NRTso366ML0ad+zYGLtyIdqlmMif+KHtX7zmVQi/7NBvNMogCfs4L0JaclRQciic/m jIu82hSfJCJNgxjPnw0z04+MvQ+yloGHzvsUJRQlEHlZTd+LKR7Z4ZtFcYRK2jOGN+9R YmWeMGy6GWS91J1ftVK58rGc4/D0upPwyLc1MAikf3jwSowFytDps7A4bmTNpcXHWaNb liweAHhaVzrso/1thJD74+p0tDVoXGfPRV5tjulxqJv8RYJwi/9FVx7KmHliKtROO/md B0UlhFU1X3iNj2U4pJOXZBTB+EEj+3Z3jsKCaLzW6pQ9jFTiMRcCteMlJTCjNSf9dIn8 tl2Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=1iplsnGC4orwTWlwUcLxw5n240L83xcz+fFMG6IvEC8=; b=jd2LLvUwIGHQ0QyOpMlRHM5wrwlYkuBaMaAklJGZOi97RMKtw04FUlLUnUlWYozMC+ ryyaiUx050gUGuwdNPtET6K6B5gMutU9OBQQ7cbIuqm4S2QS/oFxL3gTiWu9u9jDC3s+ kupflIeV1Zu74ZZr4B2PWJkas2E0/xorpxShzsGOz4qmVpTimbPdrkd36YMvHocD+4+Z /RY/jk44cBKwLEZeiceuorg6JvT7WAklb8B5UEU4GkPLbZR51HidhDBTjGf/M8mkyYX3 sBBGcyMCZWfFqSS1EOFKZWCeCvjKPwZtf1Sl/Srv1brobkK+UO98CqoBI0nnLSMmG01h eGRQ==
X-Gm-Message-State: AODbwcAMG/gT4AR5tAEteZKOVevFAkuBW71reoksxuk+YX0UYWBOENj2 laFU7efqZ/xBO31420bwvrCKFoj6lA==
X-Received: by 10.107.139.214 with SMTP id n205mr10054584iod.178.1496671112367; Mon, 05 Jun 2017 06:58:32 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.79.27.205 with HTTP; Mon, 5 Jun 2017 06:58:31 -0700 (PDT)
In-Reply-To: <1496664069.3788.31.camel@tropicalstormsoftware.com>
References: <63448cdd41fa4c94a44a390dd10848a1@MLBXCH18.cs.myharris.net> <1496242619.3129.19.camel@tropicalstormsoftware.com> <61e159c5594246d8afa42b5ee5cda557@MLBXCH18.cs.myharris.net> <CALtoyonckmMUzLJtR=R5tw5TJNCi=2DXxXmvb+hugARmkOeQ9g@mail.gmail.com> <1496664069.3788.31.camel@tropicalstormsoftware.com>
From: Stan Ratliff <ratliffstan@gmail.com>
Date: Mon, 05 Jun 2017 09:58:31 -0400
Message-ID: <CALtoyokHwgnoR19Zw_BKDbhaRpx2bzguwZawwngzro4Qf6=3=Q@mail.gmail.com>
To: Rick Taylor <rick@tropicalstormsoftware.com>
Cc: "kmorga07@harris.com" <kmorga07@harris.com>, "manet@ietf.org" <manet@ietf.org>
Content-Type: multipart/alternative; boundary="94eb2c05b602ff9630055136e536"
Archived-At: <https://mailarchive.ietf.org/arch/msg/manet/ur-DtypSRdKZsb3FK0dVd31VJMk>
Subject: Re: [manet] Mail regarding draft-dlep-lid
X-BeenThere: manet@ietf.org
X-Mailman-Version: 2.1.22
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: Mon, 05 Jun 2017 13:58:39 -0000
On Mon, Jun 5, 2017 at 8:01 AM, Rick Taylor <rick@tropicalstormsoftware.com> wrote: > Stan, > > I think you're over-complicating this. Given a Data Item is a TLV, > then as long as the lengths are consistent on a per-session basis, I'd > be happy letting the modem implementer decide on the length. As far as > the router is concerned, it really doesn't matter. Zero-padding fixed > length fields seems a bit unwieldy... > I think some more is required. The consistent length is important, because I can see a router implementation wanting to use the LID as a search key in, for example, an AVL tree. Fixed-length keys are required there. And let's consider a failing case - At Destination Up for the first "link", the modem builds a TLV with length 4 and hands the router an integer. At Destination Up for a second link, the modem builds a TLV with length 6, and hands the router a MAC address... What then? If you "kill" the Destination, then which one? Or, in other words, which LID was "right" - the integer LID, or the MAC-based LID? Or, should the entire Peer Session be brought down (which, as we've already agreed, is an awfully big hammer)? My thinking was (and still is) - if you're going to call for "consistent" LIDs (length-wise), then you either have to explicitly state what that LID size is (and possibly be prepared to negotiate the LID size), or allocate sufficient "real-estate" to cover all the possibilities. Regards, Stan > > Rick > > > > On Sun, 2017-06-04 at 12:15 -0400, Stan Ratliff wrote: > > Hi, > > > > So, what about the notion of allocating a 64-bit quantity for the > > LID? That way, a MAC address would fit, and by definition, all LIDs > > would be the same length. We can specify the characteristics of the > > data in the LID (right-justify, fill character 0x00, etc). Or, we > > could even use the first octet of that 64-bit quantity as a set of > > bit flags to indicate what's in the LID (e.g., is it a MAC address, > > or an integer, or...) > > > > Regards, > > Stan > > > > > > On Fri, Jun 2, 2017 at 3:58 AM, Morgan, Keith <kmorga07@harris.com> > > wrote: > > > Hi, > > > > > > We have to provide the MAC address in the current protocol so we > > > think it makes sense to use it if Link ID's are accepted. > > > > > > I think all Link ID's should be the same length in a session, to > > > keep it simple. > > > > > > Regards > > > > > > Keith > > > > > > Keith Morgan > > > Director of Engineering > > > COMMUNICATION SYSTEMS / HARRIS DEFENCE LIMITED > > > Office: +44 (0)1256 383132 / Mobile: +44 (0)7917 012248 > > > www.harris.com / Keith.Morgan@Harris.com > > > Jays Close, Viables Estate, Basingstoke, Hampshire, RG22 4BA, > > > United Kingdom > > > > > > > > > > > > > > > > > > Registered in England No. 2803090 Harris Defence Limited a UK > > > Subsidiary of Harris Corporation, USA > > > CONFIDENTIALITY NOTICE: This email and any attachments may contain > > > material that is "Harris Proprietary Information" for the sole use > > > of the intended recipient. Any review, reliance, distribution, > > > disclosure, or forwarding without expressed permission is strictly > > > prohibited. If you are not the intended recipient, please contact > > > the sender and delete all copies without reading, printing, or > > > saving in any manner. Thank You. > > > > > > > > > -----Original Message----- > > > From: Rick Taylor [mailto:rick@tropicalstormsoftware.com] > > > Sent: 31 May 2017 15:57 > > > To: Morgan, Keith (Non U.S.); manet@ietf.org > > > Subject: Re: [manet] Mail regarding draft-dlep-lid > > > > > > Hi Keith, > > > > > > Comments inline... > > > > > > On Wed, 2017-05-31 at 13:30 +0000, Morgan, Keith wrote: > > > > Hello, > > > > > > > > I have been reviewing the proposed Link Identifier Extension to > > > DLEP > > > > and have the following comments: > > > > > > Thanks for the quick review! > > > > > > > > > > > The focus of the proposal appears to be to enable Routers to > > > identify > > > > where they cannot reach Destinations via the MAC address provided > > > in > > > > the Destination Up message. This would be the case with our > > > Modem. > > > > > > > > Our current implementation does use “sleight-of-hand” and will > > > report > > > > both the MAC address and IP address in the Destination Up > > > message, > > > > however the Destination is only reachable via its IP address. > > > > > > This is one of the use-cases I was trying to fix, so I'm glad it > > > helps. > > > > > > > > > > > The concept proposed appears sound; my immediate suggestion would > > > be > > > > to recommend a length of 6 bytes for the identifier, this would > > > allow > > > > the Modem to use the MAC address of the destination which should > > > > ensure uniqueness while allowing the router to determine how to > > > > address packets to the Destination based on the use of the Link > > > > Identifier Data Item. > > > > > > 4 is only RECOMMENDED. As a variable length field, Link Id's can > > > be any length, so if you want to use 6, that's fine. I only picked > > > 4 as I imagined people had integer values and felt I had to > > > recommend something to point people away from using SHA1 hashes or > > > something huge (although they still can). > > > > > > It's interesting that your Link Ids actually are MACs, but by using > > > Link Ids not MAC Address Data Items you are being explicit that the > > > MACs can't be used in frames. I hadn't thought of this use-case, > > > but I'm glad it works for you! > > > > > > One thing that is probably missing is a requirement that all Link > > > Ids should be the same length during a session. Do people think > > > this is a valid restriction? > > > > > > Cheers, > > > > > > Rick > > > _______________________________________________ > > > manet mailing list > > > manet@ietf.org > > > https://www.ietf.org/mailman/listinfo/manet > > >
- [manet] Mail regarding draft-dlep-lid Morgan, Keith
- Re: [manet] Mail regarding draft-dlep-lid Rick Taylor
- Re: [manet] Mail regarding draft-dlep-lid Morgan, Keith
- Re: [manet] Mail regarding draft-dlep-lid Stan Ratliff
- Re: [manet] Mail regarding draft-dlep-lid Rick Taylor
- Re: [manet] Mail regarding draft-dlep-lid Stan Ratliff
- Re: [manet] Mail regarding draft-dlep-lid Rick Taylor
- Re: [manet] Mail regarding draft-dlep-lid Stan Ratliff
- Re: [manet] DLEP LID lengths Rick Taylor
- Re: [manet] DLEP LID lengths Stan Ratliff
- Re: [manet] DLEP LID lengths Morgan, Keith
- Re: [manet] DLEP LID lengths Rick Taylor
- Re: [manet] DLEP LID lengths Rick Taylor
- Re: [manet] DLEP LID lengths Stan Ratliff