From: Michael Tremer <michael.tremer@ipfire.org>
To: location@lists.ipfire.org
Subject: Re: Reduced AS/route visibility
Date: Fri, 22 Mar 2024 16:34:16 +0000 [thread overview]
Message-ID: <A87F8A5C-89E4-4706-892B-0C884343F6B6@ipfire.org> (raw)
In-Reply-To: <D00F4V9QFUOY.3AYTBUO95CVNS@posteo.net>
[-- Attachment #1: Type: text/plain, Size: 1803 bytes --]
Hello Jordan,
> On 22 Mar 2024, at 16:27, Jordan Savoca <jsavoca(a)posteo.net> wrote:
>
> 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 database is?
>
> 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 bindings?
The text file isn’t 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 lot faster and accurate. The bindings are packaged for Fedora, Debian and a couple 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 should 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 release.
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
>
> --
> Jordan
next prev parent reply other threads:[~2024-03-22 16:34 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-22 4:03 Jordan Savoca
2024-03-22 16:09 ` Michael Tremer
2024-03-22 16:21 ` Jordan Savoca
2024-03-22 16:27 ` Jordan Savoca
2024-03-22 16:34 ` Michael Tremer [this message]
2024-03-22 16:54 ` Jordan Savoca
2024-03-22 16:55 ` Michael Tremer
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=A87F8A5C-89E4-4706-892B-0C884343F6B6@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