Repository navigation
Roadmap
pfSense SIEM Stack — pfSense telemetry (Suricata, pfBlockerNG, Telegraf) into an OpenSearch/Grafana SIEM.
This is the single roadmap for the project. The changelog (CHANGELOG.md) records what shipped; this document records what's next and why. It was last reworked after a full stack review on 2026-08-29.
This repo is one of three related projects:
| Repo | Role |
|---|---|
| pfsense-siem-stack (this repo) | pfSense-side integration: Suricata forwarder, Telegraf plugins, SID tuning, dashboards, plus a standalone bare-metal SIEM installer |
| siem-docker-stack | Dockerized SIEM/SOAR backend: OpenSearch hot/warm, Logstash, Grafana, Wazuh, syslog-ng, n8n SOAR |
| jumpcloud-wazuh-bridge | JumpCloud IdP events into Wazuh |
Decision (2026-09): siem-docker-stack is the canonical backend. This repo focuses on what only it does — the pfSense-side forwarder, Telegraf plugins, Suricata/pfBlockerNG tuning content, and dashboards — and setup.sh targets any reachable OpenSearch + Grafana. install.sh stays as the documented bare-metal/manual alternative for a single box (it still works, but new server-side capability lands in siem-docker-stack first). Releases are tagged vX.Y.Z from main with scripts/release.sh; .github/workflows/release.yml publishes the tarball. The cross-stack game plan lives in siem-docker-stack/docs/game-plan.md.
- Multi-interface Suricata monitoring — 15 instances (2 WAN inline IPS + 13 VLAN IDS)
-
Log forwarder (
scripts/forward-suricata-eve.py) — inode-aware rotation handling, GeoIP enrichment, multi-threaded, watchdog + rc.d service -
OpenSearch/Logstash pipeline — flat root-level EVE fields (not nested under
suricata.eve.*), index templates (geo_point, pfBlockerNG keywords), ISM retention -
Dashboards — Suricata WAN + per-interface, pfSense/pfBlockerNG, Prometheus, Docker, Windows Exporter, and 3 Wazuh dashboards (security overview, vulnerability detection, FIM) with a deploy script (
scripts/deploy-wazuh-dashboards.py) -
SID management — curated disable/drop/suppress lists (
config/sid/) -
Automation —
install.sh(server),setup.sh(deployment),pfsense-siemmenu console, 17 operational scripts
Note: Wazuh dashboards ship today — earlier docs describing Wazuh as "planned" were stale. Graylog support was explored and abandoned (superseded guides live in git history — see docs/ARCHIVE.md).
Fixing what the 2026-08 review found. Items marked ✅ landed with the review PR.
-
install.sh: allow SSH beforeufw enable(remote lockout risk) -
setup.sh: fixset -e+((ERRORS++))interaction that aborted deployment on the first recoverable warning -
install.sh: stop masking failures (exit code passthrough), protect the temp credentials file -
deploy-wazuh-dashboards.py: TLS verification was impossible to enable (--skip-verifydefaulted true); credentials via env instead of CLI - Stop using
GRAFANA_ADMIN_USERas the SSH login indiagnose-and-repair.sh - Fix broken references to renamed/archived scripts across
install.sh, docs, and tests - Docs: correct the nested-vs-flat Logstash contradiction (pipeline is flat)
- CI: shell syntax, JSON, and Python compile checks on every push
- Docs audited against the code and reorganised into a pfSense knowledge base + SIEM stack docs (2026-09); pfSense 2.9.0 upgrade guide added
-
setup.sh: rc.d unit renamed tosuricata_forwarder.shso pfSense actually starts it at boot; interpreter detected instead of hardcodedpython3.11;stopworks (supervisor + child PIDs) - pfSense 2.9.0 validation: run
preflight.sh → setup.sh → status.shon a 2.9.0 box, confirm the Python path,maxminddbimport, Telegraf workaround (Redmine #16674) and dashboards; record results in the upgrade guide - Retire the legacy pfSense-side scripts (
setup_forwarder_monitoring.sh,suricata-restart-hook.sh,suricata-restart-with-forwarder.sh,unified-monitoring-watchdog.sh,suricata-eve-forwarder.sh): they hardcodepython3.11and usekillall python3.11 - Install the watchdog cron through the pfSense Cron package (config.xml-backed) instead of root's crontab, so it is in backups and survives a restore
-
plugins/telegraf_pfifgw.php: replace the legacy$configglobal withconfig_get_path(); guard undefined variables under PHP 8.5 -
apply-suricata-drop-rules.sh/enable-selective-blocking.sh: stop hardcoding instance names and writing into pfSense-managed rules files; drive drops through SID Mgmt -
status.sh: probe Logstash's UDP port withnc -u(the TCP probe can never succeed); drop thelsofdependency (not in pfSense base) - Suricata 8 readiness: detect the package version and warn about the DNS EVE v3 change; update DNS panels
- OpenSearch security: enable the security plugin (auth + TLS), bind to a management interface, restrict ufw 9200 by source — today the index is unauthenticated and reachable
- Verify OpenSearch tarball checksum during install
- Single shared config loader (
lib/config.sh) so every script agrees onPFSENSE_USER,SIEM_SSH_USER,OPENSEARCH_HOST— no more personal-network defaults - Consolidate the three entry points (
pfsense-siemmenu →install.sh→setup.sh) so they stop reimplementing each other (service restarts, python detection)
A SIEM you have to look at is a dashboard. Biggest capability gap:
- Grafana alert rules as provisioned code (alert on Suricata severity-1, pfBlockerNG surge, forwarder silence) + contact points (Discord/Matrix to match siem-docker-stack's n8n SOAR)
- Pipeline health alerting: index-rate-zero per source, Logstash backpressure, OpenSearch disk/heap — the pipeline must page someone when it silently stops
- Reliable transport: today Suricata events ride plain UDP 5140 (spoofable, silently lossy). Move to TLS + queued transport (Filebeat/Vector) or add sequencing/gap metrics to the forwarder
- Snapshot tier for OpenSearch (hot → snapshot → delete) instead of delete-only ISM
- Real tests: assertions + exit codes in
tests/, dry-run mode forsetup.sh/install.shrunnable in CI
Today a user must clone the repo, copy config.env.example, then run three scripts on
two hosts. Goal: a single command per host, plus a download-and-run path for people who
will not pipe the internet into a shell.
-
bootstrap.shat the repo root (workstation or SIEM server, bash):curl -fsSL https://raw.githubusercontent.com/ChiefGyk3D/pfsense-siem-stack/<tag>/bootstrap.sh | bash— checks forgit/curl/jq/ssh, clones (or downloads the release tarball for) a pinned tag into~/pfsense-siem-stack, createsconfig.envinteractively (SIEM_HOST,PFSENSE_HOST,PFSENSE_USER), runsscripts/preflight.sh, then hands off to./pfsense-siem. Flags:--version vX.Y.Z,--dir,--non-interactivewith env vars,--siem-only(runsinstall.sh),--deploy-only(runssetup.sh). - pfSense-side standalone installer (
bootstrap-pfsense.sh, POSIX/bin/sh, no bash on pfSense): for users who only want the forwarder and have no workstation in the loop —fetch -o - https://.../bootstrap-pfsense.sh | sh -s -- --siem <SIEM_IP>installsforward-suricata-eve.py,suricata_forwarder.shand the watchdog exactly assetup.shdoes, using the detected Python. Shares the rc.d/watchdog templates withsetup.sh(move them tolib/so the two cannot drift). - GitHub Releases as the distribution unit: tag
vX.Y.Z, CI builds a tarball (pfsense-siem-stack-vX.Y.Z.tar.gz) plusSHA256SUMS, and the release notes are the CHANGELOG section. The manual path becomes "download the release, verify the checksum, unpack, run./pfsense-siem" — no git required. Sign tags (git tag -s) once a key is published. - Safety for the
curl | bashpath: bootstrap fetches only from a pinned tag (nevermain), verifies the tarball againstSHA256SUMSbefore running anything, prints what it is about to do and pauses unless--yes, and the README shows the two-step form first (curl -o bootstrap.sh … && less bootstrap.sh && bash bootstrap.sh). -
pfsense-siem updatemenu item:git fetch+ checkout of the latest release tag (or tarball re-download), show the CHANGELOG diff, re-runsetup.shso the forwarder/rc.d/watchdog on pfSense match the new version. This is also the post-pfSense-upgrade recovery command. - Container image for the SIEM side is out of scope here — that is
siem-docker-stack; bootstrap should
offer "point at an existing OpenSearch/Grafana" as the default and
install.shas the bare-metal fallback. - Later: Ansible role wrapping the same steps for people who already manage pfSense and the SIEM host with Ansible (moves the Phase C item here).
Prerequisites — both decided 2026-09: releases are tagged (scripts/release.sh,
.github/workflows/release.yml; 2.0.0 is the first tag after 1.2.0), and install.sh is
the manual/bare-metal path — bootstrap defaults to "point at an existing OpenSearch and
Grafana (siem-docker-stack)" and offers install.sh behind an explicit --install-siem flag.
- LAN/east-west dashboard, lateral movement detection
- Filterlog dashboard (firewall rule analysis), Unbound DNS analytics, VPN monitoring, DHCP lease tracking
- Multi-firewall support (central monitoring of several pfSense boxes)
- Threat intel feeds (MISP, abuse.ch, OTX) — coordinate with siem-docker-stack's MISP plans (siem-docker-stack#5)
- Ansible playbooks / repeatable deployment (see Phase B½ — one-command distribution)
- Snort integration, OPNsense support
ML anomaly detection, hardware sizing guide, configuration marketplace, web UI, multi-vendor firewall support, cloud deployment. Community-driven — open a Discussion if one of these matters to you.
-
RENAME_CLEANUP_PLAN.mdandMIGRATION_CHECKLIST.mddeleted — they tracked thepfsense_grafana→pfsense-siem-stackrename, which is complete; the checklist claimed the opposite. -
REORGANIZATION_SUMMARY.md— historical session log of the 2025 rebrand, now in git history (see docs/ARCHIVE.md). - The duplicate roadmap that lived at the bottom of
CHANGELOG.mdis merged into this file; CHANGELOG now only records changes. -
A third of the tree is archived material (43 scripts, 12 docs, 7 dashboards).Done: the archives were deleted and the last commit containing them is recorded in docs/ARCHIVE.md — git history keeps them.
See CONTRIBUTING.md. Highest-value contributions right now: OpenSearch security enablement, alert rule library, reliable transport, multi-firewall testing.
Last Updated: September 19, 2026 Maintainer: ChiefGyk3D Issues: GitHub Issues License: MPL 2.0
Source: ROADMAP.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.
This wiki is generated from the Markdown files in pfsense-siem-stack on every push to main. Edits made here are overwritten; edit the source file named at the bottom of each page and open a pull request. Placeholders used throughout: admin@<PFSENSE_IP> is your pfSense SSH login, <SIEM_IP> your SIEM server, interface names like igc0 are examples. Licensed MPL 2.0.
Getting started
Suricata
pfBlockerNG
Telegraf
pfSense platform
- Upgrading pfSense ⭐
- Filterlog Stops After Rotation
- Traffic Shaping Guide
- Shaping Optimization Notes
- October 2026 Tuning Results
- CrowdSec (exploratory)
SIEM: deploy
- Quick Start
- New User Checklist
- SIEM Server Installation
- Forwarder Installation
- GeoIP Setup
- Dashboard Installation
SIEM: operate
- Management Console
- Forwarder Operations and Watchdog
- Multi-Interface and Retention
- Scripts Reference
SIEM: fix