public inbox for location@lists.ipfire.org
 help / color / mirror / Atom feed
From: Michael Tremer <michael.tremer@ipfire.org>
To: location@lists.ipfire.org
Subject: Re: override entries change network prefix length
Date: Mon, 29 Mar 2021 21:17:38 +0100	[thread overview]
Message-ID: <BC2B660C-DC25-458B-BE85-D239AFDAB580@ipfire.org> (raw)
In-Reply-To: <34be8969-6856-e446-4e06-020d64c99bb5@ipfire.org>

[-- Attachment #1: Type: text/plain, Size: 1671 bytes --]

Hello,

> On 28 Mar 2021, at 07:43, Peter Müller <peter.mueller(a)ipfire.org> wrote:
> 
> Hello Michael,
> hello location folks (CC'ed),
> 
> finally having some spare time to spend on ${things}, I thought working on #11754, #12594 and #12595
> might be a good idea to improve the results of our location database. :-)
> 
> Since #11754 and #12594 involve something like automated overrides to fetched RIR data, I recently noticed
> adding overrides is changing the displayed network length in a "location lookup" output:
> 
>> [root(a)maverick ~]# location lookup 176.10.99.192
>> 176.10.99.192:
>>  Network                 : 176.10.99.192/27
>>  Country                 : Switzerland
>>  Autonomous System       : AS51395 - Datasource AG
>>  Anonymous Proxy         : yes
> 
> 176.10.99.192 is part of 176.10.96.0/19, which is announced as such by AS51395, hence the output is
> misleading. A better result would be to display the original size of a BGP announcement, adding some
> flags if needed without stripping down the IP network size to the override.

I do not find this confusing. We are just stating that this IP address belongs to a certain AS. We do not make any statements about any other IP addresses in the same AS or other ones.

If you could query a whole subnet, that would be a different thing.

> This is a minor issue as far as I am concerned, but before I create code that generates overrides en
> masse, I would like to discuss whether or not it is a good idea to keep the current behaviour.

I do not see any problem with this. Did I misunderstand you?

> Thanks, and best regards,
> Peter Müller

-Michael

      reply	other threads:[~2021-03-29 20:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-28  6:43 Peter Müller
2021-03-29 20:17 ` Michael Tremer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BC2B660C-DC25-458B-BE85-D239AFDAB580@ipfire.org \
    --to=michael.tremer@ipfire.org \
    --cc=location@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox