Security · IDS / IPS
Network IDS
Cheat sheet · https://pcornel.dk/topic.php?topic=4610
Answer
A network IDS (NIDS) analyses traffic from a SPAN port or tap at key points in the network, such as the internet edge or data centre core, alerting on attacks across many hosts.
Remember
- NIDS uses SPAN ports or taps.
- It covers many hosts.
- Placement is critical.
First checks
suricata -T -c /etc/suricata/suricata.yaml— config testzeek -i <if>— network monitor- SPAN/TAP placement — coverage
Commands
curl http://testmynids.org/uid/index.html
Verify in this order
network copy → NIDS → alerts/logs
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=4610