Re: Reducing the battery impact of ND

"Pascal Thubert (pthubert)" <pthubert@cisco.com> Sat, 01 February 2014 11:02 UTC

Return-Path: <pthubert@cisco.com>
X-Original-To: ipv6@ietfa.amsl.com
Delivered-To: ipv6@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C29251ACCEB for <ipv6@ietfa.amsl.com>; Sat, 1 Feb 2014 03:02:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.036
X-Spam-Level:
X-Spam-Status: No, score=-10.036 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RP_MATCHES_RCVD=-0.535, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] 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 1yhjcveWcCsS for <ipv6@ietfa.amsl.com>; Sat, 1 Feb 2014 03:02:38 -0800 (PST)
Received: from alln-iport-6.cisco.com (alln-iport-6.cisco.com [173.37.142.93]) by ietfa.amsl.com (Postfix) with ESMTP id AD4611ACCF8 for <ipv6@ietf.org>; Sat, 1 Feb 2014 03:02:38 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=3996; q=dns/txt; s=iport; t=1391252555; x=1392462155; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=aaLKI/byeGvYr2KgRgVp085Z+C2fGjU5Nld/llPtHiE=; b=AQA0L8QJNcC0gWHAWWBRd9B1aRf3Scw8Gos2naEPVj074sE4JGyCnbV6 UuAvFvMaF3qBpixFxrFmcelfQzV85QCc7Ipoeedq/Gm0+ukc/cd5pNlty OSC0ckH1VWVfXl5kmPgjNYF27v13IVWGTxaaJX9Kc9Ofvs/h2wFp9bAQx U=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AiQFAAnT7FKtJV2d/2dsb2JhbABZgww4vjeBBRZ0giUBAQEDAQEBAWsCCQULAgEIDgouJwslAgQOBRuHYggNzSETBI4hNTMHgySBFASYKpIhgy0
X-IronPort-AV: E=Sophos;i="4.95,760,1384300800"; d="scan'208";a="17191491"
Received: from rcdn-core-6.cisco.com ([173.37.93.157]) by alln-iport-6.cisco.com with ESMTP; 01 Feb 2014 11:02:34 +0000
Received: from xhc-rcd-x11.cisco.com (xhc-rcd-x11.cisco.com [173.37.183.85]) by rcdn-core-6.cisco.com (8.14.5/8.14.5) with ESMTP id s11B2YKQ024021 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Sat, 1 Feb 2014 11:02:34 GMT
Received: from xmb-rcd-x01.cisco.com ([169.254.1.119]) by xhc-rcd-x11.cisco.com ([173.37.183.85]) with mapi id 14.03.0123.003; Sat, 1 Feb 2014 05:02:33 -0600
From: "Pascal Thubert (pthubert)" <pthubert@cisco.com>
To: Carsten Bormann <cabo@tzi.org>
Subject: Re: Reducing the battery impact of ND
Thread-Topic: Reducing the battery impact of ND
Thread-Index: AQHPHzUTiMCxaPXhG0aRhxb2a+DuMZqgO80n
Date: Sat, 01 Feb 2014 11:02:33 +0000
Message-ID: <1F38DE17-84B2-4151-B4AF-05B5BE76EDCE@cisco.com>
References: <CAKD1Yr29S=O5L4DfhNoiVieWPkgBJ2veuOu6ig5rwgK4ELz7Xw@mail.gmail.com> <52D96663.6060005@sonic.net> <CAKD1Yr3pCQ15uFz36MvKG3Q_Vzt27ws0aG1=94377FFaJtWV7g@mail.gmail.com> <52DA0ABA.8030903@acm.org> <CAKD1Yr1zSfAOv8j9XgB_ph9uaUUNW0yrJhfjJTsSTYHNKYNx9A@mail.gmail.com> <52E03BB4.8040309@acm.org> <DCA1F00D-0775-4030-A3BF-700F01F98C35@employees.org> <52E0423A.5070906@acm.org> <01DC3532-C73A-4644-A323-04BE6231AADA@employees.org> <52E9EF2D.9050402@acm.org> <2CFF305E-DE44-4D57-82D3-241196D94610@employees.org> <CAHw9_i+0DKS7pTFmRaajdX0=R9yhY7=6gXs2nV_vEKqEsz=d2Q@mail.gmail.com> <52ECA6EE.1080201@acm.org>, <8A362DBA-6CBE-4DAA-A132-5E9647A37BBD@tzi.org>
In-Reply-To: <8A362DBA-6CBE-4DAA-A132-5E9647A37BBD@tzi.org>
Accept-Language: fr-FR, en-US
Content-Language: fr-FR
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: Thomas Watteyne <twatteyne@linear.com>, 6man WG <ipv6@ietf.org>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ipv6/>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 01 Feb 2014 11:02:41 -0000

