Re: [6lo] New I-D draft-delcarpio-6lo-wlanah-00.txt - security

Alexandru Petrescu <alexandru.petrescu@gmail.com> Thu, 18 June 2015 16:00 UTC

Return-Path: <alexandru.petrescu@gmail.com>
X-Original-To: 6lo@ietfa.amsl.com
Delivered-To: 6lo@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 10C1B1B32EE for <6lo@ietfa.amsl.com>; Thu, 18 Jun 2015 09:00:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.983
X-Spam-Level:
X-Spam-Status: No, score=-4.983 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001, HELO_EQ_FR=0.35, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_DNSWL_HI=-5, SPF_SOFTFAIL=0.665] 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 2jlDqrlABm6y for <6lo@ietfa.amsl.com>; Thu, 18 Jun 2015 08:59:59 -0700 (PDT)
Received: from oxalide-out.extra.cea.fr (oxalide-out.extra.cea.fr [132.168.224.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CB54F1B32F3 for <6lo@ietf.org>; Thu, 18 Jun 2015 08:59:45 -0700 (PDT)
Received: from pisaure.intra.cea.fr (pisaure.intra.cea.fr [132.166.88.21]) by oxalide.extra.cea.fr (8.14.2/8.14.2/CEAnet-Internet-out-2.3) with ESMTP id t5IFxgh3015653; Thu, 18 Jun 2015 17:59:42 +0200
Received: from pisaure.intra.cea.fr (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 5AD5C2047DF; Thu, 18 Jun 2015 18:02:29 +0200 (CEST)
Received: from muguet1.intra.cea.fr (muguet1.intra.cea.fr [132.166.192.6]) by pisaure.intra.cea.fr (Postfix) with ESMTP id 4B86E20476A; Thu, 18 Jun 2015 18:02:29 +0200 (CEST)
Received: from [127.0.0.1] (is227335.intra.cea.fr [10.8.34.184]) by muguet1.intra.cea.fr (8.13.8/8.13.8/CEAnet-Intranet-out-1.2) with ESMTP id t5IFxa2w017714; Thu, 18 Jun 2015 17:59:42 +0200
Message-ID: <5582EAE8.7040507@gmail.com>
Date: Thu, 18 Jun 2015 17:59:36 +0200
From: Alexandru Petrescu <alexandru.petrescu@gmail.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version: 1.0
To: Felipe Del Carpio <felipe.del.carpio@ericsson.com>, "6lo@ietf.org" <6lo@ietf.org>
References: <5EF40C5436D7B040B95EE286EE383A9C0BF20226@ESESSMB101.ericsson.se> <5581A8BA.2010202@gmail.com> <5EF40C5436D7B040B95EE286EE383A9C0F7C7538@ESESSMB108.ericsson.se>
In-Reply-To: <5EF40C5436D7B040B95EE286EE383A9C0F7C7538@ESESSMB108.ericsson.se>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 8bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/6lo/QJdSZX33mxO2hpxkJb6ggSqta3A>
Cc: Roberto Morabito <roberto.morabito@ericsson.com>, MARIA INES ROBLES <maria.ines.robles@ericsson.com>
Subject: Re: [6lo] New I-D draft-delcarpio-6lo-wlanah-00.txt - security
X-BeenThere: 6lo@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "Mailing list for the 6lo WG for Internet Area issues in IPv6 over constrained node networks." <6lo.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/6lo>, <mailto:6lo-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/6lo/>
List-Post: <mailto:6lo@ietf.org>
List-Help: <mailto:6lo-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/6lo>, <mailto:6lo-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 18 Jun 2015 16:00:01 -0000

Dear Felipe,

Le 18/06/2015 12:28, Felipe Del Carpio a écrit :
[...]
> [FDC] Please note that there is no intermediary routers in 802.11ah.

Ok. I meant IPv6 routers:

  +-----------+      +-----------+        ---------      +-----------+
  |11ah device|------|IPv6 router|-------|Internet |-----|11ah device|
  +-----------+      +-----------+        ---------      +-----------+

> However we believe that IPsec can be implemented in this kind of
> networks following
> [https://tools.ietf.org/html/draft-raza-6lowpan-ipsec-01]

Well, that draft seems to be trying to compress IPsec headers, similarly 
to LOWPAN_IPHC substituting new headers for RFC2460 IPv6 headers.

But the LOWPAN_IPHC header is insecure, whereas the IPv6 Base Header is 
secured by IPsec.

The risk includes faking LOWPAN_IPHC headers between two 11ah devices
in the same subnet.

Waht do you think?

Further, you are saying in the draft the following:
> The security considerations defined in [RFC4944] and its update
> [RFC6282] can be assumed valid for the 802.11ah case as well.

Neither RFC6282 nor RFC4944 offer a security mechanism for the
LOWPAN_IPHC header.

> Indeed, the transmission of IPv6 over 802.11ah links meets all the
> requirements for security as for IEEE 802.15.4.

No.

The transmission of IPv6 over 802.11ah links requires that IPsec works
fine on them.  An IPv6 11ah-only device must be able to use IPsec to
protect its IPv6 communications with an IPv6 11b-only device in the same
subnet.  And an IPv6 11ah-only device must be able to use IPsec to
protect its IPv6 communications to an IPv6 11ah-only device across the
Internet.

These are the security requirements for IPv6 over 11ah.

Do you agree?

> The standard IEEE 802.11ah defines all those aspects related with
> Link Layer security.

Where?  Is a document publicly available?

Is the Link Layer security defined by IEEE 802.11ah protecting the 
LOWPAN_IPHC header?

Does IEEE 802.11ah even mention LOWPAN_IPHC?

>    As well as for other existing WiFi solutions, 802.11ah Link Layer
>    supports security mechanism such as WPA, WPS, 802.1X.

But neither of these (WPA, WPS, 802.1X) carry LOWPAN_IPHC headers as far 
as I know.  They carry IPv6 Base Headers, ethertype 0x86dd.

Alex