PfBlocker
-
After posting a message about pfblocker not reinstalling in the 2.1 snapshot area I found this thread so I guess I'll just post a link to it here
http://forum.pfsense.org/index.php/topic,64312.0.html
-
Hi Guys,
Quick question about pfBlocker regarding rules.
Under "Rules" there are all the pfblocker auto rules.Its about when I change the order of blocking.
Lets say Subnet A is allowed to connect to asia and Subnet B is not. (See picture)Every day, the rules are checked and reloaded, and Subnet A is set to the bottom of the list again.
So It does not have access to Asia any more. If I change it manually. This works fine for a couple of hours
until a filer or rule gets reloaded.What can I do, so I don't have to change the order of the list everyday?
Hope the problem is clear. Thanks!Change the Pfblocker auto generated lists to 'alias only', and then manually create a firewall rule for each alias. Thanks to dokternoter for pointing this out before to me ;D
-
@Hollander:
Hi Guys,
Quick question about pfBlocker regarding rules.
Under "Rules" there are all the pfblocker auto rules.Its about when I change the order of blocking.
Lets say Subnet A is allowed to connect to asia and Subnet B is not. (See picture)Every day, the rules are checked and reloaded, and Subnet A is set to the bottom of the list again.
So It does not have access to Asia any more. If I change it manually. This works fine for a couple of hours
until a filer or rule gets reloaded.What can I do, so I don't have to change the order of the list everyday?
Hope the problem is clear. Thanks!Change the Pfblocker auto generated lists to 'alias only', and then manually create a firewall rule for each alias. Thanks to dokternoter for pointing this out before to me ;D
Thanks for your help! It works like a charm now!! Description name is important to get it working.
-
While at it, it'd be awesome if the custom set up lists did update on reinstall after snapshot upgrade.
-
Hello,
Running pfblocker 1.0.2 on a CARP cluster. The sync tab appears to be broken. Changes in configuration are not carried over to the backup system. Neither are new lists added, old lists modified. Used both sync interface ip and admin interface ip. Logs show this:
Master:
php: : Filter sync successfully completed with https://192.168.xxx.xxx:x.
Slave:
nothing, just a bunch of dhcp and dnsmasq entries.The sync tab on the master has the sync ticked, contains the ip of the backup system, and the password is correct.
The sync tab on the backup has the sync NOT ticked, and IP is blank.Thanks
-
It seems to think that 66.154.123.x is outside the USA, but it is with a hosting company in Los Angeles. Is this the right place to report this error?
-
I think you need to find Marcello in here. I think he was one of the people behind PFblocker.
-
It seems to think that 66.154.123.x is outside the USA, but it is with a hosting company in Los Angeles. Is this the right place to report this error?
The contry ip blocklist was updated until the list got paid. There are other free good country lists but I'm still having no time to change pfblocker code to use a new list.
I've asked for donations to speed up update process but had no luck with it.
You can also workaround it by creating a new list with this ip/range and allow ir on pfblocker. This will be applied before pfblocker deny rules.
-
Maybe a dumb question… Does pfblocker block everything from a country you designate or does it only block unsolicited traffic?
-
Everything…
-
Can we somehow track a specific IP and see what country CIDR it is attached to? I have a client that got blocked yesterday and I havent got a clue what country the IP is attached to?
-
I dont know of an easy way of doing that besides searching the tables. However what I have done is identified the mistakenly blocked ip and added it to my allow list and all is good. Not the best solution but a work around so that they are not blocked.
-
Can we somehow track a specific IP and see what country CIDR it is attached to? I have a client that got blocked yesterday and I havent got a clue what country the IP is attached to?
http://www.geoiptool.com/
-
Hello, I've recently installed pfblocker and been trying it out. Unfortunately I'm getting this error.
This is just an FYI.There were error(s) loading the rules: /tmp/rules.debug:25: cannot define table pfBlockerTopSpammers: Cannot allocate memory - The line in question reads [25]: table <pfblockertopspammers>persist file "/var/db/aliastables/pfBlockerTopSpammers.txt"
some details;
pfsense version: 2.1-RC0 (i386) built on Fri Jun 14 16:39:04 EDT 2013machine has 4gb of ram, swap space is 2gb, roughly 2gb free.
Memory useage displays as 7% on dashboard.pfBlocker was configured to deny in/out on wan/lan, all countries selected in topSpammers list.</pfblockertopspammers>
-
pfBlocker was configured to deny in/out on wan/lan, all countries selected in topSpammers list.
You realize the blocklist is not even being updated any more? (Neither are the continent/country blocklists, AFAICT. No longer free.) All this cruft should be purged from pfBlocker.
-
Does this mean that pfBlocker is not supported?
-
Would it make sense to only have current supported packages available in pfSense?
The package itself is still perfectly fine for custom blocklists. Just in need of a diet to lose the predefined blocklists functionality that's not really useful any more. pfBlocker Light, anyone? :D
Head over to http://www.iblocklist.com/lists.php and pick your poison (P2P/GZ format is just fine for pfblocker.)
Important note: For the not really that much sane blocklists, you'll need to go to System - Advanced - Firewall/NAT and bump the "Firewall Maximum Table Entries" way up.
-
thanks! I'll try out a list or two.
-
Hello, I've recently installed pfblocker and been trying it out. Unfortunately I'm getting this error.
This is just an FYI.There were error(s) loading the rules: /tmp/rules.debug:25: cannot define table pfBlockerTopSpammers: Cannot allocate memory - The line in question reads [25]: table <pfblockertopspammers>persist file "/var/db/aliastables/pfBlockerTopSpammers.txt"
some details;
pfsense version: 2.1-RC0 (i386) built on Fri Jun 14 16:39:04 EDT 2013machine has 4gb of ram, swap space is 2gb, roughly 2gb free.
Memory useage displays as 7% on dashboard.pfBlocker was configured to deny in/out on wan/lan, all countries selected in topSpammers list.</pfblockertopspammers>
Did you go to system > advanced > firewall tab and increase Firewall Maximum Table Entries? if not increase that. Generally have to increase it quite a bit depending on all the lists you load. Mine is set to 999999999
-
OK one question - not seen it here so has anyone else noticed that on restart pfBlocker re-organises the rules and sticks its rules back at the top? Since I have two WAN's (WAN and OPT1) I also prefer the rules to live in 'floating' so they get applied to both interfaces and I only need to manage in one - but pFBlocker keeps putting them back into WAN and OPT1 I realise that they won't get 'executed' if they are found in floating first but it makes my configuration untidy and I do have a degree of OCD about such things.
I have a need for certain machines to come BEFORE the ad blocking - (I use the subscribed ADBlock list from iblocklist.com) but it blocks many 'robots' too, since the web server isn't used for browsing I placed it before the ad blocker rule - but on firewall restart I need to move things around again.
This just me or has anyone else spotted it?