+1, Direct from an implementor of the hackery in question in widely distributed switches and wireless controllers.

Our first generation was really about protecting against rogues (SAVI, RA GUARD).

Interestingly, our second generation was focussed on multicast control to protect the wireless medium (ND Suppression including RA throttling and ND proxy) to address customers and product management requests for the wifi market.

Based on that support, I have developped a prototype backbone router that learns southwards from 6LoWPAN ND registration and proxies northwards classical ND.

6TiSCH has planned a plugfest during the IETF and I hope we´ll be able to demo this fonctionality at that time with real ipv6 motes.

Cheers,

Pascal

> Le 1 févr. 2014 à 11:05, "Carsten Bormann" <cabo@tzi.org> a écrit :
> 
> On 01 Feb 2014, at 08:49, Erik Nordmark <nordmark@acm.org> wrote:
> 
>>> ... and can someone please remind me what exactly was wrong with ARP? Other than the fact that v4 uses it?!
> 
> What Erik said, plus maybe this reminder:
> 
> When ARP was invented more than 30 years ago, Ethernet networks were run on the assumption that everyone on them could be trusted, both from a security and from an implementation bugs perspective.
> (Those yellow-cable networks were so fragile... Let’s not digress.)
> 
> To make ARP actually work in less peaceful environments, there is usually significant hackery deployed at layer 2 (in Ethernet switches and WiFi base stations/controllers).  With all that hackery in place, it may *seem* as if ARP works, but it is really the combination of the ARP implementation in the IP nodes and the magic in the switches that makes this so.
> 
> ND inherited most of this situation, except that the hackery wasn’t deployed yet.  That’s why you hear so much about ND being “insecure”, “not deployable” — ND really is much better than ARP, it just had to wait for the hacks to catch up.  The directed multicast of ND (as opposed to ARP’s broadcast) only makes a difference where L2 actually implements that directionality; more hackery.  (The irony is that MLD now becomes an address registration protocol that is needed to make the illusion of "no registration" work at the ND level, but I digress again.)
> 
> So the reality today is that we have this fragile combination of the documented protocols and the switch vendor magic that makes it all work.  Of course, the switch vendors don’t complain; it creates an opportunity for market differentiation.
> 
> Now, for 6LoWPAN, we had to build something that relies much less on multicast.  That became 6LoWPAN-ND, RFC 6775.  Having built this fine hammer, of course other nails sprang to mind.  The above situation looks like a fine nail to me (except that legacy compatibility makes things so much more complex).  That’s maybe the explanation why this discussion didn’t start with documenting the well-known problems, but with looking at one specific solution, and how it could be made to work with legacy.  But I agree documenting the problem would be a worthwhile exercise, if it is not used as an excuse to stop looking for solutions.
> 
> Clearly, efficient-ND will work best if it doesn’t require a new layer of L2 hackery, and if it cooperates reasonable with (or works around) the existing, deployed hackery.  This is more work to make sure given that this hackery is only partially documented.  So that is maybe another reason to work on documenting ARP/ND’s problems and the existing magic.
> 
> Grüße, Carsten
> 
> --------------------------------------------------------------------
> IETF IPv6 working group mailing list
> ipv6@ietf.org
> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> --------------------------------------------------------------------