Network security#11
IDS / IPS intrusion detection
Edge traffic inspection by the UniFi gateway’s IDS / IPS engine, from detection mode to blocking, with every alert traced to its cause.
Year2025
RoleImplementation & analysis
- IDS then IPS
- UniFi gateway engine
- Triaged false positives
Problem
The firewall filtered by ports and addresses but saw nothing of the content: malicious traffic on an allowed port went unnoticed.
Solution
The IDS / IPS engine built into the UniFi gateway (based on Suricata), first in detection to measure false positives, then in prevention; signature categories chosen for the network’s uses and updated by UniFi, documented exceptions for false positives, Fail2Ban on exposed services and capture analysis in Wireshark.
Architecture
Internet
UniFi gateway
Home
Analysis
Tap an element to see its role, or follow a path.
Outcome
Known scans and attempts are blocked at the edge, and every alert is triaged rather than ignored.
IPS
blocking at the edge
222
phases: detect, block
Key steps
- 01
Detection only on the UniFi gateway during the observation phase
- 02
Signature categories chosen for the network’s uses
- 03
False-positive triage and documented exceptions
- 04
Switching to prevention (IPS)
- 05
Fail2Ban on exposed services
- 06
Alert and capture analysis in Wireshark
In the notebook
Stack
UniFi GatewayIDS / IPS (Suricata)Fail2BanWireshark