Skip to content

October 2026 Tuning Results

github-actions[bot] edited this page Oct 11, 2026 · 2 revisions

Audience: anyone deciding which pfSense tuning steps are worth doing, and what to expect from them.

Scope: one real firewall (pfSense CE 2.8.1, 4-core Xeon D at 2.2 GHz with no turbo, a 2.5G WAN port, a 2x1G LACP LAN trunk, 14 VLANs, inline Suricata on the WAN, pfBlockerNG with DNSBL) moved from a 35 Mbit/s uplink to a 1 Gbit/s down, 500 Mbit/s up cable line. Every number below was measured on that box. Most are single boxes and a few runs each, so read them as orders of magnitude. Addresses, hostnames and interface names are left out on purpose.

Each section links to the guide with the method and commands.

Summary

Area Before After Where
Download pipe, delivered 920 Mbit/s pipe, about 800 to 840 delivered 980 Mbit/s pipe, about 880 to 900 delivered (one server) Shaping notes
Upload pipe 33 Mbit/s (sized for the old uplink) 475 Mbit/s Shaping notes
Worst latency under heavy parallel download 105 ms unshaped 47 ms shaped Shaping notes
5 Mbit/s UDP stream while a bulk host saturated the uplink (about 480 Mbit/s) not measured 0% loss; jitter 3.2 ms idle, 1.0 ms loaded Shaping notes
Cellular failover latency under download +120 to +220 ms (485 ms worst), unshaped under 200 ms worst, with a limiter at 85 to 90% of the slowest reading Shaping notes
Active pf ruleset 1,049 lines (dead ALTQ and wizard rules) 821 lines, then 790 after disabling 17 duplicate pass rules (840 once pfBlockerNG re-added its own DNSBL rules) Shaping notes
Suricata CPU for the LAN parent instance (same 237 Mbit/s download) +64% of a core +3% of a core Suricata guide
Suricata CPU, all instances together (same download) +136% about +73% same
Rules loaded on the inline WAN instance 70,600 59,233 (-16%) Suricata guide
WAN IPS drops that were IP-reputation duplicates of pfBlockerNG 113 of 116 in one hour 0 (rules removed) same
Suricata capture drops after the changes not measured (stats were off) 0 kernel drops on WAN, cell and LAN instances same
DNSBL (blocklist DNS) not enforcing for about 5 months, and once re-enabled still running on source lists last downloaded 2026-01-24 (about 45 feeds, 8.5 months stale) enforcing, all 61 feeds downloaded in one run with 0 failures, every source cache dated 2026-10-04 or later, 3.52 million unique blocked domains (2.53 million before). Root cause of the staleness: a failed TOP1M zip download forced the whole DNSBL into reuse-the-cache mode every night. pfBlockerNG guide
pfBlockerNG feeds known dead or broken unknown 6 found dead or broken, 2 fixed, 1 removed; see below pfBlockerNG guide
EVE forwarder to the SIEM dead since 2026-07-30 (72 days, nobody noticed) running, 16 interfaces; watchdog restart verified within one minute Forwarder monitoring
Inline IPS on Suricata 8.0.5 (after the 2.9.0 upgrade) not applicable sustained about 840 Mbit/s through the WAN instance, worker threads 10 to 25% CPU, 0 capture drops, 0 loss at startup Upgrade guide
DNS repeat lookups cold lookup about 179 ms (DoT + DNSSEC) repeat lookups 0 ms with prefetch and a 32 MB cache; cold path unchanged Shaping notes

