From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: location@lists.ipfire.org Subject: Re: Reduced AS/route visibility Date: Fri, 22 Mar 2024 16:34:16 +0000 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4399233422985431494==" List-Id: --===============4399233422985431494== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello Jordan, > On 22 Mar 2024, at 16:27, Jordan Savoca wrote: >=20 > On Fri Mar 22, 2024 at 9:09 AM MST, Michael Tremer wrote: >> P.S. Out of my own curiosity, may I ask what your application for this dat= abase is? >=20 > Oops, I hadn't replied to your question! I've written a tiny WHOIS[1] > server which returns AS information for addresses and hostnames using > a dataset (presently) derived from the IPFire git sets; I hope to use > the location libraries in future, however. ^^ Very cool. Any reason why you are parsing the text file instead of using our Python bind= ings? The text file isn=E2=80=99t flat so you cannot only search to the first match= , but since the binary database is organised as a tree, a search will be a lo= t faster and accurate. The bindings are packaged for Fedora, Debian and a cou= ple of others. If you want to have all networks that belong to a specific AS, there is a way= to search for them having the library walk through the entire tree. That sho= uld be super fast. > The second application[2] is a set of HTML documents generated from > onionoo[3] over at the Tor Project, which relies on IPFire as well. I'd > noticed some historical discrepancies in announcement information, which > was the impetus for my reaching out. Yeah, that probably makes sense since I recently added the randomiser :) > Thank you again for the quick fix! No worries. As mentioned we had a couple of outstanding issues and I believe = that they are now all solved which will help us pave the way for a 1.0 releas= e. Great to see that the database is making its way into projects everywhere :) > [1]: https://git.jordan.im/asn/ > [2]: https://git.jordan.im/allium/ > [3]: https://metrics.torproject.org/onionoo.html >=20 > -- > Jordan --===============4399233422985431494==--