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

    PfBlockerNG

    Scheduled Pinned Locked Moved pfBlockerNG
    1.2k Posts 210 Posters 1.8m 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.
    • F
      fragged
      last edited by

      @doktornotor:

      @fragged:

      why it's not showing up on 2.1.5 or 2.2 :)

      Maybe it could with a bit of unsupported fiddling with /etc/version :P

      I knew there's a way to fool the system, but didn't know the right place :)

      1 Reply Last reply Reply Quote 0
      • D
        doktornotor Banned
        last edited by

        Note: If someone does this, I'd suggest revert the change immediately after the package is installed.

        1 Reply Last reply Reply Quote 0
        • M
          Mr. Jingles
          last edited by

          @Supermule:

          Seems to take quite some time to implement into pfsense package repository… not good!

          I think I will wipe the dirt from my other diploma, that from law school, and speak in defense of ( ;D ):

          The Pfsense team has worked hard on 2.2; I'm sure that took, and still takes, almost all of their time.

          't Makes (pf)sense to me that other work gets delayed with relatively limited resources.

          6 and a half billion people know that they are stupid, agressive, lower life forms.

          1 Reply Last reply Reply Quote 0
          • M
            Mr. Jingles
            last edited by

            @doktornotor:

            @fragged:

            why it's not showing up on 2.1.5 or 2.2 :)

            Maybe it could with a bit of unsupported fiddling with /etc/version :P

            Don't you all appreciate that multiple sets of eyes look at code before it gets released for your perimeter security appliance  :) ?

            I appreciate that procedure, and I'm sure BB does too, as perhaps the pfSense team notices things BB overlooked (that happens: when you look too much at something, you develop a sort of 'blindness' for things. I'm sure BB looked alot at the code  ;D . I suffer from the same: in the end, after looking at Excel sheets for 10 hours, you don't see anything anymore.)

            6 and a half billion people know that they are stupid, agressive, lower life forms.

            1 Reply Last reply Reply Quote 0
            • D
              doktornotor Banned
              last edited by

              @Mr.:

              Don't you all appreciate that multiple sets of eyes look at code before it gets released for your perimeter security appliance  :) ?

              Pretty confident the package is working a whole LOT better compared to the old pfBlocker thing (which, ATM, is not really usable with 2.2 any more depending on which blocklists you happen to use, plus the rest of features - the country etc. blocklists - being desperately outdated and useless.)

              1 Reply Last reply Reply Quote 0
              • B
                Bummer
                last edited by

                I'm really looking forward to this new release! I love pfBlocker and these upgrades are exactly what are needed. I can hardly wait!

                1 Reply Last reply Reply Quote 0
                • marcellocM
                  marcelloc
                  last edited by

                  If you want to test pfBlockerNG on 2.2,

                  create this patch using systempatches package.

                  
                  --- pkg-utils.orig.inc       2015-01-27 14:27:38.000000000 +0000
                  +++ pkg-utils.inc      2015-01-27 14:27:50.000000000 +0000
                  @@ -624,6 +624,7 @@
                                  if (isset($pkg_info['maximum_version']))
                                          $compatible = $compatible && (pfs_version_compare("", $version, $pkg_info['maximum_version']) <= 0);
                  
                  +               $compatible = true;
                                  if (!$compatible) {
                                          log_error(sprintf(gettext('Package %s is not supported on this version.'), $pkg_info['name']));
                                          $static_output .= sprintf(gettext("Package %s is not supported on this version."), $pkg_info['name']);
                  
                  

                  Note: Do not forget to click test and apply the patch after creating/saving  it.  ;)

                  then install package with your pfsense url

                  https://YOUR_PFSENSE_ADDRESS_HERE/pkg_mgr_install.php?id=pfBlockerNG
                  

                  And of cource, DO AT YOUR OWN RISK  :)

                  pfblockerng_install_patch.png
                  pfblockerng_install_patch.png_thumb
                  pfblockerng_install.png
                  pfblockerng_install.png_thumb

                  Treinamentos de Elite: http://sys-squad.com

                  Help a community developer! ;D

                  1 Reply Last reply Reply Quote 0
                  • B
                    Bummer
                    last edited by

                    Your instructions are great, they're for dummies like me.

                    It's greatly appreciated! I'm going to try and hit the datacenter this weekend. I'm doing a fresh install and moving from 2.1.5 (32bit) to 2.2 (64bit). I'll try installing pfBlockerNG then.

                    Thank you!

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

                      is it  compatible with 32bit version?

                      Snímka.JPG
                      Snímka.JPG_thumb

                      pfsense runing in virtual, on HP N54L microserver, 2G RAM, 60G disk, WAN, LAN, DMZ, Wifi, OpenVPN server + client, suricata, pfblocker

                      1 Reply Last reply Reply Quote 0
                      • D
                        doktornotor Banned
                        last edited by

                        The package? Sure. The pkg-utils.inc patch? No idea, never tried.

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

                          i try install pfblockerng on 32bit pfsense with this patch and it failed.

                          pfsense runing in virtual, on HP N54L microserver, 2G RAM, 60G disk, WAN, LAN, DMZ, Wifi, OpenVPN server + client, suricata, pfblocker

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

                            Edit: They aren't built for 2.1.5. Only for 2.2

                            http://files.pfsense.org/packages/10/All/

                            
                            pfblockerng-1.6.3_1-amd64.pbi                      27-Nov-2014 13:15             2743546
                            pfblockerng-1.6.3_1-amd64.pbi.sha256               27-Nov-2014 13:15                  65
                            pfblockerng-1.6.3_1-i386.pbi                       27-Nov-2014 13:23             2909780
                            pfblockerng-1.6.3_1-i386.pbi.sha256                27-Nov-2014 13:23                  65
                            
                            

                            i dont see anything in http://files.pfsense.org/packages/8/All/ for 2.1.5

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

                              ok, thx. this make sense to me.

                              pfsense runing in virtual, on HP N54L microserver, 2G RAM, 60G disk, WAN, LAN, DMZ, Wifi, OpenVPN server + client, suricata, pfblocker

                              1 Reply Last reply Reply Quote 0
                              • D
                                doktornotor Banned
                                last edited by

                                @Cino:

                                I dont believe the pbi's are built for 32bit yet

                                They certainly are, see https://files.pfsense.org/packages/10/All/

                                Looking at the pkg-utils.inc file, you'd rather need $force_install = true; at proper place instead.

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

                                  @doktornotor:

                                  @Cino:

                                  I dont believe the pbi's are built for 32bit yet

                                  They certainly are, see https://files.pfsense.org/packages/10/All/

                                  Looking at the pkg-utils.inc file, you'd rather need $force_install = true; at proper place instead.

                                  I corrected my post… They are not created for 2.1.5

                                  1 Reply Last reply Reply Quote 0
                                  • D
                                    doktornotor Banned
                                    last edited by

                                    About time to upgrade. :P

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

                                      than if is 32bit ready and i install on pfsense 2.2. release 32 bit i dont know why i cant install with posted patch.

                                      pfsense runing in virtual, on HP N54L microserver, 2G RAM, 60G disk, WAN, LAN, DMZ, Wifi, OpenVPN server + client, suricata, pfblocker

                                      1 Reply Last reply Reply Quote 0
                                      • D
                                        doktornotor Banned
                                        last edited by

                                        Already posted a hint above. As said, never tested the patch, edit the version temporarily and move on.

                                        1 Reply Last reply Reply Quote 0
                                        • marcellocM
                                          marcelloc
                                          last edited by

                                          @marian78:

                                          i try install pfblockerng on 32bit pfsense with this patch and it failed.

                                          Did you tested and applied the patch under systempatches? the screen I've sent show how to create the patch but you need to apply after saving.

                                          Or edit file manually if you know how to handle with it.

                                          Treinamentos de Elite: http://sys-squad.com

                                          Help a community developer! ;D

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

                                            aaa ,stupig me. i forgot apply patch…...... sorry. Now installed....

                                            pfsense runing in virtual, on HP N54L microserver, 2G RAM, 60G disk, WAN, LAN, DMZ, Wifi, OpenVPN server + client, suricata, pfblocker

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