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

    pfBlockerNG-devel v2.2.5_28 > IP > Reputation: I get .../pfblockerng/pfblockerng_reputation.php 404 not found

    Scheduled Pinned Locked Moved pfBlockerNG
    26 Posts 4 Posters 5.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.
    • BBcan177B
      BBcan177 Moderator @nzkiwi68
      last edited by

      @nzkiwi68
      Only other thing I can suggest is that Maxmind is blocking your wan ip. Are you going out of a vpn connection? Try without.

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

      nzkiwi68N 1 Reply Last reply Reply Quote 0
      • nzkiwi68N
        nzkiwi68 @BBcan177
        last edited by

        @BBcan177 No VPN

        It was working on the old SG-4860 HA cluster, I'm sure if I plugged them back in, it would work.
        Can you give me a cmd I can run in the shell that should download the DB?
        I can modify the code you give me and put in my token...

        I expect that will work and prove there's something amiss with this pfBlocker installation

        1 Reply Last reply Reply Quote 0
        • nzkiwi68N
          nzkiwi68
          last edited by

          Could it be a rights permission for the local directory where pfBlockerNG tried to save the Geolite2 DB files?

          1 Reply Last reply Reply Quote 0
          • nzkiwi68N
            nzkiwi68
            last edited by

            I can ping dev.maxmind.com...

            1 Reply Last reply Reply Quote 0
            • nzkiwi68N
              nzkiwi68
              last edited by

              I think MaxMind may have changed everything and broken pfBlocker.

              After logging onto the MaxMind, reading their blog on how to directly download;
              https://dev.maxmind.com/geoip/geoipupdate/#Direct_Downloads

              I create the following URL;
              https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-country&license_key=XXXXXXXXX&suffix=tar.gz

              Where XXXXX is my token / key, but it won't won't download using a browser.

              RonpfSR BBcan177B 2 Replies Last reply Reply Quote 0
              • RonpfSR
                RonpfS @nzkiwi68
                last edited by

                @nzkiwi68 said in pfBlockerNG-devel v2.2.5_28 > IP > Reputation: I get .../pfblockerng/pfblockerng_reputation.php 404 not found:

                I think MaxMind may have changed everything and broken pfBlocker.

                After logging onto the MaxMind, reading their blog on how to directly download;
                https://dev.maxmind.com/geoip/geoipupdate/#Direct_Downloads

                I create the following URL;
                https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-country&license_key=XXXXXXXXX&suffix=tar.gz

                Where XXXXX is my token / key, but it won't won't download using a browser.

                I get : "Database edition not found" in FireFox.

                2.4.5-RELEASE-p1 (amd64)
                Intel Core2 Quad CPU Q8400 @ 2.66GHz 8GB
                Backup 0.5_5, Bandwidthd 0.7.4_4, Cron 0.3.7_5, pfBlockerNG-devel 3.0.0_16, Status_Traffic_Totals 2.3.1_1, System_Patches 1.2_5

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

                  @nzkiwi68

                  The URLs that pfBlockerNG uses are here for the MaxMind databases:
                  https://github.com/pfsense/FreeBSD-ports/blob/devel/net/pfSense-pkg-pfBlockerNG-devel/files/usr/local/www/pfblockerng/pfblockerng.php#L70-L84

                  You can see from your screenshots/posts that it connects to MaxMind and gets "Authorization denied"... So its something on MaxMinds side blocking or rate-limiting you. If you attempt too many downloads in one day than that could block your WAN IP. There is no posted literature on the MaxMind website that indicates their limiting details.

                  You can try to change your WAN IP if its dynamic and see if that helps. Also login to your MaxMind Account and see the Download History to see how many downloads you completed today.

                  Other than that, I would contact MaxMind and see what their support has to say. I don't see any issues with the package from the details that you have posted here.

                  If it is MaxMind blocking you, then you might need to wait 24 hours. Alternatively download the files from another site and copy them to the /usr/local/share/GeoIP folder and run this command to extract them:

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

                  "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
                  • nzkiwi68N
                    nzkiwi68
                    last edited by

                    Fixed!!!

                    Oh my goodness, a bit embarrassing, but, in the interests of helping everyone (at my own expense <grin>) the issue is;

                    I was using the TOKEN you get when you sign up for MaxMind and didn't go off and generate an a proper actual LICENSE KEY!

                    That's may bad...

                    This test URL is good for seeing if it works...
                    https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-country&license_key=XXXXXXXXX&suffix=tar.gz

                    Replace XXXX with your license key that you get inside MaxMind when you generate it!

                    5fcb4164-735c-4c93-9b1e-6935b4dcebe9-image.png

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

                      Also confirm that you used the correct MaxMind Key generation as the other Key types will not work.

                      Enter a "License key description", Select "yes" for "GeoIP Update", and select the License key for "version 3.1.1 or newer" and confirm.

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

                      nzkiwi68N 1 Reply Last reply Reply Quote 1
                      • nzkiwi68N
                        nzkiwi68
                        last edited by

                        The reason I got caught, is I setup a bunch of other sites and put into their pfBlockerNG their new MaxMind token (wrong!!!) by mistake.

                        They all seemed to work, because, they already had a copy of the GeoIP DB downloaded. In reality they won't actually work when they go and try and update...

                        Now, this site, with the firewall hardware change was all new, no existing DB and couldn't download the DB at all, hence the problem with using the token (wrong) instead of generating and using the license key caught me out....

                        1 Reply Last reply Reply Quote 0
                        • nzkiwi68N
                          nzkiwi68 @BBcan177
                          last edited by

                          @BBcan177 Thanks for your help.

                          Sorry I have wasted your time.

                          lastly, pfBlockerNG is amazing. It just makes pfSense so much more powerful as a great firewall solution.

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