Re: [manet] packetbb update idea

Henning Rogge <hrogge@gmail.com> Mon, 03 July 2017 17:42 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 919E01316D6 for <manet@ietfa.amsl.com>; Mon, 3 Jul 2017 10:42:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 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, RCVD_IN_DNSWL_LOW=-0.7, 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 mT79aYLEhERP for <manet@ietfa.amsl.com>; Mon, 3 Jul 2017 10:42:22 -0700 (PDT)
Received: from mail-qk0-x22c.google.com (mail-qk0-x22c.google.com [IPv6:2607:f8b0:400d:c09::22c]) (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 2C2CE1316DA for <manet@ietf.org>; Mon, 3 Jul 2017 10:42:18 -0700 (PDT)
Received: by mail-qk0-x22c.google.com with SMTP id d78so150961135qkb.1 for <manet@ietf.org>; Mon, 03 Jul 2017 10:42:18 -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=pJ+hMshoDsUXWp1DaQD+SvnYIMDVxd/M64EkxLAqFlg=; b=lMASr+1xLmuY2+rPc2HDXeDF/KnMvXuztbhbcjzrVWOwSovx9Ma7ae8TAXPUI1omeH ASuXmMLcBLjESIoPmg/DvyQ8RNTt5BulSUF4p5u/QX64/2TSlmBOTguQN134MnNP92hS 6Vrx18QB0zz8p0NJEYZ6/eL0jzmZUYtLqez+eb/1wxA10DQ0r1TJ8IX+OkyER7DKfb+P AhiJN9k+I30LraX9QGaQC9iZ3t1Vbo0qQTHR80hrj3ZEAM3Sp6OCj/Nm9NvFPs2X3bUy OgU9tZjQtOyVWKalpFssvHxkU6U1WLK6Fi6PuP8m90AGNZnuujLh2ZePGT7wwiZfWZ+A sLhA==
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=pJ+hMshoDsUXWp1DaQD+SvnYIMDVxd/M64EkxLAqFlg=; b=Y4ExnC9PeV8wWLgF5TdABi/Pv83gFAQD4qt1fAypM07YcvafY+JULemG6rQYx0scPp QcFgeeB/My1JWT+BokyAfsrdTj4V/WfUqAR2WyTg/zfnBeAxQYXdIDf+shMOV+ioTGzq TZ4R0lMLo/bEM+KjKst6AiUZlQlyFCXK+U4iehyXncR0J0Fvnkw+QX3ftdUS1VPjfqBZ IlnmSD8nO13ogz+DmawzkvcPT3dXm2u0H7tUGeikQWRAPMs/LdBnTz2WmvfWWeNzOdyr x9wKYpRiR6dBdf3s1DA9NhgFPzPgkYcEtvukZ3XS0AhN4jryt2FrEPdbHKMSuV6W4Dx1 GnXw==
X-Gm-Message-State: AKS2vOwnSdJ8cZyJq3qY597thxTGU2QmnPPH+c3Y24ubGVJJS4OkYXK+ cvNkFS6zVoZk8LyaL8KYB89B8m/VRg==
X-Received: by 10.233.232.205 with SMTP id a196mr44957315qkg.238.1499103737255; Mon, 03 Jul 2017 10:42:17 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.200.37.250 with HTTP; Mon, 3 Jul 2017 10:41:46 -0700 (PDT)
In-Reply-To: <CA+-pDCcfXm-Vf11FZ+KmAk-ZMYBdTZ-+kPebNkd4KtEa8eEX4A@mail.gmail.com>
References: <CA+-pDCcfXm-Vf11FZ+KmAk-ZMYBdTZ-+kPebNkd4KtEa8eEX4A@mail.gmail.com>
From: Henning Rogge <hrogge@gmail.com>
Date: Mon, 03 Jul 2017 19:41:46 +0200
Message-ID: <CAGnRvupo2wOLcb+zfM7B43y3UYCYJE8c=2Xmdj6pEoZv52zeQQ@mail.gmail.com>
To: Justin Dean <bebemaster@gmail.com>
Cc: "manet@ietf.org" <manet@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/manet/JiKhSqKWBZue8oae9Ac8NYIhoHY>
Subject: Re: [manet] packetbb update idea
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, 03 Jul 2017 17:42:26 -0000

On Mon, Jul 3, 2017 at 7:29 PM, Justin Dean <bebemaster@gmail.com> wrote:
> So while trying to encode some information using packetbb for the elastic
> multicast stuff we have been working on I've run into a short coming.
> RFC5444 allows one to efficiently encode information about addresses and
> even pairs of addresses (as long as one of those addresses is the Oaddr)
> with the TLV structure and the address block.  It does not allow for easy
> encoding about pairs of addresses of which neither is the Oaddr.  After some
> thinking on it I think most of what I'd like to be able to do could be
> solved by using the RESERVED tlv flag bit number 6 to indicate inclusion of
> a single index field <index-opt> which would specify a single address in the
> address block.

You mean for things like source-specific routing (having a source- and
destination prefix for an attached network)?

I remember I did a rough sketch for this (I have implemented in my
Olsrd2-Implementation) and I was forced to put one of the addresses
uncompressed into a data TLV.

> So the tlv definition would change from
> <tlv> := <tlv-type>
>
>                 <tlv-flags>
>                 <tlv-type-ext>?
>                 (<index-start><index-stop>?)?
>                 (<length><value>?)?
>
> to
>
> <tlv> := <tlv-type>
>                 <tlv-flags>
>                 <tlv-type-ext>?
>
>                 <index-opt>?
>                 (<index-start><index-stop>?)?
>                 (<length><value>?)?
>
>
> This would allow one to specify information about pairs of addresses in a
> compact way.  In the case of elastic multicast source/destination flow
> pairs. Thoughts welcome.

IF (not sure it is worth) we add something to RFC5444, I would also
like to suggest an option in the address block TLVs to refer to the
originator address as the prefix/postfix part.

Henning