]> git.ipfire.org Git - ipfire-2.x.git/commit - config/cfgroot/location-functions.pl
location-functions.pl: Recognise XD / LOC_NETWORK_FLAG_DROP
authorPeter Müller <peter.mueller@ipfire.org>
Sun, 10 Oct 2021 17:13:38 +0000 (19:13 +0200)
committerPeter Müller <peter.mueller@ipfire.org>
Fri, 19 Nov 2021 06:02:43 +0000 (07:02 +0100)
commit970e8547becf91657ffa9bc4f84eb9bbf021b145
treecabed9c6e6dd8f5c7a3d407fa4301e30b5490b08
parent73efd9b7dc47eef18e1793a64f1638e8cd0fe158
location-functions.pl: Recognise XD / LOC_NETWORK_FLAG_DROP

This enables creating firewall rules using the special country code "XD"
for hostile networks safe to drop and ipinfo.cgi to display a meaningful
text for IP addresses having this flag set.

At the moment, the "LOC_NETWORK_FLAG_DROP" is not yet populated, but
will be in the future (as soon as libloc 0.9.9 is released and running
in production).

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
config/cfgroot/location-functions.pl