Re: [homenet] Kathleen Moriarty's Discuss on draft-ietf-homenet-hncp-09: (with DISCUSS)

Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com> Fri, 20 November 2015 16:44 UTC

Return-Path: <kathleen.moriarty.ietf@gmail.com>
X-Original-To: homenet@ietfa.amsl.com
Delivered-To: homenet@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AD9751B388A; Fri, 20 Nov 2015 08:44:49 -0800 (PST)
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 r9dVHFWN4Umt; Fri, 20 Nov 2015 08:44:44 -0800 (PST)
Received: from mail-wm0-x22b.google.com (mail-wm0-x22b.google.com [IPv6:2a00:1450:400c:c09::22b]) (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 1F1981B38AD; Fri, 20 Nov 2015 08:44:44 -0800 (PST)
Received: by wmec201 with SMTP id c201so80194187wme.0; Fri, 20 Nov 2015 08:44:42 -0800 (PST)
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:content-type:content-transfer-encoding; bh=W6ml4VbZ/e5fvS8VuqHTARPKZssttTXS1UlcfAwbx5c=; b=cZlBVj+vusYAeIZdbgFuigcfXmpevzzSHzOGsdhvyagmVipMMOxh9V9YDvo4223Bjg clJFDNfB8t7xFWp+ruaBMbs1rroKyJVJXUIq8E2RWMNIcUyuM7MBlF3/k34kVIOWPdrp yNwDD64BKNbHD/GzERMAkngSkX7inzmjiaDhj9t/0i36m9oCR+o1+IBEpa/EzHDhjpE/ O3Q4jjYAe8a7uyW/RGxl5zW+emHUECdwzbVAX0IQcKlBcjsK1o6XwSb14MqOwF3O73dc BMLTIReM9bcT7hqSEClaZUrtEuqSv8CMDJBe+QMpe1h5eWH+AdDHvLfZxag++Cuf1lcN ym1w==
MIME-Version: 1.0
X-Received: by 10.28.94.194 with SMTP id s185mr970548wmb.90.1448037882737; Fri, 20 Nov 2015 08:44:42 -0800 (PST)
Received: by 10.28.52.130 with HTTP; Fri, 20 Nov 2015 08:44:42 -0800 (PST)
In-Reply-To: <D0639126-A328-4B1A-9C5E-5AB8DA7438F2@iki.fi>
References: <20151117235034.24927.22561.idtracker@ietfa.amsl.com> <87poz7qw2k.wl-jch@pps.univ-paris-diderot.fr> <1447858576159-79d51c78-b96c8c38-55ec1307@fugue.com> <C9FD778E-4F0B-420A-911D-D225F23FFF98@iki.fi> <CAHbuEH57=mi4qh55qb+JTRUg4sS7=vxaQtSFEALm6JVOuOfP1w@mail.gmail.com> <D309D1D9-4DA7-43F0-B17F-713974A3AF2F@iki.fi> <CAHbuEH69koEpmwpO95sL_ZyLiT0JgOPuPJgOHekGxQo7B=Ut_w@mail.gmail.com> <D0639126-A328-4B1A-9C5E-5AB8DA7438F2@iki.fi>
Date: Fri, 20 Nov 2015 11:44:42 -0500
Message-ID: <CAHbuEH5Gek45NUXKR5m9_BeV-=omJM+dxjxtO800=NF1bYZFBg@mail.gmail.com>
From: Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com>
To: Markus Stenberg <markus.stenberg@iki.fi>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Archived-At: <http://mailarchive.ietf.org/arch/msg/homenet/jwWCi0idBZFHFNYQ8WLtfCA3W5U>
Cc: "homenet@ietf.org" <homenet@ietf.org>, Ted Lemon <mellon@fugue.com>, "iesg@ietf.org" <iesg@ietf.org>
Subject: Re: [homenet] Kathleen Moriarty's Discuss on draft-ietf-homenet-hncp-09: (with DISCUSS)
X-BeenThere: homenet@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: IETF Homenet WG mailing list <homenet.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/homenet>, <mailto:homenet-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/homenet/>
List-Post: <mailto:homenet@ietf.org>
List-Help: <mailto:homenet-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/homenet>, <mailto:homenet-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 20 Nov 2015 16:44:49 -0000

Hi Markus,

On Fri, Nov 20, 2015 at 10:51 AM, Markus Stenberg
<markus.stenberg@iki.fi>; wrote:
>
>> On 20.11.2015, at 17.17, Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com>; wrote:
>>
>> Hi Markus,
>>
>> Thanks for your quick response, inline,
>>
>> On Fri, Nov 20, 2015 at 10:07 AM, Markus Stenberg
>> <markus.stenberg@iki.fi>; wrote:
>>> On 20.11.2015, at 16.47, Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com>; wrote:
>>>>> It is question of threats <-> risks  <-> mitigation analysis. Only thing HNCP security really brings is _in case of insecure L2_ _some_ security for routing/psk state. If we assume every other protocol is secured (e.g. SEND, DHCPv6 ’secure mode’) it may be actually worthwhile, but as long as e.g. DHCPv4 is not secure (and it will never be I suspect), the amount of threats you actually take out of the picture by forcing ’securing’ HNCP alone is not really significant.
>>>>>
>>>>> To sum it up: I recommend still SHOULD MTI, MUST MTU _if and only if_ L2, but at least _my_ home does not _have_ any insecure L2, or at least insecure in a sense that HNCP running there would be my greatest worry.
>>>> If MTI is not a MUST, how can you MUST the MTU?
>>>
>>> The MUST MTU here is only for (relatively small) subset of U cases. Therefore, if a product (or a network) does not see those cases happening, broad MTI/MTU causes extra bloat without any benefit (like my home network case I mentioned).
>> Can you propose text that clearly describes this for developers and
>> implementors to replace the current text and we'll see where we are
>> at?  If it makes enough sense, I may be okay with that.  Stephen also
>> supported my discuss, so both of us may need to review and possibly
>> tweak it.  The current text isn't clear enough to convey what's been
>> described int his thread.
>
> I am not really a wordsmith, and as I am completely happy with the ’security of unicast traffic’ (given the delta in [1]), I am not really sure what is to be done about that. Perhaps Steven can come up with something.
>
> The text currently looks as follows:
>
> 12.2.  Security of Unicast Traffic
>
>    Once the homenet border has been established there are several ways
>    to secure HNCP against internal threats like manipulation or
>    eavesdropping by compromised devices on a link which is enabled for
>    HNCP traffic.  If left unsecured, attackers may perform arbitrary
>    traffic redirection, eavesdropping, spoofing or denial of service
>    attacks on HNCP services such as address assignment or service
>    discovery, and the protocols secured using HNCP-derived keys such as
>    routing protocols.
>
>    Detailed interface categories like "leaf" or "guest" can be used to
>    integrate not fully trusted devices to various degrees into the
>    homenet by not exposing them to HNCP traffic or by using firewall
>    rules to prevent them from reaching homenet-internal resources.
>
>    On links where this is not practical and lower layers do not provide
>    adequate protection from attackers, DTLS-based secure unicast
>    transport MUST be used to secure traffic.
>
> Can you and Stephen come up with requirements on what exactly you want in this subsection?

I think this new wording helps a lot.  I don't consider WPA adequate,
but if you are stating encryption at other layers that are ok without
listing the specific solutions, then I think we are good.  In this
thread, WPA was mentioned and as pointed out by others, it's not
adequate, but WEP2 is a lot better.  And by ok - I mean provide the
necessary security properties of confidentiality and integrity that
are not subject to attacks (MiTM, etc.).  WPA is not mentioned in the
draft, so we may be ok on this with the updated text.  Thanks for the
quick turn-around!


>
>>> Ah, sorry, simply too much mail backlog. ’secure mode’ in that context should be probably just secure _transport_ enabled on that particular link/for a particular remote endpoint, that is,  the {TLS,DTLS} based one described in the rest of the text.
>> OK, then for the text where this shows up in this draft, please do
>> replace it with what is meant exactly.
>>> I wonder if we should edit dncp too, I don’t think that term appears anywhere elsewhere in the document.
>> Yes, please.  Since it isn't defined anywhere, just stating what was
>> intended would be much better.
>
> Staged [1] for both dncp(-13) and hncp(-10) that removes ‘secure mode’ references. I suspect it is remainder of some much older text where we used the term more :) Good catch, thanks.

Excellent, thank you!
Kathleen


>
> Cheers,
>
> -Markus
>
> [1] https://github.com/fingon/ietf-drafts/commit/363bd9b02108b4f05c03eaa68181a0f972de8c6c
>



-- 

Best regards,
Kathleen