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

Bob Hinden <bob.hinden@gmail.com> Sat, 28 October 2017 16:41 UTC

Return-Path: <bob.hinden@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 8DF7913FBC5; Sat, 28 Oct 2017 09:41:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level:
X-Spam-Status: No, score=-2.699 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=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 aDgC-cQeB2FL; Sat, 28 Oct 2017 09:41:57 -0700 (PDT)
Received: from mail-wm0-x22e.google.com (mail-wm0-x22e.google.com [IPv6:2a00:1450:400c:c09::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 3FEA913FBC7; Sat, 28 Oct 2017 09:41:57 -0700 (PDT)
Received: by mail-wm0-x22e.google.com with SMTP id b189so8258204wmd.4; Sat, 28 Oct 2017 09:41:57 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=zP7KI4RimN0q06DGvVA1uQwxeBQ3NNUuWImSGQ5q0eI=; b=qeZB83Zgj6d/PhTDc0HieJBU/kXGr6seU9F/rJeoeVkJSCf6aGbvneTPkEDR/YKcr0 fJMzMhv9zPOmCKmbNdzvcKDOClD1miOoIqslfgKPsT2AQbNFfz+CLGtrv9Yx6NXSxqlr tMxXLElAB82zisDN3qdA3uz9dbEzyAWreic2uR43MwgpsnJ81tKLVgMAkXkZ7z0utAZ1 9yR3pZ77vEt567/byJy9NJdI1tJX9d36UQAZ85HXw+af+l1gIP/2pE7fItECPTUIsT6h +U0xftn0EHdat2LnVweN8a8nskwbEimmTqSyIB2282l5YcjcoiN6auFXOir8YnlFDTYn SxKg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=zP7KI4RimN0q06DGvVA1uQwxeBQ3NNUuWImSGQ5q0eI=; b=CZ8NjqbkoocVNUmG3o3gPXUIuwT2E434J5zx25eLdkCzMK1GZtIO0qFwom68uvw2PR 7KyxSQoVAMtVQv9PxhBAuSLuTPDjI+deGgXLRk0qaRjGPZMugGIi4WyEOY+ahbXx5OLL oApaMD8+tDIFJDAxXgUFdDqFdLQnqbT5crN9qXNbaVbyrhViCvnt+Dmj81qIXEes87qr B/Kvo/8g/dOi8baOS2wnpuk2Qagn81MGZx8maCPUpqCxN4fv4N9x+FpLF2k0WG84Bk4X 64/+a7kgeyELi8VYtosHbDEx3K3y67pvEwFH9Xk/5k+G9WmBOyavdQG9b38DgoBVaUc2 VyEA==
X-Gm-Message-State: AMCzsaX5oPxm9VV9MAcqdrJBBGPYsPnqEASNO+Dkbirs/Yuap+DVjnEf Nq+EcsYoGRMIedr+cp711cY=
X-Google-Smtp-Source: ABhQp+QP7W0vD2H+XQ9Zq3woc4edbqKz6BnQxMNAmdgg5d7GjqZcvxByWR6xgXDxh37rtFX8+CNFlA==
X-Received: by 10.80.230.1 with SMTP id y1mr5126042edm.211.1509208914302; Sat, 28 Oct 2017 09:41:54 -0700 (PDT)
Received: from ?IPv6:2601:647:4d01:db10:b0ba:c068:e41:c555? ([2601:647:4d01:db10:b0ba:c068:e41:c555]) by smtp.gmail.com with ESMTPSA id t11sm7102911edh.63.2017.10.28.09.41.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 28 Oct 2017 09:41:53 -0700 (PDT)
From: Bob Hinden <bob.hinden@gmail.com>
Message-Id: <0BFA58F4-267B-4B5F-A377-81D4F845AB2E@gmail.com>
Content-Type: multipart/signed; boundary="Apple-Mail=_5BCC4DF2-A4C9-4F19-BB0B-84EBCB364534"; protocol="application/pgp-signature"; micalg="pgp-sha512"
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
Subject: Re: Adam Roach's Discuss on draft-ietf-6man-maxra-03: (with DISCUSS and COMMENT)
Date: Sat, 28 Oct 2017 09:41:48 -0700
In-Reply-To: <CAKKJt-cDT=8JhiJASu7zqZiG2aSBQ+uKb1uET=VBkeBOpTAvjQ@mail.gmail.com>
Cc: Bob Hinden <bob.hinden@gmail.com>, 神明達哉 <jinmei@wide.ad.jp>, Ole Trøan <otroan@employees.org>, IPv6 List <ipv6@ietf.org>, draft-ietf-6man-maxra@ietf.org, IESG <iesg@ietf.org>, Adam Roach <adam@nostrum.com>, 6man Chairs <6man-chairs@ietf.org>
To: Spencer Dawkins at IETF <spencerdawkins.ietf@gmail.com>
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> <CAJE_bqdJZREuyUK9bvyK+N+-7Mc1xr-0Q+w5iFohoR=j4mZgNg@mail.gmail.com> <CAKKJt-cDT=8JhiJASu7zqZiG2aSBQ+uKb1uET=VBkeBOpTAvjQ@mail.gmail.com>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/4TvDOB3y7V6E4iiLjttmjoupGAo>
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: Sat, 28 Oct 2017 16:41:59 -0000

Spencer,

> On Oct 27, 2017, at 10:03 AM, Spencer Dawkins at IETF <spencerdawkins.ietf@gmail.com> wrote:
> 
> This isn't my area of expertise, my actual area, or my ballot thread, but ...
> 
> On Fri, Oct 27, 2017 at 11:41 AM, 神明達哉 <jinmei@wide.ad.jp> wrote:
> 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".
> 
> If the precise meaning of the boundaries set by a MUST requirement doesn't actually matter, I'm not understanding why this is a MUST ...  Adam can speak for himself, but that's what *I* would be confused about.

Adam’s Discuss was for concern about an interoperability problem if an implementation choose to pick 65534 or 65535 seconds for the default router lifetime in the RA it sends.  Both are legal values so will be accepted by the hosts receiving the RA.  The host receiving the RA uses the lifetime to timeout the a default router entry.  A one second difference in 18.2 hours is inconsequential.

The way this works is routers will send RAs well before the timeout happens.  RFC4861 specifies the max and min times when RAs should be sent, and it doesn’t get close to the boundary.

If our goal is to ensure interoperability, I don’t see an interoperability issue here.  I note that RFC4861 where this language comes from is very widely implemented.

Bob

> 
> Spencer, who might or might not be Asking For A Friend
> 
> --
> JINMEI, Tatuya
> 
>