Re: [Int-area] GPS over wifi

Warren Kumari <warren@kumari.net> Thu, 23 January 2020 21:11 UTC

Return-Path: <warren@kumari.net>
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 A741D120823 for <int-area@ietfa.amsl.com>; Thu, 23 Jan 2020 13:11:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=kumari-net.20150623.gappssmtp.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZX-erNYgS3ab for <int-area@ietfa.amsl.com>; Thu, 23 Jan 2020 13:11:31 -0800 (PST)
Received: from mail-qk1-x730.google.com (mail-qk1-x730.google.com [IPv6:2607:f8b0:4864:20::730]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 83982120227 for <int-area@ietf.org>; Thu, 23 Jan 2020 13:11:31 -0800 (PST)
Received: by mail-qk1-x730.google.com with SMTP id c185so3552406qkf.3 for <int-area@ietf.org>; Thu, 23 Jan 2020 13:11:31 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kumari-net.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=gTObC7fh2z0TfmE3bhHIRWmAvXt/TLPbCofugdxZyR8=; b=lXgGCk7Qr2jpQVE7vOLrBnlxr9ygjCP6M/kZxF+UCGdsHFPJzihXyL0ds1Dr58LVsC YiusWy5lf4s1vy0JiBqRIql05hIPX39N1OizCn7o4lK9bWEyUiNPU14Dcuaex6OL21X/ MyW76vo+L9MOSIQeSk6nKs0G74g2z8k37vMhlIip1q2DE8ymiqebgWK3WQYrQraxPMgv vDeEXDnQjZa3l7fXQAYWBRlIgW/PkEFcZ5KyzKgKW0lBig0e3bLZ9ojl9N5CCgShx3dc PW1o2pFgnVsWoIYHovgU0wtqLQVVK5y3OiEuc9djmUxlT40WDY4u1F8kKhdM57z2WfSA oj/g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=gTObC7fh2z0TfmE3bhHIRWmAvXt/TLPbCofugdxZyR8=; b=Tt8fN9jPE44oZsWMUjltIluRYDh3tbD3ns4AeuvOCppMz1Et/4TF1UT/+Bp4BEH7o4 Gdt8He+FbDCRUL8T35Zfwvxu5YtfRTvL50JNFbPrhiG6sdy0+QzclNzx+5X2NloCfjTp mgyUNv9zwbemvO0bdowDPo8Xdb2pQ1yyO1zv6lWLGMINqBZWm2dwI2b+fL1oz6XmDAO5 CMhpw7HLRVkHMiFZKNgiCZyqPwiqSN2nol11LplzQ3RkOrhNpiIkcI/G0udmV/gnZESv hXf5fYwxO2VVbsmyQgfCjj0++gLD2iEBDGZ75kPzHRbkAzFiM5z2hoW6CAW44VBBqFGB /fnA==
X-Gm-Message-State: APjAAAXGWlAAmYCkvIJPaNBvas2JWuxON2TiVN+ohSKJ5LwoUeONfFjf XxX3041OTttQXYfJmHB2sTaePoatIi7mreb14AJKc8o0JJA=
X-Google-Smtp-Source: APXvYqxVpS2Aiajz+URxgOLJN5P/uvntuiuP5hhJJLdxpt9uVFNPoPorMsBT0yHFuX0JIyL2HgmdXnLQMExCbufJcW8=
X-Received: by 2002:a37:9982:: with SMTP id b124mr105106qke.245.1579813889938; Thu, 23 Jan 2020 13:11:29 -0800 (PST)
MIME-Version: 1.0
References: <CANBjToUnvmmUYj=M1a2hET+E9XrWxz9omce-RjJuf9tbaaGO6A@mail.gmail.com> <CANBjToVsNZLvemoN7ttr7kOtcZMkaqOiH8Rh4miTXEv_znKLNg@mail.gmail.com> <6.2.5.6.2.20200122050916.11f4f4d0@elandnews.com>
In-Reply-To: <6.2.5.6.2.20200122050916.11f4f4d0@elandnews.com>
From: Warren Kumari <warren@kumari.net>
Date: Thu, 23 Jan 2020 16:10:54 -0500
Message-ID: <CAHw9_iK4ehg1nMrrzuTabM5iwSVy19hD6xvZXuHERwh91d+FiQ@mail.gmail.com>
To: S Moonesamy <sm+ietf@elandsys.com>
Cc: Rob Brew <sputnik2012@gmail.com>, Internet Area <int-area@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/int-area/grpIpW-ym8Cp2KDE9Aup8U4Fd-8>
Subject: Re: [Int-area] GPS over wifi
X-BeenThere: int-area@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: IETF Internet Area 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: Thu, 23 Jan 2020 21:11:34 -0000

On Wed, Jan 22, 2020 at 8:31 AM S Moonesamy <sm+ietf@elandsys.com> wrote:
>
> Dear Rob,
> At 04:13 AM 22-01-2020, Rob Brew wrote:
> >Having received the post from Alex I have responded. If you would
> >rather I move this RFC to antarea I will do so.  Personally I feel
> >it's more of an internet problem as GPS is being delivered using
> >HTTP protocols.
>
> The Internet-Draft (I-D) which you submitted would require some work
> as it looks more like a problem statement.

s/some work/lots of work/

I should point out that this is not "GPS" (which has a defined
meaning), this is IP based geo-location - which is already in use. See
[2] for some background / resources.


The document talks about: "The Server, with the aforementioned outline
code, knows the IP address of the WiFi hot spot." - this may come from
a misunderstanding of how wireless networks are typically provided.
When your device makes a connection to a server, the server sees an IP
from a subnet which spans a large physical area (in the case of v6),
or a NATed address which covers a subnet covering a large physical
area (v4) -- the address (generally) isn't the address of the access
point you connect to -- in order to improve the user experience (and
make the network work better / easier to manage, etc) wireless
networks try to let you keep the same address for as long as possible
(see WiFi roaming, etc)


>From the GitHub:
"providing GPS locations over WiFI using remote IP detection for a
server to respond with the correct name of clients location and the
clients GPS location.

The Java application here will look at a connection request's IP
address and from there return a latitude and longitude plus name for
that location."

This makes the assumption that a: the IP address is tightly
constrained to an area - the example video
(https://www.youtube.com/watch?v=pqURqmVVwYk) shows 82.13.105.104 as
being tightly geo-located to London bridge, but this is likely part of
a much larger subnet, spanning a much larger area than just one tube
station
and b: these geo-maps are very imprecise / and dynamic.

As an example, MaxMind's (rather good) geolocation for the above IP address is:
Address: 82.13.105.104
Location: Camden, Camden, England
Approximate Coordinates* 51.5245, 0.1567
Accuracy Radius (km): 10
Entering this into Google Maps gives: https://goo.gl/maps/9hA8ADm2TaXfywkj8

For this to work, London Underground / TfL *and every other
underground system wanting to use this* would need to be willing to:
A: have very small subnets tied to each "location" - this provides a
poor user experience as the devices need to roam between location at
whatever granularity you choose, and so change their IP, and
B: be willing to share this address -> location mapping with some
third party (and keep it up to date). This makes privacy regulators
twitch...

Many mobile devices already do something which achieves much of your
goal -- they look at the *BSSID* of the AP, and use it as a location
signal -- see e.g https://wigle.net/ as an example. This is also one
of the reasons devices like iOS say things like: "AirDrop, AirPlay and
**improved location accuracy** require Wi-Fi", and why services like
SkyHook have things like:
https://www.skyhook.com/submit-access-point [0]


So, if this were to move forward, it would need a lot more work (and
research into what already exists), and figure out if / how the
granularity and privacy concerns can be addressed.
I'm really not trying to dissuade you from this, but it will require a
lot more fleshing out / and understanding of what already exists...

W
[0]: as an interesting aside, we've had to white / blacklist the IETF
Meeting AP MAC addresses from these sorts of services to help with the
location issues. They would learn that AP101 lives in Prague[1], and
then be irritated / confused when it shows up in Singapore...

[1]: Not a bad first order guess. Other than being in a warehouse in
California, somewhere on the second floor, V Celnici 7, Prague, 110
00, CZ is indeed the most likely place to find an AP :-P

[2]: Useful resources:
https://dyn.com/blog/finding-yourself-the-challenges-of-accurate-ip-geolocation/
https://www.iplocation.net/
https://www.iplocation.net/geolocation-accuracy
https://datatracker.ietf.org/doc/draft-google-self-published-geofeeds/
https://www.maxmind.com/en/geoip-demo




>  You might be able to get
> some feedback about how to move the I-D  forward by sending your
> request to a mailing list [1] in the Applications and Real-Time Area
> instead of the Internet Area as HTTP-related specifications are
> usually discussed in that area.
>
> Regards,
> S. Moonesamy
>
> 1. https://www.ietf.org/mailman/listinfo/art
>
> _______________________________________________
> Int-area mailing list
> Int-area@ietf.org
> https://www.ietf.org/mailman/listinfo/int-area



-- 
I don't think the execution is relevant when it was obviously a bad
idea in the first place.
This is like putting rabid weasels in your pants, and later expressing
regret at having chosen those particular rabid weasels and that pair
of pants.
   ---maf