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

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

pfBlockerNG
31
105
78.3k
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.
  • J
    jan.kerstan @jdeloach
    last edited by Jan 7, 2020, 12:36 PM

    @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
    • S
      stephenw10 Netgate Administrator
      last edited by stephenw10 Jan 7, 2020, 2:42 PM Jan 7, 2020, 2:42 PM

      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 Jan 8, 2020, 11:18 AM

        @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

        F 1 Reply Last reply Jan 8, 2020, 12:44 PM Reply Quote 0
        • F
          fireodo @bjurkovski
          last edited by Jan 8, 2020, 12:44 PM

          @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.7.2 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 Jan 8, 2020, 8:45 PM Jan 8, 2020, 3:31 PM

            @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 Jan 12, 2020, 11:03 AM

              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

              B 1 Reply Last reply Jan 12, 2020, 1:29 PM Reply Quote 0
              • B
                BBcan177 Moderator @MarcO42
                last edited by Jan 12, 2020, 1:29 PM

                @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 Jan 13, 2020, 5:59 AM

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

                  S 1 Reply Last reply Jan 13, 2020, 6:59 AM Reply Quote 0
                  • S
                    Sergei_Shablovsky @christopa1999
                    last edited by Jan 13, 2020, 6:59 AM

                    @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 Jan 17, 2020, 5:10 PM

                      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?

                      P B 2 Replies Last reply Jan 17, 2020, 5:15 PM Reply Quote 0
                      • P
                        provels @jt
                        last edited by Jan 17, 2020, 5:15 PM

                        @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
                        • B
                          BBcan177 Moderator @jt
                          last edited by Jan 17, 2020, 6:50 PM

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

                          P 1 Reply Last reply Jan 17, 2020, 8:28 PM Reply Quote 0
                          • P
                            provels @BBcan177
                            last edited by Jan 17, 2020, 8:28 PM

                            @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 Jan 17, 2020, 9:44 PM

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

                              P 1 Reply Last reply Jan 17, 2020, 11:29 PM Reply Quote 0
                              • P
                                provels @jt
                                last edited by provels Jan 17, 2020, 11:31 PM Jan 17, 2020, 11:29 PM

                                @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 Jan 17, 2020, 11:33 PM

                                  @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.. :/

                                  P S 2 Replies Last reply Jan 17, 2020, 11:35 PM Reply Quote 0
                                  • P
                                    provels @jt
                                    last edited by Jan 17, 2020, 11:35 PM

                                    @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 Jan 18, 2020, 4:02 AM

                                      @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 Jan 19, 2020, 9:24 AM Reply Quote 0
                                      • N
                                        nafeasonto @SteveITS
                                        last edited by Jan 19, 2020, 9:24 AM

                                        I updated pfblockerng but where do put the key??

                                        P 1 Reply Last reply Jan 19, 2020, 10:46 AM Reply Quote 0
                                        • P
                                          provels @nafeasonto
                                          last edited by Jan 19, 2020, 10:46 AM

                                          @nafeasonto Firewall/pfBlockerNG/IP/MaxMind GeoIP configuration/MaxMind License 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
                                          41 out of 105
                                          • First post
                                            41/105
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.