Re: could we have some sort of Is-Autonomous header?

"Soni L." <fakedme+http@gmail.com> Sun, 17 March 2024 00:02 UTC

Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=ietf.org@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0A531C14F5E2 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 16 Mar 2024 17:02:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.859
X-Spam-Level:
X-Spam-Status: No, score=-2.859 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, HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=w3.org header.b="NXW3B5d5"; dkim=pass (2048-bit key) header.d=w3.org header.b="HhfLD1sB"; dkim=pass (2048-bit key) header.d=gmail.com header.b="JZfQ4KLF"
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 0F2td8INotVx for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 16 Mar 2024 17:02:27 -0700 (PDT)
Received: from lyra.w3.org (lyra.w3.org [128.30.52.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CE4C4C14F5E4 for <httpbisa-archive-bis2Juki@ietf.org>; Sat, 16 Mar 2024 17:02:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=w3.org; s=s1; h=Subject:Content-Type:In-Reply-To:References:To:From:MIME-Version:Date :Message-ID:Cc:Reply-To; bh=CCBnXitocE8w2rfgMpCZCmXHlhJ73XbSz69C0wMIrcA=; b=N XW3B5d50S2YR913PzTgDM5Kq7etpHxCrwZ32Rv5YWI10UNj+nVDEo92vJxSpN35LkuSaNuBJrGugp N7P/vg5Hres2NRBuC3Eq8FPC2R0mMl8D1TS00LWQwvByIFisEfqYKV1wLWZFpYeyLHt4/2+B7nGVm 149yUco6qp4sIXMvw4k3ky3MWpL/6+DLT6zW1BFrIvjRCPPCPMcWHmR325eXLJu0YNSx5FOVvJWeu zTw/1M4FsvbE2DJp4Ga9noqKPlazkiXKeq36Dm+s7c9vs60N9Pl4TaofAX1Wp4Jd3/2be9NLs28Rf 66LgMspDT8zf/4SSilgRdbBxNu/5oVr8A==;
Received: from lists by lyra.w3.org with local (Exim 4.94.2) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1rldwU-00Dhro-8V for ietf-http-wg-dist@listhub.w3.org; Sat, 16 Mar 2024 23:59:58 +0000
Resent-Date: Sat, 16 Mar 2024 23:59:58 +0000
Resent-Message-Id: <E1rldwU-00Dhro-8V@lyra.w3.org>
Received: from puck.w3.org ([34.196.82.207]) by lyra.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from <fakedme+http@gmail.com>) id 1rldwQ-00Dhqf-3S for ietf-http-wg@listhub.w3.org; Sat, 16 Mar 2024 23:59:54 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=w3.org; s=s1; h=Content-Type:In-Reply-To:References:To:From:Subject:MIME-Version:Date :Message-ID:Cc:Reply-To; bh=CCBnXitocE8w2rfgMpCZCmXHlhJ73XbSz69C0wMIrcA=; t=1710633594; x=1711497594; b=HhfLD1sBEwh2HGggzoBFFvoAb/wo3KEgIxlcnIdY7pBZrMB KBDU8FWWBAz3HhSM+PJHtRH+CBKE4+kUoBUQxqmuMxf8WbO6Bfc5Fs4+Nk6tTHSzHBiAHbxIsVQIf ff8ljvbAhbkNUiZD7Bq0KygxKhOGdT7q3C0cwTOlQvMIPTsREefxeqzUrr0IsWwkxwtzGuPMMvx13 vZH0vGxq7wfQrmhgWAZlBUoEVZl1rQ/f7K4w/Nk/VOWkDGgP+pOgTkIuF+rOS+gskwy+zpBB/4kld nvSAd5AAaXKRBalHGalZOWKhib0V+NtX5LtzW64nQhPHMIBF2d+bGyMg+aQxYhwQ==;
Received-SPF: pass (puck.w3.org: domain of gmail.com designates 2a00:1450:4864:20::234 as permitted sender) client-ip=2a00:1450:4864:20::234; envelope-from=fakedme+http@gmail.com; helo=mail-lj1-x234.google.com;
Received: from mail-lj1-x234.google.com ([2a00:1450:4864:20::234]) by puck.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from <fakedme+http@gmail.com>) id 1rldwP-008m7L-1Q for ietf-http-wg@w3.org; Sat, 16 Mar 2024 23:59:53 +0000
Received: by mail-lj1-x234.google.com with SMTP id 38308e7fff4ca-2d46d729d89so44627321fa.3 for <ietf-http-wg@w3.org>; Sat, 16 Mar 2024 16:59:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1710633589; x=1711238389; darn=w3.org; h=content-transfer-encoding:in-reply-to:content-language:references :to:from:subject:user-agent:mime-version:date:message-id:sender:from :to:cc:subject:date:message-id:reply-to; bh=CCBnXitocE8w2rfgMpCZCmXHlhJ73XbSz69C0wMIrcA=; b=JZfQ4KLF/GFd89h8v/WBl+eko9Hy2k6det+dhotu0MioGcFy/IDpGxpEDZtCRqTxqj s3sKQWwHf5OXLmL+MoxcZ0+o7Bye7Eqy0kd06HeJ/4z7tpP2j7cCLfVQs/s8bjOU8inA uARnBTZj7CZtGMVv3U8NXNC7j9LfY9kWn1t9hrpxRGQ0dQDKf1OV8XLce7FhCeaOh0zp 10EDJQq1vD7OqGqF9fS9jz4G/mQ2Nh8O4sZJv5XKojYzX67qnN6rwZhSxE/S0qWrdPG1 qjIEEEhekFPXF1SJITC+jFK084/MgTCoxX6ux+f3xRHc0dOIfMdwULg8+4DBt6vdCLlJ TOqw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710633589; x=1711238389; h=content-transfer-encoding:in-reply-to:content-language:references :to:from:subject:user-agent:mime-version:date:message-id:sender :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=CCBnXitocE8w2rfgMpCZCmXHlhJ73XbSz69C0wMIrcA=; b=V0YNBG8wSFmX6LeOXbrysx2qrHP8QZUfF5e15Zl4E52ll436XEwizIXPO4ttq1zoaj N4nz95ASari57FQd713cbZuYrMYMQMatkkujc4mKT5pxXV/4vnUbhS9sLqIJy4Y+88Zl +2FuJdYOPg8v1UtVD8KZ0lFL69foWoXiy/49HY/pA527WfyQPywWkv5YVJ+Z83lgxlHK jL4v/sgFRgeTmsATU5gwuGTjEWr47kobgJEkxAJrW2uHxnwUhLSENHKOJwDaZOr22P0T h6PbtLO+otIutqOLAn5OyALyNG8jPVoqsEiYo1aj9qG2vPfJkiyexHJ/Vy8Y1/vZxNWo 7pIg==
X-Gm-Message-State: AOJu0YxT6oKpOfqPZ4Ionn19mbkz0sc/7qWUcA6XKQPe5X29O8ecu6fa RWw9HyuuuNJxonAJRUpc6yF45XlRlPPGhl3jrYj/jT23OObj2jjhUSq3FOPO
X-Google-Smtp-Source: AGHT+IGKy1+2yAD8/SBIyWSXU65gYEZm4iZj+onKjGy3BYjmc1OTxfvOmjrbMyceDq7ZxBmWu8fR6Q==
X-Received: by 2002:a05:6512:3f0b:b0:513:e249:65fc with SMTP id y11-20020a0565123f0b00b00513e24965fcmr1637420lfa.61.1710633588806; Sat, 16 Mar 2024 16:59:48 -0700 (PDT)
Received: from ?IPV6:2804:431:cfcd:e08d:f495:56ad:81f8:6ee0? ([2804:431:cfcd:e08d:f495:56ad:81f8:6ee0]) by smtp.googlemail.com with ESMTPSA id v23-20020ac25597000000b00513a9d105a3sm1096744lfg.262.2024.03.16.16.59.47 for <ietf-http-wg@w3.org> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 16 Mar 2024 16:59:48 -0700 (PDT)
Sender: "Soni L." <fakedme@gmail.com>
Message-ID: <5f264f6c-dba9-4564-bc4d-53b3a64b55ba@gmail.com>
Date: Sat, 16 Mar 2024 20:59:43 -0300
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
From: "Soni L." <fakedme+http@gmail.com>
To: HTTP Working Group <ietf-http-wg@w3.org>
References: <cac456fe-6385-4afb-913e-e730f68439d8@gmail.com>
Content-Language: en-US
In-Reply-To: <cac456fe-6385-4afb-913e-e730f68439d8@gmail.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 7bit
X-W3C-Hub-DKIM-Status: validation passed: (address=fakedme+http@gmail.com domain=gmail.com), signature is good
X-W3C-Hub-Spam-Status: No, score=-4.1
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, DMARC_PASS=-0.001, FREEMAIL_FROM=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: puck.w3.org 1rldwP-008m7L-1Q 6b8ce9a72d68d38172370b8ff32b7fd1
X-Original-To: ietf-http-wg@w3.org
Subject: Re: could we have some sort of Is-Autonomous header?
Archived-At: <https://www.w3.org/mid/5f264f6c-dba9-4564-bc4d-53b3a64b55ba@gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/51884
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <https://www.w3.org/email/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

