Re: [dnssd] Setting device friendly names

Tim Chown <Tim.Chown@jisc.ac.uk> Mon, 25 July 2016 19:37 UTC

Return-Path: <tim.chown@jisc.ac.uk>
X-Original-To: dnssd@ietfa.amsl.com
Delivered-To: dnssd@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5EC9812D5C0 for <dnssd@ietfa.amsl.com>; Mon, 25 Jul 2016 12:37:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.11
X-Spam-Level:
X-Spam-Status: No, score=-4.11 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, T_DKIM_INVALID=0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=fail (1024-bit key) reason="fail (body has been altered)" header.d=jisc365.onmicrosoft.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 1OvhZd58CZm6 for <dnssd@ietfa.amsl.com>; Mon, 25 Jul 2016 12:37:04 -0700 (PDT)
Received: from eu-smtp-delivery-189.mimecast.com (eu-smtp-delivery-189.mimecast.com [146.101.78.189]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1063412D5B5 for <dnssd@ietf.org>; Mon, 25 Jul 2016 12:37:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jisc365.onmicrosoft.com; s=selector1-jisc-ac-uk; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=YDyxgNPItDeXgIrkYPbDD0C69bY/7OH8XPUXBobPdVo=; b=J+8KS4qgXbhssfWU1d9utHig2Btl4a730hBtpq52sO92Dc177appb+O6G4SqF+mshSv2x/2uGF5zaPCsveL1jsTiNritnmRRDpJQtQfXrGUAm9YV9qwzl/1gE/tjjo1z9gOv2OBOuPLl4CbscWnOQpphbM86FCsyWeokGPwlvZE=
Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-he1eur02lp0177.outbound.protection.outlook.com [213.199.180.177]) (Using TLS) by eu-smtp-1.mimecast.com with ESMTP id uk-mta-11-7yeZ0bLJOX2PEp_CmESNAg-1; Mon, 25 Jul 2016 20:36:58 +0100
Received: from AMSPR07MB455.eurprd07.prod.outlook.com (10.242.106.148) by AMSPR07MB455.eurprd07.prod.outlook.com (10.242.106.148) with Microsoft SMTP Server (TLS) id 15.1.539.14; Mon, 25 Jul 2016 19:36:55 +0000
Received: from AMSPR07MB455.eurprd07.prod.outlook.com ([10.242.106.148]) by AMSPR07MB455.eurprd07.prod.outlook.com ([10.242.106.148]) with mapi id 15.01.0539.023; Mon, 25 Jul 2016 19:36:55 +0000
From: Tim Chown <Tim.Chown@jisc.ac.uk>
To: "dnssd@ietf.org" <dnssd@ietf.org>
Thread-Topic: [dnssd] Setting device friendly names
Thread-Index: AdHiibYrxB4vZWkMQdmCvDMGAtoHugAAU4SAACq01gAAAUkEAAAAuYWAAAU/fYAABKBYgAABGyCAAAImJoAAAJIIgACFWrYAAAKFhQAARfqfgA==
Date: Mon, 25 Jul 2016 19:36:55 +0000
Message-ID: <E775B366-9E6E-420E-B1D8-40A208049271@jisc.ac.uk>
References: <2040EE15-81F8-47EB-BF8D-DA544564C304@att.com> <CAPt1N1mxx=gPY_RtXaDVBXiT750Aq=YiyiOD4mj+CEh0MCT5qw@mail.gmail.com> <AD1ED147-37F0-4276-BC3B-E70072F97EBD@att.com> <B18D9771-8828-42D6-8F89-AC000531C85F@apple.com> <CAPt1N1nPkM2XBi5EapzP7RQmOYNwTWmRuSuD1Y3=JWXmTQcu7w@mail.gmail.com> <8F6598B8-BBE0-4496-B850-51686E63A527@att.com> <CBF3CF2D-DB80-4792-B50A-4C0FFAAAC9F1@apple.com> <CAPt1N1mHfoawS=0xRXVuuZYqmVdKLGdZkR3qqVdz_eNrNs6uSw@mail.gmail.com> <A0740754-0042-4EB1-8FFC-BF85555DD7CB@apple.com> <CAPt1N1=F9vUAbJEg04AQw=SSVKN1oxtOkiffyF7csn6zhzxGKQ@mail.gmail.com> <009d01d1e58a$1cdd7ca0$569875e0$@huitema.net> <CAPt1N1=qGPSA4ZU_gf2sthQ=z502Z-F0VGNeTFcK6nbJ4H58=Q@mail.gmail.com>
In-Reply-To: <CAPt1N1=qGPSA4ZU_gf2sthQ=z502Z-F0VGNeTFcK6nbJ4H58=Q@mail.gmail.com>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-mailer: Apple Mail (2.3124)
x-ms-exchange-messagesentrepresentingtype: 1
x-originating-ip: [2001:a88:d510:1101:829:f3ee:fc02:77e0]
x-ms-office365-filtering-correlation-id: 1325ff06-968c-4a6b-89b0-08d3b4c3092a
x-microsoft-exchange-diagnostics: 1; AMSPR07MB455; 20:/Z0C0+Z9bwHdh71NgWCdVtkltupFXd5YsUMSrtrhMbMm31R//QUXqFaubMj5zgnMfB7IrFkvOC2unk2ZCXhHSyftuyRELKjdaYaeCbPUL+CUFzqzk4Bx0HjAZek/GicaktHjMcPxkw9XyNOIhQcN5+QXpV8nLsIeyUGvWrMdswQ=
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:AMSPR07MB455;
x-microsoft-antispam-prvs: <AMSPR07MB455B363D507E1D830FD5842D60D0@AMSPR07MB455.eurprd07.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(158342451672863)(150554046322364)(144208319314845)(31960201722614);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001); SRVR:AMSPR07MB455; BCL:0; PCL:0; RULEID:; SRVR:AMSPR07MB455;
x-forefront-prvs: 0014E2CF50
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(7916002)(189002)(199003)(377454003)(24454002)(86362001)(3280700002)(10400500002)(36756003)(50226002)(97736004)(122556002)(57306001)(2900100001)(2950100001)(15975445007)(189998001)(7846002)(3660700001)(81156014)(106356001)(74482002)(7906003)(8936002)(101416001)(81166006)(5640700001)(1730700003)(8676002)(7736002)(5002640100001)(2351001)(19580405001)(586003)(93886004)(6116002)(2906002)(19580395003)(83716003)(105586002)(2501003)(76176999)(11100500001)(450100001)(107886002)(92566002)(82746002)(33656002)(16236675004)(77096005)(19617315012)(68736007)(50986999)(87936001)(102836003)(110136002)(3826002)(104396002); DIR:OUT; SFP:1101; SCL:1; SRVR:AMSPR07MB455; H:AMSPR07MB455.eurprd07.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en;
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
MIME-Version: 1.0
X-OriginatorOrg: jisc.ac.uk
X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Jul 2016 19:36:55.2345 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 48f9394d-8a14-4d27-82a6-f35f12361205
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AMSPR07MB455
X-MC-Unique: 7yeZ0bLJOX2PEp_CmESNAg-1
Content-Type: multipart/alternative; boundary="_000_E775B3669E6E420EB1D840A208049271jiscacuk_"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnssd/XgLl4rO3FXFujAS_uOcsmMITnPM>
Subject: Re: [dnssd] Setting device friendly names
X-BeenThere: dnssd@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: "Discussion of extensions to DNS-based service discovery for routed networks." <dnssd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dnssd>, <mailto:dnssd-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dnssd/>
List-Post: <mailto:dnssd@ietf.org>
List-Help: <mailto:dnssd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dnssd>, <mailto:dnssd-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Jul 2016 19:37:07 -0000

