public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: "Peter Müller" <peter.mueller@ipfire.org>
To: development@lists.ipfire.org
Subject: Re: Hostile Networks
Date: Sat, 04 Jun 2022 07:56:41 +0000	[thread overview]
Message-ID: <169f604a-133f-f653-bfa6-4d936b70a90b@ipfire.org> (raw)
In-Reply-To: <t7cvdj$6ak$1@tuscan3.grantura.co.uk>

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

Hello Rob,

> Is it possible to list the 'Hostile Networks' from the core 167 database?

yes, you need to run this command on your IPFire machine:

$ location list-networks-by-flags --drop

Depending on your use-case, you might want to have only IPv4 or IPv6 networks
displayed. This is possible via:

$ location list-networks-by-flags --family=ipv4 --drop

Similar to A[1-3], the country code XD was introduced as a workaround for
IPFire's web interface, and is not directly usable in conjunction with libloc,
but rather via the "list-networks-by-flags" command.

Please refer to https://man-pages.ipfire.org/libloc/location.html for libloc's
full current manpage.

Thanks, and best regards,
Peter Müller

  reply	other threads:[~2022-06-04  7:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-03 12:39 Rob Brewer
2022-06-04  7:56 ` Peter Müller [this message]
2022-06-04  8:13   ` Rob Brewer
2022-06-04  8:55     ` Peter Müller
2022-06-04 12:41       ` Rob Brewer

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=169f604a-133f-f653-bfa6-4d936b70a90b@ipfire.org \
    --to=peter.mueller@ipfire.org \
    --cc=development@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