Re: draft-ietf-6man-slaac-renum: Honoring small Lifetime values

David Farmer <farmer@umn.edu> Thu, 27 August 2020 20:43 UTC

Return-Path: <farmer@umn.edu>
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 AC7FB3A12DF for <ipv6@ietfa.amsl.com>; Thu, 27 Aug 2020 13:43:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, 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=umn.edu
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 u0AiGbKWit_M for <ipv6@ietfa.amsl.com>; Thu, 27 Aug 2020 13:43:16 -0700 (PDT)
Received: from mta-p6.oit.umn.edu (mta-p6.oit.umn.edu [134.84.196.206]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 234FD3A12DD for <6man@ietf.org>; Thu, 27 Aug 2020 13:43:16 -0700 (PDT)
Received: from localhost (unknown [127.0.0.1]) by mta-p6.oit.umn.edu (Postfix) with ESMTP id 4Bcvnb40DRz9wCGK for <6man@ietf.org>; Thu, 27 Aug 2020 20:43:15 +0000 (UTC)
X-Virus-Scanned: amavisd-new at umn.edu
Received: from mta-p6.oit.umn.edu ([127.0.0.1]) by localhost (mta-p6.oit.umn.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9iLOYu6d4Uac for <6man@ietf.org>; Thu, 27 Aug 2020 15:43:15 -0500 (CDT)
Received: from mail-ej1-f69.google.com (mail-ej1-f69.google.com [209.85.218.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mta-p6.oit.umn.edu (Postfix) with ESMTPS id 4BcvnZ726Vz9wCGD for <6man@ietf.org>; Thu, 27 Aug 2020 15:43:14 -0500 (CDT)
DMARC-Filter: OpenDMARC Filter v1.3.2 mta-p6.oit.umn.edu 4BcvnZ726Vz9wCGD
DKIM-Filter: OpenDKIM Filter v2.11.0 mta-p6.oit.umn.edu 4BcvnZ726Vz9wCGD
Received: by mail-ej1-f69.google.com with SMTP id l7so3135025ejr.7 for <6man@ietf.org>; Thu, 27 Aug 2020 13:43:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=umn.edu; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=rTsscc7j/tueUPz3vvkK7C8hk1TRqsu75A1bFhBBh0k=; b=EANSrQmK7xX7lGbA3vBQ4Cb1EEh0zBy3/Hjimu+LNXW4mViyBT8+l8C0vsBsHutuec sDUtYk4Zrbp6DCuPauzYixvJ1PYFTgYNpg8ILObStxECwUBNFYbB/RxyCIBPJsYop9LU G8lIM+6PsAuM04fv/W0VYuAH7YR+OQiJ6hFYTLBgBdUC2yB9TGCXuBUo9gPw4TsDjYJF A3odhWK+kFHpa+N2R085tysBjbzLIdobd3sJzfZ8URpMsfP255H7UozbbQNYNEUJ+M7N caUJfeR1WYQGJa/YgBD5ClDtOH71Z0SvAh/zi8l6fnUV3DSs1TZejvgSIMN9Q2uMeorc eVrw==
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=rTsscc7j/tueUPz3vvkK7C8hk1TRqsu75A1bFhBBh0k=; b=kpmZTK7/nIO+2EHCMoH4spRq+SEJFR6BgdrbMqhWGzti5P8Ui9R6RNt1u2TI7EskV3 6ua2wetQYXzBbKaINy1RrH+ChBjPC6PqiaLvYdt3pF2PL2oIaw5OPGjBxZRUn4mQQZ0n JZ+2DMp+pYmDf27he3RY3KWSOegYekMGaSqez6ZjkSYAzaYuvRJ3pc5afFPVqGI8hcZc SN09s+jFoge70aWeU+HfJy9sOPwD0e5EtZNFcBZXCy/CfxApXYMnCdh3TFVOToyzIOgb zClCEZEF1q2Y8QEbLVgGtdixHEAlKbpEmUAMyCw+EwgIbXvqKj85bOu5P1qfl15tCYJ7 b5KQ==
X-Gm-Message-State: AOAM531FZ6jlNmNbMgw0QsfNKweAdiiFzMa0IX650rFl/1pDDZi7fuac nCHEbz1y2qrtzNPgddAk4EcrAyrMb+Dip/9OTn7snZLGG4e/eBSoRjX32B7SOaO3oO4stoxLWwL dBtzaz7unRPRjZJwnOtHOpSYB
X-Received: by 2002:a05:6402:354:: with SMTP id r20mr13960059edw.153.1598560992759; Thu, 27 Aug 2020 13:43:12 -0700 (PDT)
X-Google-Smtp-Source: ABdhPJw+Qs+V9FYkJuBmTqFSRJ5K0gjz5LuxRnGK4gwu3prfFGtEchsh1UWAYjeB/ro53Ojug9HVg7KEEsw0wWwyR3I=
X-Received: by 2002:a05:6402:354:: with SMTP id r20mr13960025edw.153.1598560992136; Thu, 27 Aug 2020 13:43:12 -0700 (PDT)
MIME-Version: 1.0
References: <aae92430-0beb-b5e7-4652-381b38ffcf70@si6networks.com> <5d8d34ee-b1bd-1843-9868-3c9558c7936d@si6networks.com> <CAN-Dau2T_jHSwGYZeyBMjYNYfgM66mrBfXOEeEgpdJfzOXi2Ug@mail.gmail.com> <21b2340d-e1c8-de8b-7082-39122f63c2e0@si6networks.com>
In-Reply-To: <21b2340d-e1c8-de8b-7082-39122f63c2e0@si6networks.com>
From: David Farmer <farmer@umn.edu>
Date: Thu, 27 Aug 2020 15:42:55 -0500
Message-ID: <CAN-Dau18UE86mw3RJaO-n-QdLdJBY=AeNQguyarrkRFR=B+xug@mail.gmail.com>
Subject: Re: draft-ietf-6man-slaac-renum: Honoring small Lifetime values
To: Fernando Gont <fgont@si6networks.com>
Cc: "6man@ietf.org" <6man@ietf.org>
Content-Type: multipart/alternative; boundary="00000000000016b00905ade1fc60"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/OStJFbx_aQ5odoXv8dyrrdKkfl0>
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: Thu, 27 Aug 2020 20:43:19 -0000

On Thu, Aug 27, 2020 at 11:28 AM Fernando Gont <fgont@si6networks.com>
wrote:

> Hello, David,
>
> On 27/8/20 12:46, David Farmer wrote:
> [....]
> >
> > Why isn't setting the Preferred Lifetime = 0 sufficient to deprecate a
> > PIO? Any new sessions will stop using that prefix and current TCP
> > sessions will timeout eventually. Why is it necessary for sessions to
> > terminate immediately when the PIO is deprecated? Is there some
> > advantage I'm not seeing? I don't see these questions answered in the
> > drafts.
>
> What the change means is that, if a router is in a position to
> positively know that the prefix is gone, it *can* signal that condition.
>
> Leaving addresses lying around doesn't come for free. e.g., you cannot
> communicate with the new owner of the address. Besides, there are
> implementations that enforce a limit on the maximum number of configured
> addresses.
>
> That's the main thing. Now, if you ask me, I also think that if the
> addresses are known to fail, it is better to terminate connections and
> resume them afterwards. TCP timeouts can be particularly long, at which
> point the user experience is not really good.
>

Ok, then someplace in this group of drafts please explicitly address why
the current mechanism of deprecation, PL=0, is not sufficient and the
change of allowing hosts to accept VL = 0 is necessary, or at least the
advantages of accepting VL=0 over only PL=0.  Currently, you acknowledge
that hosts can act on PL=0, but I see nothing about why this is
insufficient or even what advantages accepting VL=0 will additionally
provide.


> > Now, imagine the following misconfiguration; A network with two
> > routers, RTR A and RTR B. The routers each advertises two PIOs, for
> > Prefix A and Prefix B, but each with different time out values. RTR A
> > advertises Prefix A with Preferred Lifetime = 45 minutes and a Valid
> > Lifetime = 90 minutes and Prefix B with Preferred Lifetime = 0 minutes
> > and a Valid Lifetime = 0 minutes. And, RTR B advertises Prefix A with
> > Preferred Lifetime = 0 minutes and a Valid Lifetime = 0 minutes and
> > Prefix B with Preferred Lifetime = 45 minutes and a Valid Lifetime = 90
> > minutes.
> >
> > With RFC 4862 as currently specified, both prexies will be valid and the
> > hosts on the network will have stable IPv6 addresses in each prefix, as
> > long as the RAs are advertised more than every two hours, which is
> > pretty common. However, if changed as proposed, hosts will not have
> > stable IPv6 addresses and will oscillate between addresses on Prefix A
> > and Prefix B as the RAs are received from each router.
>
> The real solution to this is RFC8028. As soon as you employ multiple
> routers/prefixes on a single subnet, if you don't have RFC8028, you are
> asking for problems.
>
> In the scenario you describe, without RFC8028 both routers will compete
> for being the default router. If the host keeps the prefix (as in the
> scenario you describe), but it happens to send its packets to the other
> router, packets would likely be egress-filtered.
>
> With RFC8028, one would expect that the host knows that both routers can
> route that prefix. When the host receives an RA from RTB with VL=0, it
> will simply disassociate the prefix with this particular router. BUt
> since there was another router advertising the same prefix, addresses
> would not me removed.
>

I'm sorry, but RFC8028 won't address this, at least as currently specified.
Again this is a perverse misconfiguration of the PIOs, where each router is
saying, I'm right and the other router is explicitly wrong. The routing
problem you are talking about, that RFC8028 intends to resolve, may or may
not actually exist, because it involves both routing and filtering of
traffic, without the filtering of some kind the routing problem doesn't
exist.

For this situation to occur the routers, or the person managing them, needs
explicit knowledge of the existence of the other router, and the PIO the
other router is advertising. In the intended scenario that RFC8028
resolves, the two routers and the people managing them probably have no
knowledge of, or even cares about, the existence of the other router.

For something like this misconfiguration to occur, I expect it needs manual
intervention, probably in some kind of failed or misguided manual renumber
attempt, probably in an enterprise network. In that case, both routers
could conceivably deliver the traffic if the hosts were to configure both
prefixes as would currently occur. You seem to be focusing only on CPE and
ISPs scenarios, but changing SLAAC affects all hosts whatever kind of
network scenarios they are part of and their particular quirks.

I don't think this perverse misconfiguration by itself is a sufficient
reason to not make the change you are proposing, but we need to try to
think of all the corner case scenarios, be they perverse or
simple misconfigurations, where this change could have bad results. Are
there other corner case scenarios that should be considered?

I was thinking of another scenario, what if you were unplugging one
interface to move it to a new network and then plugging a new interface
into the old network. This is a flash renumbering scenario where you don't
want to deprecate the PIOs, but the router isn't going to have knowledge of
the change nor any reason to send a PL=0 or VL=0, so this change is mute in
that scenario.

Thanks

-- 
===============================================
David Farmer               Email:farmer@umn.edu
Networking & Telecommunication Services
Office of Information Technology
University of Minnesota
2218 University Ave SE        Phone: 612-626-0815
Minneapolis, MN 55414-3029   Cell: 612-812-9952
===============================================