we just wanna add, if you wanna do User-Agent sniffing for this, a 
*partial*, *current* list you need to sniff for is:

Discord
X
Facebook
WhatsApp
Signal
Telegram
TheLounge
Discourse
Mastodon
Pleroma
Misskey
Matrix

and it's likely just gonna grow from here.

(and we can all agree that User-Agent should've been deprecated over a 
decade ago.)

On 2024-03-16 08:51, Soni L. wrote:
> hello!
>
> one of the issues with fediverse is how each instance caches other 
> instances' posts, but when you copy the link to a post it gives you a 
> link to your own instance. this link then either does a redirect 
> (which is dangerous and mastodon is deprecating it), shows an 
> interstitial (new versions of mastodon do this), or shows the cached 
> content (most other instances do this).
>
> doing a redirect is bad because it paves way for certain kinds of 
> phishing attacks. but it preserves the original opengraph metadata, 
> allowing for seamless link previews.
>
> an interstitial is great because it reduces the chances of those 
> phishing attacks. but it breaks the opengraph metadata, so you don't 
> get link previews.
>
> the third case we don't talk about because it's not really relevant to 
> this post. (except minimally it is, more on that in a bit.)
>
> so the Is-Autonomous header would ideally be set by link preview 
> systems and not by anyone else (explicitly not by browsers). when a 
> server sees Is-Autonomous, it could change its behaviour in any of the 
> following ways:
>
> - instead of showing an interstitial, it could do a redirect.
> - instead of rendering an entire regular page template, it could 
> render just the opengraph metadata.
> - it could reject the request altogether.
>
> the first 2 of these are great incentives to use the Is-Autonomous 
> header: the first one makes link previews work, and the second one 
> saves bandwidth both on the server and on the link preview system. we 
> believe these benefits outweigh the drawback of the third for anyone 
> interested in deploying this.
>
> but enough with what we believe, what does the http wg think?