From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rob Brewer To: development@lists.ipfire.org Subject: Re: Hostile Networks Date: Sat, 04 Jun 2022 09:13:36 +0100 Message-ID: In-Reply-To: <169f604a-133f-f653-bfa6-4d936b70a90b@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8304405981475411700==" List-Id: --===============8304405981475411700== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Hi Peter, Thank you for your explanation. On Saturday 04 June 2022 08:56 Peter Müller wrote: > 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 > Yes that works a treat. Presumably if I enable A[1-3] in the web interface those will be included as well as XD. > 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. > I had read the manpage but I didn't grasp the significance of list-networks- by-flags. > Thanks, and best regards, > Peter Müller Regards Rob --===============8304405981475411700==--