Hi,

On 24 Jul 2016, at 11:14, Ted Lemon <mellon@fugue.com<mailto:mellon@fugue.com>> wrote:

Yes. There are two separate problems here: how to name services that are being advertised, for which presumably we do not want privacy, and how to deal with devices whose identification should be private, but with which there might still be a need to rendezvous.

The reason I was so enthusiastic about your presentation in dnssd is that it very nicely solves this second  problem.  But we still have the first problem.

Indeed :)

Well, the hosts have names, and those are coupled with service information, where the service names are well-known. For example, I see "Living Room Apple TV._airplay._tcp.local.” advertised while sat here in my lounge, for a device with name living-room-apple-tv.local, and the airplay service for screen sharing.

As an example of default names that are far from ideal in a “coffee shop” environment, an iPhone will have default name like freds-iphone.local, an iPad will have sarahs-ipad.local. A 30-minute harvest of multicast DNS in a recent event harvested me the names (first, or full) of over half of the attendees.

I note my employer very thoughtfully gave my Mac a name of the form JNTXX0012345. That’s obfuscated in a sense, but also quite likely to be a globally unique name, and one I could therefore be tracked by.  So as Christian says we definitely want privacy support when we expose names via service discovery protocols.

On name clashes, my own Mac is simply “Tims-MacBook-Pro”, which is a more friendly name, but I’ve been at meetings big enough before that such friendly names will clash, and thus my device then appears on the network as Tims-MacBook-Pro-2”.  That’s not the network renaming me, it’s my own host picking a new name. But if we flatten a multi-link homenet, we will need this capability unless we embed link names, which as we discussed at the meeting is not desirable. Ted suggested some ideas on this front.

