Re: [manet] packetbb update idea

Justin Dean <bebemaster@gmail.com> Fri, 07 July 2017 00:28 UTC

Return-Path: <bebemaster@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 C73681317D2 for <manet@ietfa.amsl.com>; Thu, 6 Jul 2017 17:28:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.698
X-Spam-Level:
X-Spam-Status: No, score=-1.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, FREEMAIL_REPLY=1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no 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 5evCmMRiOT2j for <manet@ietfa.amsl.com>; Thu, 6 Jul 2017 17:28:56 -0700 (PDT)
Received: from mail-it0-x231.google.com (mail-it0-x231.google.com [IPv6:2607:f8b0:4001:c0b::231]) (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 AE98C13168B for <manet@ietf.org>; Thu, 6 Jul 2017 17:28:56 -0700 (PDT)
Received: by mail-it0-x231.google.com with SMTP id m84so20656054ita.0 for <manet@ietf.org>; Thu, 06 Jul 2017 17:28:56 -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=TtBb4oJXZJD+nw/cCI1d94ihVUKkSLKqpyN1WsDUOSc=; b=M+qflBE5rp6knaiAnFRo0v8w8A1M87q0FFps/bjfXhpAj+edRsH2Fn1HDU37lTeLPf PBPc3qkvWzq8GmgllNdjSOM/KQ9c3t+qcISAszSSkd7K03G7ciurtUqpZJZzdaIF+Nm1 Q7jcnw/ak6FRJIvQsjcdHeSmlhBrQiNXXQTzBBXLSYfESPBdebfT4ZJzw8OuZAP51oox 8aTGXymku1aDQ00Nu8rLGBHYWR1yA420nFfz3R5fhoh/QMOYFaRhBxkCBdWWxP83ql7L QFih/I4QMqrIoc4V3q4RacYM+LxyYdq6r405uQG5dyjO99CXy8sEif5WI/BjrKpUZLU+ xj8w==
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=TtBb4oJXZJD+nw/cCI1d94ihVUKkSLKqpyN1WsDUOSc=; b=heogxk798LJFmqzmWiBGKT7D1hMzNIXuvIb3gfQOaDdXBUppmPdQgTBFyVVIDBkGsn Kx4DEFHrvGNH2CXh1EPoGotVJMAw2V2v9wuGjUST2W+66ieO52TbUievEiAkd3oChjuX 1vCQcJuisaxhjluONdvGh4moEYyakh4jwv1OCYflkbDPQZsBrddC5QbPwRkHa9Lh8Zlf uDVRi3QJ30YqLdrn0DBXJjN57iGGjet7M4azepyxEBJewTO7LTJuwfuYeFDTbU2f04qj OKGBZarVBTxHRvlxQ+NKsTuzoJ5EnW5AZrvFB7rwCE/TxTbXF2n/DNy7erSgRolgJZew 2ruQ==
X-Gm-Message-State: AKS2vOzVMjI04foCtye8gdJCRFomSKPmohh0Q4mgUptTU0qFLXoS2c5c xkmHnB6n0baoY6DVEsvZaMxqpXlQ8w==
X-Received: by 10.107.136.214 with SMTP id s83mr56718173ioi.21.1499387336131; Thu, 06 Jul 2017 17:28:56 -0700 (PDT)
MIME-Version: 1.0
References: <CA+-pDCcfXm-Vf11FZ+KmAk-ZMYBdTZ-+kPebNkd4KtEa8eEX4A@mail.gmail.com> <CAGnRvupo2wOLcb+zfM7B43y3UYCYJE8c=2Xmdj6pEoZv52zeQQ@mail.gmail.com> <CA+-pDCcnYTW=7JS6HPv1CdM9Va5XNL6BT+UHCrQODg5kB8Sa8g@mail.gmail.com> <CAGnRvurutSfKFmkD_1ZuMy5s+sXuGnKR-3GuhDWXz2uz8dgZng@mail.gmail.com> <CA+-pDCcrJidtnVP-gy6ta2BRye9C-1ngi8OdJH8ckQpF1Snbgw@mail.gmail.com> <B31EEDDDB8ED7E4A93FDF12A4EECD30DE63854E3@GLKXM0002V.GREENLNK.net> <CA+-pDCem=Bs=M0mLJakkFoVADnXfpWkUZRDJ=cs0rYhJc8d7Yg@mail.gmail.com> <B31EEDDDB8ED7E4A93FDF12A4EECD30DE6389C0F@GLKXM0002V.GREENLNK.net> <CA+-pDCdxGMU3rL8y2OCwV=fWk8dcDLw679MM2NpKWRStLfQ+pw@mail.gmail.com> <75D330AD-8878-4572-8607-F54B9541ED94@gmail.com>
In-Reply-To: <75D330AD-8878-4572-8607-F54B9541ED94@gmail.com>
From: Justin Dean <bebemaster@gmail.com>
Date: Fri, 07 Jul 2017 00:28:45 +0000
Message-ID: <CA+-pDCcidCJD93njzmFHHZ_EZc1rRh37u2-URO+xvdMJn-OK7A@mail.gmail.com>
To: Christopher Dearlove <christopher.dearlove@gmail.com>
Cc: "Dearlove, Christopher (UK)" <chris.dearlove@baesystems.com>, "manet@ietf.org" <manet@ietf.org>
Content-Type: multipart/alternative; boundary="001a113eb2a68d0ae10553af51b9"
Archived-At: <https://mailarchive.ietf.org/arch/msg/manet/Up6sLMv3wgSqoWqOQWLoM922sAQ>
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: Fri, 07 Jul 2017 00:28:59 -0000

Your point on wanting to create a protocol that it's needed for is valid.
I'm not wanting to shove this through;  I'd just like some
positive/constructive debate on list.

On Thu, Jul 6, 2017, 12:50 PM Christopher Dearlove <
christopher.dearlove@gmail.com> wrote:

> No, I'm not going to describe my ideas for improvement because they miss
> the point that the gains are minor, everything can be done in another way,
> and the costs are serious - every implementation out there has to either
> change or no longer guarantee backward compatibility. And the cases of mine
> and yours are a step or more away from a real use case. By which I mean "we
> could carry this sort of data" is not a use case of value. I want to create
> a protocol to do this for this reason might be. (I want to solve this
> problem is even better.)
>
> --
> Christopher Dearlove
> christopher.dearlove@gmail.com
> chris@mnemosyne.demon.co.uk is dead
>
> On 6 Jul 2017, at 17:31, Justin Dean <bebemaster@gmail.com> wrote:
>
>
>
> On Thu, Jul 6, 2017 at 5:28 AM, Dearlove, Christopher (UK) <
> chris.dearlove@baesystems.com> wrote:
>
>> Just to nail this one down.
>>
>>
>>
>> Justin:
>>
>> > I don't see how having a bit field would work as the order of the
>> addresses in the address block are not guaranteed to be in any specific
>> order.
>>
>>
>>
>> As I indicated, that’s not a problem. We don’t assign meaning to
>> positions, but we can use positions. As we do every time an Address Block
>> TLV has an index or two indices.
>>
>>
>>
>> So considering
>>
>>
>>
>> A-----B
>>
>> |    /|
>>
>> |   / |
>>
>> |  /  |
>>
>> | /   |
>>
>> |/    |
>>
>> C-----D
>>
>>
>>
>> Let’s assume the addresses are in order A, B, C, D. (If they change, we
>> change TLV values. Which we potentially have to do any time the order
>> changes anyway.)
>>
>>
>>
> Changing the value of a TLV based on the order of the addresses in the
> addresss block seems CRAZY to me.  The way my code is organized is that
> TLVs are assigned to addresses and then all addresses with associated TLVs
> are given to the packetbb "compiler" that builds the RFC5444 packet in the
> most efficient way it can, address compression, TLV groupings, multi
> indexed, all indexed, etc.  That bit of code doesn't know anything about
> the values of the TLVs other than that they are associated with the
> address.  The reverse is also an issue in that the bit of code that cares
> about TLV values doesn't care at all what index the address is.  To say
> that order doesn't matter and we can't enforce order (like we argued
> against in assigning meaning to addresses with AODVv2) and then say that
> order can matter in this case because we could just assign a TLV value
> after the order is assigned seems arbitrary to me.
>
> The bit field would work but it gets much less efficient when there are
> values you want to include in the association.  One could append them at
> the end of the TLV bit field but that doesn't really work as the TLV size
> would me messed up.  The efficiency is only there when there are boolean
> associations.
>
> I could be into the idea of an indirect that RFC5444 would be aware of and
> provide those associations to the protocols.  I thought about that first as
> it has the advantages that a single extra address doesn't (like larger than
> pairwise associations and random) but stopped as it would be horribly
> complex to shoehorn it in and the single address would be sufficient for
> 90%.
>
> You mentioned you had a bunch of ideas on how you might improve the
> format.  I'd love to hear some of them.
>
> _______________________________________________
>
>
> manet mailing list
> manet@ietf.org
> https://www.ietf.org/mailman/listinfo/manet
>
>