PfBlockerNG v2.0 w/DNSBL
-
I am trying to setup the DNSBL portion of pfblocker and ran into a strange problem. I have a pretty restrictive firewall setup where it's pretty much default deny; allow by exception. When setting up the DNSBL portion, I see that the workstations are just timing out when accessing a known blocked site in the DNSBL. In the firewall logs for pfsense, I see the workstation trying to get to 127.0.0.1:8081. I fixed this timeout by adding the 127.0.0.1:8081 in the firewall and now it works properly.
Why does DNSBL try doing a localhost instead of the 10.10.10.1?
Thanks!
-
DNSBL create a NAT port forward to 127.0.0.1
![DSNBL NAT 3.jpg](/public/imported_attachments/1/DSNBL NAT 3.jpg)
![DSNBL NAT 3.jpg_thumb](/public/imported_attachments/1/DSNBL NAT 3.jpg_thumb) -
-
DNSBL create a NAT port forward to 127.0.0.1
Do you need to create different Port Forward for different zone i.e LAN, WIFI, Guest?
I see alot of DNSBL alert, but no permit or match? is this working correctly?
-
DNSBL create a NAT port forward to 127.0.0.1
Do you need to create different Port Forward for different zone i.e LAN, WIFI, Guest?
I see alot of DNSBL alert, but no permit or match? is this working correctly?
No you do not need to create any additional NAT rules.. However, in the general tab, you can click the checkbox to create a 'Floating permit rule' for other LAN subnets (WIFI, Guest etc…) to access the DNSBL VIP address. Also ensure that you do not have any other restrictive rules (as wiz561 posted above).
Not sure what you mean by "Permit and Match" as that only refers to IP rules, and not DNSBL?
-
@BBcan17,
The wrench/spanner/settings icon for the pfBlocker widget doesn't work with pfSense 2.3/ pfBlockerNG 2.0.6,
Appears you just need to an ID statement to the DIV tag to the pfblockerng.widget.php (line 500 approx.):
Not really worth me putting a pull request just for this, but maybe something for your next pull request?
-
Not really worth me putting a pull request just for this, but maybe something for your next pull request?
Thanks Exolon, I guess one of the latest pfSense commits broke that ;) I have tested the change at line 500 and it seems to correct the issue…
Thanks!
-
When DNSBL is running, I have looked at the Alerts to find site is working, but not able to see the images. How do I find what is blocking the site images
http://kregjig.ning.com/
-
When DNSBL is running, I have looked at the Alerts to find site is working, but not able to see the images. How do I find what is blocking the site images
http://kregjig.ning.com/
Click F12 in the browser and goto "console" it will show the domains that are blocked… Its also visible in the Alerts tab. You can also suppress a domain by clicking the "+" icon in the Alerts Tab.
-
When DNSBL is running, I have looked at the Alerts to find site is working, but not able to see the images. How do I find what is blocking the site images
http://kregjig.ning.com/
Click F12 in the browser and goto "console" it will show the domains that are blocked… Its also visible in the Alerts tab. You can also suppress a domain by clicking the "+" icon in the Alerts Tab.
OK, that's perfect I'll try to getting it working
-
I'm running DNSBL_DNSBLEasyList and have selected all the categories. I notice that I don't get any hit on these categories. is there a way to test if this is working correctly?
-
I'm running DNSBL_DNSBLEasyList and have selected all the categories. I notice that I don't get any hit on these categories. is there a way to test if this is working correctly?
Since DNSBL uses deduplication and as Easylists are the last to download, the most popular ADvert servers are being blocked by other Feeds… You can view the Easylist Domain list in the pfBNG Log tab and try to browse to any of those as a test.
-
Please excuse the noob question, but how do you enable EasyLists? Specifically, what do you put in the Header field? Thanks!
-
The header is just a label for the feed… So it needs to be unique...
ie:
EasyList
EasyPrivacy -
here is additional list that can be add to DNSBL
http://www.securemecca.com/Downloads/hosts.txt
-
Thanks for pfBlockerNG. I make heavy use of it! I have recently enabled DNSBL and am having a strange issue: When I try to access the pfSense web GUI via hostname, I am redirected to the DNSBL VIP (10.10.10.1). When I "dig firewall.domain" the pfSense box (DNS server) returns the VIP first, and then the proper IP: 10.100.0.1.
I have Unbound set to disable forwarding and enable DHCP registrations and I have a host override for "firewall.domain" pointing to it's proper IP 10.100.0.1. DNSBL "Alerts" tab shows the following:
IF: Unknown
Source: Unknown
Domain/Referer|URI|Agent: firewall.domain Not available for HTTPS alerts
List: no matchAm I missing something in the Unbound configuration? Or is it a DNSBL setting I'm missing? All other local hosts are resolving without issue, it's just pfSense itself that exhibits this behavior.
-
When I try to access the pfSense web GUI via hostname, I am redirected to the DNSBL VIP (10.10.10.1). When I "dig firewall.domain" the pfSense box (DNS server) returns the VIP first, and then the proper IP: 10.100.0.1.
I have Unbound set to disable forwarding and enable DHCP registrations and I have a host override for "firewall.domain" pointing to it's proper IP 10.100.0.1. DNSBL "Alerts" tab shows the following:
IF: Unknown
Source: Unknown
Domain/Referer|URI|Agent: firewall.domain Not available for HTTPS alerts
List: no matchAm I missing something in the Unbound configuration? Or is it a DNSBL setting I'm missing? All other local hosts are resolving without issue, it's just pfSense itself that exhibits this behavior.
Check your NAT and DNS Host overrides… Don't add anything manually that points to the DNSBL VIP, as that is done by the pkg automatically... Also there are some issues with the Unbound DHCP reg checkboxes... Most leave those disabled...
If you still having issues, maybe try to post in the DNS/NAT forum sections, to see if others can offer any other advice.
-
Thanks BBcan177! What would cause the "IF" and "Source" alerts to be "Unknown" and the "List" entry to read "no match"? Is there a debug option I can enable? I've looked through the pfBlockerNG logs tab but maybe I missed a "verbose" option?
-
Unfortunately for HTTPS requests, the IF/SRC information is not available to log… If you want to see more information run a tcpdump or wireshark... There is some help text in the DNSBL tab...
-
Unfortunately for HTTPS requests, the IF/SRC information is not available to log… If you want to see more information run a tcpdump or wireshark... There is some help text in the DNSBL tab...
Understood. Thanks again for this package!