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

    Country Block

    Scheduled Pinned Locked Moved pfSense Packages
    691 Posts 79 Posters 763.1k 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.
    • T
      tommyboy180
      last edited by

      Hey Supermule,
      I think you grabbed the update a little to fast. When I updated the package two files were not uploaded right away. Completely uninstall the package and re-install it for me please.

      I think you will be pleased.

      -Tom Schaefer
      SuperMicro 1U 2X Intel pro/1000 Dual Core Intel 2.2 Ghz - 2 Gig RAM

      Please support pfBlocker | File Browser | Strikeback

      1 Reply Last reply Reply Quote 0
      • D
        DigitalJer
        last edited by

        Looking great tommyboy180!

        ty :)

        –------------------------------------------------
        2.4.3-RELEASE (amd64)
        built on Mon Mar 26 18:02:04 CDT 2018
        FreeBSD 11.1-RELEASE-p7
        VM in ESXi 5.5
        1 x 1000baseTX (WAN)
        1 x 1000baseTX (LAN)

        1 Reply Last reply Reply Quote 0
        • chpalmerC
          chpalmer
          last edited by

          /tmp/rules.debug:90: cannot load "/usr/local/www/packages/countryblock/countries-white.txt": No such file or directory  still here…

          Triggering snowflakes one by one..
          Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

          1 Reply Last reply Reply Quote 0
          • T
            tommyboy180
            last edited by

            Uninstall package, Reboot box, reinstall package and enjoy.

            -Tom Schaefer
            SuperMicro 1U 2X Intel pro/1000 Dual Core Intel 2.2 Ghz - 2 Gig RAM

            Please support pfBlocker | File Browser | Strikeback

            1 Reply Last reply Reply Quote 0
            • S
              Supermule Banned
              last edited by

              Still there….........

              Current Status = NOT running
              /tmp/rules.debug:112: cannot load "/usr/local/www/packages/countryblock/countries-white.txt": No such file or directory

              :-\

              1 Reply Last reply Reply Quote 0
              • S
                Supermule Banned
                last edited by

                But after I click the whitelist icon, do nothing and then returns to the "main" page, it works…....:?

                1 Reply Last reply Reply Quote 0
                • T
                  tommyboy180
                  last edited by

                  I have tested and tested today. I can't replicate your issue.

                  I started on a fresh install and everything is fine. I tested on Beta 2 and 1.2.3.

                  -Tom Schaefer
                  SuperMicro 1U 2X Intel pro/1000 Dual Core Intel 2.2 Ghz - 2 Gig RAM

                  Please support pfBlocker | File Browser | Strikeback

                  1 Reply Last reply Reply Quote 0
                  • S
                    Supermule Banned
                    last edited by

                    Does it create the whitelist pr default or is it allready in the package before it starts?

                    1 Reply Last reply Reply Quote 0
                    • T
                      tommyboy180
                      last edited by

                      It touches it so the file is created when the package is installed.

                      -Tom Schaefer
                      SuperMicro 1U 2X Intel pro/1000 Dual Core Intel 2.2 Ghz - 2 Gig RAM

                      Please support pfBlocker | File Browser | Strikeback

                      1 Reply Last reply Reply Quote 0
                      • S
                        Supermule Banned
                        last edited by

                        Can you verify that it actually does that??

                        I had to do it manually.

                        1 Reply Last reply Reply Quote 0
                        • D
                          DigitalJer
                          last edited by

                          I had the same error, and persistence paid off.  I don't recall if it started working after a reboot, or 'Commit Countries" did it, but keep trying…  Not very helpful, I know :(  ...but in the end it's OK.

                          –------------------------------------------------
                          2.4.3-RELEASE (amd64)
                          built on Mon Mar 26 18:02:04 CDT 2018
                          FreeBSD 11.1-RELEASE-p7
                          VM in ESXi 5.5
                          1 x 1000baseTX (WAN)
                          1 x 1000baseTX (LAN)

                          1 Reply Last reply Reply Quote 0
                          • chpalmerC
                            chpalmer
                            last edited by

                            @DigitalJer:

                            I had the same error, and persistence paid off.  I don't recall if it started working after a reboot, or 'Commit Countries" did it, but keep trying…  Not very helpful, I know :(  ...but in the end it's OK.

                            I clicked through the "whitelist" and was finally able to make it work.

                            :)

                            Triggering snowflakes one by one..
                            Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

                            1 Reply Last reply Reply Quote 0
                            • ?
                              Guest
                              last edited by

                              After I updated everything worked fine. I added some entries to the whitelist and then removed them latter. I could not get the package to start again after that. I removed the package numerous times and rebooted, and contuniued to get the same error as everyone is listing. I finally added those IP's back to the whitelist and I was able to get it to start up again.

                              I believe you can reproduce this issue by installing the package.

                              Adding some IP's to the white list.

                              Remove the IP's

                              Uninstall the package

                              Then reinstall it.

                              1 Reply Last reply Reply Quote 0
                              • T
                                tommyboy180
                                last edited by

                                Darklogic82,

                                That helped me locate the issue.
                                I have found the fix for this. And will be updating the package here shortly. Thank you.

                                -Tom Schaefer
                                SuperMicro 1U 2X Intel pro/1000 Dual Core Intel 2.2 Ghz - 2 Gig RAM

                                Please support pfBlocker | File Browser | Strikeback

                                1 Reply Last reply Reply Quote 0
                                • S
                                  Supermule Banned
                                  last edited by

                                  ;)

                                  1 Reply Last reply Reply Quote 0
                                  • T
                                    tommyboy180
                                    last edited by

                                    Update pushed.

                                    Uninstall, and re-install please.

                                    -Tom Schaefer
                                    SuperMicro 1U 2X Intel pro/1000 Dual Core Intel 2.2 Ghz - 2 Gig RAM

                                    Please support pfBlocker | File Browser | Strikeback

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

                                      I all of a sudden keep getting the error:

                                      /tmp/rules.debug:115: cannot load "/usr/local/www/packages/ipblocklist/lists/ipfw.ipfw": No such file or directory

                                      Any ideas?  This started, possibly coincidentally, after trying to enable both the country and the ip blocklists simultaneously.

                                      EDIT: Well I kind of answered my own question.  When I removed all the .gz links from within ip-blocklist then all of a sudden the country block loaded just fine.  Is it possible to have both on at the same time, or for some reason not a good idea?

                                      1 Reply Last reply Reply Quote 0
                                      • T
                                        tommyboy180
                                        last edited by

                                        They are both designed to work together if both are installed. I run both packages without a problem.

                                        I know the error you pasted. I have gotten that error many time myself. Disabling IP-blocklist and re-enabling it usually helps.

                                        -Tom Schaefer
                                        SuperMicro 1U 2X Intel pro/1000 Dual Core Intel 2.2 Ghz - 2 Gig RAM

                                        Please support pfBlocker | File Browser | Strikeback

                                        1 Reply Last reply Reply Quote 0
                                        • S
                                          Supermule Banned
                                          last edited by

                                          Done :) No errors!

                                          1 Reply Last reply Reply Quote 0
                                          • ?
                                            Guest
                                            last edited by

                                            So far seems to be working good. Also thanks for the whitelist feature. That really helps me a lot.

                                            One other thing or request if you ever get free time to do so, I was wondering if you could make a log section that would either dump to the firewall log or maybe just within the package itself that would show the IP's that are being blocking by specificly the Country Block package?

                                            Currently I don't believe the blocks show up in the firewall logs for either a block or whitelist pass.

                                            Then down the road maybe the logging could generate reports on the CIDRS and pin-point a list of attacks and blocks from the countries and the IP's they belong to.

                                            Thanks for all your hard work on this package. As far as running the IP-Block and Country Block together, all seems to work well.

                                            Again Thanks,

                                            Matt

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