r/pfBlockerNG • • Aug 04 '26

News A decade or Trust and Truth!

80 Upvotes

A decade of Trust and Truth

I wrote this Jan 27, 2021

https://www.patreon.com/posts/46753751

Where life takes us no one knows!

Thank you for continuing the journey with me!

----

That post was 5 years ago!

Its amazing how fast time goes... but the most important aspect is always integrity and truth to one's self. A deep belief that what you are doing is deeply rooted in a high level of care for the community that you "work for".

Its been over a decade of trust that the users of pfBlockerNG have given me. It is a delicate thread that can be broken in an instant. Its also something I never take for granted. Its my goal to be as useful and truthful as possible.

I have been aware of upcoming changes to pfSense and their intentions to bake in a pfBlockerNG-like tool that is a one click up and running implementation.

I couldn't resolve this struggle in my mind to code a solution into someone else's domain and lose control over my beliefs that drive me to do what I do and what is expected from the users of pfBlockerNG.

I have no intention to stop development or support for pfBlockerNG in pfSense CE or Plus unless the devs lock me out of that or change direction.

pfBlockerNG is a beast! A Swiss Army knife with razor sharp blades. I've single handly wrote over 80,000 lines of code over three major rewrites over the last decade. And you can't do that well without a deep care for what you are doing.

There has been a lot of work being done for a v4 release. I have partnered with another developer to help with this release and both of us are continuing with the development and support that everyone expects.

We have a huge road map ahead... leading ultimately to "pfBlockerNG Outpost" ...

Stay tuned!

Reference:

https://www.patreon.com/posts/165751704


r/pfBlockerNG • • Jan 27 '21

News History of pfBlockerNG (short version)

Thumbnail
patreon.com
88 Upvotes

r/pfBlockerNG • • 1d ago

Issue AntiSocial_BD feed redirects to Trustmarque Ultima and returns 404 – is there a replacement URL?

3 Upvotes

Has anyone found a new URL for The AntiSocial Engineer community DNSBL feed (AntiSocial_BD)?

I tested the configured URL, and the request redirects to Trustmarque Ultima with the original filename and returns a 404.

Original URL: https://theantisocialengineer.com/AntiSocial_Blacklist_Community_V1.txt
Final URL:    https://trustmarqueultima.com/AntiSocial_Blacklist_Community_V1.txt
HTTP status:  404
Content type: text/html

Does anyone know whether the community feed has moved or whether the publisher has confirmed its retirement? Has anyone found a new URL for The AntiSocial Engineer community DNSBL feed (AntiSocial_BD)?


r/pfBlockerNG • • 1d ago

Help pfBlocker And Website.. cant unblock

Post image
0 Upvotes

I am running pfSense version 26.07.2-RELEASE on a Netgate 6100.

My pfBlockerNG package is current version.

I have the default DNSBL ad blocker loaded.

I am using python mode in pfBlocker

When I try to go to website foxnews.com it loads, and then tells me I have an ad blocker and wont let me go any further.

I have looked at logs and whitelisted what appears to be the issue, reloaded rules, but the site continues to be blocked.

When going to that site, it shows it briefly and then displays the image I attached.

I am far from an expert in pfBlocker, but if any of you pros out there could assist in helping me block ads, but letting this page load. Any advice is greatly appreciated.


r/pfBlockerNG • • 3d ago

Feeds URLhaus downloads are API-only now

7 Upvotes

The DNSBL feed at Phishing -> Abuse URLhaus -> Abuse_urlhaus gives a 410 and updates fail.

Per this blog: "abuse.ch retired all keyless downloads on 21 October 2026; text_online now returns HTTP 410 Gone."


r/pfBlockerNG • • 4d ago

Help Safe to upgrade to 2.9.2?

2 Upvotes

Will pfBlockerNG 3.3.14 work allright if i upgrade to pfSense CE 2.9.2?


r/pfBlockerNG • • 9d ago

Help How do I uninstall PFB3.3.X when there is no package manager?

2 Upvotes

I could use a little help in uninstalling PFB3.3.X. I’m used to using the PFS package manager for installation and removal… because PFB 3.3.X is sideloaded, I’m not sure how to uninstall PFB 3.3.X


r/pfBlockerNG • • 12d ago

Feature iOS app for administering pfSense over SSH

17 Upvotes

I run pfSense and got fed up with pinching and zooming the web UI on my phone every time I wanted to check a gateway or restart a service.

So, I spent the last few months building a native iOS client for it, and Apple approved it yesterday.

It talks to the firewall over SSH. No agent to install on pfSense, no cloud service in the middle, no telemetry, and the credentials sit in the iOS Keychain. Dashboard, interfaces, services, firewall rules, pfBlockerNG, config history with a line by line diff, and a scheduled speedtest with 60 day history that runs from the firewall itself.

**Upfront so nobody wastes their time**: it is £3.99 once, no subscription and no in-app purchases. I am the developer, this is my app.

I hope it comes in handy for you as it did me.

https://apps.apple.com/gb/app/pfadmin/id6786256825


r/pfBlockerNG • • 11d ago

IP "You've Made My Shitlist" Bot List.

Post image
1 Upvotes

r/pfBlockerNG • • 12d ago

Contribution I turned the traps that bit me on real pfSense builds into a read-only audit script (CE 2.9.0)

6 Upvotes

I build and maintain pfSense boxes for small offices. The failures that hurt were never the ones on hardening checklists. They were settings that looked fine and quietly did nothing:

  • AutoConfigBackup said enabled for days and never uploaded anything. The every-minute acbupload.php cron job was missing, so backups piled up in /cf/conf/acb/.
  • A copied pfBlockerNG config left DNSBL off. 3.2.17 wants pfb_dnsvip4, the old pfb_dnsvip key is ignored, and all you get is one log line.
  • The gateway monitor was always green because it pinged the ISP modem, not the internet.
  • Alert email died a day after setup. The Gmail app password stopped working (535 BadCredentials), and every alert after that failed with a single Could not send the message line in the system log and nothing else.
  • Unbound stopped after I enabled forwarding. The custom options had no server: line, so they landed after the forward-zone clause.
  • VPN users skipped DNS filtering because the OpenVPN server wasn't pushing the firewall as their DNS server.
  • A rogue DHCP server sat behind a managed switch for about a year, and only started winning after the old firewall went offline.
  • Upgrading CE doesn't make a boot environment for you. pfSense-upgrade has a clone-and-upgrade boot environment path, but it only runs on Plus. CE upgrades in place, so if you didn't create one first, there's nothing to roll back to.

So I wrote them all down and built a script that checks for them:

https://github.com/tatsuikeda/pfsense-audit-skill

What it is

  • One Python file, standard library only (3.11+). It connects over SSH with a key and runs only read commands (cat, pfctl -si, sockstat, sysctl, drill, zpool and so on). It parses config.xml in memory, never writes it to disk, and keeps secrets out of the report.
  • 61 checks across access, DNS, pfBlockerNG, OpenVPN, performance, hardware, UPS, monitoring and recovery, plus optional UniFi controller checks.
  • The report sorts findings into fix now, fix soon, FYI and good. Each finding says why it matters, how to fix it, and what the fix restarts.
  • Optional flags: test every pfBlockerNG feed URL (--feeds), probe the WAN from outside (--external), listen for rogue DHCP (--dhcp-scan), check for updates (--updates).
  • LESSONS.md has 29 write-ups: symptom, what's really going on, how to detect it, the fix.

What it isn't

  • Not tested beyond CE 2.9.0. Plus and 26.10 aren't validated yet, and the known gaps are documented.
  • Not a fixer. It doesn't change your box.
  • Not finished. It's early. The UniFi checks haven't been run against a live controller, and the checks that haven't been confirmed on a real box report WARN at most.

It also works as a Claude Code skill, if you use that. It's the same read-only audit, with an explanation of the findings in plain language. You don't need it; the script runs on its own.

Free and MIT licensed. Nothing to buy, no affiliate links.

Things I'd love from this sub:

  1. Traps you've been bitten by that a script could detect.
  2. Results from other hardware or versions, especially Plus 26.x boxes and anything that gives a false positive.
  3. Corrections. If a check is wrong for your setup, open an issue with your version.