How you change the name will depend on the device; it might be via a GUI, command line, or web interface. Seeking a new common standard for this seems, well, optimistic. But I’d expect to be able to change my device’s name whenever I chose, if I had appropriate privileges on it, and then DNS-SD protocols would propagate the change. So I’d disagree with an assertion that devices must not allow the name to be trivially changed, once set.

I think the requirements will become clearer once Ted and whoever offers to help can formulate a -00 of what I think we’re now calling the “flat homenet” model.

Tim


On Jul 24, 2016 11:02 AM, "Christian Huitema" <huitema@huitema.net<mailto:huitema@huitema.net>> wrote:
On Thursday, July 21, 2016 7:24 PM, Ted Lemon wrote:

> Right, the issue would be if we changed it in the database operated by
> the homenet, and didn't tell the host.
>
> On Thu, Jul 21, 2016 at 7:07 PM, Stuart Cheshire <mailto:cheshire@apple.com<mailto:cheshire@apple.com>> wrote:
>> On 21 Jul 2016, at 09:06, Ted Lemon <mailto:mellon@fugue.com<mailto:mellon@fugue.com>> wrote:
>>
>>> Hm.   That's not what I'm saying.  The point Barbara made that I agree with and restated was that the device should report the same name no matter who asks or how.
>>
>> For the most part, this is universally true today. Of all the devices I’ve seen that support both UPnP and Bonjour DNS-SD/mDNS, virtually have a single place in the web UI to set the name, which is then used for both discovery protocols.

Please let's not forget the privacy issues for mobile devices. There is an intarea draft about that, "hostname practices considered harmful." In short, volunteering a name to the network allows tracking; volunteering a user friendly name like "Ted Lemon's laptop" allows for even better tracking.

For DHCP, the "privacy" recommendation is to not volunteer a name at all to the DHCP server, or to use a one-time random name.

Now, I can understand that these one-time random names should be more user friendly than "F78AC123", maybe using something like "correct-horse-battery-staple" in the tradition of https://www.xkcd.com/936/.

-- Christian Huitema



_______________________________________________
dnssd mailing list
dnssd@ietf.org<mailto:dnssd@ietf.org>
https://www.ietf.org/mailman/listinfo/dnssd