Skip to content

Documentation Index

github-actions[bot] edited this page Oct 10, 2026 · 3 revisions

This repo doubles as a pfSense knowledge base and the documentation for a production pfSense → SIEM deployment. Everything here is written from a real, running stack — pfSense with Suricata, pfBlockerNG and Telegraf feeding OpenSearch, Logstash and Grafana — so others can run the same thing, understand why it is built this way, and keep it healthy.

Prefer browsing to a directory tree? Every page here is also published in the project wiki, regenerated from these files on every push, with a beginner's start-here page, a glossary and an FAQ for people new to pfSense.

Pick the path that matches what you are trying to do:

I want to... Start at
Run Suricata / pfBlockerNG / Telegraf well on pfSense (no SIEM needed) pfSense knowledge base
Upgrade pfSense (2.8.1 → 2.9.0) without breaking things Upgrading pfSense
Deploy the SIEM stack from scratch Deploy it
Understand the architecture and data model Understand it
Keep a running deployment healthy Operate it
Fix something that broke Fix it
Add capability or another SIEM backend Extend it

Directory layout:

docs/
├── DOCUMENTATION_INDEX.md   ← You are here
├── ARCHIVE.md               ← Where superseded material went (git history)
├── pfsense/                 ← Generic pfSense knowledge: Suricata, pfBlockerNG, Telegraf, QoS, upgrades
├── install/                 ← SIEM server, forwarder, GeoIP, dashboards, hardware, checklist
├── operations/              ← Management console, forwarder monitoring, retention
├── troubleshooting/         ← Symptom → root cause → fix
├── reference/               ← Configuration, field reference, architecture
└── siem/                    ← Other backends: comparison, Wazuh, Graylog

Conventions used throughout: admin@<PFSENSE_IP> is your pfSense SSH login, <SIEM_IP> your SIEM server, interface names like igc0 / igc1.20 are examples — substitute your own. Example public addresses use RFC 5737 space (203.0.113.x).


🔥 pfSense knowledge base (no SIEM required)

These guides apply to any pfSense CE 2.7+/2.8/2.9 box. Only the sections that mention Grafana panels depend on the rest of this repo.

Suricata

  • Suricata Optimization Guide ⭐ — the complete path: install, choose rulesets (ET Open + Snort registered), inline IPS on WAN vs IDS on VLANs, performance tuning (stream memcap, detect profile), testing and validation
  • Suricata Configuration & Design Decisions — why Suricata over Snort, interface strategy, and the SID tuning philosophy: start broad, measure noise, then disable/suppress with tracked lists instead of ad-hoc GUI clicks
  • SID lists — the maintainer's disablesid / dropsid / suppress lists, how they were derived, how to build your own from your alert volume, and how to apply them through SID Mgmt (survives upgrades)
  • LAN / East-West Monitoring — IDS on internal VLANs to catch lateral movement, with per-VLAN policy examples

pfBlockerNG

Telegraf and metrics

  • Telegraf on pfSense — install, where the config really lives (config.xml → regenerated telegraf.conf), the Additional Configuration box, why it runs as root, how to restart it correctly, the pfSense 2.9.0 Telegraf breakage and workaround
  • Telegraf plugins — gateway status, ARP MAC vendor, temperature and Unbound collectors shipped in this repo
  • MAC Vendor Lookup — device manufacturer identification from the ARP table
  • Telegraf pfBlockerNG Pipeline — shipping pfBlockerNG block/DNSBL logs to OpenSearch via Telegraf's tail input

Platform

  • Upgrading pfSense ⭐ — general checklist plus the 2.9.0 specifics (FreeBSD 16-CURRENT, PHP 8.5, sshd algorithm changes, Telegraf package breakage, certificate enforcement), what this repo drops on pfSense and what survives, post-upgrade verification
  • pfSense Filterlog Rotation Bug — firewall and pfBlockerNG logging silently stopping after newsyslog rotation, and the Cron-package job that fixes it
  • Traffic Shaping Guide — limiters, CoDel and weighted queues for streaming/gaming/VoIP alongside bulk traffic
  • Optimizing traffic shaping on a gigabit cable line — measured lessons: ACK starvation, queue sizes, mask direction, failover links, the class design that worked
  • October 2026 tuning results — one before/after table across shaping, Suricata CPU, rule volume, DNSBL, forwarder and feed health, with what was not measured
  • Hardware Requirements — sizing pfSense for IDS/IPS (and the SIEM server), and why SD cards will ruin your day
  • CrowdSec (exploratory) — notes toward a CrowdSec integration; not part of the stack yet

🚀 Deploy it

Ordered steps for a from-scratch SIEM deployment. The short version is QUICK_START.md; these are the detailed guides behind each step.

  1. Hardware Requirements — size both hosts first
  2. New User Checklist — tick-box path from bare metal to working dashboards
  3. Server side — point config.env at an existing OpenSearch + Grafana (siem-docker-stack is the recommended backend). No server yet? SIEM Stack Installation covers the bare-metal single-box path (install.sh and the manual steps behind it)
  4. pfSense Forwarder Installation — the EVE forwarder, rc.d service and watchdog on pfSense (what setup.sh automates)
  5. GeoIP Setup — reusing the GeoLite2 database already on pfSense for the attack map
  6. Dashboard Installation — datasources, the OpenSearch plugin, importing and adapting the dashboards (inventory)

scripts/preflight.sh validates config.env, SSH to both hosts, Python on pfSense and OpenSearch reachability before anything is changed. setup.sh runs it automatically.


🧠 Understand it

  • Architecture diagram (source architecture.mmd) — pfBlockerNG → Suricata → EVE → forwarder (UDP) → Logstash → OpenSearch → Grafana, plus Telegraf → InfluxDB/OpenSearch
  • Field Reference — the authoritative list of what is stored in suricata-* and pfblockerng-*, and why fields are flat, not nested
  • Configuration Reference — every config.env variable, forwarder behaviour, Logstash pipeline, index templates, Grafana datasources, tuning and Logstash maintenance
  • Config files — the shipped Logstash pipeline and index templates themselves
  • SIEM backend comparison — OpenSearch vs Wazuh vs Graylog for this use case, and what was decided

⚙️ Operate it

  • Management Console — the pfsense-siem menu: install, deploy, status, logs, backups, preflight
  • Forwarder Monitoring — how the forwarder runs (rc.d + daemon), the watchdog, day-2 commands, what survives reboot/upgrade, uninstall
  • Multi-Interface & Retention — many Suricata instances at once, and ISM retention to control disk
  • Scripts Reference — every helper script, where it runs, and which are legacy
  • Upgrading pfSense — the post-upgrade procedure for the SIEM pieces (preflight.sh → setup.sh → status.sh)

🔧 Fix it


🧩 Extend it

  • Wazuh — what ships here (three dashboards + deploy-wazuh-dashboards.py), how pfSense feeds Wazuh (RFC 5424 syslog), and where the Wazuh server lives (siem-docker-stack)
  • Graylog — explored and shelved; what a revival would need
  • Roadmap — alerting as code, TLS/queued transport, OpenSearch security, LAN dashboard, multi-firewall
  • Contributing — how to submit dashboards, docs and fixes; what CI checks

🗄️ Archived material

Superseded docs, scripts, dashboards and plugins were removed from the working tree and live in git history. ARCHIVE.md has the commit hash and recovery commands.


Source: docs/DOCUMENTATION_INDEX.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