Re: RFC8064 implemented in linux ?

Brian E Carpenter <brian.e.carpenter@gmail.com> Sat, 29 June 2019 02:13 UTC

Return-Path: <brian.e.carpenter@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 1C87112094B for <ipv6@ietfa.amsl.com>; Fri, 28 Jun 2019 19:13:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 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, 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 4Z9Oe-tzMZ68 for <ipv6@ietfa.amsl.com>; Fri, 28 Jun 2019 19:13:30 -0700 (PDT)
Received: from mail-pl1-x644.google.com (mail-pl1-x644.google.com [IPv6:2607:f8b0:4864:20::644]) (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 49053120075 for <ipv6@ietf.org>; Fri, 28 Jun 2019 19:13:30 -0700 (PDT)
Received: by mail-pl1-x644.google.com with SMTP id ay6so4189448plb.9 for <ipv6@ietf.org>; Fri, 28 Jun 2019 19:13:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=yTccu+m9YNhsq2Hl64XNJnJJuBnXgm7b6fP9JCVKN9E=; b=SPbu3mMJu8h7HfdMrDyp+Fm62yvxGihn1yUYXnyOWXdHa6GXQDPoUKiB0QsDjfWq80 4UQ19q7FrYqh01ZXp6MjTwMOTrUVOlzCbVJFiCETrPXgIAdjY7YIXmC1LJcl5ahOTFjg 2L/arqRMTdXHXLVkLz5++WC9+gYl3TKqamzYlMcltB2q7c+TSF0wkHsY7volfrmq9ozc e4RKqK9uwlUdLH8C+YHpz8ZIONK2aJMfP+vV8MRs1XKrBs+sGlLX0mfHbIHKwZoAd/D4 VpDT5YqWRqj/J3BjM0O7XX2xzJypdl3CAEDDNAzsGpRGZlW9AIh2kYORtP7RYKlXiATj 3/XA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=yTccu+m9YNhsq2Hl64XNJnJJuBnXgm7b6fP9JCVKN9E=; b=nypJmFeIDzz2yDnqouLBqRwJsMZvhP1IMlFLoLnn+RfARvwqzDsY5/e+i+/SeLJNuj pl2HjUSGUVbWZ/MFVulUDA1sqV37Is2Ecx9Bq2srjOKo9IZste90R3zTfvKd3kSzfS29 P6jy4rlCNcUkWImkPuLPhtjGtyTppUatOqrgO9+x+Z5f1sYTmKdrXM4o63aMPsYdA/Cs lo5c7//zMY/8ZEYtDrZVViYbKNVU4KDCtIucENpOwHEXK476Hm6+0RKz0JwEtxu1qUje K9phEz47ZCc7ngnNnzCKgLZRr+Xp8tmCgB3f3JSuWrKsoxC5Z6o9w0lvnZUtBWQZxEtp r5/Q==
X-Gm-Message-State: APjAAAVWhaKjG5X2noB2Vq7B2GBRnoORQ0SfzKJr+Qzx/+fQA3Iz30pd Ux1Jj8CLfHjtPUTi3kbIs4UKJsq+
X-Google-Smtp-Source: APXvYqw428P+dyFWshd6mfbESWwO6ueEWtydscgq6BRCjgbMlmqtjDG9IQakFimkB1Q0AcDWNgls5A==
X-Received: by 2002:a17:902:e281:: with SMTP id cf1mr14685210plb.271.1561774409266; Fri, 28 Jun 2019 19:13:29 -0700 (PDT)
Received: from [192.168.178.30] (32.23.255.123.dynamic.snap.net.nz. [123.255.23.32]) by smtp.gmail.com with ESMTPSA id h6sm3532942pfn.79.2019.06.28.19.13.26 for <ipv6@ietf.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 28 Jun 2019 19:13:27 -0700 (PDT)
Subject: Re: RFC8064 implemented in linux ?
To: ipv6@ietf.org
References: <69fb7b6e-cb0b-34a8-9a36-006878787282@gmail.com> <1752910.pSMvptStIT@rumburak.ite.tul.cz> <CAO42Z2yag_jm2r4P0=D5OTm-V8qVC6WPyYu6Ns7AhAHbuEE3pQ@mail.gmail.com>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Message-ID: <fd4e7dd6-4c14-0eb9-9cef-9bc0e46d5c34@gmail.com>
Date: Sat, 29 Jun 2019 14:13:24 +1200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2
MIME-Version: 1.0
In-Reply-To: <CAO42Z2yag_jm2r4P0=D5OTm-V8qVC6WPyYu6Ns7AhAHbuEE3pQ@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/UaduAODKH97gvEEqPtXoJ2d5L6o>
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: Sat, 29 Jun 2019 02:13:33 -0000

On 29-Jun-19 12:37, Mark Smith wrote:
> 
> 
> On Sat., 29 Jun. 2019, 02:36 Martin Hunek, <martin.hunek@tul.cz <mailto:martin.hunek@tul.cz>> wrote:
> 
>     Hi Alex, hi all,
> 
>     I hope that this mail would not be breach to Code of Conduct, but this is straight from network's operator heart. :-)
> 
>     I hope that RFC8064 would never be implemented on any router. As would be operational nightmare.
> 
> 
> It's intended to be implemented on all SLAAC implementations, not just hosts.
> 
> That includes routers, and it explicitly includes Link Local addresses.
> 
> That is so that Link Local addresses of routers are both auto-generated and stable across interface module swaps.

Right, but nowhere is it said that you MUST NOT assign static addresses,
including static LL addresses, if that's what you want to do.
Nor does RFC8064 say that you MUST assign RFC7217 identifiers to all
interfaces; even its title says "recommendation".

So it seems to me that Martin can do what he wants, even if it means
changing an implementation default.

Sites that need to correlate IP addresses with MAC addresses can still
do so, as they do for IPv4. It just isn't arp -a any more.

(In Windows it's netsh int ipv6 show neigh, but I don't know how to
spell that in Linuxese.)

    Brian


> 
> 
> 
> 
>     I can see need for privacy with global addresses
> 
> 
> RFC8064 (indirectly RFC 7217) is not about privacy addresses.
> 
> They're the opposite use case - persistent, stable addresses, entirely independent of or only loosely coupled to hardware e.g. device backplane slot.
> 
> 
>     as it is clear that individuals could be easily tracked over the internet when using EUI-64 suffixes. It is not so obvious with stationary servers, but OK - you could remotely detect vendor and model of hardware, so yes if you really need to hide that it is reasonable.
> 
>     When client need to generate LL address with other method then EUI-64, that is for me hard to grasp. Reactions to reasons from RFC8064:
>     As network operator, I can still correlate network activity by accounting in RADIUS or just mirror access port and track it based on L2 addresses. There is no location tracking possible with LL address as prefix fe80:: would not tell any more or less about location with or without randomized suffix. Address scanning is still not needed as all I need is ask at all nodes multicast address and I get a list of addresses in local segment. Only real reason why I would like to hide device vendor+model is so called "device-specific vulnerability exploitation". But still I can just listen on the line waiting for traffic and then just connect to port 80 or 443 and it would just happily tell. But OK, if someone thinks that it is really needed and that it would be beneficial to cover vendor+model instead of doing proper firewall...
> 
>     Lastly the case of router (OpenWRT):
>     Why would I need to use anything else than EUI-64? As network operator I need address that is static (on WAN interface at least), so I can do reliable static leases if customer wants them. You could argue that there is DUID for that and you would be right - in theory. But I have seen routers which generated random DUID on every boot (UBNT), that of course was major problem so only static thing left was LL address, which was EUI64. Other thing I seen were custom DHCPv6-PD hooks, which extracted MAC from some DUID types, made LL address from that and placed record for delegated prefix paired with computed LL address as destination. And I've seen clients which hides DUID so well that easiest way how to get it is packet snooping and manual link reset.
> 
>     So when there would not be predictable LL address on WAN interface, I would not be able to make static routing records in routing table based on value written on customer CPE - the MAC address. So no more prefix reservation based on phone customer support, we would have to go trough provisioning of CPE prior installation.
> 
>     Another "solution" would be to make dynamic routing table and when I'm giving customer /56, I can reduce it to /120 so I can encode 64b of random ID into prefix. Hopefully just an idea for April fool's RFC:
> 
>     Address scheme would than look like:
>     /29 from RIR -> 3b for MANs
>     /32 for my MAN -> 8b for POPs
>     /40 for POP -> 8b for interface+VLAN
>     /48 for interface/VLAN -> 64b left for client LL suffix to provide static pool
>     /112 would be max prefix length for customer or /120 when "legacy" devices on segment.
> 
>     All that because router could get tracked on local link? By whom? Network operator would still be able to track every connection and they often must by law. By the way network operator still must be able to deliver packets to router so it needs to keep track of router's addresses/prefixes. Only real "benefit" RFC8064 brings to network operators would be a headache.
> 
>     Because similar privacy related solution we are actually forced to go from SLAAC to DHCPv6 for server addresses because we cannot tell what IPv6 address server would have, so either no AAAA+PTR records (DDNS is not an option) or we would have to provision every server to use EUI64.
> 
>     Long story short, RFC8064 needs a bis that it MUST NOT be used on routers. Otherwise it could bring real problems to real networks. All for purely theoretical issue router could have with its privacy.
> 
>     I hope that I didn't offend anyone, I couldn't help myself.
> 
>     Regards,
>     Martin
> 
>     PS: If you read it up to this point, than you are real good. :-)
> 
>     Dne pátek 28. června 2019 13:49:29 CEST, Alexandre Petrescu napsal(a):
>     > Is RFC8064 implemented in linux, with kernels 4.x, on openwrt? (in
>     > addition to BSD).
>     >
>     > I am asking because the IPWAVE WG IPv6-over-OCB document is not
>     > implemented in BSD. IPv6-over-OCB is implemented extensively on linux.
>     >
>     > The IPv6-over-OCB document suggests a 'transition time' to migrate from
>     > current embedded platforms that do LL addresses formed from hardwired
>     > MAC addresses (linux kernel 4.x openwrt) to future software where the LL
>     > addresses are formed from more random IID (RFC8064).
>     >
>     > The Transport Area review of this document demands a value for this
>     > 'transition time'.  My speculation, without knowing the current
>     > implementation status of RFC8064 on openwrt with kernels 4.x, is that
>     > the value of 'transition time' nears 5 years.
>     >
>     > Alex
>     >
>     >
> 
>     --------------------------------------------------------------------
>     IETF IPv6 working group mailing list
>     ipv6@ietf.org <mailto: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
> --------------------------------------------------------------------
>