PfBlockerNG v2.0 w/DNSBL
-
Is there such a CURRENT compilation on the forum?
This post has instructions on how to get a script that I wrote a year ago…. There are some changes to that list since, but its a start.
https://forum.pfsense.org/index.php?topic=86212.msg549973#msg549973
I will try to make a new script at some point....
-
Did you originally click the "+" suppress icon? or did you manually add the Domain to the DNSBL Whitelist?
When you click the "+" icon, it should remove the domain from the DNSBL database, and add it to the Whitelist to prevent it from getting added at a Cron event… If you manually add a domain to the whitelist, then you need to run a "Force Reload - DNSBL" for it to be removed...
Keep in mind, that your browser/OS might be caching the DNSBL VIP address for that domain. Might have to clear the browser Cache and OS cache...
You can use this link for Chrome:
chrome://net-internals/#dns -
Stupid question… I have pfBlockerNG with dnsbl running and a custom domain suppression/whitelist that was created using the plus signs in the alerts for dnsbl.
Even the fqdn is added to this list and I do a dns resolution, it gets the 10.10.10.1 address and not the proper IP. It's as if dnsbl or pfblocker isn't seeing this whitelist.
Does anybody know how I can resolve this?
Thanks!
-
have you force reloaded on the Update Tab?
-
have you force reloaded on the Update Tab?
I most definitely did. The exclusion list has been sitting in there for months and never worked. I just got motivated to look into why it's not working today.
-
have you force reloaded on the Update Tab?
I most definitely did. The exclusion list has been sitting in there for months and never worked. I just got motivated to look into why it's not working today.
What kind of Domain are you suppressing?
Can you grep for it:
grep "example.com" /var/db/pfblockerng/dnsbl/*.txt grep "example.com" /var/db/pfblockerng/dnsblalias/*.txt
-
Ive just noticed an annoying bug when pressing save on the Firewall/pfBlockerNG/Edit/IPv4 page if there are any errors all your data gets wiped out :-(
Can you please leave the data so if can be corrected?
Thanks
Rob
-
is it possible to whitelist with placeholders?
for example whitelist video.domain.com*
or how would i do that correctly?because i have a domain where videos are not playable and it looks like this -> video.domain.com/abc=43 and the id's always change.
-
Windows is showing the "no internet access" icon when I'm connected to my home network(see image). I noticed that when I disable DNSBL, windows says I do have "internet access". How should I solve this?
Maybe windows does a dns test which gets blocked by the DNSBL.
![No intenet access.png](/public/imported_attachments/1/No intenet access.png)
![No intenet access.png_thumb](/public/imported_attachments/1/No intenet access.png_thumb)
![No intenet access.png](/public/imported_attachments/1/No intenet access.png)
![No intenet access.png_thumb](/public/imported_attachments/1/No intenet access.png_thumb) -
Already discussed @BBcan177:
I suppress couple domains and looks like the yellow triangle icon has gone away. Thanks!
Just wondering, is there any other way to solve this issue, like put the local PCs in a white list or something like that?I think you suppressed: www.msftncsi.com
Recent discussion here:
https://forum.pfsense.org/index.php?topic=111460.msg620939#msg620939The package doesn't have a built-in whitelist. Its up to the user to decide what to block.
-
Okay thanks for the reply!
I added " www.msftncsi.com/" to the DNSBL supression list and did a "Reload All", but that didn't solve the issue. When I browse to "www.msftncsi.com/" it still gets blocked. I also killed firewall states, disabled and enabled pfblocker and DNSBL. That too didn't work. How should I proceed?
I already had one domain listed in the domain supression list, and that also still gets blocked. Maybe I have some setting wrong?
-
Okay thanks for the reply!
I added " www.msftncsi.com/" to the DNSBL supression list and did a "Reload All", but that didn't solve the issue. When I browse to "www.msftncsi.com/" it still gets blocked. I also killed firewall states, disabled and enabled pfblocker and DNSBL. That too didn't work. How should I proceed?
I already had one domain listed in the domain supression list, and that also still gets blocked. Maybe I have some setting wrong?
" www.msftncsi.com/" should be "www.msftncsi.com" without the quotes (")
-
I know :), I just added the quotes to make it more clear to see in my reply.
I also rebooted and that also didn't help.
-
Add both to the following to the suppress list and run a "Force Reload - DNSBL"
www.msftncsi.com
msftncsi.comYou can run the following to see if a domain is listed:
grep "msftncsi.com" /var/unbound/pfb_dnsbl.conf grep "msftncsi.com" /var/db/pfblockerng/dnsbl/*.txt grep "msftncsi.com" /var/db/pfblockerng/dnsblorig/*
-
is it possible to whitelist with placeholders?
for example whitelist video.domain.com*
or how would i do that correctly?because i have a domain where videos are not playable and it looks like this -> video.domain.com/abc=43 and the id's always change.
Wildcards don't work in DNSBL Suppression. Needs to be an exact match…
-
Add both to the following to the suppress list and run a "Force Reload - DNSBL"
www.msftncsi.com
msftncsi.comYou can run the following to see if a domain is listed:
grep "msftncsi.com" /var/unbound/pfb_dnsbl.conf grep "msftncsi.com" /var/db/pfblockerng/dnsbl/*.txt grep "msftncsi.com" /var/db/pfblockerng/dnsblorig/*
Only the last command gave an output:```
/var/db/pfblockerng/dnsblorig/ADs_someone.orig:127.0.0.1 msftncsi.com
/var/db/pfblockerng/dnsblorig/ADs_someone.orig:127.0.0.1 www.msftncsi.com -
maybe you need to clear the DNS cache on windows side
-
Hi Xmicks,
The three commands will show:
First grep cmd: If a domain is listed in the DNSBL Blocklist.
Second grep : This will show which Feed has a Blocked Domain
Thirds grep : These are the original files from the Feed…So you don't have any reference to msftncsi.com in DNSBL....
If its still blocked, clear your browser and OS cache... If you ping it and its still getting the DNSBL IP, then its probably still in your cache....
Can use this to clear the cache from Chrome : chrome://net-internals/#dns
-
Now the domains are surpressed! Don't know why it suddenly worked, because I already had both www.msftncsi.com and msftncsi.com listed. And had forced reload multiple times before.
Nonetheless it workes now :D
-
Now the domains are surpressed! Don't know why it suddenly worked, because I already had both www.msftncsi.com and msftncsi.com listed. And had forced reload multiple times before.
Nonetheless it workes now :D
ok Next time you have some more tools to work with :) Any other issues let me know..