Security · IDS / IPS
Intrusion Detection System
Cheat sheet · https://pcornel.dk/topic.php?topic=4608
Answer
An intrusion detection system (IDS) monitors network or host activity and raises alerts on suspected attacks without blocking them, such as Suricata, Zeek or Snort in passive mode.
Remember
- An IDS alerts but does not block.
- It cannot disrupt traffic.
- Someone must handle alerts.
First checks
tail -f /var/log/suricata/fast.log— alertsjq 'select(.event_type=="alert")' /var/log/suricata/eve.json | head— structured alerts- SIEM alert view — triage
Verify in this order
copy of traffic → IDS → alert
Where it usually breaks
First mismatch in endpoint/identity → path/reachability → policy selection → enforcement/session → protected flow → telemetry/detection; preserve identity/policy/pre-state before mutation.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4608