From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: location@lists.ipfire.org Subject: Re: override entries change network prefix length Date: Mon, 29 Mar 2021 21:17:38 +0100 Message-ID: In-Reply-To: <34be8969-6856-e446-4e06-020d64c99bb5@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7498992286549613446==" List-Id: --===============7498992286549613446== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello, > On 28 Mar 2021, at 07:43, Peter M=C3=BCller wr= ote: >=20 > Hello Michael, > hello location folks (CC'ed), >=20 > 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. :-) >=20 > Since #11754 and #12594 involve something like automated overrides to fetch= ed RIR data, I recently noticed > adding overrides is changing the displayed network length in a "location lo= okup" output: >=20 >> [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 >=20 > 176.10.99.192 is part of 176.10.96.0/19, which is announced as such by AS51= 395, 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 belong= s 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 th= at 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=C3=BCller -Michael --===============7498992286549613446==--