Re: [manet] RFC 5444 translation tables

Henning Rogge <hrogge@gmail.com> Wed, 27 May 2015 11:35 UTC

Return-Path: <hrogge@gmail.com>
X-Original-To: manet@ietfa.amsl.com
Delivered-To: manet@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A60971ACE24 for <manet@ietfa.amsl.com>; Wed, 27 May 2015 04:35:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 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, SPF_PASS=-0.001] autolearn=ham
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 iPmLHPbm8FwV for <manet@ietfa.amsl.com>; Wed, 27 May 2015 04:35:26 -0700 (PDT)
Received: from mail-wi0-x230.google.com (mail-wi0-x230.google.com [IPv6:2a00:1450:400c:c05::230]) (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 B82311ACE1B for <manet@ietf.org>; Wed, 27 May 2015 04:35:25 -0700 (PDT)
Received: by wizo1 with SMTP id o1so18477585wiz.1 for <manet@ietf.org>; Wed, 27 May 2015 04:35:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=lEP3Pjjw7e9rGC30TWwoUPS4aN9cWtzx/PbqS/T1Wnc=; b=j95n4vNa3dQ+YY+e+7F0aO4jQcOyGqb9mTgiaw8u9wrAYMyvCC5ujni6/+zkS8FybU MVbiTNdn60IWDtat/Maqupb+xpyXMaIDmhN5Q41+RFgDi7DBRk/cOB/Rh5MXcg7Uc1xj kZX/Gd75e+Lr78pgiEt1TZHfBhpHNsdimUPxSFQuaPkRJQmwZs9jGOhDiwT/ae2ax3yc lwLcxmF5DDdl0mOQHm48+pMSc0+HPzLow5NrImqKZD0/iBT8wwZfZwqee5BD3KHDAuFW M3Kmua6I5HT/rGDnkCUU2+weBkJ4y+E6BIchhCZZxd3rnCgmbJbnwE/hQH5aNY+JhAHR otHg==
X-Received: by 10.180.88.99 with SMTP id bf3mr49988377wib.75.1432726523496; Wed, 27 May 2015 04:35:23 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.27.179.86 with HTTP; Wed, 27 May 2015 04:35:02 -0700 (PDT)
In-Reply-To: <CAAePS4DY=V_De4Y7BPEEHUN1J1KeGhL7J7wtsLv+MP-i=3tXCQ@mail.gmail.com>
References: <13684050-0304-4A59-9220-3E7B1178B648@fu-berlin.de> <B31EEDDDB8ED7E4A93FDF12A4EECD30D40EE7A14@GLKXM0002V.GREENLNK.net> <DF186287-FDA7-45B9-AC0A-B1247ECE5B4D@fu-berlin.de> <CAGnRvurK3jc+G0bCmpT-S29i9-T995Du1ed6Fr-Uc+x1v3wm3Q@mail.gmail.com> <B31EEDDDB8ED7E4A93FDF12A4EECD30D40EEA924@GLKXM0002V.GREENLNK.net> <A23C8F89-ED8E-4DD7-A9D6-75FB68414687@fu-berlin.de> <CAN1bDFxXxj2vYSk1r5m6-zir6SVq7=P_ND=0cFbPS3fwDZow_w@mail.gmail.com> <CAAePS4DY=V_De4Y7BPEEHUN1J1KeGhL7J7wtsLv+MP-i=3tXCQ@mail.gmail.com>
From: Henning Rogge <hrogge@gmail.com>
Date: Wed, 27 May 2015 13:35:02 +0200
Message-ID: <CAGnRvuqjkH56w6rFRhkDtN-fuwUCUJyy1cdPDjsNupOeS4L3Tw@mail.gmail.com>
To: Victoria Mercieca <vmercieca0@gmail.com>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <http://mailarchive.ietf.org/arch/msg/manet/7dq6g3dwNZ5Oelf_xmuYGO6IuT8>
Cc: manet <manet@ietf.org>
Subject: Re: [manet] RFC 5444 translation tables
X-BeenThere: manet@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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: Wed, 27 May 2015 11:35:28 -0000

Hi,

there is one major and one minor problem with "no TLVs attached to address".

The minor problem is that it forces the AODV2 parser to be aware of
ALL possible TLVs. Normally each protocol does only need to care about
the TLVs it uses itself, but in this case you need to make sure there
is no other unknown TLV.

The major problem is that the "no TLV" mechanism blocks any extension
related to the address. What if we want a cryptographic signature
attached to RERR unreachable addresses in the future? Or some other
additional data? This would force a break of compatibility with the
current draft.

Because of these two reasons the protocol should always have a TLV
that gives an address a meaning, this way it can ignore any unknown
TLVs attached to the address AND ignore addresses which have no known
TLVs, which makes extensions much easier.

Henning Rogge


On Wed, May 27, 2015 at 11:23 AM, Victoria Mercieca
<vmercieca0@gmail.com> wrote:
> Hi Jiazi, and thanks for your comments,
>
> This is part of an ongoing discussion. The current draft implies that
> because there are two addresses in a RREQ, then if one is marked as OrigAddr
> by having an associated OrigSeqNum (or ORIG_SEQ_NUM) TLV, the other address
> must be TargAddr. i.e in a RREQ, we can interpret an address without an
> associated TLV as TargAddr. By doing it this way, we save the length of the
> TLV we might have associated with TargAddr. Further, this applied to other
> messages - the meaning of an unmarked address is deduced from the message
> type. For RREP, an address without an associated TLV is OrigAddr. For RERR,
> all unmarked addresses are unreachable destinations. In RERR, we mark the
> PktSource address with its own PktSource (PKT_SOURCE) TLV to differentiate
> from the unreachable addresses.
>
> If in future, we decided to add an new type of address into a message for
> some reason, that address MUST have a TLV associated with it to
> differentiate. That makes sense anyway, we would want to indicate what the
> new address means.
>
> The question is, is this acceptable? If not, maybe we have to accept adding
> a TLV to each of these messages so that there are no addresses without
> associated any Address Block TLVs.
>
> Also, the order of addresses in the Address Block doesn't matter in either
> case. AODVv2 draft 9 says, in the RFC5444 Representation Section (Section 8,
> page 46):
> "The addresses in an Address Block may appear in any order, and values
>    in an Address Block TLV must be associated with the correct address
>    in the Address Block.  To indicate which address each value is
>    associated with, the AODVv2 message representation uses lists where
>    the order of the addresses in the AddressList matches the order of
>    values in the other lists, e.g., SeqNumList in a RERR."
> Is this unclear?
>
> Kind regards,
> Victoria.
>
>
> On Tue, May 26, 2015 at 12:19 AM, Jiazi YI <ietf@jiaziyi.com> wrote:
>>
>> If I understand well, we still need the existence and the order in the
>> address block, to identify the usage of addresses?
>>
>> For example, section 8.1:
>>
>> 8.1.3.  Address Block
>>
>>    A RREQ contains two Addresses, OrigAddr and TargAddr, and each
>>    address has an associated prefix length.
>>
>>         +-------------------------+------------------------------+
>>         | Data Elements           | Address Block                |
>>         +-------------------------+------------------------------+
>>         | OrigAddr/OrigPrefixLen  | <address> + <prefix-length>  |
>>         | TargAddr/TargPrefixLen  | <address> + <prefix-length>  |
>>         +-------------------------+------------------------------+
>>
>>
>> We can infer the OrigAddr by the TLV type ORIG_SEQ_NUM. However, the only
>> address block TLV for TargAddr (TargSeqNum) is optional. It means if we
>> don't have the TargSeqNum TLV, according to RFC5444, we won't be able to
>> know what's the TargAddr.
>>
>>
>> best
>>
>>
>> Jiazi
>>
>>
>>
>>
>> On Wed, May 13, 2015 at 7:13 PM, Lotte Steenbrink
>> <lotte.steenbrink@fu-berlin.de> wrote:
>>>
>>> Hi all,
>>> FYI, draft-ietf-manet-aodvv2-09, which charlie just published, addresses
>>> all comments made in this thread. Any feedback is very welcome!
>>>
>>> Regards,
>>> Lotte
>>>
>>> Am 13.05.2015 um 16:33 schrieb Dearlove, Christopher (UK)
>>> <chris.dearlove@baesystems.com>:
>>>
>>> > I don't have time to look at this today, but Henning's suggestion looks
>>> > good.
>>> >
>>> > --
>>> > Christopher Dearlove
>>> > Senior Principal Engineer
>>> > BAE Systems Applied Intelligence
>>> >
>>> > __________________________________________________________________________
>>> >
>>> > T:  +44 (0)1245 242194  |  E: chris.dearlove@baesystems.com
>>> >
>>> > BAE Systems Applied Intelligence, Chelmsford Technology Park, Great
>>> > Baddow, Chelmsford, Essex CM2 8HN.
>>> > www.baesystems.com/ai
>>> > BAE Systems Applied Intelligence Limited
>>> > Registered in England & Wales No: 01337451
>>> > Registered Office: Surrey Research Park, Guildford, Surrey, GU2 7YP
>>> >
>>> >
>>> >
>>> > -----Original Message-----
>>> > From: Henning Rogge [mailto:hrogge@gmail.com]
>>> > Sent: 13 May 2015 15:11
>>> > To: Lotte Steenbrink
>>> > Cc: Dearlove, Christopher (UK); manet@ietf.org
>>> > Subject: Re: [manet] RFC 5444 translation tables
>>> >
>>> > ----------------------! WARNING ! ---------------------- This message
>>> > originates from outside our organisation, either from an external partner or
>>> > from the internet.
>>> > Consider carefully whether you should click on any links, open any
>>> > attachments or reply.
>>> > Follow the 'Report Suspicious Emails' link on IT matters for
>>> > instructions on reporting suspicious email messages.
>>> > --------------------------------------------------------
>>> >
>>> > On Wed, May 13, 2015 at 3:55 PM, Lotte Steenbrink
>>> > <lotte.steenbrink@fu-berlin.de> wrote:
>>> >> Hi Christopher,
>>> >> thanks for your feedback.
>>> >>
>>> >> Am 07.05.2015 um 12:00 schrieb Dearlove, Christopher (UK)
>>> >> <chris.dearlove@baesystems.com>:
>>> >>
>>> >> There is a style question that all existing TLVs have names like
>>> >> LINK_STATUS, while here TLVs have names like OrigSeqNum. I don’t think
>>> >> IANA enforce such issues, and different people will have different
>>> >> opinions on the importance of consistent style. (Naming can matter,
>>> >> we’re spending cycles on an ID just about TLV names.)
>>> >>
>>> >>
>>> >>
>>> >> Absolutely. In your opinion, would it suffice to adjust the current
>>> >> names stylistically (see attached file), or do some names need extra
>>> >> work in terms of clarification or consistency? (I was just wondering
>>> >> if METRIC should be edited to make clear that it is not directly
>>> >> related to LINK_METRIC...)
>>> >
>>> > Maybe the name "PATH_METRIC" would make sense for the new TLV... this
>>> > describes the usage of the TLV very well.
>>> >
>>> > Henning Rogge
>>> > ********************************************************************
>>> > This email and any attachments are confidential to the intended
>>> > recipient and may also be privileged. If you are not the intended
>>> > recipient please delete it from your system and notify the sender.
>>> > You should not copy it or use it for any purpose nor disclose or
>>> > distribute its contents to any other person.
>>> > ********************************************************************
>>>
>>> _______________________________________________
>>> manet mailing list
>>> manet@ietf.org
>>> https://www.ietf.org/mailman/listinfo/manet
>>
>>
>>
>> _______________________________________________
>> manet mailing list
>> manet@ietf.org
>> https://www.ietf.org/mailman/listinfo/manet
>>
>
>
> _______________________________________________
> manet mailing list
> manet@ietf.org
> https://www.ietf.org/mailman/listinfo/manet
>