Re: Linux & draft-gont-6man-slaac-dns-config-issues

Fernando Gont <fgont@si6networks.com> Tue, 24 March 2015 23:12 UTC

Return-Path: <fgont@si6networks.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 AA4771ACCF2 for <ipv6@ietfa.amsl.com>; Tue, 24 Mar 2015 16:12:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.902
X-Spam-Level:
X-Spam-Status: No, score=-1.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_PASS=-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 aD-EM8w-oKWi for <ipv6@ietfa.amsl.com>; Tue, 24 Mar 2015 16:12:31 -0700 (PDT)
Received: from web01.jbserver.net (web01.jbserver.net [IPv6:2a00:8240:6:a::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A4C231ACCEB for <6man@ietf.org>; Tue, 24 Mar 2015 16:12:28 -0700 (PDT)
Received: from [2001:67c:370:136:195:1ad:bc7c:c6f5] by web01.jbserver.net with esmtpsa (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.85) (envelope-from <fgont@si6networks.com>) id 1YaXzj-0007BF-6A; Wed, 25 Mar 2015 00:12:23 +0100
Message-ID: <5511EF4C.1050908@si6networks.com>
Date: Tue, 24 Mar 2015 18:12:12 -0500
From: Fernando Gont <fgont@si6networks.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0
MIME-Version: 1.0
To: Jen Linkova <furry13@gmail.com>
Subject: Re: Linux & draft-gont-6man-slaac-dns-config-issues
References: <55102C6B.1060608@si6networks.com> <CAKD1Yr2XfeSuQAj94kN1AF_8cet2L+uEkJnO59NyYgtwyfXu7A@mail.gmail.com> <CAKD1Yr3YBdjSkwgoAzTXs_dvoiRnSFReE5-fAO7RggvVLwDthw@mail.gmail.com> <CAFU7BASXNe6TXWt7R2+tBjiob8n23VpBV5THV5hJxSHV-wKo5A@mail.gmail.com> <55118F3B.3000308@si6networks.com> <CAFU7BAQX95WmBu1r=yp38pZ3tEBrxdEX32cvHE7A8AkLjESSEA@mail.gmail.com>
In-Reply-To: <CAFU7BAQX95WmBu1r=yp38pZ3tEBrxdEX32cvHE7A8AkLjESSEA@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/ipv6/RLL-94rhkIN3sek0LkN9OUfJt2Y>
Cc: draft-gont-6man-slaac-dns-config-issues@tools.ietf.org, "6man@ietf.org" <6man@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: Tue, 24 Mar 2015 23:12:38 -0000

Hi, Jen,

On 03/24/2015 12:24 PM, Jen Linkova wrote:
> On Tue, Mar 24, 2015 at 5:22 PM, Fernando Gont <fgont@si6networks.com> wrote:
>>> I agree that "<= 2x MaxRtrAdvInterval" limitation is way too strict
>>> and we SHOULD fix this.
>>> However I do not like the idea of sanitizing the received values and
>>> limiting them to 10xMaxRtrAdvInterval.
>>
>> The thing here is that that's the only way (along with the change of the
>> semantics of the Lifetime parameter) in which you can fix the problem on
>> the client side.
> 
> Did I get it right that you are trying to solve one particular case
> when people are shooting themselves in the foot?  I do not believe
> that every single possible network misconfiguration case should be
> solved on the client side, especially at the price of making life
> harder for people who know what they are doing.

It is not a network misconfiguration. It's a bug in the spec. And until
the spec is updated and the routers are updated accordingly, the only
thing for a client to do is to sanitize the Lifetime value to a more
sane value. -- that's what Linux is doing.



>>> It really sounds like a
>>> micromanaging network administrators in how they run their networks.
>>> There might be valid reasons to have RDNSS/DNSSL Lifetime to be close
>>> enough to how often RAs are sent (what if a router is a DNS server
>>> itself? So if a router does down I don't want a client to use it).
>>
>> If that's de goal, then the Lifetime value should be set according to
>> the "Valid Lifetime" of the RA, rather than according to MaxRtrAdvInterval
> 
> You mean Router Lifetime, don't you?

Yes (sorry).


> And yes, it might be equal to Router Lifetime, which might be
> significantly lower than 6000 sec (1 hr 40 mins) you are proposing.

I think that the specific value that we use is the low-order bit (I can
certainly live with 6000 sec). The high order bit is that there is a
problem to be fixed.



>>> Actually, the wording of Sanitizing section is not accurate. Clients
>>> do not know MaxRtrAdvInterval value as it's something configured on a
>>> router. I assume it should be "the default MaxRtrAdvInterval value of
>>> 600 sec"?
>>
>> Yes.
> 
> It would be nice to update the text accordingly.

We certainly will.

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