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

PfBlocker

Scheduled Pinned Locked Moved pfSense Packages
896 Posts 143 Posters 1.3m 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.
  • M
    marcelloc
    last edited by Jul 24, 2012, 5:44 AM

    Thanks Linuxtracker, the adfree worked very nice.  :)

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

    Help a community developer! ;D

    1 Reply Last reply Reply Quote 0
    • T
      TommyTheKid
      last edited by Jul 25, 2012, 3:45 AM

      I guys, I have been very happy with the pfBlocker until I had to restore my firewall config. (failed CF due to bandwidthd).

      When I brought up the firewall after "restoring" the configuration xml file, I got errors like this:

      There were error(s) loading the rules: /tmp/rules.debug:163: macro 'pfBlockerTopSpammers' not defined
      /tmp/rules.debug:163: syntax error
      /tmp/rules.debug:164: macro 'pfBlockerDSHIELD' not defined
      /tmp/rules.debug:193: macro 'pfBlockerTopSpammers' not defined
      /tmp/rules.debug:193: syntax error
      /tmp/rules.debug:194: macro 'pfBlockerDSHIELD' not defined
      /tmp/rules.debug:202: macro 'pfBlockerTopSpammers' not defined
      /tmp/rules.debug:202: syntax error
      /tmp/rules.debug:203: macro 'pfBlockerDSHIELD' not defined
      pfctl: Syntax error in config file: pf rules not loaded The line in question reads [163]: block  in  quick  on $WAN  from   $pfBlockerTopSpammers to any  label "USER_RULE: pfBlockerTopSpammers auto rule"
      

      I assume that something is not getting backed up/restored properly. I had to disable pfBlocker and reload the firewall to get it to pass packets. Any ideas?

      NOTE that I also have an HA pair (CARP/XMLRPC), but this appears to have its own XMLRPC settings.

      ~tommy

      1 Reply Last reply Reply Quote 0
      • M
        marcelloc
        last edited by Jul 25, 2012, 2:13 PM

        Tommy,

        If you were using alias only action on your lists, pfblocker install/uninstall process will not remove your custom rules.
        Second point is that pfblocker is disabled by default after install, you need to access it's gui and enable it.

        att,

        Marcello Coutinho

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

        Help a community developer! ;D

        1 Reply Last reply Reply Quote 0
        • M
          mbp
          last edited by Jul 28, 2012, 7:36 AM

          I'm also having the same issue(s) as igor. I have max table entries set to 999999999. Reinstalled package 2 times. Restored configuration as well. I just installed pfSense itself maybe a day ago (new build). I'm using the Primary Threats blocklist from i-blocklist. I have also tried selecting country blocks. All show red arrow pointing down.  :(

          1 Reply Last reply Reply Quote 0
          • M
            marcelloc
            last edited by Jul 28, 2012, 6:59 PM

            mbp,

            check pfblocker wiki at doc.pfsense.org/index.php/Pfblocker

            att,
            Marcello Coutinho

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

            Help a community developer! ;D

            1 Reply Last reply Reply Quote 0
            • M
              marcelloc
              last edited by Jul 28, 2012, 7:04 PM

              Country IP Blocks is considering offering free ACLs to pfblocker users

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

              Help a community developer! ;D

              1 Reply Last reply Reply Quote 0
              • K
                kilthro
                last edited by Jul 28, 2012, 7:23 PM

                thats awesome news!

                1 Reply Last reply Reply Quote 0
                • M
                  mbp
                  last edited by Jul 28, 2012, 9:52 PM

                  @marcelloc:

                  mbp,

                  check pfblocker wiki at doc.pfsense.org/index.php/Pfblocker

                  att,
                  Marcello Coutinho

                  Found the problem! Thank you! For the folks hunting through google. Here you have it:

                  I Can't see any pflblocker rule applyed, whats wrong?
                  pfblocker requires at least one firewall entry (any interface) for it to be active. One way to verify is to check the front page widget.

                  1 Reply Last reply Reply Quote 0
                  • T
                    tommyboy180
                    last edited by Jul 29, 2012, 3:47 PM

                    We got mentioned on the teksyndicate youtube feed!

                    http://www.youtube.com/watch?v=Q0JFfpG4BWI&feature=player_detailpage#t=1020s

                    Woot!

                    -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 Jul 29, 2012, 5:05 PM

                      Awesome!!!

                      I have said it before and I will say it again. This package was what introduced me and brought me to pfsense to begin with. I couldn't imagine now having a firewall running without this package. Thanks for all the hard work that has gone into this Tommyboy180 and Marcelloc..   Linux tracker thanks for the lists. :-)

                      1 Reply Last reply Reply Quote 0
                      • A
                        AudiAddict
                        last edited by Aug 4, 2012, 8:01 PM Aug 4, 2012, 7:58 PM

                        Awesome package! Works perfectly so far.

                        Some feature requests, which I hope you can add to make it even better:

                        1) Traffic being blocked by pfblocker logged in a different tab (instead of the firewall log?) Easy to debug if something is being blocked by my own rules or the pfblocker app.
                        I do know that you can see that if something is blocked by pfblocker you can see that by looking at the details, but when you have allot of blocked records it's hard to filter

                        2) Users are complaing specific sites are being blocked. Is there a whitelisting feature available to ignore certain websites? Or do I have to enter them in a alias in my firewall manualy?

                        3) I'm using squid (transparant) would it be possible to send some kind of message to the user that the site has been blocked? Now they get a connection error which makes the user think internet is not working (they call the helpdesk). Would love to send some kind of squid access denied error page or something like that.

                        4) I can set more interfaces on the outbound part, this allows me to block access to certain sites (outbound) in countries on my network. The problem is that I only want to block access to these users on my WIFI interface and not my LAN (which doesn't need that much security). Would it be possible to set the outbound interface on the country tabs instead of all outbound selections?

                        5) Ignore tab –> where I can enter my own ip for outbound and my servers for inbound? Just to make 100 % sure these do not get blocked?

                        1 Reply Last reply Reply Quote 0
                        • M
                          marcelloc
                          last edited by Aug 5, 2012, 1:45 AM

                          Audiaudict,

                          Except for the log tab, all features you've requested can be done with "alias only" list action and firewall rules.

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

                          Help a community developer! ;D

                          1 Reply Last reply Reply Quote 0
                          • A
                            AudiAddict
                            last edited by Aug 5, 2012, 11:15 AM

                            Can you explain how this works ? Are you talking about the general aliasses in pfsense? Or the list tab in pfblocker?

                            Is there some documentation available about this?

                            1 Reply Last reply Reply Quote 0
                            • C
                              ceama
                              last edited by Aug 5, 2012, 3:57 PM

                              @S_D:

                              I think I've answered my own question just now. If the comment field for the rule you create contains the Alias name then the widget counter goes up correctly…. :)

                              Excuse my ignorance here, but could you be so kind to tell me exactly how you solved this?  You mention an alias name in the comment field.  I may be having the same or similar problem with pfblocker.  Thanks for the tip on how to get the web configuator started from SSH to turn off pfblocker when the system hangs at boot.

                              1 Reply Last reply Reply Quote 0
                              • L
                                LinuxTracker
                                last edited by Aug 5, 2012, 9:55 PM

                                Came across a new list of malware IPs

                                http://labs.alienvault.com/labs/index.php/projects/open-source-ip-reputation-portal/download-ip-reputation-database/

                                Looks like either the gzip ver or the plain ver - of the Generic Format - would load fine in pfBlocker.

                                Haven't tried it yet - will give it a go tonight and post back how it loads.

                                1 Reply Last reply Reply Quote 0
                                • M
                                  marcelloc
                                  last edited by Aug 6, 2012, 3:22 PM

                                  @ceama:

                                  Could you be so kind to tell me exactly how you solved this?  You mention an alias name in the comment field.  I may be having the same or similar problem with pfblocker.

                                  take a look on list action description:

                                  While creating rules with this list, keep aliasname in the beggining of rule description and do not end description with 'rule'.
                                  custom rules with 'Aliasname something rule' description will be removed by package.

                                  pfblocker create aliases and rules on pfsense with your lists.
                                  If you change action to alias only, pfblocker will create only the alias part, and no rules. This way, when you create your own rules, configure it`s description with 'aliasname  custom1' for example to get widget working.

                                  att,
                                  Marcello Coutinho

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

                                  Help a community developer! ;D

                                  1 Reply Last reply Reply Quote 0
                                  • C
                                    ceama
                                    last edited by Aug 7, 2012, 5:10 AM Aug 7, 2012, 4:55 AM

                                    @marcelloc:

                                    @ceama:

                                    Could you be so kind to tell me exactly how you solved this?  You mention an alias name in the comment field.  I may be having the same or similar problem with pfblocker.

                                    take a look on list action description:

                                    While creating rules with this list, keep aliasname in the beggining of rule description and do not end description with 'rule'.
                                    custom rules with 'Aliasname something rule' description will be removed by package.

                                    pfblocker create aliases and rules on pfsense with your lists.
                                    If you change action to alias only, pfblocker will create only the alias part, and no rules. This way, when you create your own rules, configure it`s description with 'aliasname  custom1' for example to get widget working.

                                    att,
                                    Marcello Coutinho

                                    Well this is embarrassing.  I am very new at this forum and I think I am quoting the wrong message.  My problem is with the boot up after pfBlocker is installed on a nanobsd system.  It takes a very long time or does not start at all. If I uncheck pfBlocker before re-booting then turn it on after things start up normally and it works fine. I get errors scrolling in the top right about lists are empty or something to that effect if I boot with pfBlocker enabled.

                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      seattle-it
                                      last edited by Aug 7, 2012, 8:02 AM

                                      It would be nice if the "Enable pfBlocker" status would be preserved through reboots - it's kind of annoying having to re-enable it each time :/

                                      My tech blog - seattleit.net/blog

                                      1 Reply Last reply Reply Quote 0
                                      • T
                                        TimmZahn
                                        last edited by Aug 27, 2012, 10:30 PM

                                        I updated to pfBlocker to 1.0.2 this weekend, up from 1.0.1.

                                        The dashboard widget was working properly before the package upgrade. Now the dashboard widget is empty - no table below the headers. So then I went to investigate the firewall rules and pfBlocker settings, and I discovered that the settings look exactly as I had them prior to the upgrade - however there are no longer any firewall rules for each of the settings within the package.

                                        After uninstalling, rebooting and re-installing the package, the original package settings remain (all of the info within the tabs are completed) and there are still no rules, and no info in the widget. This of course leads me to believe that it's not blocking anything as there are no associated rules.

                                        How do I fix this failed update and get pfBlocker working once again?

                                        1 Reply Last reply Reply Quote 0
                                        • M
                                          marcelloc
                                          last edited by Aug 30, 2012, 2:05 PM

                                          @TimmZahn:

                                          How do I fix this failed update and get pfBlocker working once again?

                                          the uninstall/update process disables pfblocker on gui, did you re-enabled the service after it?

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

                                          Help a community developer! ;D

                                          1 Reply Last reply Reply Quote 0
                                          • First post
                                            Last post
                                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                            This community forum collects and processes your personal information.
                                            consent.not_received