Re: [dhcwg] Comments on draft-ietf-dhc-anonymity-profile-02.txt

Christian Huitema <huitema@microsoft.com> Sat, 29 August 2015 06:58 UTC

Return-Path: <huitema@microsoft.com>
X-Original-To: dhcwg@ietfa.amsl.com
Delivered-To: dhcwg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9E20A1A21C1; Fri, 28 Aug 2015 23:58:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.902
X-Spam-Level:
X-Spam-Status: No, score=-1.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
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 Ksj0vdlQ7PS9; Fri, 28 Aug 2015 23:58:08 -0700 (PDT)
Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2on0104.outbound.protection.outlook.com [65.55.169.104]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 20BC61A0022; Fri, 28 Aug 2015 23:58:04 -0700 (PDT)
Received: from DM2PR0301MB0655.namprd03.prod.outlook.com (10.160.96.17) by DM2PR0301MB0653.namprd03.prod.outlook.com (10.160.96.15) with Microsoft SMTP Server (TLS) id 15.1.256.15; Sat, 29 Aug 2015 06:58:02 +0000
Received: from DM2PR0301MB0655.namprd03.prod.outlook.com ([10.160.96.17]) by DM2PR0301MB0655.namprd03.prod.outlook.com ([10.160.96.17]) with mapi id 15.01.0256.013; Sat, 29 Aug 2015 06:58:02 +0000
From: Christian Huitema <huitema@microsoft.com>
To: "Bernie Volz (volz)" <volz@cisco.com>, "draft-ietf-dhc-anonymity-profile@ietf.org" <draft-ietf-dhc-anonymity-profile@ietf.org>
Thread-Topic: Comments on draft-ietf-dhc-anonymity-profile-02.txt
Thread-Index: AdDgcKl9XXaT91jBQaaz5aGsMw+9GQBrAqqw
Date: Sat, 29 Aug 2015 06:58:02 +0000
Message-ID: <DM2PR0301MB06552A2D2B3CBFF0A7F231D9A86D0@DM2PR0301MB0655.namprd03.prod.outlook.com>
References: <489D13FBFA9B3E41812EA89F188F018E1CC55254@xmb-rcd-x04.cisco.com>
In-Reply-To: <489D13FBFA9B3E41812EA89F188F018E1CC55254@xmb-rcd-x04.cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=huitema@microsoft.com;
x-originating-ip: [24.16.156.113]
x-microsoft-exchange-diagnostics: 1; DM2PR0301MB0653; 5:8Kg0LcnckSlw8qYpa6nqKam6L4SOtOUu27an8bR/3ulP+fB+RssBICqSxIoZEMUOLHFP3bJIHTrjr/4aMz8YLhc703X5mqPt5mG9ZrrPiRT2RlZ0l3lBrLEFdzuD3FL/Xep06A3wXTHYci+fTXXeZg==; 24:gzuVa9zu6JdN8PS1RxJ9UlwYyzNQH8rrXyv1/+h/ZlZ3Me0NI9X6FjgzlWmv7f4Oc/LfEdT7jmzOBxuqv0tIMbwH9UN1HRu8h/bxQzlj8+s=; 20:YzqtqpN6KLSaca2I9jG12HIWWHD3DoNiC1fDkWS8+RIK1byHRh9k+DfC9tpTF0k79LVGnDNOHF5UG2zHjbEoRw==
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DM2PR0301MB0653;
x-microsoft-antispam-prvs: <DM2PR0301MB0653FB2225FC3AC169A651DBA86D0@DM2PR0301MB0653.namprd03.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401001)(8121501046)(5005006)(3002001); SRVR:DM2PR0301MB0653; BCL:0; PCL:0; RULEID:; SRVR:DM2PR0301MB0653;
x-forefront-prvs: 06833C6A67
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(51914003)(189002)(24454002)(377454003)(199003)(52044002)(10090500001)(5002640100001)(5005710100001)(105586002)(76576001)(10400500002)(10290500002)(2656002)(5003600100002)(86362001)(5001960100002)(102836002)(68736005)(33656002)(46102003)(40100003)(122556002)(5007970100001)(99286002)(106356001)(5004730100002)(87936001)(5001770100001)(77156002)(230783001)(5001830100001)(50986999)(189998001)(77096005)(64706001)(2501003)(5001860100001)(74316001)(62966003)(66066001)(5001920100001)(92566002)(76176999)(101416001)(4001540100001)(97736004)(81156007)(2900100001)(54356999)(8990500004)(86612001)(2950100001); DIR:OUT; SFP:1102; SCL:1; SRVR:DM2PR0301MB0653; H:DM2PR0301MB0655.namprd03.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en;
received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts)
spamdiagnosticoutput: 1:23
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Aug 2015 06:58:02.0692 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR0301MB0653
Archived-At: <http://mailarchive.ietf.org/arch/msg/dhcwg/OwPoJeDSSCoB21MGYArEvRv5q2c>
Cc: "dhcwg@ietf.org" <dhcwg@ietf.org>
Subject: Re: [dhcwg] Comments on draft-ietf-dhc-anonymity-profile-02.txt
X-BeenThere: dhcwg@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <dhcwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dhcwg>, <mailto:dhcwg-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dhcwg/>
List-Post: <mailto:dhcwg@ietf.org>
List-Help: <mailto:dhcwg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dhcwg>, <mailto:dhcwg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 29 Aug 2015 06:58:10 -0000

On Wednesday, August 26, 2015 7:36 PM, Bernie Volz wrote:
> 
> In preparation for a (hopefully soon) WGLC, I did a more thorough review of
> this document. Comments are "inline" below (BV>). While many of the
> findings are minor nits, there are a few more significant issues as well. Though
> nothing that shouldn't be difficult to correct. And, feel free to push back if you
> don't agree with some comments.

