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

    Alert Settings

    Scheduled Pinned Locked Moved pfBlockerNG
    8 Posts 2 Posters 1.5k 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.
    • R
      revengineer
      last edited by

      The Alter Settings for pfBlockerNG are behaving erratic for me. I modified the the original number of entries and upon hitting save I find that the number of entries for deny, dnsbl, permit, and match are always set to the number chosen for dnsbl. Also the maximum number of entries is 9. If I select 10 with the up arrow, it goes back to one. Also it will not save the auto refresh and auto resolve check boxes. Is this a know issue?

      Is there a way to edit the config manually to bypass the issues with the GUI?

      Thanks for help in advance.

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

        @revengineer

        Are you using pfBlockerNG or pfBlockerNG-devel... If not devel, I'd recommend to upgrade to that...

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

          Thanks for the quick reply. I am using the regular pfBlockerNG, not the dev version. Is this then a known bug for the non-dev version?

          BBcan177B 2 Replies Last reply Reply Quote 0
          • BBcan177B
            BBcan177 Moderator @revengineer
            last edited by

            @revengineer said in Alert Settings:

            Thanks for the quick reply. I am using the regular pfBlockerNG, not the dev version. Is this then a known bug for the non-dev version?

            I haven't seen others post about it, but I am trying not to touch the old version unless its a critical fix that is required.

            There are a lot of improvements in devel that most should be migrating to it...

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

              @revengineer said in Alert Settings:

              Thanks for the quick reply. I am using the regular pfBlockerNG, not the dev version. Is this then a known bug for the non-dev version?

              You can manually edit the /conf/config.xml and edit these options:

              grep -A10 "<pfblockerngglobal" /conf/config.xml
                          <pfblockerngglobal>
                                  <pfbdenycnt>50</pfbdenycnt>
                                  <pfbpermitcnt>5</pfbpermitcnt>
                                  <pfbmatchcnt>5</pfbmatchcnt>
                                  <pfbdnscnt>45</pfbdnscnt>
              

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

                Interesting, none of these keywords exist. In my config, it simply reads

                <pfblockerngglobal>7</pfblockerngglobal>
                

                I think I chose "7" as the number of entries to list, but this may be a coincidence.

                For now, I restored an older config. I will try you suggestion above and in the long run plan for upgrading.

                Thanks again.

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

                  @revengineer said in Alert Settings:

                  Thanks again.

                  You can goto pfSense Diagnostics > Command Prompt page > Execute PHP Commands:

                  And paste the following commands, and hit "Execute"... Should get you back to normal!

                  $config['installedpackages']['pfblockerngglobal'] = array();
                  $config['installedpackages']['pfblockerngglobal']['pfbdenycnt'] = '5';
                  $config['installedpackages']['pfblockerngglobal']['pfbpermitcnt'] = '5';
                  $config['installedpackages']['pfblockerngglobal']['pfbmatchcnt'] = '5';
                  $config['installedpackages']['pfblockerngglobal']['pfbdnscnt'] = '5';
                  write_config('pfBlockerNG patch');
                  

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

                  R 1 Reply Last reply Reply Quote 0
                  • R
                    revengineer @BBcan177
                    last edited by

                    @bbcan177
                    Thank you, that worked great!

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