Re: [manet] DLEP address semantics and in-the-wild examples

Henning Rogge <hrogge@gmail.com> Fri, 19 November 2021 09:12 UTC

Return-Path: <hrogge@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 5D4C73A0CB5 for <manet@ietfa.amsl.com>; Fri, 19 Nov 2021 01:12:25 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 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, FREEMAIL_FROM=0.001, SPF_HELO_NONE=0.001, 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 3FrHkeAcMSPm for <manet@ietfa.amsl.com>; Fri, 19 Nov 2021 01:12:21 -0800 (PST)
Received: from mail-lf1-x130.google.com (mail-lf1-x130.google.com [IPv6:2a00:1450:4864:20::130]) (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 A180F3A0CAE for <manet@ietf.org>; Fri, 19 Nov 2021 01:12:20 -0800 (PST)
Received: by mail-lf1-x130.google.com with SMTP id b40so40456086lfv.10 for <manet@ietf.org>; Fri, 19 Nov 2021 01:12:20 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=PhWg+0rYAwYVp/PYoB1hErnyymKgMA+G3TdXQIuG2OA=; b=QDEkOccopRE2ShzHZRc5fuufGy9fMFLNcxDpuZ2Fo6n0Cwdjuzd6vHgNEkhmYZkxcY ykJByPcF5RDVcydAGfWK6yN0e5OM3IByzs38Vyjh2XYHgKB/MU2UsphWYSTszqNVw2jL aR9D82Enb1+R0S9XZnGVcH/tME4WosoKmVPsS1CMX3MkbaMmGElTywNzj8xEAEzkZZ/S lEwwNyJW/grrfDU8+doWjm+BneJgfPNc53VD4sKWuArlHEkHiEPqgtjJcJIHBLT5tE0D ZOilnTjb1dX16BMHzyC+t3UAbXutkgWLT5XUep3OqWUiVH0OITB2KXBRj6/M+UXoJv9k M2dA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=PhWg+0rYAwYVp/PYoB1hErnyymKgMA+G3TdXQIuG2OA=; b=6cq6qZYuXLrLleBrQvIw72h6GHqQoaxPfZm28vRDD3JfWBXqgQ47tc0zNMo3q7UpXq 6H7yyjEoQpZczNyNb2CJWWFZrLr2yXPXfB2a0bZ7jDUuBD6bTRV3lOmNygrpGZqIvU5X uoHt/dE8dOY99M8UgFTfQnvXOxpIne39phD09M9SK5/bRjEqdW+c4yPmFTvNfiP7dZ8L 8NqjwW5Vkcj64RWvwR82tGVU7LY5HglN8aypQlhYNV+b4Tvtq096rcqDOpCroUNUYnYw iYnSOkle7eOZDz1afujRQC2gHCylS2V5UjxBjPUuOhrbKDnS+2DgI2cx4Usuah7CebdQ gOIA==
X-Gm-Message-State: AOAM533Xc+isuVDeKqAiphkIQkqM+4SQC8bC9x13vBBiDv/OE4dTI8Wl Vm5wnqS1JPnA67EYTEtaH+voip1CtEg2k0XYxd0=
X-Google-Smtp-Source: ABdhPJz34dEa7gRocSrpZm/fXGY3ARjno7gQblZIdQc/TvFP9ad7KK60TQJlz7OSv4fdO4cnal28rxg6cL1EBYxCMVw=
X-Received: by 2002:ac2:54b7:: with SMTP id w23mr31999557lfk.163.1637313133937; Fri, 19 Nov 2021 01:12:13 -0800 (PST)
MIME-Version: 1.0
References: <56203b289b7940afb8ce11f6cc375e98@jhuapl.edu> <38A5475DE83986499AEACD2CFAFC3F98020B1B9688@tss-server1.home.tropicalstormsoftware.com> <CAGnRvurKPPgtfiyaCoD7HeLG+y+9iTjGS3yJYdJRYnrjfoAKow@mail.gmail.com> <38A5475DE83986499AEACD2CFAFC3F98020B1BB154@tss-server1.home.tropicalstormsoftware.com>
In-Reply-To: <38A5475DE83986499AEACD2CFAFC3F98020B1BB154@tss-server1.home.tropicalstormsoftware.com>
From: Henning Rogge <hrogge@gmail.com>
Date: Fri, 19 Nov 2021 10:11:09 +0100
Message-ID: <CAGnRvure8k73Ouq5WmLS8=4cdOza6n9NbpkvqiadxWHDG7Dw6A@mail.gmail.com>
To: Rick Taylor <rick@tropicalstormsoftware.com>
Cc: "Sipos, Brian J." <Brian.Sipos@jhuapl.edu>, "manet@ietf.org" <manet@ietf.org>, "Taylor, Rick" <rick.taylor@airbus.com>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/manet/Xx2mMa5X0_y9yeVcZ3tR99No05I>
Subject: Re: [manet] DLEP address semantics and in-the-wild examples
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: Fri, 19 Nov 2021 09:12:25 -0000

I have done so with my current implementation... no real code change
necessary, just the options to put the DLEP UDP/TCP socket on a
different interface.

DLEP MUST deliver data-plane MACs in Destination-Up messages... the
DLEP-control-plane MACs are irrelevant for most things. I don't see a
reason to specify it, DLEP only cares about a layer-3 control
connection...

Henning

On Fri, Nov 19, 2021 at 10:09 AM Rick Taylor
<rick@tropicalstormsoftware.com> wrote:
>
> Hi Henning,
>
> I think we're agreeing here.
>
> By "out of band" I meant that while developing modem simulators, I have come across routers that have an internal L2-switch, and wish to establish DLEP on their "control interface" but the data-plane uses a "data interface" (with a different MAC).  In this scenario, the modem uses the TCP MAC (learned via ARP) as the Destination ID, and then the data-plane traffic arrives from the router with a source MAC that doesn't match.  In my simulator I just drop this traffic (because it's not to or from a 'destination') which causes confusion amongst users.  In the real world, should the modem be sniffing the packets and learning new local destinations rather than them being signalled via DLEP?  It's a very corner-case example, but RFC8175 is quite silent on the correct behaviour.
>
> I suppose this behaviour should be captured by the mythical "DLEP implementation Experience" draft all of us agree needs writing when we have the cycles...
>
> Cheers,
>
> Rick
>
> > -----Original Message-----
> > From: Henning Rogge [mailto:hrogge@gmail.com]
> > Sent: 19 November 2021 08:55
> > To: Rick Taylor
> > Cc: Sipos, Brian J.; manet@ietf.org; Taylor, Rick
> > Subject: Re: [manet] DLEP address semantics and in-the-wild examples
> >
> > As long as the Radio/Router answers the ARP for the unicast IPs used
> > for both DLEP UDP and TCP, the MAC for them should not matter.
> >
> > MAC addresses in DLEP in the default "bridging" mode are the router
> > end-to-end MACs... DLEP has to refer to these, otherwise the router
> > will not be able to make sense of the DLEP messages.
> >
> > I am not sure what you mean by "out of band"... are you talking about
> > Layer-3 routing DLEP radios?
> >
> > Henning
> >
> > On Fri, Nov 12, 2021 at 6:10 PM Rick Taylor
> > <rick@tropicalstormsoftware.com> wrote:
> > >
> > > Hi Brian,
> > >
> > >
> > >
> > > Your first assumption is correct.  The MAC address of the interface the
> > router uses to maintain the DLEP session is the MAC address used as a
> > Destination identifier by its peers.  DLEP does not (currently) define an ‘out-
> > of-band mode’ where the DLEP session is maintained on a different MAC
> > address from the data-plane.
> > >
> > >
> > >
> > > One could define an out-of-band mode by a router using a Destination Up
> > message with an alternate data-plane MAC address, but that is currently not
> > defined anywhere.
> > >
> > >
> > >
> > > Cheers,
> > >
> > >
> > > Rick
> > >
> > >
> > >
> > > From: manet [mailto:manet-bounces@ietf.org] On Behalf Of Sipos, Brian J.
> > > Sent: 25 October 2021 16:05
> > > To: manet@ietf.org
> > > Cc: Taylor, Rick
> > > Subject: [manet] DLEP address semantics and in-the-wild examples
> > >
> > >
> > >
> > > All,
> > >
> > > I am in the process of investigating and implementing a DLEP router
> > component and trying to figure out which sets of data items are available for
> > which contexts (peer session vs. destinations) and how they must/may be
> > interpreted.
> > >
> > > Specifically, it’s not fully clear to me what the IPvX and MAC Address data
> > items [1] are allowed or required to represent for a peer (modem) or a
> > destination (other router). My assumption is that the IPvX are addresses on
> > which the router sends/receives traffic for forwarding on past the DLEP-
> > informed link and the IPvX Attached Subnets are those to-be-forwarded nets,
> > but the MAC Address is really an opaque identifier for the far-side
> > destination and may or may not be an address actually associated with or
> > seen by any of the routers.
> > >
> > >
> > >
> > > In the Link Identifier extension [2] it’s more explicitly stated that the MAC
> > Address is supposed to be an address on the far-side router, but I don’t see
> > that same kind of language in the original DLEP document [1]. And since
> > there is no signaling of the router MAC Address within the Session
> > Initialization, I assume that it is implied that the MAC Address of the peer
> > (router) used to establish the TCP connection is used for this purpose. For
> > multi-interface routers there may be no relation between the MAC Address
> > and it’s routed-traffic IPvX addresses (if the router is talking DLEP on a
> > different interface than the routed traffic), but if the MAC Address is
> > supposed to be just an opaque identifier then this doesn’t really matter.
> > >
> > >
> > >
> > > I’ve been able to dig into the OONF [3] implementation of DLEP to see how
> > it works, but this is just one implementation and not an authority of the
> > correct or possible semantics.
> > >
> > >
> > >
> > > Thanks for any clarification,
> > >
> > > Brian S.
> > >
> > >
> > >
> > > [1] https://www.rfc-editor.org/rfc/rfc8175.html
> > >
> > > [2] https://www.rfc-editor.org/rfc/rfc8703.html
> > >
> > > [3] https://github.com/OLSR/OONF
> > >
> > >
> > >
> > > _______________________________________________
> > > manet mailing list
> > > manet@ietf.org
> > > https://www.ietf.org/mailman/listinfo/manet