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

Lorenzo Colitti <lorenzo@google.com> Wed, 25 March 2015 04:00 UTC

Return-Path: <lorenzo@google.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 894761ACD89 for <ipv6@ietfa.amsl.com>; Tue, 24 Mar 2015 21:00:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.388
X-Spam-Level:
X-Spam-Status: No, score=-1.388 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=no
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 GAsT0F5fXjdd for <ipv6@ietfa.amsl.com>; Tue, 24 Mar 2015 21:00:46 -0700 (PDT)
Received: from mail-ie0-x22e.google.com (mail-ie0-x22e.google.com [IPv6:2607:f8b0:4001:c03::22e]) (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 5F6981ACD8E for <6man@ietf.org>; Tue, 24 Mar 2015 21:00:46 -0700 (PDT)
Received: by iedfl3 with SMTP id fl3so15244213ied.1 for <6man@ietf.org>; Tue, 24 Mar 2015 21:00:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=RI2XBP0YpJBnO5KzC0PWL1vy3MiRnBJ6e0YmIhirMtc=; b=Xp2QJZZ+zNtrNPCPCeo2vHCOntvAI012cvJTStwYIZzrxnp8XJgATejyL4i3Gi8WSV 5VwuT4F5YzfN6MC2szq5ZL2ejfMLmnYs4LL0x8c14GhonIoLcqdyF05YsWnUfFHCGOX+ nopVVlQVHit2e4KDinve87FEmwmSkCilzxSl1BVrs0tLZnbVYehv/FxrRSBVHrWgh45H ik6vJs8EUXNVvUx7BgRMRDRjQ50LWdA+pE1a7Xv8kzBp2RmMAZmmatXi0X1bxLXAk8sy zmqFgwNzRGSBdAljQ5H6CYt31Q6k9CgU9VeOJAcFDxux2FozqALN8AXfRRW232ECHIva Zu/A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=RI2XBP0YpJBnO5KzC0PWL1vy3MiRnBJ6e0YmIhirMtc=; b=ROJ1wQlPjyoPQw5wywuMMFhSN5BxIzrpszRs4cag1/DcSJupiQI0BknthDjz9mn6j2 Wj2N7eTs9e7jmKNXNlTVC+8Q4a4KVM2oB4Mx3hSgZNwNegntNEn6W61I5I5Pep0TLOsQ eJtl4Tf3LzN+tWtzleO+KPLpM1HnhB9ixc+I+QNjGQpUJ8hGjIoGPQElUdDm/7i+oS7R gTZZdkENLCik0RMuQ5+mwiMrTbjrYJZGL3Kxg5hvYEiucOGogs4R63dh7xq9KSzG4ubx Pi4DHwtadyBhjIl/ElJvUgBqn2+D3Apr7iqgHNKn0fc/vEdtl8nmpVXtZs1yzCgltZ/r DwYg==
X-Gm-Message-State: ALoCoQngJRZDLUKF4DOPWc96FhOaRHmnDZo8BdWhhFPhjAHIfHYO5ea5PtfnCPYK5loh/3Xlmh4u
X-Received: by 10.50.18.49 with SMTP id t17mr26979449igd.3.1427256045808; Tue, 24 Mar 2015 21:00:45 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.64.195.75 with HTTP; Tue, 24 Mar 2015 21:00:25 -0700 (PDT)
In-Reply-To: <5511EF4C.1050908@si6networks.com>
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> <5511EF4C.1050908@si6networks.com>
From: Lorenzo Colitti <lorenzo@google.com>
Date: Tue, 24 Mar 2015 23:00:25 -0500
Message-ID: <CAKD1Yr17hPSEBkdzDpie9HkTUcunDsVKnuYFXtwLPL8eNmJxxQ@mail.gmail.com>
Subject: Re: Linux & draft-gont-6man-slaac-dns-config-issues
To: Fernando Gont <fgont@si6networks.com>
Content-Type: multipart/alternative; boundary="089e0149c0a09d4d8c051214f1d4"
Archived-At: <http://mailarchive.ietf.org/arch/msg/ipv6/mpP3GYy_qOKSVt_eGbC2fv0On4I>
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: Wed, 25 Mar 2015 04:00:47 -0000

On Tue, Mar 24, 2015 at 6:12 PM, Fernando Gont <fgont@si6networks.com>
wrote:

> 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.
>

I agree there's a bug. Instead of hacking around it in the client, I'd
prefer to update 6106 and fix it in the spec.

FWIW, I don't know who obeys that guidance. The ietf-nat64 network sends
RAs every 5s with a router lifetime of 600 and an RDNSS lifetime of 1800.
Android is perfectly happy to accept that:

22:59:48.747613 IP6 (hlim 255, next-header ICMPv6 (58) payload length: 96)
fe80::998:1 > ff02::1: [icmp6 sum ok] ICMP6, router advertisement, length 96
hop limit 64, Flags [other stateful], pref medium, *router lifetime 600s*,
reachable time 0s, retrans time 0s
  source link-address option (1), length 8 (1): 00:00:5e:00:02:c6
  rdnss option (25), length 40 (5):  *lifetime 1800s*, addr:
2001:67c:370:229::4 addr: 2001:67c:370:229::5
  prefix info option (3), length 32 (4): 2001:67c:1231:998::/64, Flags
[onlink, auto], valid time 2592000s, pref. time 604800s