Re: [v6ops] Mitigation against IPv6 Router Advertisements flooding - draft-moonesamy-ra-flood-limit-00

Fernando Gont <fgont@si6networks.com> Tue, 16 July 2013 12:15 UTC

Return-Path: <fgont@si6networks.com>
X-Original-To: v6ops@ietfa.amsl.com
Delivered-To: v6ops@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6DE5821E805F for <v6ops@ietfa.amsl.com>; Tue, 16 Jul 2013 05:15:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pBRdPFR2VNUS for <v6ops@ietfa.amsl.com>; Tue, 16 Jul 2013 05:15:07 -0700 (PDT)
Received: from web01.jbserver.net (web01.jbserver.net [IPv6:2a00:d10:2000:e::3]) by ietfa.amsl.com (Postfix) with ESMTP id C0B6221E805A for <v6ops@ietf.org>; Tue, 16 Jul 2013 05:15:07 -0700 (PDT)
Received: from 79.109.50.53.dyn.user.ono.com ([79.109.50.53] helo=[192.168.1.32]) by web01.jbserver.net with esmtpsa (TLSv1:DHE-RSA-CAMELLIA256-SHA:256) (Exim 4.80.1) (envelope-from <fgont@si6networks.com>) id 1Uz49j-0005ES-9A; Tue, 16 Jul 2013 14:14:59 +0200
Message-ID: <51E53941.9090205@si6networks.com>
Date: Tue, 16 Jul 2013 14:14:57 +0200
From: Fernando Gont <fgont@si6networks.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130623 Thunderbird/17.0.7
MIME-Version: 1.0
To: S Moonesamy <sm+ietf@elandsys.com>
References: <6.2.5.6.2.20130702145424.0af37160@elandnews.com> <51E3EE20.1080609@si6networks.com> <6.2.5.6.2.20130715201324.0c4a8a88@elandnews.com>
In-Reply-To: <6.2.5.6.2.20130715201324.0c4a8a88@elandnews.com>
X-Enigmail-Version: 1.4.6
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit
Cc: v6ops@ietf.org
Subject: Re: [v6ops] Mitigation against IPv6 Router Advertisements flooding - draft-moonesamy-ra-flood-limit-00
X-BeenThere: v6ops@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: v6ops discussion list <v6ops.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/v6ops>, <mailto:v6ops-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/v6ops>
List-Post: <mailto:v6ops@ietf.org>
List-Help: <mailto:v6ops-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/v6ops>, <mailto:v6ops-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 16 Jul 2013 12:15:08 -0000

On 07/16/2013 05:57 AM, S Moonesamy wrote:
> 
> I was not aware of that draft or that it was presented In Orlando.  I
> took a quick look at  your draft and I see that it mentions
> CVE-2010-4669 and the limit being enforced in OpenBSD 4.2.
> 
> Here's the background that led to the draft.  There was an advisory
> published in 2011 about the IPv6 Router Advertisements flooding attack. 
> One of the workarounds suggested was to disable IPv6 if the workaround
> (see Section 2 of draft-moonesamy-ra-flood-limit-00) was not available. 

Suggested in that advisory, or where?


> There are multiple reasons for why the workaround was not implemented on
> different platforms (see advisory for some of the details)

Sloppy coding?


> even though
> the problem is documented in RFC 6104. 

RFC6104 describes rogue RA, rather than RA floods. They are two
unrelated issues: RA flooding is about enforcing basic checks such that
your data structures cannot grow without bounds. Rogue RA is about how
to deal with malicious RAs in the absence of authentication.


> draft-moonesamy-ra-flood-limit-00 is about documenting the workaround
> that has been implemented in NetBSD and OpenBSD.
> 
> Someone mentioned to me that it is a short draft.  The draft is a small
> effort so that I do not have to hear the "turn off IPv6" argument. :-) 

It is not unlikely for people to give that option in security advisories
when no workaround is available.


> It is also about trying to address a known problem affecting a node in a
> timely manner.  I'll invite you to join the small effort as co-author of
> draft-moonesamy-ra-flood-limit.

I don't object to co-authoring (always happy to contribute).

But I'd note that implementations also fail to enforce limits on:

* the number of default routers
* size of the NC
* number of routes

etc., etc.

That's why I personally believe it is better to provide comprehensive
implementation advice, such as that in draft-gont-opsec-nd-security

Thanks!

Best regards,
-- 
Fernando Gont
SI6 Networks
e-mail: fgont@si6networks.com
PGP Fingerprint: 6666 31C6 D484 63B2 8FB1 E3C4 AE25 0D55 1D4E 7492