public inbox for location@lists.ipfire.org
 help / color / mirror / Atom feed
From: "Peter Müller" <peter.mueller@ipfire.org>
To: location@lists.ipfire.org
Subject: Re: Checking for Bogons
Date: Sat, 23 Oct 2021 12:40:10 +0200	[thread overview]
Message-ID: <6dfd8ae4-2a76-b713-0610-91ca314358b9@ipfire.org> (raw)
In-Reply-To: <f42917f2-3bc2-de3f-830f-737b161c299a@gmail.com>

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

Hello Gisle,

thanks for your mail.

> This flag 'LOC_NETWORK_FLAG_BOGON' does not exist (yet).
> Would it be possible? 

In theory, yes, but there is no need for another flag: If there is
is no announcement for a network, it is considered to be a bogon.

So, all you need to do is to check if loc_database_lookup() gives
you an ASN for the queried IP address. :-)

> And is there any relationship between a "Bogon" and
> 'LOC_NETWORK_FLAG_DROP' flag? 

Not really. Some bogons might get that flag as well, if they appear
at Spamhaus DROP (which will be our primary source for LOC_NETWORK_FLAG_DROP);
see https://www.spamhaus.org/sbl/query/SBL504836 for an example.

So, there might be some overlap in practice, but these are not 
inherently related to each other.

Thanks, and best regards,
Peter Müller

  reply	other threads:[~2021-10-23 10:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-23 10:18 Gisle Vanem
2021-10-23 10:40 ` Peter Müller [this message]
2021-10-23 11:40   ` Gisle Vanem
2021-10-23 15:55     ` Peter Müller

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=6dfd8ae4-2a76-b713-0610-91ca314358b9@ipfire.org \
    --to=peter.mueller@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