From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 86D24C28CBC for ; Thu, 7 May 2020 00:00:26 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 589632082E for ; Thu, 7 May 2020 00:00:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728990AbgEGAAZ (ORCPT ); Wed, 6 May 2020 20:00:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54898 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726129AbgEGAAZ (ORCPT ); Wed, 6 May 2020 20:00:25 -0400 Received: from shards.monkeyblade.net (shards.monkeyblade.net [IPv6:2620:137:e000::1:9]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 24C3BC061A0F for ; Wed, 6 May 2020 17:00:25 -0700 (PDT) Received: from localhost (unknown [IPv6:2601:601:9f00:477::d71]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 41E3212776891; Wed, 6 May 2020 17:00:22 -0700 (PDT) Date: Wed, 06 May 2020 17:00:18 -0700 (PDT) Message-Id: <20200506.170018.550097165407520983.davem@davemloft.net> To: fgont@si6networks.com Cc: netdev@vger.kernel.org Subject: Re: [PATCH v3 net-next] ipv6: Implement draft-ietf-6man-rfc4941bis From: David Miller In-Reply-To: <20200501035147.GA1587@archlinux-current.localdomain> References: <20200501035147.GA1587@archlinux-current.localdomain> X-Mailer: Mew version 6.8 on Emacs 26.3 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Wed, 06 May 2020 17:00:22 -0700 (PDT) Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Fernando Gont Date: Fri, 1 May 2020 00:51:47 -0300 > Implement the upcoming rev of RFC4941 (IPv6 temporary addresses): > https://tools.ietf.org/html/draft-ietf-6man-rfc4941bis-09 > > * Reduces the default Valid Lifetime to 2 days > The number of extra addresses employed when Valid Lifetime was > 7 days exacerbated the stress caused on network > elements/devices. Additionally, the motivation for temporary > addresses is indeed privacy and reduced exposure. With a > default Valid Lifetime of 7 days, an address that becomes > revealed by active communication is reachable and exposed for > one whole week. The only use case for a Valid Lifetime of 7 > days could be some application that is expecting to have long > lived connections. But if you want to have a long lived > connections, you shouldn't be using a temporary address in the > first place. Additionally, in the era of mobile devices, general > applications should nevertheless be prepared and robust to > address changes (e.g. nodes swap wifi <-> 4G, etc.) > > * Employs different IIDs for different prefixes > To avoid network activity correlation among addresses configured > for different prefixes > > * Uses a simpler algorithm for IID generation > No need to store "history" anywhere > > Signed-off-by: Fernando Gont Applied, thanks.