Re: RFC4941bis: consequences of many addresses for the network

Naveen Kottapalli <naveen.sarma@gmail.com> Thu, 23 January 2020 12:08 UTC

Return-Path: <naveen.sarma@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 BEAF7120071 for <ipv6@ietfa.amsl.com>; Thu, 23 Jan 2020 04:08:58 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.997
X-Spam-Level:
X-Spam-Status: No, score=-1.997 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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=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 DHmfWDWHHiGW for <ipv6@ietfa.amsl.com>; Thu, 23 Jan 2020 04:08:55 -0800 (PST)
Received: from mail-io1-xd42.google.com (mail-io1-xd42.google.com [IPv6:2607:f8b0:4864:20::d42]) (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 9677512004C for <ipv6@ietf.org>; Thu, 23 Jan 2020 04:08:55 -0800 (PST)
Received: by mail-io1-xd42.google.com with SMTP id n11so2685628iom.9 for <ipv6@ietf.org>; Thu, 23 Jan 2020 04:08:55 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=GnZP9vfZlJu/BIAJxWIjxzldhIkYw5DyfCkE9encH4Y=; b=BkqJcrVWGsDYd+h7c7AC2UXf42iurhRlMDng393idiKMQFYIl+OoAPbamhIBFx3W0t DsOT+XoIE3tlhnGNpyM7aNmXZyT5m0z+nCPlsDu2WJitgyyg0rrT7dbQcE1siB4CFSkf t6AbROcyOycGUloW4vFXHdM/BY7YpZ9SzPj0C6lNi+W+b9Ww0rlnC36SenzK702Nob8V GvRCMmsuGHNRBn8DKekEV0gkTLkNC0LvbpBfQpzmyqE4QOFKPz7b3x2W76Fyhso0tV7w qq1O3R74MhnhTyHqMs2gwjOOeHZoOZN6/MGgw6LbYYMTUf18Ba6zwWf2kBm9upFJoikI QGmA==
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=GnZP9vfZlJu/BIAJxWIjxzldhIkYw5DyfCkE9encH4Y=; b=dVqiEjfd4i5oLKSp/sdD6KXzHIQgrdDV1eH7IKZEq35eL+C+nFMh/4eBbfl+npFXcd KSsyFzW/ZSCWZfJng3DPa2vOVILrPt1Jj/+P5eaTmb7HnC8x/Fw6+kPFvwEC/qs1Q/CW 6fgeQseK58tZe2efCZxMZLnc1OaDCbxSG4vKCTuFa+Ujth2/VM59nHr7YBxjf4f+AIEu QLxpu/CuSodCD4JRIT3qIs2LkKrDJ+0+3cRY00Vo+bZZ6e8Go122FdDeov0uvsMmgLiv zzL3mj4div94f9Rv9F5DMKk64jnMllEbf+R8qxifV5f2RtEEtRqDzHgw6LnPoWiIJYes mRXA==
X-Gm-Message-State: APjAAAXGWuDIIojj3D+hYOmTZI/ibcAMrnMg7g8WPzNkdWpsqEvXVY9p 9cJIPJwlb4n2IKKZjPiJoVkuIT4obxb8ZLVVKT8=
X-Google-Smtp-Source: APXvYqyuXdh9WDrWaQkFhvouNCzu3KQKSd0trRpgz+O5G4ObJOz8f7fug77TBFD/SxQMRjNKfV/auLQ2pOBcUjs8IBE=
X-Received: by 2002:a5e:9243:: with SMTP id z3mr11059412iop.259.1579781334770; Thu, 23 Jan 2020 04:08:54 -0800 (PST)
MIME-Version: 1.0
References: <03C832CE-7282-4320-BF1B-4CB7167FE6BE@employees.org> <MN2PR11MB3565330989D411525D30B90DD80F0@MN2PR11MB3565.namprd11.prod.outlook.com>
In-Reply-To: <MN2PR11MB3565330989D411525D30B90DD80F0@MN2PR11MB3565.namprd11.prod.outlook.com>
From: Naveen Kottapalli <naveen.sarma@gmail.com>
Date: Thu, 23 Jan 2020 17:38:36 +0530
Message-ID: <CANFmOtnA6aQGU_Dy9kQT5isUmtYNCwd1rmvNW1V0jy1J7K+SEw@mail.gmail.com>
Subject: Re: RFC4941bis: consequences of many addresses for the network
To: "Pascal Thubert (pthubert)" <pthubert@cisco.com>
Cc: "otroan@employees.org" <otroan@employees.org>, 6man WG <ipv6@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000004856d0059ccd8107"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/59pINYq6adRusa2XH2QLLHvAf2Q>
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, 23 Jan 2020 12:08:59 -0000

Hello,

Some time back a draft was submitted to tackle some of these problems in
SLAAC.

https://tools.ietf.org/html/draft-naveen-slaac-prefix-management-00

If WG is okay, we can enhance the draft to tackle more cases.

Yours,
Naveen.


On Thu, 23 Jan 2020 at 15:57, Pascal Thubert (pthubert) <pthubert@cisco.com>
wrote:

> Hello Ole
>
> There are a number of cases where the address creates a state in the
> network:
> - in case there's routing taking place within the subnet (e.g., RPL in the
> an IOT LLN and RIFT or eVPN in a data center)
> - in case the network protects the address ownership since ND doesn't
> (SEND being what it is) and does minimal SAVI
> - in case the network tries to implement ND proxy which is mandated by
> IEEE std 802.11
> - in case Jen's draft is used to proactively assign ND state in the routers
>
> In order to protect itself, the network blocks excessive amounts of
> addresses for a same device. It would serve this list to recognize it as a
> fact of life.
>
> Sadly it is very hard with IPv6 ND alone to decide which address(es) to
> keep and which to remove. For the temporary addresses, LRU seems to work
> most of the time, with  a reasonable count of like 8 as suggested below.
> But some nodes like printers (silently) keep a permanent addresses that
> should survive the churn of other temporary addresses.
>
> To serve the hosts correctly, the network is missing a classical but so
> useful information of lifetime that allows the state associated to the
> address to age out if not renewed. It is also classical in many IPv6-based
> standards (e.g., MIPv6, NEMO and RPL) that the nodes have  a chance to
> release a binding by indicating a lifetime of zero. The shortest path to
> get that is generalizing RFC 8505 to all MAC layers. *Is there any reason
> we do not?*
>
> Conversely the network cannot signal how many addresses per node will be
> served properly in parallel. It cannot recommend lifetime values for
> temporary addresses and quasi-permanent addresses. It cannot signal that it
> rebooted and that all state need to be rebuilt. We need new RA information
> for that. I can write the draft within a few days if the group is willing
> to progress the work.
>
> All the best,
>
> Pascal
>
> > -----Original Message-----
> > From: ipv6 <ipv6-bounces@ietf.org> On Behalf Of otroan@employees.org
> > Sent: jeudi 23 janvier 2020 09:59
> > To: 6man WG <ipv6@ietf.org>
> > Subject: RFC4941bis: consequences of many addresses for the network
> >
> > While reviewing RFC4941bis (https://tools.ietf.org/html/draft-ietf-6man-
> > rfc4941bis) I think I found one gap.
> >
> > A discussion of the consequences of a host having many (active)
> addresses on
> > the network.
> >
> > A 4941bis implementation following the defaults, would at the maximum use
> > 8 active addresses.
> > (Valid lifetime of one week and one new address per day.)
> >
> > Shorter regeneration intervals or other approaches like a new address per
> > connection could lead to dramatic numbers.
> >
> > If we use Ethernet as an example, each new address requires state in the
> > network. In the ND cache in first-hop routers, and in SAVI binding
> tables in
> > bridges. Given ND's security properties these tables must be policed by
> the
> > network. A host with a very liberal address regeneration policy might be
> > viewed as performing an attack.
> >
> > There is no signal available in SLAAC apart from DAD to reject an
> address. If
> > the network runs out of resources (or prohibits the additional address by
> > policy) the address will not be served. The host has to be deal with that
> > situation.
> >
> > SLAAC is also missing a mechanism to release an address. Which leads me
> to
> > think that the address regeneration interval must not be shorter than
> the ND
> > cache scavenger timeout (which in many networks is high to avoid cache
> churn
> > and high level of address re-resolutions).
> >
> > I would like to hear from other network-side implementors and operators.
> > Is there an issue here?
> >
> > Best regards,
> > Ole
> >
> > --------------------------------------------------------------------
> > IETF IPv6 working group mailing list
> > ipv6@ietf.org
> > Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> > --------------------------------------------------------------------
>
> --------------------------------------------------------------------
> IETF IPv6 working group mailing list
> ipv6@ietf.org
> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> --------------------------------------------------------------------
>