• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

ntopng 4.2 Setup and Geo2Lite DB question

Scheduled Pinned Locked Moved Traffic Monitoring
2 Posts 2 Posters 1.7k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • O
    Overlord
    last edited by Feb 24, 2021, 10:08 PM

    Hey guys

    Is there a best practise setup/configuration for ntop on pfSense? And is the GeoLite2 DB download working? I have an license key, but in ntopng I got the issue, that ntop is running without geolocation support.

    Greetz
    Ovrld

    1 Reply Last reply Reply Quote 1
    • L
      LamaZ
      last edited by LamaZ Jun 7, 2021, 9:20 AM Jun 7, 2021, 9:03 AM

      Just upgraded to 21.05/2.5.2 and am greeted with this nifty window when logging into ntopng:
      baf5caa5-4f3a-48a9-9da4-9d1fb5adab2c-image.png
      The instructions link is this https://github.com/ntop/ntopng/blob/dev/doc/README.geolocation.md.

      Package Manager says it is:
      0.8.13_10

      And logging into ntopng says it is:
      4.2.210601 (0) - Community Edition

      EDIT: Solved
      Solution:

      1. Go to Diagnostics->ntopng Settings->Utilities->GeoLite2 DB License Key, press Update GeoLite2DB button
      2. Restart ntopng service

      You may see that the old files (pre-upgrade) are still on disk.

      ls -lah /usr/local/share/GeoIP
      total 25628
      drwxr-xr-x   3 root       wheel       1.0K May  6 12:00 .
      drwxr-xr-x  52 root       wheel       1.5K Jun  5 05:16 ..
      -rw-r--r--   1 806011168  806011168    55B May  4 06:40 COPYRIGHT.txt
      -rw-r--r--   1 806011168  806011168    11M May  4 06:39 GeoLite2-Country-Blocks-IPv4.csv
      -rw-r--r--   1 806011168  806011168   3.5M May  4 06:40 GeoLite2-Country-Blocks-IPv6.csv
      -rw-r--r--   1 806011168  806011168   9.6K May  4 06:40 GeoLite2-Country-Locations-de.csv
      -rw-r--r--   1 806011168  806011168   9.7K May  4 06:40 GeoLite2-Country-Locations-en.csv
      -rw-r--r--   1 806011168  806011168   9.8K May  4 06:40 GeoLite2-Country-Locations-es.csv
      -rw-r--r--   1 806011168  806011168    10K May  4 06:40 GeoLite2-Country-Locations-fr.csv
      -rw-r--r--   1 806011168  806011168    15K May  4 06:40 GeoLite2-Country-Locations-ja.csv
      -rw-r--r--   1 806011168  806011168    11K May  4 06:40 GeoLite2-Country-Locations-pt-BR.csv
      -rw-r--r--   1 806011168  806011168    15K May  4 06:40 GeoLite2-Country-Locations-ru.csv
      -rw-r--r--   1 806011168  806011168    11K May  4 06:40 GeoLite2-Country-Locations-zh-CN.csv
      -rw-r--r--   1 root       wheel       3.9M May  4 06:40 GeoLite2-Country.mmdb
      -rw-r--r--   1 root       wheel       2.0M May  6 12:00 GeoLite2-Country.tar.gz
      -rw-r--r--   1 root       wheel       3.8M Mar  2 09:30 GeoLite2-Country.tar.gz.orig
      -rw-r--r--   1 806011168  806011168   398B May  4 06:40 LICENSE.txt
      -rw-r--r--   1 806011168  806011168   116B May  4 06:40 README.txt
      drwxr-xr-x   2 root       wheel        32K May  6 12:00 cc
      

      Manually running fails ntopng-geoip2update.sh:

      ntopng-geoip2update.sh 
      Fetching GeoLite2-City
      fetch: https://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz: No address record
      GeoLite2-City.tar.gz download failed
      

      EDIT: My MaxMind settings are in pfBlockerNG. Wrong, they are in Diagnostics->ntopng Settings->Utilities->GeoLite2 DB License Key.

      Maybe an issue with the upgrade? My MaxMind settings are in pfBlockerNG.

      -LamaZ

      1 Reply Last reply Reply Quote 1
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        [[user:consent.lead]]
        [[user:consent.not_received]]