PASS ✓DROPBLOCK 198.51.100.66FALSE POSITIVESEES: IP · PORT · SIZENO SIGNATURE MATCH0 PORTS / 3 sALERT: PORT SCAN1 INCIDENT
Coloured parts: the ones the current step is about; the rest wait in whitePink envelopes: scan probes · blue: a visitor · sky-blue: copies for the IDSGold box: the inline IPS, which can drop · sky-blue box: the IDS, which can only alertAmber box: the SIEM, where alerts and logs meetA scanner (198.51.100.66) sends SYN probes to many ports of a web server (203.0.113.10). An IPS sits inline, so every packet passes through it: it passes a visitor's normal request. The first 20 probes still reach the server, because a threshold rule only trips once crossed; from port 21 on, the IPS drops every probe, so the scanner hears silence. The edge switch copies every frame to a mirror port, where a passive IDS spots the scan by its behaviour (100 ports in 3 s) and can only raise an alert. Signatures catch known patterns; mistakes are false positives and false negatives; encryption hides contents; every alert and log meets in the SIEM. The scan rate (100 ports in 3 s), the rule (20 ports in 60 s) and the 10-minute block are illustrative; real products let the operator set them. A threshold rule only trips once it is crossed, so the first 20 probes still reach the server. 198.51.100.66, 192.0.2.7 and 203.0.113.10 are RFC 5737 documentation addresses.

The attack fails

  1. A scanner at 198.51.100.66 sends SYN probes, the first message of a TCP connection, to port after port of the web server. Most never arrive: after the first 20, a box in the path drops the rest, and the scanner gets only silence back.

Where they sit

How they spot it

Limits and logs

On the wire and in the log

;; step 1/10 · scan-dropped · probe
;; Scanner → Web server
TCP 198.51.100.66:51000 → 203.0.113.10:21   SYN
TCP 198.51.100.66:51000 → 203.0.113.10:22   SYN
TCP 198.51.100.66:51000 → 203.0.113.10:23   SYN
TCP 198.51.100.66:51000 → 203.0.113.10:25   SYN
…  (100 ports in 3 s)
probes 1–20      reach the server → SYN-ACK or RST back
probes 21–100    IPS verdict DROP, no reply sent
scanner sees     silence on 80 ports → "filtered"

Sensors are often placed both outside and inside a protecting device: outside sees every attempt, inside sees only what got through (NIST SP 800-94). Because an IPS is in the path, its owner must choose what happens if it breaks: fail open (traffic flows unchecked) or fail closed (traffic stops).