[dnssd] Web Proxy Discovery on IoT/Matter

Josh Cohen <joshco@gmail.com> Fri, 01 December 2023 18:34 UTC

Return-Path: <joshco@gmail.com>
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 39197C14F5EA for <dnssd@ietfa.amsl.com>; Fri, 1 Dec 2023 10:34:22 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.105
X-Spam-Level:
X-Spam-Status: No, score=-7.105 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, 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 (2048-bit key) header.d=gmail.com
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 YR90K1KsV2y0 for <dnssd@ietfa.amsl.com>; Fri, 1 Dec 2023 10:34:18 -0800 (PST)
Received: from mail-oa1-x32.google.com (mail-oa1-x32.google.com [IPv6:2001:4860:4864:20::32]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6436DC14F5E5 for <dnssd@ietf.org>; Fri, 1 Dec 2023 10:34:18 -0800 (PST)
Received: by mail-oa1-x32.google.com with SMTP id 586e51a60fabf-1faf56466b8so383783fac.3 for <dnssd@ietf.org>; Fri, 01 Dec 2023 10:34:18 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701455656; x=1702060456; darn=ietf.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=ec8msvQRQGCmV+5LSNvPMA12V+MtQ3hiOiO2K+6J9Bg=; b=AzXtvRpoN92ffp6/tIeeLRJLmVfGzwCyzmg3sAO9ryjB9iiMekH4ovLOkunhugp2vi CJHptOYzjFzl0TQnu4tJe5gqpd8cp3kpRuNUZkzlVC+k/bZU8DDE5zhC/vkjt7hlb+xM lubKZdlvlBqwVDHn7iQj+kZBC9d9pFUzHFWuUdvAGX5aOgZHONHbQi5Fo5fI2SKlvgfB UuOLac9EHmLFId9BODxBqZoE9Lb8G5kR4BMWmD5GgFyqFdAZQnW2tW2k0/902RWSfkwE 9EBnVwQi7MltAVK5Vf78AHcPOKjkFOePxVdF9KgCObkv/FuOEpmXGwmhwjk9Z2D/FVND bKnw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701455656; x=1702060456; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=ec8msvQRQGCmV+5LSNvPMA12V+MtQ3hiOiO2K+6J9Bg=; b=HIwf+DpKwb2F5lY7toBwrw34FHQsuXu0QdNE/Muw9PQpi4sEanobFbnBffHgSCW5gL /XvhSDUB3PX91B/VSXRIAQtxyNPYSFpvTpgqtqcqh4gvlTSlrEFqplc4Hu3CbOtmtSV7 1RDWuTYUrwftmE1qA7x0bnAK6E6s7+EsetIFH/wavRt/f0t+CgTWfCKSvg8nnQMoY9s/ f/8PNyEPwGl2DKreQsQK2ChdvH5QmOWHI6e6lg7k9WKUsP+ulsK+E7/3p5sjJrY0WmIO KfUPsuMRzfNhfSIs9VmGpaiNTmgjTHML+qbppW8Bc3wn9Rp9Ua/3n0EtcJ336Hux+6A9 F7dQ==
X-Gm-Message-State: AOJu0YxvwOtaK6qFLg8oicz+S3uEtQ0xhjQFVpphs3U9/uC8zmE0pClV Fm2ZfAvxpvypkmxoAx03Vk6M38QlziO43w4t6QI+qJM9Gbc=
X-Google-Smtp-Source: AGHT+IHmgcKVeLmLzX4yNIU6TCnemAeef8siJ86ZLhNXd7zaL/S+OGvXC8ILN+qGAICh1snDJyoqO3I5PTT1Ke3sRmg=
X-Received: by 2002:a05:6870:7a09:b0:1e9:f0fe:6ba4 with SMTP id hf9-20020a0568707a0900b001e9f0fe6ba4mr36908650oab.11.1701455656059; Fri, 01 Dec 2023 10:34:16 -0800 (PST)
MIME-Version: 1.0
From: Josh Cohen <joshco@gmail.com>
Date: Fri, 01 Dec 2023 13:34:04 -0500
Message-ID: <CAF3KT4Sg7Ky8h4tMqm3bLvOV485R-wRs=2zVTDqaPM6g-77dDw@mail.gmail.com>
To: dnssd@ietf.org
Content-Type: multipart/alternative; boundary="000000000000fb0a05060b77033d"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnssd/ybdgbGPVsJUBtvv5AY4LeZzG5bc>
Subject: [dnssd] Web Proxy Discovery on IoT/Matter
X-BeenThere: dnssd@ietf.org
X-Mailman-Version: 2.1.39
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: Fri, 01 Dec 2023 18:34:22 -0000

Hi Stuart, Ted, and WG members,



During the dnssd  meeting at ietf118, the discussion touched on IoT/matter,
and I mentioned the WPAD discussions and the origins of WPAD post sent to
intarea.[1][2]



Is it fair to asset that it is conceivable that IoT devices will be
connected to networks where a proxy server must be used to access their
respective cloud services, but must go direct to their local controller
hubs, or something similar?



I am curious what, if any, solution is being used by matter to discover web
proxy servers, or if that is a TBD?



For discovery, what would be the preferred solutions dnssd/svrloc, dhcp, or
other on these devices?



I am putting together an update of the WPAD draft to modernize the
discovery schemes, and am interested in learning more about the relevant
scenarios in the IoT space.



>From a config file format POV, running a JavaScript function may be
infeasible, especially if the device needs resources for whatever the
functional purpose of the device is.



So, the JSON PVD format might be easier to swallow than the JavaScript PAC
file.



When dealing with Thread, is this scenario somehow handled by the border
router?



WPAD origins Email:
https://mailarchive.ietf.org/arch/msg/int-area/IHzF0V7nPNlfgQjiU7utUo85ngU/

PDF:
https://mailarchive.ietf.org/arch/msg/int-area/IHzF0V7nPNlfgQjiU7utUo85ngU/2/

---
*Josh Co*hen