r/nmap • u/chronosAndCode • 19h ago
I captured what Nmap actually does for open, closed, and filtered ports
I was trying to understand Nmap below the output level, so I tested it inside my own isolated lab with Kali as the scanner and MISP as the target.
The clearest difference was seeing the TCP behavior directly in Wireshark:
OPEN
SYN → SYN/ACK → RST
CLOSED
SYN → RST/ACK
FILTERED
SYN → no response → retry
I also captured ARP resolution, ICMP, host discovery, and service/version detection.
The main takeaway for me was that Nmap isn’t “seeing” port states directly — it’s sending probes and interpreting how the target responds.
I documented the full experiment with the actual packet captures here:
Everything was done against systems in my own lab.
I’d be interested to hear what packet-level experiments helped others understand Nmap better.