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 91E94C14F6A1 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sat, 16 Mar 2024 17:02:29 -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=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=w3.org header.b="EhCl55Kd"; dkim=pass (2048-bit key) header.d=w3.org header.b="CIWdPCmD"; dkim=pass (2048-bit key) header.d=gmail.com header.b="WyLewO8A"
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 SlT7p6kbNzEQ 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 E5666C14F5E2 for <httpbisa-archive-bis2Juki@ietf.org>; Sat, 16 Mar 2024 17:02:26 -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=E hCl55KdSW/rg1wNB/RP6PfbNTma8O46kTGwOPyKdzbAUxYo9dzuEWQNLULpuZA3BR9nKa3eyorrKu PHdI4eHogUKinyR6IMAhDtQ71gELTIT2sYlhhc+wnFh6NVKe/j5Ej9PXsPSAZefoKakKOr0Nn1yUx Q1ciUFiJcv1PnYluUO/PzwJLF8Z06gRahRG6XSPzV+Nv3RAeh3/JKYif3KG2uz4P+ekLswSHWGaZj /xwgclSU5gTKJ8mmwzVByRVh6gC4E2F6rlP/pTAO1HXJxL1sMe+32MuCFnHGQhbyTlsqX5JM2Ye2v GoHtbL95FNG/MXjnzO7BAthi1yUuN9Saw==;
Received: from lists by lyra.w3.org with local (Exim 4.94.2) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1rldwb-00Dhu9-9F for ietf-http-wg-dist@listhub.w3.org; Sun, 17 Mar 2024 00:00:05 +0000
Resent-Date: Sun, 17 Mar 2024 00:00:05 +0000
Resent-Message-Id: <E1rldwb-00Dhu9-9F@lyra.w3.org>
Received: from pan.w3.org ([3.222.182.102]) 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 1rldwP-00DhqM-O6 for ietf-http-wg@listhub.w3.org; Sat, 16 Mar 2024 23:59:53 +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=1710633593; x=1711497593; b=CIWdPCmD6xzZCm/K3dXu60Tky9EM4z4ZwqAk/SghuadRbzf 1Fvm4HKI7qyjfWUGLtg2VKfUvOiLRWV9xUG0U4TGPHyD1IdQPoEuo49yeHp4gVluOBg32Aqbxfn4d iD08gVp9o82joDKJifa4nFVXdkUexhZKL0Oa/OiUGBf5T6LPF/6vaUkZ4fxGIoC8QY86CPZ9fV4He OSElRp2wOvDqm3b/nQBFdHH64vvM99egdhozT26ccuvCYmfJSB5xGm8HbK/zEEEHmY65ANt2HffvF g/GIv8k0ReeojxAIqcQj6tM7MZoLFF4l80/SsJ0FtoEprzkyOQVTQf/hLyW8pMTA==;
Received-SPF: pass (pan.w3.org: domain of gmail.com designates 2a00:1450:4864:20::236 as permitted sender) client-ip=2a00:1450:4864:20::236; envelope-from=fakedme+http@gmail.com; helo=mail-lj1-x236.google.com;
Received: from mail-lj1-x236.google.com ([2a00:1450:4864:20::236]) by pan.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 1rldwO-00CBLa-3A for ietf-http-wg@w3.org; Sat, 16 Mar 2024 23:59:53 +0000
Received: by mail-lj1-x236.google.com with SMTP id 38308e7fff4ca-2d4698f4936so45050561fa.1 for <ietf-http-wg@w3.org>; Sat, 16 Mar 2024 16:59:52 -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=WyLewO8A7mRoqciFQssBUZMJ1eV6+t9h1+BKjg0CTPMNfB5E5oruXbXc1AerV13WxA SwVYKVrTe7Cixsmy+fA2O5f9FA/YD2dC/znJfIA19A35A0YqSbbJaWnl+ZTpp+DbhRC2 mN/XzVZZop62XLtD7/Zx88n/1WNMVGmc4H92acsMmzcsLATHOo2DqYKkdd+nS/YIFJqB Wz/ajymYYA8jWDV4YrmqJBqi6E84Q7FHCJJ2h3c53+V8FE4k+brbUC3vOwxN/u771ASZ SMX10XpWLyfpmqylrIxVMVTtB/n+jnf1pSdwUhg5SS5j/GMzikd6v6CxvC2gg80Qh5Eh 66lw==
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=sUKTntaSZzEc1z7phaQa8MlLBQpVCFKewWY0JGpziWzK7s+q0IVeGbG/xSvgXD2B9t 0jsk2xp8Dr5CqZyC9KTs3HCHMZRkTl/qemmoSHjToLdBmygp+yrShpXN93IE6FedyiJk WRLk3HWxruitplaVVTwgFIDuxz74AqWu7sR04FgnElmTJ8j9qBHqhU9U3wfVxTeTQM+V NWDGTm/DE+Q5hXY9qpIUVoiU2eJHr9AEAcerFUDgTNLHPIq5/vgqnOCPYzLF3sQtHxIO TvRTCClubTRrmQ/fv58EzV2EuVYRoEIFC313U++YZtlgKgAI4PYTT5JslsbDQ7A8Ku8U IzcQ==
X-Gm-Message-State: AOJu0Yz+HDyX7ZoPgKp8nPvg7UtF0L9xBJM0fj6uVMYA9GBY/p1Q6lJ+ r13VDzAdaPzfpTOeX5X5teHfqMuYqcTyo51PyUdazMRoc6nhqPvKw7HXP/4A
X-Google-Smtp-Source: AGHT+IFZdbWuydWff/Gc6wyDHwIcNA1JF/079xjEejRSWhclOgYCGSrnUlQonQElIugvIiIkbvdVCg==
X-Received: by 2002:a2e:a7c4:0:b0:2d4:83f9:2e21 with SMTP id x4-20020a2ea7c4000000b002d483f92e21mr4701104ljp.42.1710633588529; 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 m6-20020a2e8706000000b002d46c4b5be5sm983418lji.120.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: <6234ef92-adba-441d-b79a-feef146721c1@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: pan.w3.org 1rldwO-00CBLa-3A bd82b9141405c03c0f1fc0367af57290
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/6234ef92-adba-441d-b79a-feef146721c1@gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/51885
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?