Re: Adam Roach's Discuss on draft-ietf-6man-maxra-03: (with DISCUSS and COMMENT)

神明達哉 <jinmei@wide.ad.jp> Fri, 27 October 2017 16:41 UTC

Return-Path: <jinmei.tatuya@gmail.com>
X-Original-To: ipv6@ietfa.amsl.com
Delivered-To: ipv6@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C7F5E13F3FF; Fri, 27 Oct 2017 09:41:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.4
X-Spam-Level:
X-Spam-Status: No, score=-2.4 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.199, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 N1ZyX66295hr; Fri, 27 Oct 2017 09:41:07 -0700 (PDT)
Received: from mail-qk0-x235.google.com (mail-qk0-x235.google.com [IPv6:2607:f8b0:400d:c09::235]) (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 1897513F3F3; Fri, 27 Oct 2017 09:41:07 -0700 (PDT)
Received: by mail-qk0-x235.google.com with SMTP id m189so9044738qke.4; Fri, 27 Oct 2017 09:41:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=AHw8rZpmDuALZpeLnSNqvfvYgmHzBug4655el5f+a0k=; b=flhrrTskxpReP6Lya+XAQDgclllVwu2n1EKh1RcwQvKGOCPtdMac9IHN1KStXxpVvq 4JhrCWUCn5wAOTJkS6IOlwvMlGm2HCvm/4ZEJvKY/BUhoNdjFcch2BmhGka0EYKfvGNg s5SrpohdC286rEWTi5o9hdQhltwhrJkIuTQKlsPnAt2hDFRmoftQiUBWfExQFEqTl8ro G4UrkU1FPflFKaqPrFUxJn+L9uqnGHSkZxM7p/XUGGozJ0En11/oj3I1eP6BfxNGsTXL nA18JC9KO4zd7eQH99ne996qgV1Sh+At+TQ8TnTqTBVaLJ+perkfdRhf1KevDH5HgLim ZrmA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=AHw8rZpmDuALZpeLnSNqvfvYgmHzBug4655el5f+a0k=; b=dBd0UQAN23L/+bV9HN7lYzgyIsF8nGKlakzk45pO7NKnA9kOXUqCrE0OkIqz4VWM2+ FruH/mcS8HoZS6TwH/CKehrDUYR+38msFyFBeu7V5djk6OJ29lSiboSs6bYCM1fhjpY+ sgogtycUmQWjzmaMDPtQ86gLj7v88hA3TYp818snnpEfcc5gjMQuMq7o6vk48rxV7vXE 9DcLH4QadvvT6GkPbqGqcRLW8NiRSqEmNeNd97TojzImmjYZg/dRIPXZiL6iwXwb9fhR 40TJ/ixFSBDCt1Bbzew+1RQMhpBi3oU2SFpkjHVv+M68DyVZDBKTrDPzUOqk/s47gIlQ Jd0A==
X-Gm-Message-State: AMCzsaVWTfdALl2K+LNJKYqPa13MWLi/pvrK7F2//U5zQg6Apd9ui0z7 3BzXwKGdu0Ud8qvVdetpU5HdlnhwjR/ueFoedIk=
X-Google-Smtp-Source: ABhQp+TZQybAzjbZsW3tCGSBDc+OyB3pScbDhLZnNfRrDAv1AstSnGfZCILYgcsbbn6sSDzw8v9LKRNPEUyX/iyxAaI=
X-Received: by 10.55.160.135 with SMTP id j129mr1606648qke.274.1509122466032; Fri, 27 Oct 2017 09:41:06 -0700 (PDT)
MIME-Version: 1.0
Sender: jinmei.tatuya@gmail.com
Received: by 10.237.61.137 with HTTP; Fri, 27 Oct 2017 09:41:05 -0700 (PDT)
In-Reply-To: <494DB70A-D752-45A9-9D9F-B0062F2E2764@employees.org>
References: <150888618658.4890.17540557977964477269.idtracker@ietfa.amsl.com> <4F068A57-9F88-4951-A584-D103193744C4@gmail.com> <b16972d4-5456-76f5-0555-d94d9818d21c@nostrum.com> <494DB70A-D752-45A9-9D9F-B0062F2E2764@employees.org>
From: 神明達哉 <jinmei@wide.ad.jp>
Date: Fri, 27 Oct 2017 09:41:05 -0700
X-Google-Sender-Auth: hOYWk9qQc42w4lNO6-L4HFSVwz4
Message-ID: <CAJE_bqdJZREuyUK9bvyK+N+-7Mc1xr-0Q+w5iFohoR=j4mZgNg@mail.gmail.com>
Subject: Re: Adam Roach's Discuss on draft-ietf-6man-maxra-03: (with DISCUSS and COMMENT)
To: Ole Troan <otroan@employees.org>
Cc: Adam Roach <adam@nostrum.com>, IPv6 List <ipv6@ietf.org>, 6man Chairs <6man-chairs@ietf.org>, Bob Hinden <bob.hinden@gmail.com>, IESG <iesg@ietf.org>, draft-ietf-6man-maxra@ietf.org
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/nO814Y2U3ZjmH8MOmCPqslzJAQU>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.22
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: <https://mailarchive.ietf.org/arch/browse/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: Fri, 27 Oct 2017 16:41:09 -0000

At Thu, 26 Oct 2017 21:43:42 -0700,
Ole Troan <otroan@employees.org> wrote:

> It might be worth noting that if it is inclusive or exclusive has
> absolutely zero consequence for the protocol.

FWFIW, an implementation that I know of adopts the "inclusive" version
of "between" (it doesn't support 6man-maxra so it still only conforms
to RFC4861):

    MAYHAVE(val, "rltime", rai->rai_maxinterval * 3);
    if ((uint16_t)val && ((uint16_t)val < rai->rai_maxinterval ||
        (uint16_t)val > MAXROUTERLIFETIME)) {
        syslog(LOG_ERR,
            "<%s> router lifetime (%" PRIu32 ") on %s is invalid "
            "(must be 0 or between %d and %d)",
            __func__, val, ifi->ifi_ifname, rai->rai_maxinterval,
            MAXROUTERLIFETIME);
        goto getconfig_free_rai;
    }
(https://github.com/freebsd/freebsd/blob/master/usr.sbin/rtadvd/config.c)

But, more important, I agree with Bob and Ole in that "inclusive" vs
"exclusive" shouldn't cause an interoperability problem since hosts
are not supposed to reject an RA for a particular value of router
lifetime:

      Router Lifetime
                     16-bit unsigned integer.  The lifetime associated
                     with the default router in units of seconds.  The
                     field can contain values up to 65535 and receivers
                     should handle any value, while the sending rules in
                     Section 6 limit the lifetime to 9000 seconds.  [...]

If anything, if we now "clarify" it to mean "exclusive", at least one
implementation will now become technically non-compliant.  So, while
my primary suggestion is not to do anything about it, if we really
need to say something, I'd suggest clarifying "whether this 'between'
is inclusive or exclusive does not matter in terms interoperability
and is left to implementations".

--
JINMEI, Tatuya