Re: rfc4941bis: Invalid addresses used by ongoing sessions

Gyan Mishra <hayabusagsm@gmail.com> Tue, 11 February 2020 06:17 UTC

Return-Path: <hayabusagsm@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 284B7120052 for <ipv6@ietfa.amsl.com>; Mon, 10 Feb 2020 22:17:44 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 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] 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 Wn8Pihb4yBEv for <ipv6@ietfa.amsl.com>; Mon, 10 Feb 2020 22:17:40 -0800 (PST)
Received: from mail-io1-xd2a.google.com (mail-io1-xd2a.google.com [IPv6:2607:f8b0:4864:20::d2a]) (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 7B1A6120041 for <6man@ietf.org>; Mon, 10 Feb 2020 22:17:40 -0800 (PST)
Received: by mail-io1-xd2a.google.com with SMTP id s24so10463855iog.5 for <6man@ietf.org>; Mon, 10 Feb 2020 22:17:40 -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=3PrKvnwH2q1V30pmefoISQ1VUoE62ZnX5gZnP/Cxs6Y=; b=buMeCwPznxWnrRWJOv8aiWrc+TB0Rt7vj6guMZDtJ60qoBeTfyvh0Mk9dpbzcGVoIW 0+insw15zeriREviVMfiE8M8J5g0k0sCMYvK2aiHxu1HcR8DOnvBNBLFCd3zryUxzcZ6 5puK16E9tyuToBdGULtxp+FcT3YtfXKvEuLIEGQuIDDjkDUqCLQ6NfEDdAd0I3FtPLUc 2eb5+XEvMVPbQyomFwPNnQ5AnLyvi7L7HFS2PLNh1nvD8fpwJGKSTYH1+0quhQ1dZDdn KO6OEZUyDsNliBb7T2u3tNTCguE3jemnuAFtOFPNdNkOeN3uJog+MdgPDXY4gNiZHNOv jPCQ==
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=3PrKvnwH2q1V30pmefoISQ1VUoE62ZnX5gZnP/Cxs6Y=; b=pcf6eMZ/SqBKjDctVaU2htmz7IBUsi9i9d7SJ5BA2rkKEv2J97Fng6jHXjGTLszHsc TbfkTatdMpkwjvGNEv8rgAvASS9nS/mELcmF0KFvWHgQgHc0lYCxW48ws8l+ullyLH/y /N6UOW3pTgatW5m3enerTehhfAo8dvIuTndKVYTjmb4rpeAa1gaLLEDbv3VpgqCcdHm1 hc6LZRCMouCkGm8XZjDSWmWld11VDm4Kb2G/zM7Q/yi0JhDiWyOb5xI9AiyWq2Ut7X9f WRvwZoDBFSebWafOQGVsHHCAW5SU0bUA+OiEAkynCBo/LSuYL9g5cJ7FASH/YnR+fiT4 QnAw==
X-Gm-Message-State: APjAAAVL10GoLSKo9IK0sjouZMPe70CXIohECi9sjwXJC3N/OETcorDB AQ7nZmKTlfcOslgCQN08gYtkAlaLRpUKLJVKQpM=
X-Google-Smtp-Source: APXvYqxt7dGwbCcDLFBdGRfqvZT9QBVpjdpoLU9bs3v4BLvWezw10thM+CM3LCMI7KfMUenwWCF+tEZH3TFyc1UjgzM=
X-Received: by 2002:a05:6602:3:: with SMTP id b3mr12658619ioa.205.1581401859709; Mon, 10 Feb 2020 22:17:39 -0800 (PST)
MIME-Version: 1.0
References: <c6ba9a00-cb44-2022-5009-34211966518c@si6networks.com> <CABNhwV0mb8dL_4Ef5UxAbcRbP18nH9Ztvx8XHJ0Z0GM-NaCwgw@mail.gmail.com> <CALx6S36YJ1cnCznw_BbfLmubZ+s1BQgAb5fyJ=UFhge1igq77Q@mail.gmail.com>
In-Reply-To: <CALx6S36YJ1cnCznw_BbfLmubZ+s1BQgAb5fyJ=UFhge1igq77Q@mail.gmail.com>
From: Gyan Mishra <hayabusagsm@gmail.com>
Date: Tue, 11 Feb 2020 01:17:02 -0500
Message-ID: <CABNhwV16VOz6i96502CjG+MvfwMZmPbmx8hu9-Qk3JyZDBsa_g@mail.gmail.com>
Subject: Re: rfc4941bis: Invalid addresses used by ongoing sessions
To: Tom Herbert <tom@herbertland.com>
Cc: Fernando Gont <fgont@si6networks.com>, 6MAN <6man@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000185de3059e46d094"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/j_Qr50PPGCByRJg86bU3Db502a0>
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: Tue, 11 Feb 2020 06:17:44 -0000

Agreed.  Makes sense.  Thanks

On Mon, Feb 10, 2020 at 11:30 PM Tom Herbert <tom@herbertland.com> wrote:

>
>
> On Mon, Feb 10, 2020, 4:12 PM Gyan Mishra <hayabusagsm@gmail.com> wrote:
>
>>
>>
>>
>> On Mon, Feb 10, 2020 at 11:12 AM Fernando Gont <fgont@si6networks.com>
>> wrote:
>>
>>> Folks,
>>>
>>> As currently specified, temporary addresses are removed when they become
>>> invalid (i.e., the Valid Lifetime expires).
>>>
>>> Section 6 ("6.  Future Work") of the draft
>>> (https://tools.ietf.org/id/draft-ietf-6man-rfc4941bis-06.txt) still
>>> keeps the following text from RFC4941.
>>>
>>> 6.  Future Work
>>>
>>>    An implementation might want to keep track of which addresses are
>>>    being used by upper layers so as to be able to remove a deprecated
>>>    temporary address from internal data structures once no upper layer
>>>    protocols are using it (but not before).  This is in contrast to
>>>    current approaches where addresses are removed from an interface when
>>>    they become invalid [RFC4862], independent of whether or not upper
>>>    layer protocols are still using them.  For TCP connections, such
>>>    information is available in control blocks.  For UDP-based
>>>    applications, it may be the case that only the applications have
>>>    knowledge about what addresses are actually in use.  Consequently, an
>>>    implementation generally will need to use heuristics in deciding when
>>>    an address is no longer in use.
>>>
>>>
>>> I wonder if this text should be:
>>>
>>> 1) moved more into the body of the document and made a "MAY" (which for
>>> TCP is very straightforward),
>>>
>>> 2) Be left "as is", or,
>>>
>>> 3) Removed from the document
>>>
>>>
>>> The implications of #1 above is that it can't prevent long-lived
>>> connections that employ temporary addresses from being torn down, at the
>>> expense of possibly increasing the number of concurrent IPv6 addresses.
>>
>>
>>   Gyan> So for TCP apps it maybe easier to track via active TCB blocks so
>> those long lived connections could be tracked.  So those long lived TCP
>> connections would not be impacted and torn down.  Other apps using UDP may
>> not be as easily tracked and so maybe using the deprecated address, however
>> due to difficulty of tracking maybe torn down as a side effect of option
>> #1.
>>
>
> Gyan,
>
> Connected UDP sockets should work like TCP.
>
> For unconnected sockets, the applications respond to whatever address
> packets are received from. If the address for a UDP flow changes the
> application needs to adjust to the new address. Note this characteristic
> already exists, for instance the apparent endpoint of a UDP flow can change
> due to NAT state eviction, and application protocols like QUIC handle this
> case.
>
> Tom
>
>
>>>
>>> Thoughts?
>>>
>>> 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
>>> --------------------------------------------------------------------
>>>
>> --
>>
>> Gyan  Mishra
>>
>> Network Engineering & Technology
>>
>> Verizon
>>
>> Silver Spring, MD 20904
>>
>> Phone: 301 502-1347
>>
>> Email: gyan.s.mishra@verizon.com
>>
>>
>>
>> --------------------------------------------------------------------
>> IETF IPv6 working group mailing list
>> ipv6@ietf.org
>> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
>> --------------------------------------------------------------------
>>
>

-- 

Gyan  Mishra

Network Engineering & Technology

Verizon

Silver Spring, MD 20904

Phone: 301 502-1347

Email: gyan.s.mishra@verizon.com