PfBlockerNG v2.0 w/DNSBL
-
Is there a way, or will there be a way (in a future release) to add our own EasyList?
As a Dutchman, I would like to add the Dutch EasyList, to block elements specially found on Dutch websites.Thanks
Concur to that as well!
-
@Ibor:
Is there a way, or will there be a way (in a future release) to add our own EasyList?
As a Dutchman, I would like to add the Dutch EasyList, to block elements specially found on Dutch websites.Thanks
Concur to that as well!
@Panja @Ibor Daru,
Yes this can be done. However, I am working on porting the package to 2.3 (Bootstrap) and trying to manage day-to-day life at the same time… :)
ADBlock works differently than DNSBL... ADBlock can filter domains as follows:
www.cnn.com/banners/example.com
AdBlock will filter any domain listed in the /banners folder, but DNSBL will need to know explicitly which Domains to block. ADBlock also has subdomains which if used in DNSBL will cause severe False Positives.
So to use any of the other ADBlock EasyList feeds (Dutch, Chinese, German etc...) I have to know which categories are the actual ADvert domains. Not all of the ADBlock EasyList Feeds can be used...
If you look at the DNSBL EasyList Tab, you can see which categories are being used for EasyList (w/o Elements) and EasyList Privacy.. You can compare this to the raw EasyList file and manually add the Dutch EasyList ADvert domains and add those to a Custom List for DNSBL. Just make sure that its formatted to one domain per line.
It is something that I would like to do... Just need to find some time... But it will be added :)
-
@Gé:
@Gé:
I have a local domain at a local bind9 I override my local domain in dnsresolver like I did before with dnsforwarder but now I can't do reverse lookups anymore.
Probably best to ask for help in the DNS forum section for this issue.
I could do that. This morning wen i woke up several wlan users complained they couldn't get on the internet. i can't see anything wrong in pfsense everything seems to work but i can't get to internet on wlan. To many trouble with DNSBL so i'm going to disable DNSBL and start using dns-forwarder again and pfblocker without dnsbl. I also had to stop using ram file system for /var and /tmp because here also trouble because /var was full all the time wen i use dnsbl. anyway to much problems.
Edit: Wlan problems seem to be that pfsense local freeradius server can't be reached anymore.
Sorry to hear that… Did you have DHCP registration enabled in the Resolver? There seems to be some underlying issues with that feature in the Resolver. DNSBL just does a Resolver reload to get its updates into the Resolver. Take a look at the resolver.log and the system.log to see what the error messages were... I added notes about this in the instructions posted in this thread.
I do not have a lot of extra configuration in the Resolver for overrides and thats why I suggest you ask in the DNS forum as those guys live that stuff every day and can better reply to that particular issue...
In regards to your issue with WLANs, make sure that those other LAN segments can see the DNSBL VIP or else DNSBL will not function. You can click the checkbox in the DNSBL tab to auto create a Floating firewall rule for that... But also make sure there are no other rules that can block access to the DNSBL VIP. Try to ping the DNSBL IP from thhe WLAN as a test...
On another note: Seems someone recently gave a negative smite…. ???
-
thank you so much for your answer,
the check list is already enabled ,
I've checked the as show but can't seem the find the location on the code to add the red line
below is what it shows on the dnsbl.sh fileJamerson, sorry about that… you can disregard those instructions... The key point here is that these lines in the dnsbl.sh file (in red) file are correct...
if [ -f '[color=red]/var/unbound/pfb_dnsbl_lighty.conf' ]; then
/usr/local/sbin/lighttpd_pfb -f '/var/unbound/pfb_dnsbl_lighty.conf'
fiI sent you a PM to see if we can work out this issue offline, and I can go from there… Thanks!
-
BBcan177 no worries!
We all have lives to live. 8)
So no pressure mate. Just wanted to check.
Good to hear it's coming. I'll just wait. I'm a patient dude. ;) -
thank you so much for your answer,
the check list is already enabled ,
I've checked the as show but can't seem the find the location on the code to add the red line
below is what it shows on the dnsbl.sh fileJamerson, sorry about that… you can disregard those instructions... The key point here is that these lines in the dnsbl.sh file (in red) file are correct...
if [ -f '[color=red]/var/unbound/pfb_dnsbl_lighty.conf' ]; then
/usr/local/sbin/lighttpd_pfb -f '/var/unbound/pfb_dnsbl_lighty.conf'
fiI sent you a PM to see if we can work out this issue offline, and I can go from there… Thanks!
much appreciate your support,
will reply on the PM -
Hi,
i had installed pfblockerNG and setup IPv4 Alias/List Configuration to create IPv4 Lists (for example source: http://list.iblocklist.com/?list=xshktygkujudfnjfioro&fileformat=p2p&archiveformat=gz).But this rule block my important website (like Hotmail and other ) i don't want to disable or delete this list. Do i have any other method?(like whitelist and how to do) Thanks!
-
thank you so much for your answer,
the check list is already enabled ,
I've checked the as show but can't seem the find the location on the code to add the red line
below is what it shows on the dnsbl.sh fileJamerson, sorry about that… you can disregard those instructions... The key point here is that these lines in the dnsbl.sh file (in red) file are correct...
if [ -f '[color=red]/var/unbound/pfb_dnsbl_lighty.conf' ]; then
/usr/local/sbin/lighttpd_pfb -f '/var/unbound/pfb_dnsbl_lighty.conf'
fiI sent you a PM to see if we can work out this issue offline, and I can go from there… Thanks!
much appreciate your support,
will reply on the PMthank you so much for your help,
I didn't read the instruction carefully ,
the servers is on and everything is working finethank you so much BBCAN
-
Sorry to hear that… Did you have DHCP registration enabled in the Resolver? There seems to be some underlying issues with that feature in the Resolver. DNSBL just does a Resolver reload to get its updates into the Resolver. Take a look at the resolver.log and the system.log to see what the error messages were... I added notes about this in the instructions posted in this thread.
I do not have a lot of extra configuration in the Resolver for overrides and thats why I suggest you ask in the DNS forum as those guys live that stuff every day and can better reply to that particular issue...
In regards to your issue with WLANs, make sure that those other LAN segments can see the DNSBL VIP or else DNSBL will not function. You can click the checkbox in the DNSBL tab to auto create a Floating firewall rule for that... But also make sure there are no other rules that can block access to the DNSBL VIP. Try to ping the DNSBL IP from thhe WLAN as a test...
On another note: Seems someone recently gave a negative smite…. ???
Thank you BBcan177 for the information I wil try it soon again. I had to do a full backup restore to get pfSense back on track. I have to get some new courage to give it another shot.
I selected all the network segments and as long as the wlan client were still connected they could reach the vip address the dnsbl webserver. Wen the wlan client reconnects it got a authentication error because pfsense could not reach the local radius server. I searched for hours to find what cause this but couldn't find it.
It wasn't me btw who gave you the childish smite you do and did a GREAT job!
-
i had installed pfblockerNG and setup IPv4 Alias/List Configuration to create IPv4 Lists (for example source: http://list.iblocklist.com/?list=xshktygkujudfnjfioro&fileformat=p2p&archiveformat=gz).But this rule block my important website (like Hotmail and other ) i don't want to disable or delete this list. Do i have any other method?(like whitelist and how to do) Thanks!
-
Passing my comment from the other topic to this one
Somtimes the reporting of the Alerts misses the list matching! I had this problem today.
List 1 - Alias_Deny (De-Duplication enabled)
List 2 - Alias_NativeInterface 1
Block List 1The IP1 is in both lists, because Alias_Native does not passes by the De-Duplication process.
I had a hit on Interface 1 of IP1 and in the alert tab appeared the information that the hit is from List 2 (that does not even appears on the Interface)
Thank You all
-
One extra that would be very useful is the ability to export (automatic) the lists to the webserver of PFSense, that way I could use the same list on other computers and only maintain it in pfsense. This is useful because when I'm not at home I like to use on my personal laptop the lists with PeerBlock!
Nice Job
-
Hi, BBCan77
I got first crash report since upgraded to v2:
PHP Errors:
[27-Nov-2015 12:14:53 America/Toronto] PHP Fatal error: Maximum execution time of 900 seconds exceeded in /usr/local/pkg/pfblockerng/pfblockerng.inc on line 1662 -
Thank you BBCAN,
I've tested it and it works fine really clean internet.
the only think I notice is the DHCP server stops sharing IPS,
is this related to the DNSBL ?
please advise. -
Any1 has the issue about failed to download Snort rules from Snort website since Nov. 24? It seemed this is an issue after upgrading to pfBlockerNG v2.0. but I'm not sure, don't know which dns feed block it, and I don't have any clue from the Alert tab either.
EDIT: Its the DNS: s3.amazonaws.com, was blocked by the DNSBL MPatrol feed. Adding it to the suppression list solves.
-
I've sorted the issue with the snortBL by setting the state to FLEX. It had a curl ssl error code 200 . This could be seen in view log in the update tab. So setting to FLEX also resolves a curl 200 status code.
-John-
-
Any1 has the issue about failed to download Snort rules from Snort website since Nov. 24? It seemed this is an issue after upgrading to pfBlockerNG v2.0. but I'm not sure, don't know which dns feed block it, and I don't have any clue from the Alert tab either.
I posted in the IDS forum… Try to avoid double posting...
I've sorted the issue with the snortBL by setting the state to FLEX.
The issue that pfcode is having, is with the Snort VRT rulesets for the IDS/IPS Snort… not the snort IP list. But yes the Snort IP list needs to use 'Flex'... Would be nice if Snort actually had a proper cert for their HTTPS site :)
-
Thank you BBCAN,
I've tested it and it works fine really clean internet.
the only think I notice is the DHCP server stops sharing IPS,
is this related to the DNSBL ?
please advise.Not related to DNSBL… Only thing that I suggest, is not to use the two "DHCP Registration" checkboxes in the Resolver, as that seems to have issues on Reload.
-
One extra that would be very useful is the ability to export (automatic) the lists to the webserver of PFSense, that way I could use the same list on other computers and only maintain it in pfsense. This is useful because when I'm not at home I like to use on my personal laptop the lists with PeerBlock!
Nice Job
Peerblock would probably need the files to be formatted in a certain way? There is a file in: /var/db/pfblockerng/mastercat which is a complete list of IPs (Deny).
-
Passing my comment from the other topic to this one
Somtimes the reporting of the Alerts misses the list matching! I had this problem today.
List 1 - Alias_Deny (De-Duplication enabled)
List 2 - Alias_NativeInterface 1
Block List 1The IP1 is in both lists, because Alias_Native does not passes by the De-Duplication process.
I had a hit on Interface 1 of IP1 and in the alert tab appeared the information that the hit is from List 2 (that does not even appears on the Interface)
Thank You all
This is a hard one to solve when "Alias Native" lists are used since multiple lists can have the same IP.. Alerts tab is not superhuman :)