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

    [SOLVED] Ntop GEO MAP

    Scheduled Pinned Locked Moved Traffic Monitoring
    49 Posts 17 Posters 17.0k 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.
    • S
      Sigsegv @pponce
      last edited by

      @pponce said in [SOLVED] Ntop GEO MAP:

      @Sigsegv Didn't mean to imply what you posted wasn't helpful. Apologies if it came out that way. I was stuck with things still not working even after making your suggested curl command changes. Then realized I hadn't changed the output directory variable to include the file name like you had. In troubleshooting why it was not working I ended up figuring out why the fetch command was not working originally. Figured i'd share my findings.

      If i had copied your changes exactly all would have worked perfectly.

      No worries my friend! I was more concerned that I had posted something that was not correct and would mess up someone's system other than my own!

      Thanks for the reply!

      1 Reply Last reply Reply Quote 0
      • viktor_gV
        viktor_g Netgate
        last edited by

        Please check the latest PR:
        https://redmine.pfsense.org/issues/9211#note-20

        dragoangelD P 2 Replies Last reply Reply Quote 1
        • dragoangelD
          dragoangel @viktor_g
          last edited by

          @viktor_g looks promising.

          Latest stable pfSense on 2x XG-7100 and 1x Intel Xeon Server, running mutiWAN, he.net IPv6, pfBlockerNG-devel, HAProxy-devel, Syslog-ng, Zabbix-agent, OpenVPN, IPsec site-to-site, DNS-over-TLS...
          Unifi AP-AC-LR with EAP RADIUS, US-24

          1 Reply Last reply Reply Quote 0
          • P
            pponce @viktor_g
            last edited by

            @viktor_g thanks for pushing this through.

            P 1 Reply Last reply Reply Quote 0
            • P
              pponce @pponce
              last edited by

              New version released for PFSENSE. Issue officially fixed.

              1 Reply Last reply Reply Quote 0
              • manjotscM
                manjotsc
                last edited by

                Now let's wait for ntopng 4.0 to arrive on pfsense.

                Vendor: HP
                Version: P01 Ver. 02.50
                Release Date: Wed Jul 17 2024
                Boot Method: UEFI
                24.11-RELEASE (amd64)
                FreeBSD 15.0-CURRENT
                CPU Type: Intel(R) Core(TM) i5-7500 CPU @ 3.40GHz
                Current: 3606 MHz, Max: 3400 MHz
                4 CPUs : 1 package(s) x 4 core(s)

                1 Reply Last reply Reply Quote 0
                • E
                  erbalo
                  last edited by

                  Hello Guys,

                  By me the GeoIP is not really working with the fix on this thread. What am i dooing wrong? i did this one.

                  mwexec("{$fetchcmd} -o {$output_dir}/GeoLite2-City.tar.gz -T 5 "{$geolite_city}"");
                  mwexec("{$fetchcmd} -o {$output_dir}/GeoLite2-ASN.tar.gz -T 5 "{$geoip_asnum}"");

                  and:

                  $geolite_city = "https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-City&license_key=xxxxxhidexxxxxxxxxxxx=tar.gz";
                  $geoip_asnum = "https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-ASN&license_key=xxxxxxxxhidexxxxxxxxx&suffix=tar.gz";

                  dragoangelD 1 Reply Last reply Reply Quote 0
                  • dragoangelD
                    dragoangel @erbalo
                    last edited by dragoangel

                    @erbalo the last update of plugin already fixed this. You need remove all patches, reinstall plugin and enter your maxmind api key in ntopng settings. Read comment of @viktor_g

                    Latest stable pfSense on 2x XG-7100 and 1x Intel Xeon Server, running mutiWAN, he.net IPv6, pfBlockerNG-devel, HAProxy-devel, Syslog-ng, Zabbix-agent, OpenVPN, IPsec site-to-site, DNS-over-TLS...
                    Unifi AP-AC-LR with EAP RADIUS, US-24

                    E 1 Reply Last reply Reply Quote 0
                    • E
                      erbalo @dragoangel
                      last edited by

                      @dragoangel Hello i have uninstalled and installed ntopng and put de license back but no success. I see also on the NTOP page that are an update available is 4.0. Do i need that version to install it on pfsense?

                      dragoangelD 1 Reply Last reply Reply Quote 0
                      • dragoangelD
                        dragoangel @erbalo
                        last edited by dragoangel

                        @erbalo this notification about update in ntopng can't be applied to pfsense, as this update must be done by mainteiner of ntopng pfsense package.

                        After you entered license and saved config you click on update geoip database button? Doesn't know why you say that is not working when all fine, no issues. You can ssh to pfsense and check files modification dates if you not sure that you have latest databases or provide other details or proofs, not only words 'it not working'. Community can't help in such way.

                        Latest stable pfSense on 2x XG-7100 and 1x Intel Xeon Server, running mutiWAN, he.net IPv6, pfBlockerNG-devel, HAProxy-devel, Syslog-ng, Zabbix-agent, OpenVPN, IPsec site-to-site, DNS-over-TLS...
                        Unifi AP-AC-LR with EAP RADIUS, US-24

                        1 Reply Last reply Reply Quote 0
                        • E
                          erbalo
                          last edited by erbalo

                          Yes i did also used the update button after install ntopng and license key.

                          I have tried this command to check the modification but no success. Cheked the file if still there using file editor and it is.

                          dir /T:W \usr\local\share\ntopng\GeoLite2-City.tar.gz

                          E 1 Reply Last reply Reply Quote 0
                          • E
                            erbalo @erbalo
                            last edited by

                            @erbalo said in [SOLVED] Ntop GEO MAP:

                            Yes i did also used the update button after install ntopng and license key.

                            I have tried this command to check the modification but no success. Cheked the file if still there using file editor and it is.

                            dir /T:W \usr\local\share\ntopng\GeoLite2-City.tar.gz

                            Someone please to help me why my geoip not working in NTOPNG?

                            1 Reply Last reply Reply Quote 0
                            • O
                              Overlord
                              last edited by

                              Is there an current solution/fix for this? The issue still persist

                              manjotscM 1 Reply Last reply Reply Quote 0
                              • manjotscM
                                manjotsc @Overlord
                                last edited by

                                @overlord which PfSense version are you using?

                                Vendor: HP
                                Version: P01 Ver. 02.50
                                Release Date: Wed Jul 17 2024
                                Boot Method: UEFI
                                24.11-RELEASE (amd64)
                                FreeBSD 15.0-CURRENT
                                CPU Type: Intel(R) Core(TM) i5-7500 CPU @ 3.40GHz
                                Current: 3606 MHz, Max: 3400 MHz
                                4 CPUs : 1 package(s) x 4 core(s)

                                1 Reply Last reply Reply Quote 0
                                • First post
                                  Last post
                                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.