[Anima] Re: [Iotops] [Add] Hosting Encrypted Servers on CPEs / HTTPS for Local Domains
Michael Sweet <msweet@msweet.org> Wed, 11 September 2024 17:45 UTC
Return-Path: <msweet@msweet.org>
X-Original-To: anima@ietfa.amsl.com
Delivered-To: anima@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C5028C14F6E4; Wed, 11 Sep 2024 10:45:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.107
X-Spam-Level:
X-Spam-Status: No, score=-7.107 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=msweet.org
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uQakXZrnPBnf; Wed, 11 Sep 2024 10:45:50 -0700 (PDT)
Received: from mail.msweet.org (mail.msweet.org [173.255.209.91]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C6ED0C14F6A9; Wed, 11 Sep 2024 10:45:50 -0700 (PDT)
Received: from smtpclient.apple (cbl-66-186-76-47.vianet.ca [66.186.76.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.msweet.org (Postfix) with ESMTPSA id DB54480F11; Wed, 11 Sep 2024 17:45:49 +0000 (UTC)
DKIM-Filter: OpenDKIM Filter v2.11.0 mail.msweet.org DB54480F11
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=msweet.org; s=default; t=1726076750; bh=vzs8LWyVOEP6p4GH9k3FWcW5N3UIbcvSvdXCgQhOkh8=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=GYpOR+Q4XGOuX8G1XbtsjsbPTnyqbRPlMlyeJFG5NADD8iSGwYwR3WeptSPUu2MHy WfaMwudB6CwkzjzzBE152Aw3OE7iqQ1fUsfjXo5fMA9mFS808L3n1QCod73k+6rDca yhRM/WRq/EvLwzKCYn2Hx3dBMN8BkPqZuLA7iWQw=
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3818.100.11.1.3\))
From: Michael Sweet <msweet@msweet.org>
In-Reply-To: <9F5A6BFC-EA1A-4DBC-9144-7C30ADF23F7F@gmail.com>
Date: Wed, 11 Sep 2024 13:45:38 -0400
Content-Transfer-Encoding: quoted-printable
Message-Id: <E380B5C3-BB8B-46C7-8C0E-E21CE2EB2C3A@msweet.org>
References: <6FCA933A-F329-4B45-9C72-32FFCAD289BE@gmail.com> <CACJ6M16MgxzE+8Yiebd9hbYC_tY2tt0Sroc4_izOnP3kO3e5fQ@mail.gmail.com> <MW4PR15MB437956E8735320FFE83037C7B3952@MW4PR15MB4379.namprd15.prod.outlook.com> <ZtpGfh15m58gId0Z@faui48e.informatik.uni-erlangen.de> <CAKC-DJh5ekn62GesD1dkfpwSftDEv7NTTmu_JbtbU26iK7A2uQ@mail.gmail.com> <ZuB7XRSu5gOwhzpu@faui48e.informatik.uni-erlangen.de> <9F5A6BFC-EA1A-4DBC-9144-7C30ADF23F7F@gmail.com>
To: Dan Wing <danwing@gmail.com>
X-Mailer: Apple Mail (2.3818.100.11.1.3)
Message-ID-Hash: EAE4N23SC7VKSTVJYT3QVEJWWRWLW67C
X-Message-ID-Hash: EAE4N23SC7VKSTVJYT3QVEJWWRWLW67C
X-MailFrom: msweet@msweet.org
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-anima.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: Toerless Eckert <tte@cs.fau.de>, Erik Nygren <erik+ietf@nygren.org>, Ben Schwartz <bemasc@meta.com>, Chris Box <chris.box.ietf@gmail.com>, "add@ietf.org" <add@ietf.org>, anima@ietf.org, iotops@ietf.org
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [Anima] Re: [Iotops] [Add] Hosting Encrypted Servers on CPEs / HTTPS for Local Domains
List-Id: Autonomic Networking Integrated Model and Approach <anima.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/anima/m0uVVJesiHtg5STF1RDbJEMS-TY>
List-Archive: <https://mailarchive.ietf.org/arch/browse/anima>
List-Help: <mailto:anima-request@ietf.org?subject=help>
List-Owner: <mailto:anima-owner@ietf.org>
List-Post: <mailto:anima@ietf.org>
List-Subscribe: <mailto:anima-join@ietf.org>
List-Unsubscribe: <mailto:anima-leave@ietf.org>
Dan,
> On Sep 10, 2024, at 2:08 PM, Dan Wing <danwing@gmail.com> wrote:
>> ...
>> Why ask to use some non-defined magical system such as "bookmarks" when we could instead
>> simply ask to push CNAMEs into DNS. Thats something we can define.
>
> As suggested in (*), a device with a long name can also advertise a short name (e.g., mDNS), allowing the user to visit "https://router.local" (or "https://printer.local" or "https://printer.home.example.net", which is a CNAME to the long name. The client, encountering the long name, can then initiate the its bootstrapping to trusting (*) the long name ("https://router.ejfkejfkejfejkejfkjkej.local"), or if bootstrapping has already occurred the client would immediately see the router's (or printer's) HTTPS configuration page.
The method we've used for printers since Bonjour/mDNS/DNS-SD was invented has been for printers to use unique mDNS hostnames (normally a vendor prefix followed by some number of bytes from the MAC address) and then using SRV records to define the "Friendly Name", which itself defaults to the make and model, e.g.:
et0021b7017d7b.local -> Lexmark CS410dn
HPE073E7E6E4CF.local -> HP Color LaserJet Pro MFP 4301 [E6E4CF]
rollo-e5-47-f8.local -> Rollo X1040
This has the advantage of avoiding hostname conflicts in most circumstances and providing a reasonable level of uniqueness for security's sake. Both the hostname and service instance name are configurable ("Bob's Printer" and bobs-printer.local).
Using CNAME tricks is certainly possible but I'm not sure how well supported it is over mDNS. I know that my Ubiquiti gear hijacks the "unifi.local" hostname for accessing the local Unifi controller, without a unique identifier or redirects, and it provides a self-signed certificate for HTTPS access (which yields the usual "this web site will steal your soul, continue?" warning from the browser). I would much rather it redirect the browser to a unique mDNS hostname (unify-XXXXXX.local or similar) but I also wouldn't expect more than one active controller per network (for obvious reasons).
________________________
Michael Sweet
- [Anima] Re: [Add] Re: Hosting Encrypted Servers o… Toerless Eckert
- [Anima] Re: [Add] Re: Hosting Encrypted Servers o… Erik Nygren
- [Anima] Re: [Add] Re: Hosting Encrypted Servers o… Toerless Eckert
- [Anima] Re: [Add] Hosting Encrypted Servers on CP… Dan Wing
- [Anima] Re: [Add] Hosting Encrypted Servers on CP… Brian E Carpenter
- [Anima] Re: [Iotops] Re: [Add] Hosting Encrypted … Michael Sweet
- [Anima] Re: [Iotops] [Add] Hosting Encrypted Serv… Michael Sweet
- [Anima] Re: [Add] Re: Hosting Encrypted Servers o… Michael Richardson
- [Anima] Re: [Add] Hosting Encrypted Servers on CP… Dan Wing
- [Anima] Re: [Add] Re: Hosting Encrypted Servers o… Toerless Eckert
- [Anima] Re: [Add] Hosting Encrypted Servers on CP… Michael Sweet
- [Anima] Re: [Add] Re: Hosting Encrypted Servers o… Michael Richardson
- [Anima] Re: [Add] Re: Hosting Encrypted Servers o… Toerless Eckert
- [Anima] Re: [Add] Re: Hosting Encrypted Servers o… Michael Richardson