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

    Country Block

    Scheduled Pinned Locked Moved pfSense Packages
    691 Posts 79 Posters 715.8k 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

      @robfantini:

      @tommyboy180:

      The SMTP Auth, SMTP Security, and Use HTML Drop down lists display the default values regardless of your settings. This is a bug, so just be aware that it may be displayed as one thing but it's another. This will be fixed soon now that it's identified.
      I will also fix it so the password field will be black and the subject input will reflect on your emails.

      you know it would be great if you contributed around here a little faster ;-)

      Sorry it's almost been 24 hours since my last version release.
      With that being said….. :)

      Version 1.9 Released!

      Changes:

      • Fixed all email bugs (see robfantini's post)

      The drop down lists now reflect your saved settings. The password can be blank. Your subject input is now the email subject as it should be.

      1.9.jpg
      1.9.jpg_thumb

      -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
      • K
        kilthro
        last edited by

        all i can say is WOW!

        The fastest updates I have ever seen lol..
        Thanks again!!! This package has made pfsense awesome!

        1 Reply Last reply Reply Quote 0
        • R
          robfantini
          last edited by

          @kilthro:

          all i can say is WOW!

          The fastest updates I have ever seen lol..
          Thanks again!!! This package has made pfsense awesome!

          OK you might want to edit that.

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

            Ive noticed since uninstalling cron that I have fewer system log entry's than I had before daily before installing cron…   Just including this to say that something that was updating is no longer and may be something that was stopping Country Block before.....    Interesting...

            But...

            Awsome Job Tom!    Thank You!

            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

              @chpalmer:

              Ive noticed since uninstalling cron that I have fewer system log entry's than I had before daily before installing cron…   Just including this to say that something that was updating is no longer and may be something that was stopping Country Block before.....    Interesting...

              But...

              Awsome Job Tom!    Thank You!

              Even with the new cron script that was updated back at version 1.8?
              And thank you for your support!

              -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
              • K
                kilthro
                last edited by

                @robfantini:

                @kilthro:

                all i can say is WOW!

                The fastest updates I have ever seen lol..
                Thanks again!!! This package has made pfsense awesome!

                OK you might want to edit that.

                Well pfsense is awesome already and the supporting people that keep it top notch make it better than anything else in the league. This package has made it even better for me. It is something that I was looking for that nothing else would offer for me. Well, within a reasonable price that I could afford that is.  So to get continued updates/modifications ect is awesome. Even with paid software I havent seen this quick of a turn around when things are identified.

                1 Reply Last reply Reply Quote 0
                • R
                  robfantini
                  last edited by

                  @kilthro:

                  @robfantini:

                  @kilthro:

                  all i can say is WOW!

                  The fastest updates I have ever seen lol..
                  Thanks again!!! This package has made pfsense awesome!

                  OK you might want to edit that.

                  Well pfsense is awesome already and the supporting people that keep it top notch make it better than anything else in the league. This package has made it even better for me. It is something that I was looking for that nothing else would offer for me. Well, within a reasonable price that I could afford that is.  So to get continued updates/modifications ect is awesome. Even with paid software I havent seen this quick of a turn around when things are identified.

                  I agree , and you know my comment was an almost failed attempt at humor.

                  Seriously CB  is something I was  waiting  for , it has cut our mail server's work load 90% .

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

                    Way to go TB on the CB. Your updates have been fast and great with awsome enhancements. I do have a request. Is there a way to maintain your saved settings after doing updates. I will always have to put the CIDR back in my whitelist. I whitelist all the BlackBerry RIM IP's and was wondering if there was a way to maintain youe whitelist in between updates?

                    Thanks again for this awsome package. I do agree it really adds a lot of value to pfsense. Not many firewalls out there that I know of can do this. And please if anyone can think of another firewall that has the ability to do this, please tell.

                    Thanks,

                    Matt

                    1 Reply Last reply Reply Quote 0
                    • K
                      kilthro
                      last edited by

                      @robfantini:

                      @kilthro:

                      @robfantini:

                      @kilthro:

                      all i can say is WOW!

                      The fastest updates I have ever seen lol..
                      Thanks again!!! This package has made pfsense awesome!

                      OK you might want to edit that.

                      Well pfsense is awesome already and the supporting people that keep it top notch make it better than anything else in the league. This package has made it even better for me. It is something that I was looking for that nothing else would offer for me. Well, within a reasonable price that I could afford that is.  So to get continued updates/modifications ect is awesome. Even with paid software I havent seen this quick of a turn around when things are identified.

                      I agree , and you know my comment was an almost failed attempt at humor.

                      Seriously CB  is something I was  waiting   for , it has cut our mail server's work load 90% .

                      lol I got it. Just wanted to give ppl some kudos lol  ;D

                      1 Reply Last reply Reply Quote 0
                      • deltaendD
                        deltaend
                        last edited by

                        TB, once again, you have my thanks!

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

                          @deltaend:

                          TB, once again, you have my thanks!

                          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
                          • T
                            tommyboy180
                            last edited by

                            @darklogic:

                            Way to go TB on the CB. Your updates have been fast and great with awsome enhancements. I do have a request. Is there a way to maintain your saved settings after doing updates. I will always have to put the CIDR back in my whitelist. I whitelist all the BlackBerry RIM IP's and was wondering if there was a way to maintain youe whitelist in between updates?

                            Thanks again for this awsome package. I do agree it really adds a lot of value to pfsense. Not many firewalls out there that I know of can do this. And please if anyone can think of another firewall that has the ability to do this, please tell.

                            Thanks,

                            Matt

                            The file that holds your whitelist settings is /usr/local/www/packages/countryblock/whitelist.txt  You can save that file and re-upload it after your updates to preserve your settings.
                            Thank you for your support!

                            -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

                              No updates for 48 hours? Hope your all right ;)

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

                                LOL. Yeah he has been pumping the updates out like crazy. This last update seems to be rock solid for me. Also Tommy, I appreciate the insight on the whitelist.

                                Thanks,

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

                                  @darklogic:

                                  LOL. Yeah he has been pumping the updates out like crazy. This last update seems to be rock solid for me. Also Tommy, I appreciate the insight on the whitelist.

                                  Thanks,

                                  Thank you for the support! I don't think I will be pushing any countryblock updates in the near future. I need fix some other projects for the mean time and hopefully get some IPblocklist updates out there.

                                  -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
                                  • K
                                    kilthro
                                    last edited by

                                    TB,

                                    With the most recent package I am having a problem when I reboot the firewall.  I am on the most current beta as well as of today.

                                    When I reboot, country block will not be running even though the enable country block is checked at the top.

                                    If I click save at the bottom and it refreshes no change. Still blocking 0 networks. Then I uncheck save then recheck and save same thing.
                                    I do have a cron job set of it and when checking the sys logs I see this error.

                                    php: /packages/countryblock/countryblock.php: The command 'sh execute.sh' returned exit code '2', the output was '0 table deleted. sed: /tmp/rules.debug: No such file or directory grep: /tmp/rules.debug: No such file or directory grep: /tmp/rules.debug: No such file or directory 1 1 rm: /tmp/rules.debug.tmp: No such file or directory sed: /tmp/rules.debug: No such file or directory execute.sh: cannot open /tmp/rules.debug: No such file or directory'

                                    If I reinstall the package, it will start working again. I have duplicated this multiple times this evening when rebooting the firewall.
                                    Any reason why?

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

                                      @kilthro:

                                      TB,

                                      With the most recent package I am having a problem when I reboot the firewall.  I am on the most current beta as well as of today.

                                      When I reboot, country block will not be running even though the enable country block is checked at the top.

                                      If I click save at the bottom and it refreshes no change. Still blocking 0 networks. Then I uncheck save then recheck and save same thing.
                                      I do have a cron job set of it and when checking the sys logs I see this error.

                                      php: /packages/countryblock/countryblock.php: The command 'sh execute.sh' returned exit code '2', the output was '0 table deleted. sed: /tmp/rules.debug: No such file or directory grep: /tmp/rules.debug: No such file or directory grep: /tmp/rules.debug: No such file or directory 1 1 rm: /tmp/rules.debug.tmp: No such file or directory sed: /tmp/rules.debug: No such file or directory execute.sh: cannot open /tmp/rules.debug: No such file or directory'

                                      If I reinstall the package, it will start working again. I have duplicated this multiple times this evening when rebooting the firewall.
                                      Any reason why?

                                      If /tmp/rules.debug isn't found then your problem isn't countryblock. Are you running pfsense in transparent mode or is it even a Firewall? /tmp/rules.debug is the file that contains the pf firewall rules.

                                      -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
                                      • R
                                        robfantini
                                        last edited by

                                        On some systems , /tmp  is cleared on reboot .

                                        Try copying some other files to /tmp , reboot and see if they exist after a reboot.

                                        If  /tmp is cleared on reboot, then /tmp/rules.debug should be stored in another location. like /var/tmp .  on our system /var/tmp is not cleared on reboot.

                                        1 Reply Last reply Reply Quote 0
                                        • K
                                          kilthro
                                          last edited by

                                          It seems as if this is what is happening. That folder is being cleared upon reboot. I dont have anything specially configured to do that so so something must do that in the beta version when its booting as a startup script.

                                          Does that TMP location pull the rules from elsewhere. The only app that seems to be affected by this is country block. Snort and other packages seem to be working just fine.

                                          TB i have it set as a firewall. Its the Internet facing firewall at my location.

                                          So either this is a change in most recent beta or how the newer package of CB is handling this. It was working ok on an older beta version and the 1.5 cb when I rebooted just fine.

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

                                            Perhaps the startup script is running before your firewall rules are re-created.
                                            Have you tried to manually run Countryblock after the system has booted, from the GUI?

                                            -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
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.