Re: [manet] Message integrity and message mutability (was RE: draft-ietf-manet-aodvv2-13 review - a couple of big ticket Items)

Justin Dean <bebemaster@gmail.com> Mon, 25 April 2016 15:01 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 16B1D12D1B0 for <manet@ietfa.amsl.com>; Mon, 25 Apr 2016 08:01:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level:
X-Spam-Status: No, score=-2.699 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, HTML_MESSAGE=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 il3SkMgWGigE for <manet@ietfa.amsl.com>; Mon, 25 Apr 2016 08:01:01 -0700 (PDT)
Received: from mail-yw0-x22f.google.com (mail-yw0-x22f.google.com [IPv6:2607:f8b0:4002:c05::22f]) (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 5595612D530 for <manet@ietf.org>; Mon, 25 Apr 2016 08:01:01 -0700 (PDT)
Received: by mail-yw0-x22f.google.com with SMTP id g133so189350784ywb.2 for <manet@ietf.org>; Mon, 25 Apr 2016 08:01:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=WGa67Dp3RJJ6Kd51RZ+2SCEhwi9hBcEHlj8x4b4eibw=; b=WRF8RClfEVqJSm+D994iwQonU28KrBTTsQTouiGiapbHXhvxPlgIJDq8LBEaTIvfIU EMrkYjCMubFg64oTF4UN12vcmPBLbPAR30NF6ne0LHrue+NahnxZwTwT0nxDPDmS42fb ARYeWcjfbshx5l/s6JdvZY+T/mtLdehApQGCxjHIfgSBdiQF2CitkQv+MU1CMf0oe9co IURqBqB5y00Yakgf422ezKsQ3IBdIMz/2eUko3GKWoKg9DL3L4YLgt8+Zw9Yel6gLKV0 kFXXLK7E/FBWluo/Cd+o3w588hGWcGptBbYRdwQ2V1GHhgQHqtr6E+LyyKfSmcc/Wsxa 0YGw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=WGa67Dp3RJJ6Kd51RZ+2SCEhwi9hBcEHlj8x4b4eibw=; b=kALsfhONqtarznhg3vf+AUxxNgAEZORj8YRYUo2iJNTW/zwiyTHaqbF1kn4qon4vQu idFbxOTToAWQyOgXarqxCDNhV6ycjPRl3UmZhMvJQRNpJHjBzg3mfLEWcBybr1LshLA+ SIuMgoMp9krG0MKPEF5aWL7xcDd6FBRNO1s76ibefpNVllfFrxYIS2RdiSDQSIogI1df bTZmviIsnTK/ZPDGyAM+SkeGwKzkhYtD6VFm2U94Eb00ii/RuzX4b+9yPeO0wozs3tdY P4L2Rw1IO3jvVuY2K2C4ByOFZPFdAoidBS548bnT+JRysXIfalWRn6Q54UUnqaJmuYWj 2w5A==
X-Gm-Message-State: AOPr4FXtUyY9uc8nlX2qoFQU+OD9VS1mQE53jm5OuflQEAFs9Yi6nELay96JyciE/xhtHiZpwQLtj2QMv29+nw==
MIME-Version: 1.0
X-Received: by 10.176.65.133 with SMTP id 5mr6168061uap.29.1461596458015; Mon, 25 Apr 2016 08:00:58 -0700 (PDT)
Received: by 10.31.62.67 with HTTP; Mon, 25 Apr 2016 08:00:57 -0700 (PDT)
In-Reply-To: <B31EEDDDB8ED7E4A93FDF12A4EECD30D923B15E3@GLKXM0002V.GREENLNK.net>
References: <B31EEDDDB8ED7E4A93FDF12A4EECD30D9237E267@GLKXM0002V.GREENLNK.net> <1F5AB0F1-0B92-4A66-A08F-A2BF8B414D9F@thomasclausen.org> <B31EEDDDB8ED7E4A93FDF12A4EECD30D9237E2C8@GLKXM0002V.GREENLNK.net> <5EE270D1-30EF-42A9-BF11-7F4267967AC0@fu-berlin.de> <B31EEDDDB8ED7E4A93FDF12A4EECD30D9237E324@GLKXM0002V.GREENLNK.net> <3F51EFE1-7D89-49E9-8B1B-87C02D7A705D@thomasclausen.org> <B31EEDDDB8ED7E4A93FDF12A4EECD30D9237E356@GLKXM0002V.GREENLNK.net> <0E2F32E3-A198-48BA-A712-F9F59F8BBAA0@thomasclausen.org> <CAAePS4D3A3g7NbZ4jND04xhJ2Q+gbGP-7sXZ4p4eC55=ejiWLw@mail.gmail.com> <B0317B9B-09AA-48A5-90C2-2A8DA51C8281@mnemosyne.demon.co.uk> <CAAePS4DCHy6R_Ht7KF3MoeZ7ML+BawnobC92VLQZyS5FaA7vdQ@mail.gmail.com> <B31EEDDDB8ED7E4A93FDF12A4EECD30D923B12C9@GLKXM0002V.GREENLNK.net> <CAN1bDFwyTFatXOkuY+N2czFPqVmoygRjSCRG2bubS=sBhLqE7A@mail.gmail.com> <CAAePS4Botm8kfQXuJczHC_rYfjtisDrTk5Vdb5m2LafP2qkTTg@mail.gmail.com> <B31EEDDDB8ED7E4A93FDF12A4EECD30D923B1556@GLKXM0002V.GREENLNK.net> <84C7FCA8-B122-4534-ACB7-0C799F14A569@thomasclausen.org> <CA+-pDCdy=9Bea4nwQ5k8hqAPTJ04RgvdeDqHaj6MXeRnFj-3dg@mail.gmail.com> <B31EEDDDB8ED7E4A93FDF12A4EECD30D923B15E3@GLKXM0002V.GREENLNK.net>
Date: Mon, 25 Apr 2016 11:00:57 -0400
Message-ID: <CA+-pDCczVAsxdZrD3truOmqSfyJCRo+nLY7eagga3bPMw98aig@mail.gmail.com>
From: Justin Dean <bebemaster@gmail.com>
To: "Dearlove, Christopher (UK)" <chris.dearlove@baesystems.com>
Content-Type: multipart/alternative; boundary="94eb2c093e42b0194305315071f6"
Archived-At: <http://mailarchive.ietf.org/arch/msg/manet/9oAFJyNNPHh3i1-iaVc8ALyI8xI>
Cc: Christopher Dearlove <chris@mnemosyne.demon.co.uk>, Mobile Ad Hoc Networks mailing list <manet@ietf.org>, Victoria Mercieca <vmercieca0@gmail.com>
Subject: Re: [manet] Message integrity and message mutability (was RE: draft-ietf-manet-aodvv2-13 review - a couple of big ticket Items)
X-BeenThere: manet@ietf.org
X-Mailman-Version: 2.1.17
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, 25 Apr 2016 15:01:03 -0000

On Mon, Apr 25, 2016 at 10:51 AM, Dearlove, Christopher (UK) <
chris.dearlove@baesystems.com> wrote:

> I has to go back to Victoria’s summary here. It says:
>
>
>
> 2) C creates the RREP. Since it doesnt know if the link to B is
> bidirectional, it includes the AckReq (an address to indicate that it
> expects to receive a RREP_Ack from B).
>
>
>
> That doesn’t actually indicate if that’s C’s address or B’s address being
> included. I’d assumed it was C’s address. Your comment makes sense if it’s
> B’s address. Reading again, I think you’re probably right. But only
> probably. Can we confirm that.
>
>
>
> I assume you meant that the RREP (not RREP_Ack) is multicast. There’s a
> bit of a chicken and egg problem here. We do know how we want to unicast.
>
> Yes I meant RREP and not RREP_Ack.

>
>
>From 7.2.3 again

The procedure for RREP regeneration is as follows:

   1.  If the link to the next hop router toward OrigAddr is not known
       to be bidirectional, include the AckReq with the address of the
       intended next hop router

 2. Set AddressList, PrefixLengthList, TargSeqNum and MetricType to

       the values in the received RREP

   3.  Set TargMetric := LocalRoute[TargAddr].Metric


4.  If the received RREP contains a ValidityTime, or if the
       regenerating router wishes to limit the time that it will offer a
       route to TargAddr (and any other addresses included in the given
       prefix length), the regenerated RREP MUST include ValidityTime

       *  The ValidityTime is either the time limit the previous AODVv2
          router specified, or the time limit this router wishes to
          impose, whichever is lower.