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

    pfBlockerNG MaxMind Registration required to continue to use the GeoIP functionality!

    Scheduled Pinned Locked Moved pfBlockerNG
    105 Posts 31 Posters 81.9k 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
      SteveITS Galactic Empire
      last edited by

      @BBcan177 , on pfBlockerNG, v2.1.4_20, it looks like if I open the plugin page (Firewall/pfBlockerNG) the MaxMind License Key field is blank. maxmind_key is populated in the saved config file, which I saved after entering it...I'm thinking maybe it's not populating correctly on the page?

      (saw your comment about upgrading/moving to -devel in all cases, just haven't gotten to that yet)

      Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
      When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
      Upvote πŸ‘ helpful posts!

      S 1 Reply Last reply Reply Quote 0
      • J
        jan.kerstan @jdeloach
        last edited by

        @jdeloach said in pfBlockerNG MaxMind Registration required to continue to use the GeoIP functionality!:

        You can run the following from the command prompt to see if it updates:
        "php /usr/local/www/pfblockerng/pfblockerng.php dc", copy and paste without the quotes.

        confirmed: running 2.4.4-RELEASE-p3 -> pfBlockerNG 2.1.4_20 (updated, paste the MaxMind "License Key") worked!

        Thank you very much!

        1 Reply Last reply Reply Quote 0
        • stephenw10S
          stephenw10 Netgate Administrator
          last edited by stephenw10

          I'll just add that I updated the package, filled in the key and ran an update. All went smoothly. πŸ‘

          Steve

          1 Reply Last reply Reply Quote 0
          • B
            bjurkovski @dougs
            last edited by

            @dougs said in pfBlockerNG MaxMind Registration required to continue to use the GeoIP functionality!:

            @BBcan177
            Uninstalled pfBlockerNG and installed pfBlockerNG-devel 2.2.5_28. Ran update as follows:

             UPDATE PROCESS START [ 01/02/20 16:36:16 ]
            
            ===[  DNSBL Process  ]================================================
            
            Saving DNSBL database... completed
            
            Clearing all DNSBL Feeds completed
            Reloading Unbound Resolver..... completed
            DNSBL update [ 0 | PASSED  ]... completed
            ------------------------------------------------------------------------
            
            ===[  GeoIP Process  ]============================================
            
            MaxMind Database downloading and processing ( approx 4MB ) ... Please wait ...
            
            Download Process Starting [ 01/02/20 16:36:16 ]
             /usr/local/share/GeoIP/GeoLite2-Country.tar.gz		200 OK
             /usr/local/share/GeoIP/GeoLite2-Country-CSV.zip		200 OK
            Download Process Ended [ 01/02/20 16:36:17 ]
            
            Country code update Start
             Processing ISO IPv4 Continent/Country Data
             Processing ISO IPv6 Continent/Country Data [ 01/02/20 16:36:23 ]
             Creating pfBlockerNG Continent PHP files
             IPv4 Africa			 [ 01/02/20 16:36:24 ]
             IPv6 Africa			 [ 01/02/20 16:36:25 ]
             IPv4 Antarctica		
             IPv6 Antarctica		
             IPv4 Asia			
             IPv6 Asia			
             IPv4 Europe			
             IPv6 Europe			 [ 01/02/20 16:36:27 ]
             IPv4 North America		
             IPv6 North America		 [ 01/02/20 16:36:28 ]
             IPv4 Oceania			
             IPv6 Oceania			 [ 01/02/20 16:36:29 ]
             IPv4 South America		
             IPv6 South America		
             IPv4 Proxy and Satellite	
             IPv6 Proxy and Satellite	
             IPv4 Top Spammers		
             IPv6 Top Spammers		
             pfBlockerNG Reputation Tab
            Country Code Update Ended
            
            
            
            ===[  IPv4 Process  ]=================================================
            
            [ DNSBLIP_v4 ]			 Downloading update [ 01/02/20 16:36:29 ] .
            [ DNSBLIP_v4 ] file_get_contents(/var/db/pfblockerng/DNSBLIP_v4.txt): failed to open stream: No such file or directory
            
            
             [ pfB_DNSBLIP_v4 - DNSBLIP_v4 ] Download FAIL
               Local File Failure
            
            
            The Following List has been REMOVED [ DNSBLIP_v4 ]
            
            
            ===[  Aliastables / Rules  ]==========================================
            
            No changes to Firewall rules, skipping Filter Reload
            No Changes to Aliases, Skipping pfctl Update
            
             UPDATE PROCESS ENDED
            
            

            Looks like an error with DNSBLIP?

            ~Doug

            Having the same issue

            fireodoF 1 Reply Last reply Reply Quote 0
            • fireodoF
              fireodo @bjurkovski
              last edited by

              @bjurkovski said in pfBlockerNG MaxMind Registration required to continue to use the GeoIP functionality!:

              @dougs said in pfBlockerNG MaxMind Registration required to continue to use the GeoIP functionality!:

              @BBcan177
              Uninstalled pfBlockerNG and installed pfBlockerNG-devel 2.2.5_28. Ran update as follows:

              Looks like an error with DNSBLIP?

              ~Doug

              Having the same issue

              Maybe an Force Update can help?
              Something else - I switched from pfblockerng to pfblockerng-devel an there is a increase of RAM usage from about 13% - is it also in your case?

              Thanks,
              fireodo

              Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
              SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
              pfsense 2.8.0 CE
              Packages: Apcupsd, Cron, Iftop, Iperf, LCDproc, Nmap, pfBlockerNG, RRD_Summary, Shellcmd, Snort, Speedtest, System_Patches.

              1 Reply Last reply Reply Quote 0
              • S
                SteveITS Galactic Empire @SteveITS
                last edited by SteveITS

                @teamits said in pfBlockerNG MaxMind Registration required to continue to use the GeoIP functionality!:

                @BBcan177 , on pfBlockerNG, v2.1.4_20, it looks like if I open the plugin page (Firewall/pfBlockerNG) the MaxMind License Key field is blank. maxmind_key is populated in the saved config file, which I saved after entering it

                I checked several times yesterday and the field had the key in it each time I logged in. On a hunch waited until overnight again, and this morning the field is blank in the GUI. Seems so unlikely but is there some way it could disappear overnight? If I export the config file this morning it's missing, compared to my last export 3 days ago:

                <enable_log/>
                <skipfeed>0</skipfeed>
                <log_maxlines>20000</log_maxlines>
                <maxmind_key>****</maxmind_key>
                <maxmind_locale>en</maxmind_locale>
                <database_cc/>
                <inbound_interface>wan</inbound_interface>

                vs

                <enable_log/>
                <maxmind_locale>en</maxmind_locale>
                <database_cc/>
                <skipfeed>0</skipfeed>
                <log_maxlines>20000</log_maxlines>
                <inbound_interface>wan</inbound_interface>

                FWIW this is on an SG-4860 and it hasn't restarted in months.

                Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                Upvote πŸ‘ helpful posts!

                1 Reply Last reply Reply Quote 0
                • M
                  MarcO42
                  last edited by

                  Hi,
                  just a quiston: If Idon't want to use GeoIP and set "Disable MaxMind CSV database Updates" checkbox I'm already get an notification every hour that "MaxMind need a license". Is there a way to block this spam without disabling the notification or uninistalling pfBlockerNG?
                  Cheers
                  Marco

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

                    @MarcO42
                    You need to disable the "Action" settings in the GeoIP tab and any IPv4/6 aliases that use the "GeoIP" state for the notifications to stop.

                    "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 1
                    • C
                      christopa1999
                      last edited by

                      Instead of sign up Maxmind, can we use IP2Location database as replacement?

                      Sergei_ShablovskyS 1 Reply Last reply Reply Quote 0
                      • Sergei_ShablovskyS
                        Sergei_Shablovsky @christopa1999
                        last edited by

                        @christopa1999 said in pfBlockerNG MaxMind Registration required to continue to use the GeoIP functionality!:

                        Instead of sign up Maxmind, can we use IP2Location database as replacement?

                        Why avoid registration?
                        Just using MaxMind at this moment and after IP2locations integration ready, - just choose. ;)

                        β€”
                        CLOSE SKY FOR UKRAINE https://youtu.be/_tU1i8VAdCo !
                        Help Ukraine to resist, save civilians people’s lives !
                        (Take an active part in public protests, push on Your country’s politics, congressmans, mass media, leaders of opinion.)

                        1 Reply Last reply Reply Quote 0
                        • J
                          jt
                          last edited by

                          i followed the procedure and saved the registration key in our pfsense box, however, after ~1h I started to receive the email notifications again. when I checked back the box, the license key was missing. tried to put it again & save, same result. tried to generate a new key, no change.

                          does anyone know what might be wrong, please?

                          provelsP BBcan177B 2 Replies Last reply Reply Quote 0
                          • provelsP
                            provels @jt
                            last edited by

                            @jt Did you do a Reload/Force?

                            Peder

                            MAIN - pfSense+ 24.11-RELEASE - Adlink MXE-5401, i7, 16 GB RAM, 64 GB SSD. 500 GB HDD for SyslogNG
                            BACKUP - pfSense+ 23.01-RELEASE - Hyper-V Virtual Machine, Gen 1, 2 v-CPUs, 3 GB RAM, 8GB VHDX (Dynamic)

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

                              @jt
                              When you hit "save" did you get an error message... you probably didn't use the correct License key. Its only alpha-numeric with no spaces etc...

                              "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/

                              provelsP 1 Reply Last reply Reply Quote 0
                              • provelsP
                                provels @BBcan177
                                last edited by

                                @BBcan177 And the license key, not the token like the other guy did...

                                Peder

                                MAIN - pfSense+ 24.11-RELEASE - Adlink MXE-5401, i7, 16 GB RAM, 64 GB SSD. 500 GB HDD for SyslogNG
                                BACKUP - pfSense+ 23.01-RELEASE - Hyper-V Virtual Machine, Gen 1, 2 v-CPUs, 3 GB RAM, 8GB VHDX (Dynamic)

                                1 Reply Last reply Reply Quote 0
                                • J
                                  jt
                                  last edited by

                                  i did do reload
                                  i didn't get any error message
                                  i did fill the license key, paste as plain text, the long number, not the short one (token)

                                  still getting notifications :/

                                  provelsP 1 Reply Last reply Reply Quote 0
                                  • provelsP
                                    provels @jt
                                    last edited by provels

                                    @jt So your Key is a 16 char mixed-case alpha-numeric something like this?
                                    dkhLGtU8fBz3v1nN
                                    If so, I'd suggest getting a new Key.

                                    Peder

                                    MAIN - pfSense+ 24.11-RELEASE - Adlink MXE-5401, i7, 16 GB RAM, 64 GB SSD. 500 GB HDD for SyslogNG
                                    BACKUP - pfSense+ 23.01-RELEASE - Hyper-V Virtual Machine, Gen 1, 2 v-CPUs, 3 GB RAM, 8GB VHDX (Dynamic)

                                    1 Reply Last reply Reply Quote 0
                                    • J
                                      jt
                                      last edited by

                                      @provels yes, 16char mixed case alpha-numeric.
                                      i did exactly that today - got a new key. same result.
                                      funnily enough, out of 4 pfsense boxes we run, just a single one started to ask for the license.. :/

                                      provelsP S 2 Replies Last reply Reply Quote 0
                                      • provelsP
                                        provels @jt
                                        last edited by

                                        @jt Maybe do a reinstall of the package. I've got nothing else.

                                        Peder

                                        MAIN - pfSense+ 24.11-RELEASE - Adlink MXE-5401, i7, 16 GB RAM, 64 GB SSD. 500 GB HDD for SyslogNG
                                        BACKUP - pfSense+ 23.01-RELEASE - Hyper-V Virtual Machine, Gen 1, 2 v-CPUs, 3 GB RAM, 8GB VHDX (Dynamic)

                                        1 Reply Last reply Reply Quote 0
                                        • S
                                          SteveITS Galactic Empire @jt
                                          last edited by

                                          @jt What you describe sounds a bit like what I posted except my key disappeared overnight, and we got the notification on the update. Do you have the cron update set to run hourly maybe? Ours was daily.
                                          I "solved" it by moving to pfBlockerNG-devel. (used the same key)

                                          Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                                          When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                                          Upvote πŸ‘ helpful posts!

                                          N 1 Reply Last reply Reply Quote 0
                                          • N
                                            nafeasonto @SteveITS
                                            last edited by

                                            I updated pfblockerng but where do put the key??

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