Re: [manet] DLEP redundant Destination Ups

Stan Ratliff <ratliffstan@gmail.com> Sun, 11 August 2019 04:35 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 7FECA1208C8 for <manet@ietfa.amsl.com>; Sat, 10 Aug 2019 21:35:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.098
X-Spam-Level:
X-Spam-Status: No, score=-0.098 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-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 xmgLj1qQ51tI for <manet@ietfa.amsl.com>; Sat, 10 Aug 2019 21:34:56 -0700 (PDT)
Received: from mail-pg1-x52a.google.com (mail-pg1-x52a.google.com [IPv6:2607:f8b0:4864:20::52a]) (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 55EFF120255 for <manet@ietf.org>; Sat, 10 Aug 2019 18:38:53 -0700 (PDT)
Received: by mail-pg1-x52a.google.com with SMTP id o13so47718856pgp.12 for <manet@ietf.org>; Sat, 10 Aug 2019 18:38:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=z8af4HVKU4QQ/jIyfIqALr9yHSVTk/Zs11j/EzHSCds=; b=SpEYoYWCmnHix1EogFlCySK6T2qUKPunIcKr85xBj7QiDF/SAWsx1oARur/Nx0OvcF xoGZeq5M09xBo/bDHxXxzpo/JNuyL2sH4KHREkXn0pykrM2Ubeov6/INV8LxIOQYt8if rhQAjvtZMAE4wPffwntqDYwZkL3y9l8gKqzc8hOffC1vYp81Su6KpMPzbWNSWBY8+0RK QU9M8dDbgyCnhc6GnPTVayWLjh1qRojOvgGinet7tAj6B8QVq6Ggnj72pjXEipn9aLMT d3riXet8Z0VJ8m9AGX5/8imwQCG2nB8mkMMzwnc183Aun5/Q9mzTNC1HBsvdJvPt0Kq1 6Jog==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=z8af4HVKU4QQ/jIyfIqALr9yHSVTk/Zs11j/EzHSCds=; b=WwwFPUV2/JxYePcJvLbs1YNq2Wq8DZ06M7bnp3UHIyEghHXvxV1C2S3cRA3iXv62My f6wN0dCQbB2mdR89uVm9pr0oaW9gVCw1TJ0dqpJmdO9RC9PvY66h2bVBfhA1yHt7uuqk WLW9XY9DsmZ0NpcHF5MHRn3V1Usp2BYPiGtK0Eldrao4rs3ZpyRR76eqi9dMZ5ZvLcmo tiu9iTvQEl1jeDVwJQ9mwA9juX3N+OlobsDBeFJBOWvMrRZ8ljICP/Z4qd1sTKbxMc9/ 1iVs3UXuHQV4OckpxVvMu+p3bDFT+MJsJZjldc20FYr3lW2py5ylrcGVrl9KTDrJc6wX RTug==
X-Gm-Message-State: APjAAAV9A6Y5UgJB+rAAHWMQRf8p5XEcBZKb0l8THpJjIZlh6TsS/AJI bn5lHivd7vt8YQ6J6R1SQpEHvK3rVw3s3iCIf3VhWA==
X-Google-Smtp-Source: APXvYqz0LDA6ediLgNw5h9k5pcH3DIxA1zdlMDN5H2z6nVHanN5EW0W4UjLEYvqrR80g9VSNjxVzUZpujQKshF7XtvY=
X-Received: by 2002:a62:e806:: with SMTP id c6mr932019pfi.132.1565487532588; Sat, 10 Aug 2019 18:38:52 -0700 (PDT)
MIME-Version: 1.0
References: <E2AD4802-3193-4ACC-B3D9-3162A8EB7CB1@ll.mit.edu> <CALtoyo=K1xamjQ4_pBgeZQ8rp75_v5gwPt_Ux0u7RmYsZRQcnw@mail.gmail.com> <38A5475DE83986499AEACD2CFAFC3F9801E6C0A715@tss-server1.home.tropicalstormsoftware.com> <255BBAD2-529D-4C41-A763-1122448C64B5@ll.mit.edu> <38A5475DE83986499AEACD2CFAFC3F9801E6C0A8DB@tss-server1.home.tropicalstormsoftware.com>
In-Reply-To: <38A5475DE83986499AEACD2CFAFC3F9801E6C0A8DB@tss-server1.home.tropicalstormsoftware.com>
From: Stan Ratliff <ratliffstan@gmail.com>
Date: Sat, 10 Aug 2019 21:38:41 -0400
Message-ID: <CALtoyo=aSrBXYNotKAe9LbCrUn+p0tVc2dF-nVAxRX+_hgDKNQ@mail.gmail.com>
To: Rick Taylor <rick@tropicalstormsoftware.com>
Cc: "Wiggins, David - 0665 - MITLL" <David.Wiggins@ll.mit.edu>, "manet@ietf.org" <manet@ietf.org>
Content-Type: multipart/alternative; boundary="00000000000047c2b9058fcd7869"
Archived-At: <https://mailarchive.ietf.org/arch/msg/manet/cMp71sz_unkc2CxH1AIC6vA5-rA>
Subject: Re: [manet] DLEP redundant Destination Ups
X-BeenThere: manet@ietf.org
X-Mailman-Version: 2.1.29
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: Sun, 11 Aug 2019 04:35:56 -0000

On Sat, Aug 10, 2019 at 12:37 PM Rick Taylor <rick@tropicalstormsoftware.com>
wrote:

> Hi David,
>
>
>
> As a first thought – and I need to have a longer think to check my
> assumptions – your second ‘odd’ Destination Up should probably be a
> Destination Update.
>
>
>
> In my mind, the modem is informing the modem of a change to an **existing**
> destination, hence update, rather than a **new** destination.
>

In the use case shown below, I believe Rick is correct - the second
Destination Up should be a Destination Update. This is just a change to the
logical destination represented by the MCAST group.

Now, as to how the protocol should handle the presentation of a Destination
Up on a MAC address that is already been the subject of an Up - I think the
second Destination Up should be responded to with an error, and the
Destination should be removed from the information base, for reasons I've
already stated. For example, let's say the first Destination Up specifies
an IPv4 Address Data Item Add of 1.2.3.4. The second Destination Up comes
with an IPv4 Address Data Item add of 5.6.7.8.

Is 1.2.3.4 supposed to be dropped? Or is 5.6.7.8 just supposed to be added
to the first address? The same issue exists with attached subnets.

Regards,
Stan

PS - I'm almost done with the initial draft on MCAST talked about at IETF
105. Will post ASAP (Provided next week's jury duty doesn't get in the way).


>
>
> Let me ponder a little more, but I’m interested what others think.
>
>
>
> Cheers,
>
>
>
> Rick
>
>
>
> *From:* Wiggins, David - 0665 - MITLL [mailto:David.Wiggins@ll.mit.edu]
> *Sent:* 10 August 2019 16:56
> *To:* Rick Taylor; Stan Ratliff
> *Cc:* manet@ietf.org
> *Subject:* Re: [manet] DLEP redundant Destination Ups
>
>
>
> Stan, Rick,
>
>
>
> Thanks for the quick response.  It helps to know that you both think it
> should be an error (I do too), though we have different ideas on what the
> exact behavior should be.  I would probably go with Rick’s second
> suggestion, “Inconsistent Data” (Continue).  I’m not a fan of
> implementation-defined behavior, so I’d rather there be exactly one way to
> handle this.  Actually I think “Invalid Destination” (Continue) would make
> a bit more sense, but the failure mode for “Invalid Destination” is defined
> to be Terminate, and there isn’t an easy way to change that.
>
>
>
> This issue is one piece of the larger issue of how multicast destinations
> are handled.  I see in the minutes that was discussed at IETF 105;
> regrettably, I wasn’t able to join the discussion.  So here is the
> difficulty I’m having with multicast.  Let’s assume for a moment the
> following:
>
>
>
> - Two Destination Ups for the same destination (without Down in between)
> is a protocol error
>
> - A Destination Announce Response is exactly semantically equivalent to a
> Destination Up
>
> - A Destination Announce w/ multicast destination is expressing a
> multicast group join by the local node
>
> - A Destination Up w/ multicast destination expresses that some other node
> has joined the multicast group
>
>
>
> Then the following bad behavior can occur:
>
>
>
> - Router sends Destination Announce w/ multicast destination (group)
>
> - Modem sends Destination Announce Response for that group, and this
> counts as a Destination Up (by the above assumptions)
>
> - Some other node joins the same group, and this gets propagated via
> non-DLEP means to the local modem
>
> - Modem sends a Destination Up for the group to let the router know there
> are other (unidentified) group members out there
>
> - Router considers this an error because it’s two Destination Ups for the
> same destination
>
>
>
> This is essentially what happens with our current implementation.  I’m
> very interested in the intended way to handle this, as I’ll be updating our
> implementation with whatever is decided.
>
>
>
> Thanks,
>
> David
>
>
>
>
>
>
>
> *From: *Rick Taylor <rick@tropicalstormsoftware.com>
> *Date: *Friday, August 9, 2019 at 4:53 PM
> *To: *Stan Ratliff <ratliffstan@gmail.com>, "Wiggins, David - 0665 -
> MITLL" <David.Wiggins@ll.mit.edu>
> *Cc: *"manet@ietf.org" <manet@ietf.org>
> *Subject: *RE: [manet] DLEP redundant Destination Ups
>
>
>
> David,
>
>
>
> I’m not sure this is an errata, but some clarification may be required.  I
> would expect a Destination Up Response with an error status of “Invalid
> Destination” (Terminate) if the receiver cannot handle the situation, or
> perhaps “Inconsistent Data” if it can continue.
>
>
>
> Does that help?
>
>
>
> Cheers,
>
> Rick
>
>
>
> *From:* manet [mailto:manet-bounces@ietf.org] *On Behalf Of *Stan Ratliff
> *Sent:* 09 August 2019 20:33
> *To:* Wiggins, David - 0665 - MITLL
> *Cc:* manet@ietf.org
> *Subject:* Re: [manet] DLEP redundant Destination Ups
>
>
>
> David,
>
>
>
> This looks like it's a candidate for an errata. I think what *should* be
> done is for the router to respond with a "Destination Up Response", using a
> new status code that effectively says "State Error", or "Destination is
> already up". Then I think the router should treat the second Destination Up
> as a *Destination Down*, which resets the state error.
>
>
>
> My rationale for not just ignoring the 2nd Dest up, or treating it as a
> Dest Update is that there *could be* associated data with the Dest Up, like
> IPv4/IPv6 address data items, and/or connected subnet data items, that may
> or may not clash with the new Dest Up. IMO, best to clean it up and try
> again "from scratch". I don't think this sould trigger a complete peer
> session outage.
>
>
>
> Other opinions?
>
>
>
> Regards,
>
> Stan
>
>
>
>
>
> On Fri, Aug 9, 2019 at 2:43 PM Wiggins, David - 0665 - MITLL <
> David.Wiggins@ll.mit.edu> wrote:
>
> If a modem sends two Destination Ups for the same destination without an
> intervening Destination Down for that destination, how should the router
> respond?
>
>
>
> a) This is a protocol error.  Terminate the session.
>
> b) Ignore the second Destination Up.
>
> c) Treat the second Destination Up as a Destination Update.
>
> d) something else
>
>
>
> Thanks,
>
> David
>
>
>
> _______________________________________________
> manet mailing list
> manet@ietf.org
> https://www.ietf.org/mailman/listinfo/manet
>
>