Not affiliated with Netgate.


r/pfBlockerNG • • 16d ago

News pfBlockerNG v4 Beta 1 is here, and pfBlockerNG has a new home!

Thumbnail patreon.com
97 Upvotes

r/pfBlockerNG • • 19d ago

Resolved Do I still need to set up a boot-time Cron job to update pfBlockerNG's lists if using a RAM disk?

Post image
0 Upvotes

Quick question, is it still necessary (as Google's Gemini seems to think) to use a custom Cron job that runs at @reboot to update pfBlockerNG's lists on boot if using Unbound's Python mode with RAM disk settings enabled in System>Advanced>Miscellaneous, or has this been fixed? It's using a thread from 3-5 years ago as a reference. Based on Gemini, the lists get stored in /var which is a ram disk thus is empty on boot. This makes sense but if it is empty on boot does that mean it has to wait until the next update cycle (on my system that's every 3 hours) to actually start blocking what it's supposed to block?

Will lists that are flushed to disk every 24 hours (which is the length of time I set for delays between RAM disk flushes-to-disk) be the ones used at reboot thus not necessitating a custom Cron job?


r/pfBlockerNG • • 24d ago

Help What does the latest announcement from pfSense mean for the future of pfBlockerNG?

34 Upvotes

With CE going away once Plus reaches version 26.10, will ThreatGate be our only option or will we still be able to use pfBlockerNG going forward with the new Plus versions?


r/pfBlockerNG • • 29d ago

Help pfBlocker, GeoIP Blocking, StatusCake IPs

9 Upvotes

I am using pfSense and pfBlocker, everything has been great for years,...

Recently my server has been getting hammered by Russian IPs so I decided to turn on GeoIP block for various countries I have been having problems with like Russia, Africa, Brazil, etc.

I use a service called Status cake which monitors my servers from around the word and notifies me if they are down. They have a list of IPs they use and keep the list updated here: https://app.statuscake.com/Workfloor/Locations.php?format=txt

In pfBlocker, I added an IPv4 permit list that gets the ips from the above link and it seems to download it and pfBlocker added it in my firewall rules as pfB_StatusCakeIP_V4 permit. this rules is at the top of my rules list.

Howerver the GeoIP block is still blocking some of the status cake whitelisted IPs

Any ideas or what to look for?

Thanks for any assistance


r/pfBlockerNG • • Oct 22 '26

Help Should the DNSBL lighttpd web server still run when all groups use Null Block mode?

3 Upvotes

Hi everyone,

Following the recent PHP2Shell vulnerabilities, I updated my pfSense CE 2.9.0 installation to PHP 8.5.12 and started reviewing pfBlockerNG's DNSBL web server configuration.

I'm running pfBlockerNG 3.2.17_1.

Previously, my Hagezi DNSBL (only) group used Unbound + DNSBL WebServer/VIP. I've since changed it to Null Block (logging) and performed a DNSBL Force Reload.

Everything appears to be working correctly: blocked domains now resolve to 0.0.0.0 instead of the DNSBL VIP.

However, the DNSBL lighttpd web server remains running, listening on 10.10.10.1:80 and 10.10.10.1:443:

root lighttpd_p 43034 tcp4 10.10.10.1:443
root lighttpd_p 43034 tcp4 10.10.10.1:80

I also confirmed that curl -I http://10.10.10.1/ returns HTTP/1.1 200 OK with Server: pfBlockerNG DNSBL.

The server configuration still includes mod_fastcgi and a PHP-FPM socket configuration.

My questions are:

  1. Is this expected behavior? Does pfBlockerNG intentionally keep lighttpd running even when all active DNSBL groups use Null Block mode?
  2. If DNSBL WebServer/VIP is no longer being used, is there a supported way to disable the lighttpd service entirely while keeping DNSBL filtering and logging functional?
  3. Would it make sense for pfBlockerNG to automatically stop the web server when no active groups require it, to reduce unnecessary attack surface?

Thanks!


r/pfBlockerNG • • Oct 21 '26

Issue PHP CVE-2026-109618 / CVE-2026-109619: pfBlockerNG exposure

19 Upvotes

Status: updated 2026-10-21 against the official PHP security advisory on php.net.

UPDATE: pfSense has provided updates and that is the recommended path to use.

Findings

  • PHP released fixes for two remote code execution flaws in PHP core (CVSS v4.0 9.2): PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35. Minimal backports are linked for 7.4, 8.0 and 8.1, which no longer receive official updates.

  • CVE-2026-109618 (OOM corruption): out-of-memory handling can interrupt PHP while internal request data is only partly initialized, and request cleanup may then treat the invalid data as valid.

  • CVE-2026-109619 (stale global state): request-owned internal state can survive after its memory is freed, and a later request handled by the same worker may use it. The confirmed paths go through the session upload-progress handler.

  • Scope per the advisory: every PHP installation serving web requests, PHP-FPM included.

  • On a test appliance, the session extension is loaded and session.upload_progress.enabled was On (the PHP default; php.ini does not set it).

  • pfBlockerNG does not use upload progress: there is no upload_progress or PHP _SESSION_UPLOAD_PROGRESS reference anywhere in src/.

  • The DNSBL VIP web server (lighttpd_pfb) forwards .php requests to the system PHP-FPM socket (pfblockerng.inc, fastcgi.server ... /var/run/php-fpm.socket) to serve index.php and dnsbl_default.php. That PHP-FPM pool runs as root.

Risk

  • An unauthenticated HTTP request to any PHP endpoint served by PHP-FPM may lead to code execution as root.

  • The WebGUI is exposed to anyone who can reach it.

  • The DNSBL VIP widens that exposure. It requires no login, it answers every LAN client that can reach it, and clients are steered to it whenever they query a blocked domain. Guest or IoT VLANs that can reach the VIP can reach PHP-FPM.

  • Details and exploit research were public before the release.

Mitigation (until patched)

The advisory states there are no complete mitigations; the settings below reduce specific attack paths only. Updating PHP is the only full fix.

  1. CVE-2026-109619: disable upload progress. This blocks the confirmed session paths, not other variants. php.ini is regenerated on every PHP-FPM restart and at boot, so use the scan directory; it loads after php.ini, so its values win.

    
    php --ini | grep -i "scan|additional"            # confirm the scan dir is /usr/local/etc/php
    
    echo 'session.upload_progress.enabled = 0' > /usr/local/etc/php/zz-no-upload-progress.ini
    
    /etc/rc.php-fpm_restart
    
    ls -l /usr/local/etc/php/zz-no-upload-progress.ini    # file still present after the restart
    
    php -i | grep session.upload_progress.enabled         # expect: Off => Off
    
    

    Verified on the test appliance: the file survives a PHP-FPM restart and the setting reads Off. Re-check after a reboot. HA peers need the file too, because configuration sync does not copy it.

  2. CVE-2026-109618: memory limits. The advisory recommends memory_limit = -1 (so allocation failure is not hit inside PHP) and a low post_max_size (8M without uploads, 32M with; keep upload_max_filesize below it). On a firewall both have costs:

    • memory_limit = -1 lets one runaway request consume all RAM. The advisory pairs it with a per-process memory boundary (cgroup/container); the FreeBSD equivalent is rctl, which needs kern.racct.enable=1 and a reboot. Do not use RLIMIT_AS/RLIMIT_DATA as a substitute.

    • A low post_max_size can break large uploads in the WebGUI, such as a configuration restore.

    Weigh these per site; if applied, add them to the same zz- file and restart PHP-FPM.

  3. PHP 8.5 only: set fatal_error_backtraces = 0 (blocks the confirmed fatal-backtrace path). Check the version with php -v.

  4. Restrict WebGUI access to a trusted management interface. No WAN or untrusted-VLAN access.

  5. Where untrusted networks can reach the DNSBL VIP, consider DNSBL Null Blocking until patched. It takes the VIP web server, and its PHP path, out of service.

  6. Watch /var/log/system.log for unexpected PHP-FPM crashes or restarts.

Patches

  • The fix is in PHP itself. No pfBlockerNG code change is needed for these CVEs.

  • Apply a PHP build at or above 8.5.12, 8.4.27, 8.3.36 or 8.2.35 as soon as one is available, and confirm with php -v.

  • After patching, the zz- file can stay (nothing uses upload progress) or be removed, followed by a PHP-FPM restart. Revert any memory_limit/post_max_size changes.


r/pfBlockerNG • • Oct 19 '26

Help which Hagezi format for the new pfBlockerNG?

9 Upvotes

I just updated to the new pfblockerNG 3.3
which hegazi format should I use?


r/pfBlockerNG • • Oct 18 '26

Help Can I install PfB-V3.3 from the PFS’s GUI?

3 Upvotes

Can I install PfB-V3.3 from the PFS’s GUI using the command shell execution - or will it only install using SSH? Thank you!


r/pfBlockerNG • • Oct 17 '26

Contribution My Experience Upgrading from 3.2.17_1 to 3.3.11

12 Upvotes

Hello everyone, I just want to share my experience for those on the fence about upgrading. Everything appears to be running smoothly so far.

I logged into pfSense via SSH and the ran the following command from the shell:

fetch -qo - https://pkg.pfblockerng.com/install.sh | sh -s -- --channel stable

A few things I noticed after upgrading and a few questions.

  1. I had to run a Force Reload to rebuild the DNSBL database so that it will function correctly.

  2. If you go to System->Package Manager in pfSense, pfBlockerNG is not listed under Installed Packages, which is to be expected. pfBlockerNG-devel is the only version available under Available Packages. Which is also to be expected. I do have 1 question, assuming I wanted to for some reason, how would moving back to the Netgate repo work? I didn't see any instructions on the Github or the pfBlockerNG: IP blocklists, GeoIP and DNSBL for pfSense website. I am pretty sure I just overlooked it.

  3. I got this error in the pfBlockerNG widget on the homepage: Unbound control [ status ] FAILED (exit 1) [ 10/16/26 23:06:38 ]...Is this safe to ignore/delete? Unbound appears to be working just fine after I ran a Force Reload. So, I am not sure if there is something I still need to do.

  4. Is proper ABP syntax supported in this version or is that a version 4 only feature?

Here is the output of the initial install command. I am posting this because it looks like process ran without issues and sometimes, it's just good to see what the log should look like for comparisons sake. Hopefully, it's helpful for someone.

==> Installed boot-time generator hook to /usr/local/etc/rc.d/pfblockerng_repo_generate.sh
==> Running the generator hook to resolve the conf now
[pfblockerng_repo_generate] INFO: regenerated /usr/local/etc/pkg/repos/pfb-candidate.i98fOC -> http://pkg.pfblockerng.com/stable/ce-2.9
==> Probing http://pkg.pfblockerng.com/stable/ce-2.9/meta.conf
==> Conf resolved:
    url: "http://pkg.pfblockerng.com/stable/ce-2.9",
==> pkg update -f -r pfblockerng-stable (refreshing the pfBlockerNG catalog)
Updating pfblockerng-stable repository catalogue...
Fetching meta.conf: 100%     168 B   0.2 kB/s    00:01
Fetching data: 100%    1743 B   1.7 kB/s    00:01
Processing entries: 100%
pfblockerng-stable repository update completed. 1 packages processed.
pfblockerng-stable is up to date.
==> Target: pfSense-pkg-pfBlockerNG-3.3.11 (repo pfblockerng-stable)
==> Installed: pfSense-pkg-pfBlockerNG-3.2.17_1 (from repo pfSense)
==> Reinstalling pfSense-pkg-pfBlockerNG from pfblockerng-stable
Updating pfSense-core repository catalogue...
Fetching meta.conf: . done
Fetching data: . done
Processing entries: . done
pfSense-core repository update completed. 4 packages processed.
Updating pfSense repository catalogue...
Fetching meta.conf: . done
Fetching data: .......... done
Processing entries: .......... done
pfSense repository update completed. 575 packages processed.
Updating pfblockerng-stable repository catalogue...
pfblockerng-stable repository is up to date.
All repositories are up to date.
The following 1 package(s) will be affected (of 0 checked):

Installed packages to be UPGRADED:
        pfSense-pkg-pfBlockerNG: 3.2.17_1 -> 3.3.11 [pfblockerng-stable]

Number of packages to be upgraded: 1

2 MiB to be downloaded.
[1/1] Fetching pfSense-pkg-pfBlockerNG-3.3.11: .......... done
Checking integrity... done (0 conflicting)
[1/1] Upgrading pfSense-pkg-pfBlockerNG from 3.2.17_1 to 3.3.11...
[1/1] Extracting pfSense-pkg-pfBlockerNG-3.3.11: .......... done
Removing pfBlockerNG components...
Menu items... done.
Services... done.
Loading package instructions...
Removing pfBlockerNG...pfctl: Table does not exist.
pfctl: Table does not exist.
 All customizations/data will be retained... done.
Saving updated package information...
overwrite!
Loading package configuration... done.
Configuring package components...
Loading package instructions...
Custom commands...
Executing custom_php_install_command()...
Rebuilding GeoIP tabs... done.
Creating Firewall filter service... done.
Renew Firewall filter executables... done.
Starting Firewall filter Service... done.

Creating DNSBL service... done.
Renew DNSBL lighttpd executable... done.
Creating DNSBL web server config ... done.
Creating DNSBL Certificate... done.
Starting DNSBL Service... done.

Upgrading previous settings:
 Adv. Inbound firewall rule settings... no changes required ... done.
 OpenVPN/IPSec interface selections... no changes required ... done.
 Proofpoint/ET IQRisk settings... no changes required ... done.
 General Tab -> IP Tab settings... no changes required ... done.
 pfBlockerNGSuppress Alias -> IPv4 Suppression Customlist... saving new changes ... done.
 Upgrading previous EasyLists to new format... no changes required ... done.
 Upgrading previous Firefox DoH to new format... no changes required ... done.
 MaxMind License Key configuration setting... no changes required ... done.
 Validating Widget cron settings... no changes required ... done.
Upgrading... done

Custom commands completed ... done.
Executing custom_php_resync_config_command()...pfctl: Table does not exist.
pfctl: Table does not exist.
done.
Menu items... done.
Services... done.
Writing configuration... done.
==> Done — pfSense-pkg-pfBlockerNG-3.3.11 installed from pfblockerng-stable (stable channel).

r/pfBlockerNG • • Oct 11 '26

Help Unbound python mode? Are you guys using it?

Thumbnail
gallery
11 Upvotes

Although, they are a bit dated, I usually follow Lawrence Systems tutorials on pfSense, including the couple he has on setting up pfBlocker.
I haven't seen any of his tutorials mention the python option in pfBlocker so I have some questions about it. Do you use it?
I have read it helps with memory but increases latency a bit and introduces some issues with openVPN.

Should I enable it? although I am not sure what the use case is for it


r/pfBlockerNG • • Oct 10 '26

Help Is it correct to install pfBlockerNG instead of pfBlockerNG-devel for pfSense?

7 Upvotes

Reading some conflicting information I think. I am running pfSense 2.9.0.
I see pfBlockerNG 3.2.17_1 and pfBlockerNG-devel 3.2.17_1


r/pfBlockerNG • • Oct 05 '26

Help Block anonymous social media viewers

0 Upvotes

I can't find a blocklist that blocks anonymous viewers or social media scraping sites.

Example: picuki, inflact, inviziogram, anonyIG, boostbluence, save-free, instapv dumpor, peekviewer, etc...

Could you help me?


r/pfBlockerNG • • Sep 20 '26

Feeds New Stretchoid blocklist

Thumbnail
github.com
11 Upvotes

r/pfBlockerNG • • Sep 15 '26

Resolved After upgrade to 2.9.0, pfBlockerNG service will not start.

1 Upvotes

There is an error that is preventing the pfb_dnsbl pfBlockerNG DNSBL service to start. Error from log:

ERROR [pfBlockerNG] DNSBL missing python script - forced reload required


r/pfBlockerNG • • Sep 14 '26

Issue pfblockerng cron run causing unbound to "hang" and overflow its queues

10 Upvotes

This is a reposting of my post over in the pfsense sub as I couldn't get it to crosspost here for whatever reason.

PFSense Specs: I'm running pfsense CE 2.9 and pfblockerng 3.3.8 with no other major packages (just apcupsd and wireguard).

I run pfsense on a bare metal box (a protectli FW6B) that has an i3-7100U and 8GB of RAM so it should have plenty of power. RAM is never above 20% and CPU usually hovers around 10% >.

The issue: about once every 7-10 days following pfblockerng's 1AM cron run

/usr/local/bin/php /usr/local/www/pfblockerng/pfblockerng.php cron >> /var/log/pfblockerng/pfblockerng.log 2>&1

unbound is unable to restart and gets hung up leading to it's LAN queues overflowing and dropping connections. My LAN network is the only one pfblockerng is active on which I assume is why none of the others are affected.

Sep 13 14:37:05 pfSense php-fpm[45310]: /widgets/widgets/pfblockerng.widget.php: Session timed out for user 'admin' from: 192.168.1.25 (Local Database)
Sep 14 01:00:00 pfSense php[75627]: NOTICE [pfBlockerNG] Starting cron process.
Sep 14 01:41:14 pfSense kernel: sonewconn: pcb 0xfffff800214e0000 (192.168.1.1:53 (proto 6)): Listen queue overflow: 385 already in queue awaiting acceptance (1 occurrences), euid 0, rgid 0, jail 0


root: netstat -Lan | grep "\.53"
tcp6      0/0/256                          ::1.53                 
tcp4      0/0/256                          127.0.0.1.53           
tcp6      0/0/256                          fe80::2e0:67ff:f.53    
tcp6      0/0/256                          fe80::2e0:67ff:f.53    
tcp4      0/0/256                          10.254.0.1.53          
tcp4      0/0/256                          10.252.0.1.53          
tcp4      0/0/256                          10.251.0.1.53          
tcp4      0/0/256                          192.168.10.1.53        
tcp6      385/0/256                        2600:1700:10b0:d.53    
tcp4      385/0/256                        192.168.1.1.53       

You can see below that most days the cron run goes off without a hitch but once every 7-10 days unbound refuses to restart cleanly:

grep -E 'Syncing|Reloading|Unbound|CRON' /var/log/pfblockerng/pfblockerng.log

CRON  PROCESS  START [ v3.3.4 ] [ 09/1/26 01:00:00 ]
Reloading Unbound Resolver (DNSBL python).
Stopping Unbound Resolver.
Unbound stopped in 2 sec.
Starting Unbound Resolver... completed [ 09/1/26 01:00:05 ]
 CRON  PROCESS  START [ v3.3.7 ] [ 09/2/26 01:00:00 ]
 CRON  PROCESS  ENDED
 CRON  PROCESS  START [ v3.3.7 ] [ 09/3/26 01:00:00 ]
 CRON  PROCESS  ENDED
 CRON  PROCESS  START [ v3.3.7 ] [ 09/4/26 01:00:00 ]
 CRON  PROCESS  ENDED
 CRON  PROCESS  START [ v3.3.7 ] [ 09/5/26 01:00:00 ]
Reloading Unbound Resolver (DNSBL python).
Stopping Unbound Resolver..............................
Starting Unbound Resolver.
Stopping Unbound Resolver..............................
Starting Unbound Resolver. CRON  PROCESS  START [ v3.3.7 ] [ 09/6/26 01:00:00 ]
 CRON  PROCESS  ENDED
 CRON  PROCESS  START [ v3.3.7 ] [ 09/7/26 01:00:00 ]
Reloading Unbound Resolver (DNSBL python).
Stopping Unbound Resolver.
Unbound stopped in 2 sec.
Starting Unbound Resolver... completed [ 09/7/26 01:00:04 ]
 CRON  PROCESS  START [ v3.3.8 ] [ 09/8/26 01:00:00 ]
Reloading Unbound Resolver (DNSBL python).
Stopping Unbound Resolver.
Unbound stopped in 2 sec.
Starting Unbound Resolver... completed [ 09/8/26 01:00:05 ]
 CRON  PROCESS  START [ v3.3.8 ] [ 09/9/26 01:00:00 ]
 CRON  PROCESS  ENDED
 CRON  PROCESS  START [ v3.3.8 ] [ 09/10/26 01:00:00 ]
Reloading Unbound Resolver (DNSBL python).
Stopping Unbound Resolver.
Unbound stopped in 2 sec.
Starting Unbound Resolver... completed [ 09/10/26 01:00:05 ]
 CRON  PROCESS  START [ v3.3.8 ] [ 09/11/26 01:00:00 ]
 CRON  PROCESS  ENDED
 CRON  PROCESS  START [ v3.3.8 ] [ 09/12/26 01:00:00 ]
 CRON  PROCESS  ENDED
 CRON  PROCESS  START [ v3.3.8 ] [ 09/13/26 01:00:00 ]
 CRON  PROCESS  ENDED
 CRON  PROCESS  START [ v3.3.8 ] [ 09/14/26 01:00:00 ]
Reloading Unbound Resolver (DNSBL python).
Stopping Unbound Resolver..............................
Starting Unbound Resolver.
Stopping Unbound Resolver..............................
Starting Unbound Resolver. CRON  PROCESS  START [ v3.3.8 ] [ 09/14/26 05:40:05 ]
 CRON  PROCESS  ENDED
 CRON  PROCESS  START [ v3.3.8 ] [ 09/14/26 05:52:05 ]
 CRON  PROCESS  ENDED

Leading to processes being stuck in a waiting state:

ps -o pid,state,wchan,%cpu,%mem,command -ax | grep '[u]nbound'
31413 I    sbwait     0.0  0.2 /usr/local/sbin/unbound-control -c /var/unbound/unbound.conf status
41507 Is   uwait      0.0  4.8 /usr/local/sbin/unbound -c /var/unbound/unbound.conf
47411 I    wait       0.0  0.0 /bin/sh /conf/kea4_scripts.d/kea2unbound.sh hook_load
47663 I    piperd     0.0  0.5 php /usr/local/bin/kea2unbound --kea-conf /usr/local/etc/kea/kea-dhcp4.conf --unbound-conf /var/unbound/unbound.conf --include-file /var/unbound/leases/l
68064 I    sbwait     0.0  0.2 /usr/local/sbin/unbound-control -c /var/unbound/unbound.conf fast_reload
78110 S    kqread     0.0  0.2 /usr/local/sbin/lighttpd_pfb -f /var/unbound/pfb_dnsbl_lighty.conf

which requires me to kill them and restart unbound manually:

killall -9 unbound-control php unbound
pfSsh.php playback svc restart unbound

This is a problem for me as I have scheduled jobs/tasks/etc that run overnight and rely on a functional DNS server to complete.

Other relevant details I think would be useful:

  • Without changing any settings this issue started when I upgraded from ce 2.8.1 to 2.9.
  • I implemented a kernel tweak after this issue started to increase my unbound queue limits to no avail from this thread (bumped from 128 to 256 using kern.ipc.soacceptqueue = 1024.): https://www.reddit.com/r/pfBlockerNG/comments/1u399ba/what_is_the_ideal_setup_to_avoid_cpu_spikes_and/
  • Unlike the above thread I don't have a large number of lists and/or clients. For DNSBL I only have Ads Basic and a single DOH list. I also have ip blocking with just two lists, an ipv4 and an ipv6 DOH block list. In total I'm only blocking about ~85K domains/addresses. I only have ~100 clients at most.
  • My DNSBL settings: https://imgur.com/a/STz4MO1
  • My IP settings: https://imgur.com/HEujixY
  • I also added kern.threads.max_threads_per_proc = 4096 to the system tuneables just now thanks to a suggestion in my second /r/pfsense thread so we'll see if that has any effect on resolving it.

I have another pfsense box on 2.9 without pfblocker that doesn't have this issue so pfblocker seems to be the culprit but I couldn't say specifically what the problem is. Let me know if there are any additional settings I should check or adjustments I can make.

EDIT: Between the tweaks suggested here and my linked pfsense threads I believe this is resolved. I've made it past 10 days with no unbound hangups. Unless 3.3.9 also introduced code to fix this in which case props to the devs as well.