Re: [Int-area] New version: draft-pauly-intarea-proxy-config-pvd-02

Josh Cohen <joshco@gmail.com> Tue, 05 March 2024 19:39 UTC

Return-Path: <joshco@gmail.com>
X-Original-To: int-area@ietfa.amsl.com
Delivered-To: int-area@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B98BDC14F721 for <int-area@ietfa.amsl.com>; Tue, 5 Mar 2024 11:39:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.104
X-Spam-Level:
X-Spam-Status: No, score=-7.104 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_BLOCKED=0.001, 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 K5n4wlEoW6S2 for <int-area@ietfa.amsl.com>; Tue, 5 Mar 2024 11:39:03 -0800 (PST)
Received: from mail-oo1-xc34.google.com (mail-oo1-xc34.google.com [IPv6:2607:f8b0:4864:20::c34]) (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 063BBC14F71F for <int-area@ietf.org>; Tue, 5 Mar 2024 11:39:02 -0800 (PST)
Received: by mail-oo1-xc34.google.com with SMTP id 006d021491bc7-5a122beaa1dso1732119eaf.0 for <int-area@ietf.org>; Tue, 05 Mar 2024 11:39:02 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709667542; x=1710272342; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=ivGlg5hOpH9aShEVRBnBMuS5vrmx2EcPrWm68E+aw9M=; b=L21gyzadRu9zb8+xfTbY+pdjy6I7hVopKKbvUU63p+D6+jTp8QJuhx9wp6JpGMxQXe Er0fbadtReyYeXGEeanMTShua3xqjTaB5y4d8Ei5+upqj9qYwzrY+W4Yv8K+z4sdv1nX eD2ajnmtZKNdup0fleCzUcgdRy/tksBQVzscb1egsryI0C8anmLRekjvhjsQ7Pha2VZJ 3xumvHQ8Z+7DqolDoSAxZGEn8w+5zNORkz2vn8de0pIIRQjh9vEjP98BTpVEQ2B+HLTI frA6CBKxUD+0uHjZeq4N0QfpgZWmYerq37GI5B6UwciwoQURFZktWhylw5EtPEiB26GC By/w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709667542; x=1710272342; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ivGlg5hOpH9aShEVRBnBMuS5vrmx2EcPrWm68E+aw9M=; b=oZk7ldzH5WM/FhWKZt720cC4UyqxdL5aYi8BWtfAkPBDvA9yJNfLKx91epWFtJUdHN npARYhUa/Iplz7FRThpHRzbJXxafdJVKWyimDYwTRkxp7AVNBmKJJ2qVYlhTClXvXmUC ahLvBW/le0blZn4yyaXGsiO8pEvKSTyJbARp9LE2cqBcOJYcWPPPMRHymqGZq5bIYzpM KiwSE4MkQleGYnIWwdL4SOIXoxEO3Adkl6DzK+IOjNk2ggbob1QCKcrDgCG3ASRkWA9X PzgjTNmwl0XgEaYt7wAvuZizFEq55jOGtpZcRsop/38nnJqiWA6hLFlfba83ZvE4OPR7 f+Yw==
X-Gm-Message-State: AOJu0Yyw+BVmtxF2bDGnrC2S1b4SE25HWJvZ65FfpXbTae9ooyNnYRF8 0tADtZGuJaYFTYGmc6A6mS7q8NAYc1JRNgfs92aQQrLQTXCKarHhOAMchpxQBR6YzCKL83vA8p6 uyCOE1a8kN4LbSQDRas6l/zy2VDg=
X-Google-Smtp-Source: AGHT+IG3whZG+ZF5t87MhIR8+AyCyKDE+wvhi3/2oK8ntWUx0cIjvczclY7zwEW6ps6on1radpJ1UaljsCEUIWzkwfQ=
X-Received: by 2002:a05:6870:a50c:b0:21e:e583:25df with SMTP id o12-20020a056870a50c00b0021ee58325dfmr3014549oal.27.1709667541778; Tue, 05 Mar 2024 11:39:01 -0800 (PST)
MIME-Version: 1.0
References: <2A63BA95-7139-4CEE-AD16-EC6999E700B6@apple.com> <CAF3KT4T-66QqfR_ka8tmRxNB5QAc8Ajci7bcepdc6=eao_7Hgw@mail.gmail.com> <D3365DED-DA00-4740-B934-46E8FB233FC6@apple.com>
In-Reply-To: <D3365DED-DA00-4740-B934-46E8FB233FC6@apple.com>
From: Josh Cohen <joshco@gmail.com>
Date: Tue, 05 Mar 2024 14:38:48 -0500
Message-ID: <CAF3KT4Q39vgcPYOj5ybcCPH8XmsgcRKk98q_WPcpJLyXwFAKUg@mail.gmail.com>
To: Tommy Pauly <tpauly@apple.com>
Cc: int-area@ietf.org, Dragana Damjanovic <ddamjanovic@microsoft.com>
Content-Type: multipart/alternative; boundary="0000000000008305b20612eefe1a"
Archived-At: <https://mailarchive.ietf.org/arch/msg/int-area/d7vzbAc45oEK3-s1NYD9IXimliU>
Subject: Re: [Int-area] New version: draft-pauly-intarea-proxy-config-pvd-02
X-BeenThere: int-area@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: IETF Internet Area WG Mailing List <int-area.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/int-area>, <mailto:int-area-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/int-area/>
List-Post: <mailto:int-area@ietf.org>
List-Help: <mailto:int-area-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/int-area>, <mailto:int-area-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 05 Mar 2024 19:39:03 -0000

Pull request created
https://github.com/tfpauly/privacy-proxy/pull/247


On Tue, Mar 5, 2024 at 1:28 PM Tommy Pauly <tpauly@apple.com> wrote:

> Hi Josh,
>
> Yes, the PvD file carries configuration metadata about a network access in
> general, and this extension allows it to carry proxy details. When asking a
> proxy server for its own PvD, that lets it tell you more about which proxy
> protocols it supports and their locations. When asking a network for its
> PvD, that can allow the network to indicate which proxies are associated
> with the network.
>
> With regards to the domain lists, totally agreed that adding exclusion
> sets would be good. That could be easily added as a key!
>
> Best,
> Tommy
>
> On Mar 5, 2024, at 10:23 AM, Josh Cohen <joshco@gmail.com> wrote:
>
> Hi Tommy, Dragana,
>
>
> As I'm getting  my head wrapped around this proposal, is it fair to view
> it as a metadata endpoint for a proxy server?  Sort of like a richer
> OPTIONS that doesn’t get forwarded by the proxy?
>
>
> WRT Split DNS:
>
>
> > When present in a PvD Additional Information dictionary that is
> retrieved for a proxy as described in Section 2
> <https://www.ietf.org/archive/id/draft-pauly-intarea-proxy-config-pvd-02.html#proxy-pvd>,
> domains in
> > the dnsZones array indicate specific zones that are accessible using
> the proxy. If a hostname is not included in the
> > enumerated zones, then a client SHOULD assume that the hostname will not
> be accessible through the proxy.
>
>
> This is great.   It is an "inclusion" set, but what about an "exclusion"
> set?   Eg  "use me for everything on the web, except the following internal
> domains"
>
>
> This will be essential for situations where PVD is used as a replacement
> for the JavaScript PAC file, that is discovered through WPAD(NG) or
> elsewhere.
>
>
> With the increasing deployment of IoT devices, they will eventually find
> themselves needing to use a proxy server, especially if they are inside an
> enterprise.
>
>
> Microcontrollers such as Arduino class devices, ESP32 etc, are powerful
> enough to act as web clients and servers.  However, running a JS engine to
> parse the PAC file may require space and computing power that dwarfs that
> for the device functionality itself.  Eg "I am just a temperature sensor!
> Why do I need a JS engine?"
>
>
> On the other hand, there are a plethora of Arduino libraries to parse JSON.
>
>
> WPAD OG was designed 20 years ago in Web dinosaur times. We now have an
> opportunity to have IoT and other devices start off with a more modern,
> efficient and secure format, which hopefully will last us the next 20 years.
>
> Thoughts?
>
> On Fri, Mar 1, 2024 at 9:36 PM Tommy Pauly <tpauly=
> 40apple.com@dmarc.ietf.org> wrote:
>
>> Hello INTAREA,
>>
>> At IETF 118, we presented our draft on discovering proxies with PvD
>> information files. We got good support for working on this, along with some
>> feedback for how to improve the format to support more details for the
>> proxies, and more explicit indications of proxy protocols.
>>
>> We’ve just published draft-pauly-intarea-proxy-config-pvd-02 to
>> incorporate this feedback:
>>
>> https://datatracker.ietf.org/doc/draft-pauly-intarea-proxy-config-pvd/
>>
>> https://www.ietf.org/archive/id/draft-pauly-intarea-proxy-config-pvd-02.html
>>
>> We’d like to continue discussing this at the upcoming IETF 119 meeting,
>> and welcome any comments on list!
>>
>> Best,
>> Tommy
>> _______________________________________________
>> Int-area mailing list
>> Int-area@ietf.org
>> https://www.ietf.org/mailman/listinfo/int-area
>>
>
>
> --
>
> ---
> *Josh Co*hen
>
>
>
>

-- 

---
*Josh Co*hen