Thanks. I will fix the nits, and some of the issues. For the others, text below.

> Abstract
> 
>    Some DHCP options carry unique identifiers.  These identifiers can
>    enable device tracking even if the device administrator takes care of
>    randomizing other potential identifications like link-layer addresses
>    or IPv6 addresses.  The anonymity profile is designed for clients
> BV> Should it just be IP addresses? DHCPv4 can lease addresses too in the
> INIT-REBOOT phase.

This is not about leases, just the fact that MAC and IPv6 addresses can easily leak metadata if we are not careful, but even if we are careful with that we need to also be careful with DHCP.

>    that wish to remain anonymous to the visited network.  The profile
>    provides guidelines on the composition of DHCP or DHCPv6 requests,
>    designed to minimize disclosure of identifying information.  This
>    draft updates RFC4361.
> BV> We need to review whether this updates RFC4361 is correct. There is not
> explicit "change this to that" text so it isn't really an "updates" in the strict
> sense. It is just to change its use for privacy, but then this would also update
> RFC 2131 and 3315? So is it really appropriate?

You are probably right. We are not suggesting any specific update to 4361.
> 
> 2.5.  No anonymity profile identification
> ...
>    anonymity is a bit like walking around with a Guy Fawkes mask.  When
> BV> Show this have some kind of reference for the international audience or
> do you think it is globally clear?

I don't think that's really necessary, given the wide publicity around "Anonymous."

> 
> 2.7.  What about privacy for DHCP servers
> 
>    The server part will be covered by the general mitigation work going
>    on in DHCP working group, following the analyses presented in
>    [I-D.ietf-dhc-dhcp-privacy] and [I-D.ietf-dhc-dhcpv6-privacy].
> BV> Isn't this part of this work? Perhaps we say it is a topic for further
> work/study?
> 
> 3.  Anonymity profile for DHCPv4
> 
> ...
> BV> Also there is a general question (may impact 3.4) of why these clients
> even include a client-identifier option? It isn't required so perhaps one option
> is for them not to include it. That way, no value must be derived?

Maybe. I am a bit concerned with interop issues. Does anybody have a strong opinion?

> 3.1.  Client IP address field
> 
>    Four bytes in the header of the DHCP messages carry the "Client IP
>    address" (ciaddr) as defined in [RFC2131].  In DHCP, this field is
>    used by the clients to indicate the address that they used
>    previously, so that as much as possible the server can allocate them
>    the same address.
> 
> BV> I'm not sure what cases this is to cover - perhaps just normal
> DHCPREQUEST for renew, since for INIT-REBOOT, RFC 2131 has:
> 
> For RFC 2131:
> 
>    o DHCPREQUEST generated during INIT-REBOOT state:
> 
>       'server identifier' MUST NOT be filled in, 'requested IP address'
>       option MUST be filled in with client's notion of its previously
>       assigned address. 'ciaddr' MUST be zero. The client is seeking to
>       verify a previously allocated, cached configuration. Server SHOULD
>       send a DHCPNAK message to the client if the 'requested IP address'
>       is incorrect, or is on the wrong network.
> BV> END

Can we get a concurring advice here?

> ...
> 3.4.  Client Identifier Option
> ...
> BV> Also, see above as to why even send this at all?
> BV> Note that if a client is dual stack and doing DHCPv4 and DHCPv6, it may
> be best that the 4361 requirement to send is used as then it would be possible
> to correlate the client's V4 and V6 address. But that can also be a privacy risk?
> Should this be discussed?

Sounds reasonable. Any proposed text?

> BV> New section between 3.4 and 3.5 to include the PRL similar to ORO text in
> 3.5? Kind of odd that the Parameter Request List isn't mentioned at all for
> DHCPv4 where there exists a fairly extensive fingerprinting database (mostly
> based on the PRL).

Yes, we should consider that. 

> 4.  Anonymity profile for DHCPv6
> ...
 
> 4.2.  Client Identifier DHCPv6 Option
> ...
>    tracking and profiling.  Three DUID formats are specified: Link-layer
>    address plus time, Vendor-assigned unique ID based on Enterprise
>    Number, Link-layer address.
> BV> There is a 4th type, DUID-UUID defined in RFC 6355. Probably not a good
> idea to use this for privacy?

Will add a reference for completeness, but you are correct, it is not a good idea for privacy.

>    cases the link-layer address is based on MAC.  The first three octets
>    are composed of the OUI (Organizationally Unique Identifier) that is
>    expected to have a value assigned to a real organization.  See
>    [IEEE-OUI] for currently assigned values.  Using a value that is
>    unassigned may disclose the fact that a DUID is randomized.  Using a
>    value that belongs to a third party may have legal implications.
> BV> I don't understand what the value of these last sentences is? It mentions
> the OUI but so what should someone do? What about the other octets??

You are right, we can simplify the text.

> 4.4.1.  Obtain temporary addresses
> 
>    [RFC3315] defines a special container (IA_TA) for requesting
>    temporary addresses.  This is a good mechanism in principle, but
>    there are a number of issues associated with it.  First of all, this
>    is not widely used feature.  Thus clients cannot count on it to be
> BV> is not a widely used feature?
>    always available.  Secondly, [RFC3315] does not specify any renewal
>    mechanisms for temporary addresses.  Therefore the support for
> BV> Yes it does. See RFC 3315, page 76 2nd paragraph?

OK, will fix.

> 6.  Security Considerations
> BV> This is a bit light, but don't have any real recommendations - might
> reference RFC 2131 and 3315, but that might not help that much? I guess we'll
> see what the IESG or other reviewers say?

Yes...

> Finally, be sure to run id-nits!!!

Will do.
 
Thanks for the review.

-- Christian Huitema