PfBlocker
-
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
-
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
-
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. :(
-
mbp,
check pfblocker wiki at doc.pfsense.org/index.php/Pfblocker
att,
Marcello Coutinho -
-
thats awesome news!
-
mbp,
check pfblocker wiki at doc.pfsense.org/index.php/Pfblocker
att,
Marcello CoutinhoFound 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. -
We got mentioned on the teksyndicate youtube feed!
http://www.youtube.com/watch?v=Q0JFfpG4BWI&feature=player_detailpage#t=1020s
Woot!
-
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. :-)
-
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 filter2) 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?
-
Audiaudict,
Except for the log tab, all features you've requested can be done with "alias only" list action and firewall rules.
-
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?
-
@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.
-
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.
-
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 -
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 CoutinhoWell 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.
-
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 :/
-
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?
-
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?
-
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?
Doh! I looked and looked for why it wasn't happy, and I totally missed the check box to enable pfBlocker. Thank you for pointing that out.