Three-Way Handshake
The three-step process (SYN, SYN-ACK, ACK) that establishes a TCP connection.
The three-way handshake is how two devices establish a TCP connection before exchanging data. First, the client sends a SYN (synchronize) packet. The server responds with SYN-ACK (synchronize-acknowledge). Finally, the client sends ACK (acknowledge) and the connection is established. This process confirms both sides are ready to communicate. When a port scan shows a port as "open," it means the three-way handshake completed successfully. If the server sends RST (reset) instead of SYN-ACK, the port is "closed." If there is no response at all, the port is "filtered."
Related terms
See also
Referenced on
- Build a DNS Resolver from Scratch in Python
- How DNS Queries Work: A Developer's Guide to the DNS Protocol
- How to Report Brute Force SSH and RDP Attacks: Log Evidence and Abuse Report Templates
- How to Report Port Scanning and Network Reconnaissance to an ISP
- HTTP Header Checker, Response Headers & Timing
- Port Scanner, Check Open TCP & UDP Ports