From a9d7f2034af6a28287ef85682a2fa1b6c8e0d05b Mon Sep 17 00:00:00 2001 From: jim-p Date: Fri, 3 Apr 2015 13:25:55 -0400 Subject: Add some fixes/additions for better handling of GeoIP data in ntopng. Fixes #4567 Also add attribution text for GeoIP data and a link back to maxmind for CC BY-SA 3.0. --- config/ntopng/ntopng.xml | 42 +++++++++++++++++++++++++++++++++++++++--- pkg_config.10.xml | 2 +- pkg_config.8.xml | 2 +- pkg_config.8.xml.amd64 | 2 +- 4 files changed, 42 insertions(+), 6 deletions(-) diff --git a/config/ntopng/ntopng.xml b/config/ntopng/ntopng.xml index f287768b..9382912a 100644 --- a/config/ntopng/ntopng.xml +++ b/config/ntopng/ntopng.xml @@ -39,7 +39,7 @@ ]]> ntopng - 1.2 v0.4 + 1.2 v0.5 Diagnostics: ntopng Settings Change pkg_edit.php?xml=ntopng.xml @@ -96,7 +96,12 @@ DNS Mode dns_mode - Configures how name resolution is handled + + Configures how name resolution is handled<br/><br/> + Additionally, GeoIP Data can provide location information about IP addresses.<br/> + This product includes GeoLite data created by MaxMind, available from <a href="http://www.maxmind.com">http://www.maxmind.com</a>.<br/> + <input type="submit" name="Submit" value="Update GeoIP Data"> + select 0 @@ -134,6 +139,9 @@ @@ -243,7 +276,7 @@ @@ -257,6 +290,9 @@ $input_errors[] = "You must provide (and confirm) ntopng's password."; if ($_POST['password'] != $_POST['passwordagain']) $input_errors[] = "The provided passwords did not match."; + if ($_POST['Submit'] == "Update GeoIP Data") { + ntopng_update_geoip(); + } } ]]> diff --git a/pkg_config.10.xml b/pkg_config.10.xml index a6c25cb9..e4f10f76 100644 --- a/pkg_config.10.xml +++ b/pkg_config.10.xml @@ -263,7 +263,7 @@ databases/redis databases/gdbm net/GeoIP x11-fonts/font-util x11-fonts/webfonts graphics/graphviz net/ntopng - 1.2.1 v0.4 + 1.2.1 v0.5 ALPHA 2.2 https://packages.pfsense.org/packages/config/ntopng/ntopng.xml diff --git a/pkg_config.8.xml b/pkg_config.8.xml index 19d56a4d..6eefef46 100644 --- a/pkg_config.8.xml +++ b/pkg_config.8.xml @@ -389,7 +389,7 @@ databases/redis databases/gdbm net/GeoIP x11-fonts/font-util x11-fonts/webfonts graphics/graphviz net/ntopng - 1.1 v0.4 + 1.1 v0.5 ALPHA 2.1.4 https://packages.pfsense.org/packages/config/ntopng/ntopng.xml diff --git a/pkg_config.8.xml.amd64 b/pkg_config.8.xml.amd64 index d0887c45..582a602e 100644 --- a/pkg_config.8.xml.amd64 +++ b/pkg_config.8.xml.amd64 @@ -376,7 +376,7 @@ databases/redis databases/gdbm net/GeoIP x11-fonts/font-util x11-fonts/webfonts graphics/graphviz net/ntopng - 1.1 v0.4 + 1.1 v0.5 ALPHA 2.1.4 https://packages.pfsense.org/packages/config/ntopng/ntopng.xml -- cgit v1.2.3