]> git.ipfire.org Git - ipfire-2.x.git/commit
ipinfo.cgi: Display network flags of the given addresses.
authorStefan Schantl <stefan.schantl@ipfire.org>
Tue, 22 Sep 2020 18:25:06 +0000 (20:25 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 24 Sep 2020 17:36:38 +0000 (17:36 +0000)
commite5b1e648f68401dc8e9a144b85ad0dcae2f74c0b
treeb572b1541d87f9df88c5421d4c4ee45400e47ad9
parent446ed0e6dafd710074f1b9d01fc6614012752829
ipinfo.cgi: Display network flags of the given addresses.

Use the libloc data for gathering and displaying the stored network
flags, like "Anonymous Proxy" for the addresses.

The notice of a flag only will be displayed, if a flag is set for the
network which contains the given address.

Currently this notice text is "hardcoded" in englisch language, because
the entire other content of the page is in Englisch (responses from RIR's)
and also the flag names like "Anonymous Proxy" are only availabe in
English.

IMHO there is no need to to translate the string "This address is marked
as" into different languages, because of the reasons abouve.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
html/cgi-bin/ipinfo.cgi