nerdexam
EC-Council

312-50V10 · Question #19

The establishment of a TCP connection involves a negotiation called three-way handshake. What type of message does the client send to the server in order to begin this negotiation?

The correct answer is B. SYN. The TCP three-way handshake is initiated by the client sending a SYN packet to the server to request a new connection.

Scanning Networks

Question

The establishment of a TCP connection involves a negotiation called three-way handshake. What type of message does the client send to the server in order to begin this negotiation?

Options

  • AACK
  • BSYN
  • CRST
  • DSYN-ACK

How the community answered

(22 responses)
  • A
    5% (1)
  • B
    91% (20)
  • D
    5% (1)

Why each option

The TCP three-way handshake is initiated by the client sending a SYN packet to the server to request a new connection.

AACK

ACK (acknowledge) is the third and final message in the handshake, sent by the client after receiving the server's SYN-ACK, not the message that initiates the connection.

BSYNCorrect

In the TCP three-way handshake, the client begins connection establishment by sending a SYN (synchronize) segment containing a randomly chosen initial sequence number. The server then replies with a SYN-ACK acknowledging the client's sequence number and providing its own, and finally the client sends an ACK to complete the connection - making SYN the correct initiating message.

CRST

RST (reset) is a control flag used to abruptly terminate an existing or invalid connection, not to initiate a new one.

DSYN-ACK

SYN-ACK is the server's combined response to the client's initial SYN, representing the second step of the handshake rather than the client's opening message.

Concept tested: TCP three-way handshake SYN initiation

Source: https://www.rfc-editor.org/rfc/rfc793

Topics

#TCP three-way handshake#SYN packet#TCP connection establishment#network protocols

Community Discussion

No community discussion yet for this question.

Full 312-50V10 Practice