What was measured and found, in the order it mattered

  1. The old upload limiter was throttling the new download. ACKs for a fast download have to go out; a 33 Mbit/s upload pipe held downloads near 800 to 840 Mbit/s while the line could do about 1 Gbit/s. With the limiter rules off the line measured 945 to 1,020 Mbit/s down from one favourable server (about 910 combined across two) and about 510 Mbit/s up.
  2. Suricata inspected the same LAN packets three times (the WAN inline instance, a legacy instance on the VLAN trunk's parent interface, and the VLAN's own instance). A BPF filter on the parent removed the duplicate for about a 45% cut in total Suricata CPU, with no inspection lost.
  3. DNSBL had been silently off since a package reinstall. pfBlockerNG 3.2.14 stores the DNSBL virtual IP as a VIP ID; the migration dropped it, and the GUI still showed lists as configured. Verified fixed by resolving a listed domain.
  4. The SIEM pipeline was dead for 72 days because of a mis-named boot script, a missing forwarder file and an empty root crontab. A freshness check now exits non-zero when the newest event is stale.
  5. pfBlockerNG feeds had quietly died; see the table below.
  6. Things that were tested and did not pay off at 1 Gbit/s: bypassing Suricata inspection of encrypted flows (no change for bulk transfers, about a third less CPU for many short connections) and moving Suricata signature files into pfBlockerNG (nothing worth moving: the overlap was only the IP-reputation set, already removed).

pfBlockerNG feed health (audit, 2026-10-10)

About 25 IP feeds and 40 DNSBL feeds were checked for entry count, file age and download failures.

Finding Count / detail
IP tables that are only the 127.1.7.7 placeholder or have 1 to 3 entries from a large feed Abuse_SSLBL (feed retired upstream 2025-01-02), ISC_Shadowserver and ISC_Shodan (wrong URL form for the parser), Darklist (header only that day)
Feeds that fail to download repeatedly Maltrail_Scanners_All (15 in 3 days), H3X_1M, osint_malicious, 1Hosts_Pro (5 each)
Stale files that looked like orphans 3, but none was an orphan: the Monero list is static upstream since 2024; the KADhosts upstream file was emptied to 329 bytes; the malc0de list from iblocklist is IP ranges in a domain list and stays at 0 entries
DNSBL source caches last downloaded 2026-01-24 about 45 of the DNSBL feeds (the IP lists refreshed daily). Cause found and fixed: the TOP1M whitelist zip was rejected by a MIME check (file reports zips as application/octet-stream on this base), which forced cache-reuse mode on every run
Feed URLs that no longer work H3X_1M, DigitalSide osint_malicious and VXVault (time out), 1Hosts Pro (tier removed; Lite and Xtra remain), Maltrail mass_scanner.txt (moved to data/), Maltrail maltrail-malware-domains.txt and yHosts hosts.txt (404; yHosts is now hosts), Hagezi Pro and TIF via jsDelivr (403, package too large; the official GitLab and Codeberg mirrors work)
DNSBL feeds showing 0 entries about 10, most likely cross-feed de-duplication, not proven broken
Fixes applied Abuse_SSLBL removed; the two ISC URLs switched to their ?text form. With the new URL the downloads parse 988 (Shadowserver) and 55 (Shodan) addresses instead of 3 and 2; after de-duplication against the other scanner lists 24 and 2 are new. The next scheduled fetch (00:01) is what confirms the URL change end to end.

See the guide's section for the commands to reproduce this on your own box.

What was applied but not isolated

These were changed in the same window as others, so no separate effect is claimed:

  • Ethernet flow control turned off on the WAN, cell and LAN NICs. The change is persistent through four tunables but has not yet been verified across a reboot.
  • DHCP "deny unknown clients" on four sensitive VLANs (Kea KNOWN class), with static reservations added first.
  • UPnP restricted to the three VLANs that need it with one allowed host, and stale hosts removed.

What was not measured

  • Throughput or latency effect of flow control on its own.
  • Shaping behaviour under load after the 2.9.0 upgrade: limiters, flow control and rules were verified unchanged, but a wired loaded-latency test has not been repeated. The upgrade itself is written up in the Upgrading pfSense guide.
  • Anything above 1 Gbit/s on the WAN. The capacity table in the Suricata guide is a projection from a UDP sweep up to 950 Mbit/s, not a measurement at 2 or 2.5 Gbit/s.

Source: docs/pfsense/TUNING_RESULTS_2026-10.md. This wiki is generated from the repository on every push to main; edit the source file and open a pull request rather than editing the wiki page.

Clone this wiki locally