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

Jiazi YI <ietf@jiaziyi.com> Thu, 28 April 2016 20:44 UTC

Return-Path: <yi.jiazi@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 1FD0D12D9ED for <manet@ietfa.amsl.com>; Thu, 28 Apr 2016 13:44:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.399
X-Spam-Level:
X-Spam-Status: No, score=-2.399 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.199, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=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 VAokutzrpdvf for <manet@ietfa.amsl.com>; Thu, 28 Apr 2016 13:44:32 -0700 (PDT)
Received: from mail-lf0-x236.google.com (mail-lf0-x236.google.com [IPv6:2a00:1450:4010:c07::236]) (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 7344F12D9DC for <manet@ietf.org>; Thu, 28 Apr 2016 13:44:31 -0700 (PDT)
Received: by mail-lf0-x236.google.com with SMTP id j11so110461002lfb.1 for <manet@ietf.org>; Thu, 28 Apr 2016 13:44:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc; bh=UhDPvWWb4HvxJEDXyB221kwcFBexAhEhtrOTEkdTBQk=; b=ukdYDOfpOinICcWNshZAhYHWEsKMRiTrRAum3ml60EPOeLWk9spuGkKPUVVgyWaXiu LhAILfGt8BtQXiA5kTSXxvjJuUxhazCmakIMLOPcnrYlSA3O+BIN3k0Ul+vGegBlgs1c 8xCFVkRODRA9+i8+4BU4dhJNpMSCRWZfsD91Y1jqXa/a/RuDMxj7p4Nr3TNTZ9ZzcIIP Pb1LYpYSBNzbp86skVIY2DjNrNbww3B331zVK8x7p8bOAceleP22DdHheu+N1XGmru1f QEjtARjj0kSBU+AcuHt22WRjJZrtSJ6R1OEv8NBZPq2ocn7zHjUmHpYIXOY8/146uc5Z uoQw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc; bh=UhDPvWWb4HvxJEDXyB221kwcFBexAhEhtrOTEkdTBQk=; b=ZEJcfnj6edEpKdeeXysDFcEEVssyGkxyBk3zn3SCG4dHiahmIptN9OWwKDz7JBmkcq JLaC6vJ8Gzljb4qGFXHjYtDl+xevfBiezlXKdQaOOcEgjk9WK64ngtF9ZpdnCz1SzktL rbHxYt9701C71SUq276XHlQV4PxAK3gTJROzemUaa0QuRpgjMtajvAn7+xnWVXbowDEZ XerocEvcnLC/pScKiWL8iZl9u3Rbq7ZAO+W3e81JjjDLeC6dCclXtOoRAuFTwed0ouAG I1LMnK4dDKsPuARASCYSGpSCEhTeJ/S/SzxumCu0zu9vzi/wRzQc12p1TYH75cUBhuZj zHFw==
X-Gm-Message-State: AOPr4FXxY+QzB5xfVIfSiecwAw+cATM4pw5sgEJjbUNhX80KdyYl5GtM7rwWCR5JSqI66xae36oN5pb7UoTJVg==
MIME-Version: 1.0
X-Received: by 10.112.129.162 with SMTP id nx2mr128907lbb.43.1461876269353; Thu, 28 Apr 2016 13:44:29 -0700 (PDT)
Sender: yi.jiazi@gmail.com
Received: by 10.114.77.4 with HTTP; Thu, 28 Apr 2016 13:44:29 -0700 (PDT)
In-Reply-To: <CA+-pDCcmDsxVK796T=aOc7kM0uLgCfiE2GF+EkCj+BVo25pMUw@mail.gmail.com>
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> <CAAePS4APf3PsKdbzOZv1kd9oAP_3AUDPxoM9oor=NkjBGExFbg@mail.gmail.com> <CAN1bDFzv0R9UzykYwm-9JK7OVYYHeNzxXYNWRsx87T7ODNmVDw@mail.gmail.com> <CA+-pDCf7zvhagsH--OrX7ASHVi994Oq9P-Kj-udg0047joFRSA@mail.gmail.com> <CAAePS4B81Ep3Gg6bROceqTHAj0LhKDFAsAUWPuF=3hLoVMu5cQ@mail.gmail.com> <CAN1bDFzAWQiF=fM5+3Xz=D130mq8teY3E_UEGoXUSTcV6QN2eg@mail.gmail.com> <CAAePS4B-TmVDvTicDTd03S5R2tuPDpSM1dj0_NOgm4aGhp-27g@mail.gmail.com> <CA+-pDCcmDsxVK796T=aOc7kM0uLgCfiE2GF+EkCj+BVo25pMUw@mail.gmail.com>
Date: Thu, 28 Apr 2016 22:44:29 +0200
X-Google-Sender-Auth: 2RPH5Im787bWubB_B0KQc6Xa3bA
Message-ID: <CAN1bDFzGbR6pCvs2q_QkOEE2ARPOhp7tv7qBQ+-5_D3sbEi8kg@mail.gmail.com>
From: Jiazi YI <ietf@jiaziyi.com>
To: Justin Dean <bebemaster@gmail.com>
Content-Type: multipart/alternative; boundary="047d7b3a8f4abe142405319197b4"
Archived-At: <http://mailarchive.ietf.org/arch/msg/manet/SLClQdTtNzorOja1qWTIF-y3RhI>
Cc: "Dearlove, Christopher (UK)" <chris.dearlove@baesystems.com>, 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: Thu, 28 Apr 2016 20:44:43 -0000

On Thu, Apr 28, 2016 at 7:08 PM, Justin Dean <bebemaster@gmail.com> wrote:

>
>
> On Thu, Apr 28, 2016 at 12:55 PM, Victoria Mercieca <vmercieca0@gmail.com>
> wrote:
>
>> Hi Jiazi,
>>
>> Thanks for your response. So you think we could change back to sending
>> RREP by unicast (letting an implementation handle whether this requires a
>> route to the neighbor to be installed temporarily)? We would have to also
>> send a separate message to request an acknowledgement, but this could also
>> be unicast and could therefore potentially be sent in the same RFC5444
>> packet.
>>
>> Anyone have any objections?
>>
>
> I don't think it's a good idea to "temporarily" add a route that is not
> known to be bi-directional yet.  The timing of correctly adding and
> removing the route with different mediums and restricting the route to only
> that one packet doesn't seem like a workable solution.    Sending it
> unicast with a raw type socket or pcap out of a known interface sure.  IMO
> a route shouldn't be added until the link is confirmed bi-directional.
>

The point that I want to make is, it's possible to send unicast RREP even
without a route being set -- let the implementor decide which is the best
way.
Regarding the information of requesting RREP-ACK: it can be a flag (which
is much easier to secure than a optional address field), or another RFC5444
message.
Someone probably doesn't like such flags (because it must be zeroed when
calculating ICV), but I don't have strong opinion on that.

Jiazi


>
> Justin
>
>