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

    ip2location as alternative for MaxMind databases

    pfBlockerNG
    geolocation gdpr ccpa deo ip
    14
    35
    7.4k
    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.
    • P
      pftdm007 @provels
      last edited by

      @provels

      Thanks for the suggestions, but I cannot be the only one using pfblockerNG and not wanting to enroll in Maxmind's commercial scheme?

      Additionally, I understand the GeoIP updates are probably managed via CRON, and I do have the package installed, but I generally try to avoid modifying core system settings like that in case I mess up. One would think that setting the "List Action" to disabled in GeoIP's tab would disable GeoIP but I imagine its not the case.

      Is GeoIP built-in to pfblockerng??

      Finally, I dont understand what's going on with this GeoIP stuff. I never added a license key, yet after several pfblockerng updates and even a firewall reboot, traffic is still blocked by GeoIP rules (I see the alerts in the alerts tab). For example:

      44649a34-31fe-48b4-b6fa-bd82c33f7bb5-image.png

      Additionally, on the main firewall page, I still see the lists:
      249609d9-c576-4e20-8b9c-2830adeba510-image.png

      Is it because pfblockerng is still using old aliases from the last successful GeoIP update?

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

        1. The Maxmind key is free, so I don't get what the problem is. Use fake info and a throwaway email address.
        2. You can disable the cron task by simply editing the command, adding a leading "# " and saving.
        3. Yes, it's built into pfB.
        4. The GeoIP data only updates the first Tuesday of the month and pfB only updates once the following Thursday, at least that's how I understand it. Your December data is still in place.

        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)

        dotdashD 1 Reply Last reply Reply Quote 0
        • dotdashD
          dotdash @provels
          last edited by

          @provels said in ip2location as alternative for MaxMind databases:

          1. The Maxmind key is free, so I don't get what the problem is. Use fake info and a throwaway email address.

          Aside from the fact that using fake info violates their TOS, I think the concern the OP brings up is- what is to prevent bad actors from removing themselves from the list due to 'privacy reasons' and thereby rendering the list basically useless?
          My understanding is that the alternative lists he mentioned will not be removing addresses due to user requests.

          J 1 Reply Last reply Reply Quote 1
          • johnpozJ
            johnpoz LAYER 8 Global Moderator
            last edited by johnpoz

            I think the whole thing stinks of company taking a privacy law and trying to monetize it to be honest.

            I could see a concern when the IP pointed to your specific address or something. But the vast majority of IPs are just IPs handed to a user from their ISP.. That the geoip for the IP says its from country X, or state Y or even city Z... is some violation of your privacy is just freaking nuts..

            What happens when isp having say range 1.2.3/24 located in US hands user A 1.2.3.100, and user B 1.2.3.101

            And user B says hey - don't list my .101 address.. But user A doesn't care and maybe even wants his IP listed..

            How do you remove .101 and not all of 1.2.3/24 for starters? Are you going to have specific entries for every single IP? even if you remove .101, pretty clear that 1.2.3/24 is used in the US.. Do you have to remove the whole freaking 1/8??

            And what happens when the next day user B gets .100, or .102?

            The whole thing is just not viable!!

            Seems more like they just want an excuse to get info from the people that are using their so called "free" list..

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.7.2, 24.11

            1 Reply Last reply Reply Quote 2
            • P
              pftdm007
              last edited by pftdm007

              This is becoming an interesting conversation, I didnt expect that!

              @dotdash said in ip2location as alternative for MaxMind databases:

              Aside from the fact that using fake info violates their TOS

              Exactly my point. I am tired of entering my personal info all over the web just to get "free stuff". Once you enter your info, good luck removing it from their services. Most of them dont even allow deleting or closing an account and they retain your data pretty much forever just to be the victim of the next data breach, and sell it to the highest bidder. Over the years I have had to enter personal info (email, phone number, etc) just to be able to register to forums, services, etc, only to later find out that ther are NO possibility of deleting your account or information. Basically a spider web. Once caught, its too late. They are asking for real info (not throwaway email or etc) proving my point.

              Maxmind is no different IMO. Countless "free" services I have seen moving from totally free (here's the data, grab it as you wish) to "oh now you have to create an account and enter your personal info", to "sorry this is now commercial and you will have to pay to continue using it". I may be wrong, but I am 99% sure Maxmind is headed this way and soon enough, pfblocker's devs will have to recode it to accept other sources or provide the posibility to disable it entirely. I believe this should have been like that since the beginning.

              @dotdash said in ip2location as alternative for MaxMind databases:

              I think the concern the OP brings up is- what is to prevent bad actors from removing themselves from the list due to 'privacy reasons' and thereby rendering the list basically useless?

              This is another very good point, and I didnt think about that until now!

              @johnpoz said in ip2location as alternative for MaxMind databases:

              I think the whole thing stinks of company taking a privacy law and trying to monetize it to be honest.

              Agreed 10,000%

              @johnpoz said in ip2location as alternative for MaxMind databases:

              Seems more like they just want an excuse to get info from the people that are using their so called "free" list..

              They're all doing this now. Hell even Imgur requires an account now with a freaking phone number!!! What's next?

              For now I'm just gonna "disable" the cron job until this situation ghets cleaned up (possibility or entirely disabling GeoIP from pfblocker, or another GeoIP supplier is available and reliable (like OP of this thread suggested)).

              EDIT: A quick look at Maxmind's terms of services for their GeoLite2 service and Privacy Policy

              FEES.
              The Services are made available to you free of charge. MaxMind reserves the right to stop offering the Services free of charge at any time, and charge for future updates to the Services.

              Vendors and Other Parties
              We may share your information with vendors and other parties for purposes of providing you with tailored advertisements, measuring and improving our Service and advertising effectiveness, and enabling other enhancements. Vendors may act as our service providers, or in certain contexts, independently decide how to process your information.

              1 Reply Last reply Reply Quote 2
              • J
                jdeloach @dotdash
                last edited by

                @dotdash said in ip2location as alternative for MaxMind databases:

                @provels said in ip2location as alternative for MaxMind databases:

                1. The Maxmind key is free, so I don't get what the problem is. Use fake info and a throwaway email address.

                @BBcan177 has already stated that Maxmind will not accept throwaway email addresses as a valid email address. He also stated that one probably cannot get a license if they are going through a VPN. I myself found out that I could not get a license when my ipv6 he.net account was enabled because it was hiding my real IP address. I had to disable my ipv6 account with he.net to signup for a license and then re-enable it after they issued me a license. It now works fine with ipv6 he.net enabled with the license they issued.

                Aside from the fact that using fake info violates their TOS, I think the concern the OP brings up is- what is to prevent bad actors from removing themselves from the list due to 'privacy reasons' and thereby rendering the list basically useless?
                My understanding is that the alternative lists he mentioned will not be removing addresses due to user requests.

                I think folks just need to get over it and get the FREE license that they are offering. Who is to say that these other companies that are saying they won't comply with the California law, don't next week, next month, etc. don't start requiring users get a license to use their database. All it takes is some rich, happy go lucky, lawyer sends them a cease and desist letter stating that they have to comply with this new law or shut down.

                Then look at the maintainers of these software packages having to make changes for each of the databases. If I remember, @bmeeks85, stated that Suricata will also require users to get license if they use the geoip feature in that software package. It sounded like he was going to leave it up to the users to mod the software themselves instead of him releasing a new package with this added feature for the license.

                The bottom line is as I see it, just get the license if you want to use the software package or don't use the software package. The world is changing by the hour and not all for the better, life is too short to let something like this worry you.

                provelsP Sergei_ShablovskyS bmeeksB 3 Replies Last reply Reply Quote 1
                • P
                  pftdm007
                  last edited by pftdm007

                  A quick look at Maxmind's terms of services for their GeoLite2 service and Privacy Policy

                  FEES.
                  The Services are made available to you free of charge. MaxMind reserves the right to stop offering the Services free of charge at any time, and charge for future updates to the Services.

                  Vendors and Other Parties
                  We may share your information with vendors and other parties for purposes of providing you with tailored advertisements, measuring and improving our Service and advertising effectiveness, and enabling other enhancements. Vendors may act as our service providers, or in certain contexts, independently decide how to process your information.

                  (Sorry for entering this info at two places, the forum is acting again with "Error Post content was flagged as spam by Akismet.com") Not sure why this happens but its a MAJOR PITA

                  J 1 Reply Last reply Reply Quote 1
                  • J
                    jdeloach @pftdm007
                    last edited by

                    @pftdm007 said in ip2location as alternative for MaxMind databases:

                    A quick look at Maxmind's terms of services for their GeoLite2 service and Privacy Policy

                    FEES.
                    The Services are made available to you free of charge. MaxMind reserves the right to stop offering the Services free of charge at any time, and charge for future updates to the Services.

                    Vendors and Other Parties
                    We may share your information with vendors and other parties for purposes of providing you with tailored advertisements, measuring and improving our Service and advertising effectiveness, and enabling other enhancements. Vendors may act as our service providers, or in certain contexts, independently decide how to process your information.

                    This is pretty much standard TOS in all software. Nothing new here.

                    1 Reply Last reply Reply Quote 0
                    • NogBadTheBadN
                      NogBadTheBad
                      last edited by

                      The data is only Country & ASN anyhow isn't it?

                      It's not their data they have just collected it from elsewhere.

                      Andy

                      1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

                      J 1 Reply Last reply Reply Quote 0
                      • J
                        jdeloach @NogBadTheBad
                        last edited by

                        @NogBadTheBad said in ip2location as alternative for MaxMind databases:

                        The data is only Country & ASN anyhow isn't it?

                        It's not their data they have just collected it from elsewhere.

                        ... and as @johnpoz has stated in numerous messages, this database is not that accurate any way. It contains numerous mistakes and will only get worse as the IPv4 address shortage continues.

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

                          @jdeloach said in ip2location as alternative for MaxMind databases:

                          FREE

                          That's the keyword. Create a Gmail address, get the key, never check the email account again. It's not like pfB is phoning home...

                          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)

                          K 1 Reply Last reply Reply Quote 0
                          • johnpozJ
                            johnpoz LAYER 8 Global Moderator
                            last edited by

                            This whole thing is nonsense... And while I am all for privacy - you can not take it to this level and not expect nonsense..

                            The part where they say they will "remove" it from their database is BS plain and simple... And their use of the IP in saying where in the world it is from from a geographic high level has zero to do with personal privacy...

                            You can not remove subset of a list, without removing the whole list when used in such a way...

                            An intelligent man is sometimes forced to be drunk to spend time with his fools
                            If you get confused: Listen to the Music Play
                            Please don't Chat/PM me for help, unless mod related
                            SG-4860 24.11 | Lab VMs 2.7.2, 24.11

                            1 Reply Last reply Reply Quote 0
                            • K
                              Klingon00 @provels
                              last edited by

                              @provels said in ip2location as alternative for MaxMind databases:

                              That's the keyword. Create a Gmail address, get the key, never check the email account again. It's not like pfB is phoning home...

                              Well, I did just that a couple of days ago and haven't heard anything back. Also note that they state I must use an e-mail address that includes my domain name. I don't have a domain name nor do I wish to run an e-mail service off it (if I had one) just to sign up for a free account so I can use unrelated features of pfBlocker without being nagged constantly about needing a license key.

                              There really needs to be a way to turn off this constant nag alert if we choose not to use MaxMind's service or at least an alternative database that we can use.

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

                                @Klingon00 FWIW, I used a Hotmail.com (a domain) address, got a confirmation email, and had my key in a few minutes. Did you happen to try what I suggested earlier, to whit: "Maybe you can make up a dummy key? It's a 16 character mixed case alphanumeric. And disable the cron task so it doesn't throw authentication errors."

                                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
                                • P
                                  pftdm007
                                  last edited by

                                  FYI I just entered a dummy string in the license key field and the notification stopped. Problem solved as far as I am concerned!

                                  BBcan177B 1 Reply Last reply Reply Quote 1
                                  • Sergei_ShablovskyS
                                    Sergei_Shablovsky @jdeloach
                                    last edited by

                                    @jdeloach said in ip2location as alternative for MaxMind databases:

                                    The bottom line is as I see it, just get the license if you want to use the software package or don't use the software package. The world is changing by the hour and not all for the better, life is too short to let something like this worry you.

                                    World are step forward to new "whole transparence". We all need to understanding that current governments in EU, companies in USA, anyone has no idea how we may manage and live in this "new whole transparence". And need to study. And on this way we all able to doing mistakes.
                                    Especially, if a lot of authorities/dictators countries exists, transnational corporation exist, local ethnic conflict exist. IT-related crimes is dramatically less amount to compare to attacks from one country to another.

                                    —
                                    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
                                    • BBcan177B
                                      BBcan177 Moderator @pftdm007
                                      last edited by

                                      @pftdm007

                                      If you leave a dummy MaxMind key, it will attempt to download the MaxMind databases on a monthly basis and error out.

                                      When there are no GeoIP aliases or IPv4/6 "GeoIP" aliases enabled. Then you should be able to leave the MaxMind key blank and not get any dashboard notifications about it. The cron task will still be there, and it will run once per month and terminate early as there is no MaxMind key.

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

                                      K 1 Reply Last reply Reply Quote 1
                                      • K
                                        Klingon00 @BBcan177
                                        last edited by

                                        @BBcan177

                                        Thank you, I had gone through and de-selected all locations but was still getting mercilessly nagged until I went through and changed each category's list action to "Disabled". I haven't seen a nag message for several hours now.

                                        1 Reply Last reply Reply Quote 0
                                        • bmeeksB
                                          bmeeks @jdeloach
                                          last edited by bmeeks

                                          @jdeloach said in ip2location as alternative for MaxMind databases:

                                          Then look at the maintainers of these software packages having to make changes for each of the databases. If I remember, @bmeeks85, stated that Suricata will also require users to get license if they use the geoip feature in that software package. It sounded like he was going to leave it up to the users to mod the software themselves instead of him releasing a new package with this added feature for the license.

                                          The next Suricata GUI package update (pull request posted now for review and merging) will allow the user to enter a MaxMind DB key in order to continue using the GeoIP blocking features of Suricata. The new "default state" for the GeoIP DB download will move from "enabled" to "disabled". You will need to manually enter your MaxMind license key on the GLOBAL SETTINGS tab and click the Enable checkbox in order to use the GeoIP feature in Suricata. When enabled, the package will create a crontab task that checks once per week, on Sundays at 0600, for updated GeoIP databases.

                                          1 Reply Last reply Reply Quote 0
                                          • C
                                            christopa1999
                                            last edited by

                                            I would like to see the support for IP2Location database in pfSense.

                                            How can we make it works?

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