Re: rfc4941bis: trying to keep focus

Lorenzo Colitti <lorenzo@google.com> Fri, 31 January 2020 08:43 UTC

Return-Path: <lorenzo@google.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 535111200C1 for <ipv6@ietfa.amsl.com>; Fri, 31 Jan 2020 00:43:54 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -17.499
X-Spam-Level:
X-Spam-Status: No, score=-17.499 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 gj7dTUDo5nJw for <ipv6@ietfa.amsl.com>; Fri, 31 Jan 2020 00:43:51 -0800 (PST)
Received: from mail-il1-x131.google.com (mail-il1-x131.google.com [IPv6:2607:f8b0:4864:20::131]) (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 41B2312003E for <6man@ietf.org>; Fri, 31 Jan 2020 00:43:51 -0800 (PST)
Received: by mail-il1-x131.google.com with SMTP id x2so5472486ila.9 for <6man@ietf.org>; Fri, 31 Jan 2020 00:43:51 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=UOi4oqjcouY2T4SIbZC966GnAcEpUKyxexElcq5bJTQ=; b=aAP8y+rhTuUxGwnkRS2raw5ImOAq3Zckzi1IHJJbnsdXxhskQsES/EGM8KBDLc9Yko MhdbUYblY28vY3cGNVLfkt86+/AfbhchTthwOHRnANi8obiH97d3qrShooht9gI4idER gnEdZSixfvePOjRZs++ThTAvUylpHWF70jU/Mo2Ve6mbDQ0MLDpaAEi9EodD7CgNjKBK oz3lCCV2gRhUKb8b6VNUbzXHyPuubfULgbz8xcUP1XpoIZQYrB/HOeJnj95Uwuy3d7sH 0TWKiwqhrM+W202vudM0WR1j/GFzvfycozClYOSl/cf2XZZ8gOPcxIi5JJb1JB8a7etJ H7+g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=UOi4oqjcouY2T4SIbZC966GnAcEpUKyxexElcq5bJTQ=; b=V2wnfrT8WKR1WzFozSrMLdRpVQbjyccrJUiKXS0peB2U0es9+503xer+Lz5TTrKgoL u+xFNcC51CvDy8gqcdFhemz2i+f8MOffjXaBKVXn4Ski1JiTNC3w9uCC/GxBABqdJHvy atP7Twrr3rpdssXlZ/1nO6ZDwbt1RXx7+aQqqdq69sCjC8Ciy8sRotpyOuN7TEp2Q91J KX/+vEK88Z3i7diditIXU1rDvT6lYfqz20HlTjGyDfqihYo43FZlGRlnBV1HAccbwkWB HUgt7+jaGUQkDG0o1Zahft/bpmaPutBrUCIlxU6SFWjyfcwDu7a9XiNsEMkUvrlHXHnh B+uA==
X-Gm-Message-State: APjAAAXrFPtzn+yjtC1V5if/uCyvmZ+YD2ikoVpRoyOHIcO5NHychJv7 V/YGyOWiwp7vS9BOns0p2KbpgE264aBMpmvnfLTUMGaIXCE=
X-Google-Smtp-Source: APXvYqxm377kHyB1aH1+dnb1KmbutNW8zPzpKMY0/zY9hbfmxCRM0bSNd+HMSWvvsQrgi1rJAkcO62vEqWrzMx59J+Y=
X-Received: by 2002:a92:ca82:: with SMTP id t2mr1713274ilo.242.1580460230216; Fri, 31 Jan 2020 00:43:50 -0800 (PST)
MIME-Version: 1.0
References: <4085840f-6c30-323a-b2e9-544f1a783103@si6networks.com>
In-Reply-To: <4085840f-6c30-323a-b2e9-544f1a783103@si6networks.com>
From: Lorenzo Colitti <lorenzo@google.com>
Date: Fri, 31 Jan 2020 17:43:38 +0900
Message-ID: <CAKD1Yr1zxX-GM+gg-rsix4fHzfUnpW+SbvFmGmJRSC3jnnAbvQ@mail.gmail.com>
Subject: Re: rfc4941bis: trying to keep focus
To: Fernando Gont <fgont@si6networks.com>
Cc: "6man@ietf.org" <6man@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000009b0331059d6b9287"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/-8ZTQIXSOL9XB_-sUpi0myrmS8M>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.29
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, 31 Jan 2020 08:43:54 -0000

Fernando,

I agree with all your points. I don't think it's a good idea to pause or
derail this update because of more general concerns that some participants
have with temporary addresses in general or with SLAAC in general.
Temporary addresses have been extremely widely deployed for many years, and
it seems unlikely that we would degrade them to historic, or that
implementers would stop implementing them. If there are bugs in RFC 4941
that impact user privacy, and we can fix them, then we should absolutely do
so, and do so sooner rather than later.

Cheers,
Lorenzo

On Fri, Jan 31, 2020 at 5:51 AM Fernando Gont <fgont@si6networks.com> wrote:

> Folks,
>
> I'm trying to summarize what I've seen as part of the recent discussion
> about (or at least triggered by) rfc4941bis.
>
> First, let me give the (obvious) context:
>
> rfc4941bis is meant, for the most part, to address flaws in RFC4941 --
> RFC4941 is a Standards Track document, already. rfc4941bis is not
> proposing or introducing temporary addresses, but simply addressing
> flows in the scheme *we already have* (which is widely deployed).
>
>
> Now, let's move to the main topics of this discussion:
>
>
> 1) "temporary addresses results in too many addresses"
>
> This is not a problem araising from RFC4941, but a problem with SLAAC.
> In SLAAC, routers offer network configuration information, and hosts
> do... what they virtually please.
>
> Routers could also advertise many different prefixes on the same link,
> leading to many addresses. Hosts could also manually configure lots of
> addresses.  An OS might also provide a proprietary interface for
> proprietary apps to request "one address per flow".
>
> Given a sufficient number of prefixes and hosts, this may get to a point
> where implementation limits such as the maximum number of NCE may be hit.
>
> If folks are concerned about the maximum number of addresses that may be
> employed in a network (a valid concern), then I guess energy should be
> spent on how to address this general issue of SLAAC, *in SLAAC*, as
> opposed to simply bother about one of the many possible ways in which a
> host may configure addresses.
>
> I'd note that we have a BCP (RFC7934) about the topic of "number of
> addresses". In the typical/default case, RFC4941 will lead to a maximum
> of 7 addresses per host. In the context of RFC7934, I guess being able
> to handle 7 addresses per host is the least one could expect. I do
> understand that some systems can't handle them (given a sufficient
> number of hosts). Maybe we need to send a signal to router vendors.
> Maybe a few thousand entries in the NC is way too IPv4ish? All these
> issues are worth discussing... but they are issues with SLAAC or ipv6
> network configuration, and not with RFC4941.
>
> That said, and given recent feedback, it seems sensible to reduce the
> preferred lifetime and valid lifetime of temporary addresses to 1 day
> and 2 days, respectively. This would result in one preferred and one
> deprecated temporary addresses (as opposed to 1 preferred and 6
> deprecated addresses resulting from RFC4941).
>
>
> 2) The value of temporary addresses
>
> As noted above, one would assume that since RFC4941 has not been
> deprecated, there is consensus that RFC4941 provides value in the area
> of privacy.
>
> Everytime you reuse an identifier, it leaks information. Temporary
> addresses reduce the address lifetime, and hence limit the amount of
> time you reuse an identifier. That's an improvement. And it is a
> middleground between not using temporary addresses (and hence resuse the
> same identifier forever) or doing "one address per flow" which, while
> interesting, would take the number of addresses employed in any network
> to another dimension. As such (a middle-ground), it can't be expected to
> be perfect.
>
> Temporary addresses are meant employed for outgoing connections. Maybe
> RFC4941 should provide stronger hints or even recommendations that this
> use mode is enforced. For connection-oriented transport protocols, the
> concept is straightforward. For stateless protocols, not so much.
>
> But even if this mode is enforced for connection-oriented transport
> protocols, this would make temporary addresses reduce host exposure
> quite a lot. This is another area where temporary addresses have value.
>
> That said, I'm not sure to what extent it makes sense to argue about the
> value of temporary addresses in the context of *this* document. If we
> take the to extreme possible outcomes:
>
> * we don't publish rfc4941bis, and we keep a flawed RFC4941
> * we publish rfc4941bis, and have an improved version of rfc4941
>
> Only one of these options will improve RFC4941, and none of them will
> obsolete rfc4941.
>
>
> 3) Should temporary addresses be enabled by default?
>
> One would assume that since RFC4941 has not been deprecated, there is
> consensus that RFC4941 provides value in the area of privacy.
>
> In that sense, and in the context of RFC7258, I believe it would be a
> hard case to make to have temporary addresses disabled by default.
>
> I do believe some network might want to disable them. That would require
> the network to be able to convey this policy to hosts. This was tried
> (draft-gont-6man-managing-slaac-policy) and rejected ten years ago.
>
> I believe that, at least in the absence of policy, and in the context of
> RFC7258, it is sensible for the default to be "on".
>
> Besides, in a post-Snowden era, I believe we'd nevertheless have a hard
> time recommending OS vendors to disable them by default.
>
> Thanks!
>
> Cheers,
> --
> Fernando Gont
> SI6 Networks
> e-mail: fgont@si6networks.com
> PGP Fingerprint: 6666 31C6 D484 63B2 8FB1 E3C4 AE25 0D55 1D4E 7492
>
>
>
>
> --------------------------------------------------------------------
> IETF IPv6 working group mailing list
> ipv6@ietf.org
> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> --------------------------------------------------------------------
>