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

    Geolite database discontinued - any plans on updating pfBlockerNG.

    Scheduled Pinned Locked Moved pfBlockerNG
    8 Posts 4 Posters 3.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
      StaticDragon
      last edited by

      Per max minds website, geoip lite is discontinued as of jan 2nd 2019.

      https://support.maxmind.com/geolite-legacy-discontinuation-notice/

      1 Reply Last reply Reply Quote 0
      • mike69M
        mike69 Rebel Alliance
        last edited by

        pfBlockerNG 2.1.4_14 use the GeoLite2 Free version. Check the Description of the pfBlockerNG Packages.

        DG FTTH 400/200
        Supermicro A2SDi-4C-HLN4F with pfSense 2.7.2

        S 1 Reply Last reply Reply Quote 0
        • S
          StaticDragon @mike69
          last edited by

          @mike69 said in Geolite database discontinued - any plans on updating pfBlockerNG.:

          2.1.4_14 use the GeoLite2 Free version. Check the Description of the pfBlockerNG Packages.

          Odd error on my end then, and i am using version 2.2.5_19 and it fails to download. If i pull the updater code apart the URL listed are for the legacy databases.

          Fetching GeoIP.dat and GeoIPv6.dat...
          fetch: http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz: Not Found
          GeoIP.dat download failed

          Downloading MaxMind GeoIP databases. This may take a minute...
          GeoIP.dat... Failed!
          MaxMind download Failed! Fetching MaxMind archive from pfSense package repo...
          /tmp/countrycodes.tar.bz2 0 B 0 Bps

          mike69M 1 Reply Last reply Reply Quote 0
          • mike69M
            mike69 Rebel Alliance @StaticDragon
            last edited by mike69

            @staticdragon

            Yes, the Url is changed.
            You can wait for an update or edit your

            /usr/local/bin/geoipupdate.sh
            

            DG FTTH 400/200
            Supermicro A2SDi-4C-HLN4F with pfSense 2.7.2

            G 1 Reply Last reply Reply Quote 0
            • G
              guardian Rebel Alliance @mike69
              last edited by

              @mike69 said in Geolite database discontinued - any plans on updating pfBlockerNG.:

              @staticdragon

              Yes, the Url is changed.
              You can wait for an update or edit your

              /usr/local/bin/geoipupdate.sh
              

              I am pretty sure the database format has been changed, so that will likely crash your pfBlocker.

              If you find my post useful, please give it a thumbs up!
              pfSense 2.7.2-RELEASE

              mike69M 1 Reply Last reply Reply Quote 0
              • mike69M
                mike69 Rebel Alliance @guardian
                last edited by

                @guardian said in Geolite database discontinued - any plans on updating pfBlockerNG.:

                @mike69 said in Geolite database discontinued - any plans on updating pfBlockerNG.:

                @staticdragon

                Yes, the Url is changed.
                You can wait for an update or edit your

                /usr/local/bin/geoipupdate.sh
                

                I am pretty sure the database format has been changed, so that will likely crash your pfBlocker.

                Oh, ok.
                Wait, what @BBcan177 says.

                DG FTTH 400/200
                Supermicro A2SDi-4C-HLN4F with pfSense 2.7.2

                1 Reply Last reply Reply Quote 0
                • BBcan177B
                  BBcan177 Moderator
                  last edited by

                  MaxMind deprecated the older GeoIP format which ended on Jan 2nd, 2019.

                  I had already moved the GeoIP that is used for the Country ISO code files over a year ago to GeoLite2, but I didn't realize that this also affected the two additional DBs that are used by the package. These two additional databases are used with the "geoiplookup" command for the Alerts Tab and the IP Reputation determination functions.

                  I have been working with the devs on adding the net/libmaxminddb port. I have spent much of yesterday/night testing the changes and hope to get this released soon...
                  https://www.freshports.org/net/libmaxminddb

                  This port will allow for the reading of the new MMDB MaxMind database format.

                  BTW: the package doesn't use the geoipupdate.sh, as it uses its own updater functions.

                  To manually download the MaxMind files, use the following command (It will still fail on the two additional DBs but still update the Country code files):

                  php -f /usr/local/www/pfblockerng/pfblockerng.php dc
                  

                  "Experience is something you don't get until just after you need it."

                  Website: http://pfBlockerNG.com
                  Twitter: @BBcan177  #pfBlockerNG
                  Reddit: https://www.reddit.com/r/pfBlockerNG/new/

                  1 Reply Last reply Reply Quote 0
                  • BBcan177B
                    BBcan177 Moderator
                    last edited by

                    Posted two PR to fix this issue. See my recent posts in this forum.

                    "Experience is something you don't get until just after you need it."

                    Website: http://pfBlockerNG.com
                    Twitter: @BBcan177  #pfBlockerNG
                    Reddit: https://www.reddit.com/r/pfBlockerNG/new/

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