Re: Better APIs (was: Re: Address privacy)

Fernando Gont <fgont@si6networks.com> Thu, 06 February 2020 23:51 UTC

Return-Path: <fgont@si6networks.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 9020E120839 for <ipv6@ietfa.amsl.com>; Thu, 6 Feb 2020 15:51:58 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 TXVZNVcdFcyw for <ipv6@ietfa.amsl.com>; Thu, 6 Feb 2020 15:51:55 -0800 (PST)
Received: from fgont.go6lab.si (fgont.go6lab.si [91.239.96.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AFA2612011B for <ipv6@ietf.org>; Thu, 6 Feb 2020 15:51:55 -0800 (PST)
Received: from [192.168.0.84] (unknown [181.169.127.67]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by fgont.go6lab.si (Postfix) with ESMTPSA id DEC8986A6B; Fri, 7 Feb 2020 00:51:50 +0100 (CET)
Subject: Re: Better APIs (was: Re: Address privacy)
To: Tommy Pauly <tpauly=40apple.com@dmarc.ietf.org>
Cc: Michael Richardson <mcr+ietf@sandelman.ca>, 6man WG <ipv6@ietf.org>
References: <03C832CE-7282-4320-BF1B-4CB7167FE6BE@employees.org> <CBB23ABE-A7A3-4208-873C-E47EE063E34B@fugue.com> <11855.1579980079@localhost> <CALx6S36V_VjaxhELYcsgDYLWsCkj20p6gtiY9T9Q=9-9Oibyjw@mail.gmail.com> <32626.1580060558@localhost> <CALx6S37prWACD0jv9c-XHD-JtPqZAcgeT2Ax0EZHkiQaDR4t=g@mail.gmail.com> <419b7c7a-e364-7951-5a44-6c39e1da65fb@joelhalpern.com> <CALx6S36802oDaEgojAPq2c6hM_s1BayidXPh1Sc6RZmZa9UHpQ@mail.gmail.com> <6c5ba72d-9289-90ba-a1c9-2307ed29a4da@foobar.org> <a98bf2ab-32e7-459b-14d2-5e0e1c65a229@si6networks.com> <CALx6S36J5TPnXJQyMW2NUbQV6KL_oqUQ01m+BEzBJ+xcHpmQWw@mail.gmail.com> <d763dc26-57bb-c67d-f727-617a6b52d813@foobar.org> <CALx6S36DsttXx-7UWL=iZkGuKG_yNKdADFB5zo87wu2coz8HcQ@mail.gmail.com> <C6E767BC-BB0F-4B47-8DEB-CD04A6EF7D8C@employees.org> <"9f474839-7e6d- 59c6-1941-ebeca5825dab"@si6networks.com> <26636.1580393559@dooku> <a123c070-cc82-2553-23bb-f8c60082d02a@si6networks.com> <B9656C4B-6CB8-46E5-9066-35BC57D55D1E@apple.com>
From: Fernando Gont <fgont@si6networks.com>
Openpgp: preference=signencrypt
Message-ID: <2cc28dee-a20e-249b-d034-20a21f456b22@si6networks.com>
Date: Thu, 06 Feb 2020 19:35:30 -0300
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1
MIME-Version: 1.0
In-Reply-To: <B9656C4B-6CB8-46E5-9066-35BC57D55D1E@apple.com>
Content-Type: text/plain; charset="windows-1252"
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/T0COEURb0WTruB5a1YbV_UGwyQs>
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, 06 Feb 2020 23:51:59 -0000

On 1/2/20 18:23, Tommy Pauly wrote:
> Hi Fernando,
> 
> For the record, the TAPS documents have indeed incorporated API
> recommendations to support this in the current working version of the draft:
> 
> https://ietf-tapswg.github.io/api-drafts/draft-ietf-taps-interface.html#name-local-address-preference
> <https://ietf-tapswg.github.io/api-drafts/draft-ietf-taps-interface..html#name-local-address-preference>
> 
>     5.2.12. Local Address Preference
>     Name:
>     local-address-preference
>     Type:
>     Enumeration
>     This property specifies whether Listeners and Connections should
>     prefer the use of temporary addresses when possible. This is
>     generally used to prevent linking connections over time when a
>     stable address is not needed. Possible values are:
> 
>     Stable:
>     Prefer the use of stable (sometimes called "permanent") local addresses
>     Temporary:
>     Prefer the use of temporary (sometimes called "privacy")
>     addresses [RFC4941]
>     The default is to prefer the use of stable local addresses for
>     Listeners and Rendezvous Connections, and to prefer the use of
>     temporary addresses for other Connections.

This is good, but only scratches the surface. See requirements on on
address scopes, bind()ing addresses, etc.

Thanks,
-- 
Fernando Gont
SI6 Networks
e-mail: fgont@si6networks.com
PGP Fingerprint: 6666 31C6 D484 63B2 8FB1 E3C4 AE25 0D55 1D4E 7492