Re: Update on geo-hint header

iain hill <iainardernhill@gmail.com> Thu, 07 July 2022 22:15 UTC

Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@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 13756C15AB58 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 7 Jul 2022 15:15:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.632
X-Spam-Level:
X-Spam-Status: No, score=-4.632 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.25, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, NICE_REPLY_A=-1.876, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=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 5kNbfmJxMZ0U for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Thu, 7 Jul 2022 15:15:50 -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 674A6C15AB54 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Thu, 7 Jul 2022 15:15:50 -0700 (PDT)
Received: from lists by lyra.w3.org with local (Exim 4.94.2) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1o9Zmb-006jSD-47 for ietf-http-wg-dist@listhub.w3.org; Thu, 07 Jul 2022 22:15:37 +0000
Resent-Date: Thu, 07 Jul 2022 22:15:37 +0000
Resent-Message-Id: <E1o9Zmb-006jSD-47@lyra.w3.org>
Received: from www-data by lyra.w3.org with local (Exim 4.94.2) (envelope-from <iainardernhill@gmail.com>) id 1o9Zma-006jQT-BC for ietf-http-wg@listhub.w3.org; Thu, 07 Jul 2022 22:15:36 +0000
Received: from titan.w3.org ([128.30.52.76]) by lyra.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from <iainardernhill@gmail.com>) id 1o9UAZ-005kGm-TS for ietf-http-wg@listhub.w3.org; Thu, 07 Jul 2022 16:15:59 +0000
Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]) by titan.w3.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from <iainardernhill@gmail.com>) id 1o9UAY-00Bbmb-5U for ietf-http-wg@w3.org; Thu, 07 Jul 2022 16:15:59 +0000
Received: by mail-wr1-x434.google.com with SMTP id h17so13871476wrx.0 for <ietf-http-wg@w3.org>; Thu, 07 Jul 2022 09:15:57 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to; bh=pztJ02LKU5uce7rSwI5y1mC/reCg/cOvTDvMUGrDpI8=; b=kNLwVqADo8DoAbkwRFl9cXvtmGda4luOgE/1BNGda43YWSSQ45ek7b8H3cMn/YiBWZ v7Bu+NjYQ/54Scq4lW/mPUqcFvtUW/Epyd7mS9WI3yvYPVvu6PnR4T2wh/Q3P8EPNYpd iqlS5q56sRCRlilC/9iVryiNWYgQXGXTt8dwfEf9mJz1hBDP7koN3FfDSVNlAHncviMm j/zMhk0jXBYrmN6Hx7UoSAiUHPKkEf32kim8Rawgchsv17OPBk+90wvgFfj7WzuqY+cQ jD1ucxPJBbzbVV+RwVoQq1xZx3mvG5frumwfa23DDHNLbheZ+NM93P1ZHtxipQDbk6ai rGVA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to; bh=pztJ02LKU5uce7rSwI5y1mC/reCg/cOvTDvMUGrDpI8=; b=QmafVT0lOi/6w2DWBNm3zx/kvCJzhjvtJU4+Vm2A4jye3HXteT6+SC4Ndjp5L1IHpA 0m/jFzyYFtkQQShea0lrLwYNcjlBqHTavxY93EVK78tVlzOAiiwopgdd0Kq8q4yz8ROZ QFC7eKtyhBmHpc/N9CgYM+GJjezzua65o6giRlqKnjZedHM8UF2vTy6oe+7VmTUzMw3L F5dB/xUv+BNx18fYdlMvmdaKZNOo3go9eZdeur3dRObUxj+8Az9Gn5cPu1Lo2K5is1+z /km6Z4eLfmFZkh58sOdz+HyKpjoXmASHYyW2iW4eEueaTJkWR8nzy9taZdxIIC4J+L3n h3ng==
X-Gm-Message-State: AJIora85eSV/Pt/AnTDsBhFKkLLf3ZGMT+zccdQYeYJF5h18eXGydOtn z4BHhuSfZY+SeHw6iIEl+czvpKsfJeg=
X-Google-Smtp-Source: AGRyM1spEubMHWy3vwg256AGIrI3Ek6kviLClPa+i5XZd4Dazd0s9tDXqN6I2F1InP6WdOtQot17Sw==
X-Received: by 2002:a5d:61d0:0:b0:21d:5e08:af3c with SMTP id q16-20020a5d61d0000000b0021d5e08af3cmr26922742wrv.25.1657210546577; Thu, 07 Jul 2022 09:15:46 -0700 (PDT)
Received: from ?IPV6:2a01:cb1c:abc:de00:980:ead4:7f6d:535f? ([2a01:cb1c:abc:de00:980:ead4:7f6d:535f]) by smtp.gmail.com with ESMTPSA id a10-20020a5d4d4a000000b0021d8a92d276sm1250066wru.67.2022.07.07.09.15.45 for <ietf-http-wg@w3.org> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 07 Jul 2022 09:15:45 -0700 (PDT)
Content-Type: multipart/alternative; boundary="------------x7BRQj2W75Z77I9ocHlgOZoY"
Message-ID: <b5440c4f-17e1-1617-0e60-39a84ad42f6d@gmail.com>
Date: Thu, 07 Jul 2022 18:15:44 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1
Content-Language: en-US
To: ietf-http-wg@w3.org
References: <B9DB502E-B907-4B64-A639-24E5A1CCD526@apple.com>
From: iain hill <iainardernhill@gmail.com>
In-Reply-To: <B9DB502E-B907-4B64-A639-24E5A1CCD526@apple.com>
Received-SPF: pass client-ip=2a00:1450:4864:20::434; envelope-from=iainardernhill@gmail.com; helo=mail-wr1-x434.google.com
X-W3C-Hub-DKIM-Status: validation passed: (address=iainardernhill@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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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: titan.w3.org 1o9UAY-00Bbmb-5U 0736a977cecbb2f7f270523fb1ed8123
X-caa-id: 29c35d4f04
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Update on geo-hint header
Archived-At: <https://www.w3.org/mid/b5440c4f-17e1-1617-0e60-39a84ad42f6d@gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/40255
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/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

Hello,

If I might offer the thought that this data could be useful for those 
systems using http that require it, more so than being something 
designed to locate the server, it would give temporal and spatial data 
to the end point, For whichever reason it might be required. One might 
imagine a wiki in which each endpoint provides the date and location of 
its content, say a historical article, allowing for a far more 
comprehensive tool for filtering a search by time and location. I 
suspect that any attempt to achieve this without the data being a part 
of the protocol, would be quite impossible.

consider also a scientific experiment in which each result set requires 
a precise spacetime, or time and location stamp.

This combined with the use of a julian day date format would be a means 
to add the time zone without any dependency upon the foibles of 
political timezone manipulation and remove the need for consequent 
database lookup for TZ offsets. Another upside to this type of time 
keeping is that, even when the location data is not present, the time is 
more likely to be correct; This is not the case when no location data is 
stored and a local time is used, in which case temporal data is truncated.

Kind regards.

Iain Hill.

On 07/07/2022 01:15, Tommy Pauly wrote:
> Hello HTTP WG,
>
> At our February interim 
> <https://httpwg.org/wg-materials/interim-22-02/agenda.html>, I shared 
> a proposal to share a geolocation hint in HTTP headers as a geohash. 
> During the meeting, we got a lot of useful feedback for how this could 
> be misused and abused.
>
> The motivating use case was more about ensuring that a server 
> understands the “correct” geo-location mapping for an IP address that 
> it already is seeing, as opposed to trying to reveal new information 
> about location. This is specifically useful when going through a VPN / 
> privacy proxy service where the client is aware of its IP selection. 
> Specifically, this works around cases where geo-IP databases are out 
> of date, or have the incorrect granularity (for example, some 
> intermediate databases try to place every IP in a city, so they’ll 
> incorrectly map country-wide IPs to a city in the center of the country).
>
> As such, we’ve revised the proposal to instead provide a header that 
> contains the geo IP database entry that corresponds to the client’s 
> IP, along information in the parameters that points to the 
> authoritative database.
>
> https://www.ietf.org/archive/id/draft-pauly-httpbis-geoip-hint-00.html
>
> Happy to hear thoughts on this direction, and have further discussion 
> at IETF 114.
>
> Best,
> Tommy & David