GSLC · Question #517
The 3-way handshake method is used by the TCP protocol to establish a connection between a client and the server. It involves three steps: 1. In the first step, a SYN message is sent from a client…
The correct answer is B. 241713112. In a TCP 3-way handshake, the server's SYN/ACK acknowledgement number equals the client's ISN plus one, confirming receipt of the client's SYN segment.
Question
Options
- A241824111
- B241713112
- C241824112
- D241713111
How the community answered
(26 responses)- A15% (4)
- B73% (19)
- C8% (2)
- D4% (1)
Why each option
In a TCP 3-way handshake, the server's SYN/ACK acknowledgement number equals the client's ISN plus one, confirming receipt of the client's SYN segment.
241824111 is the server's own Initial Sequence Number placed in the sequence number field of the SYN/ACK, not the acknowledgement number field.
When the server receives the client's SYN with ISN 241713111, it must acknowledge that sequence number by incrementing it by 1 (241713111 + 1 = 241713112) in the acknowledgement field of its SYN/ACK packet. This increment signals that the server has received the SYN and is expecting the next byte starting at 241713112. The SYN flag itself consumes one sequence number, which is why the increment is exactly 1.
241824112 would be the client's acknowledgement of the server's SYN (server ISN + 1), which appears in step 3 (the client's ACK), not in the server's SYN/ACK.
241713111 is the raw client ISN with no increment; the ACK number must be the next expected byte, which requires adding 1 to the received SYN sequence number.
Concept tested: TCP 3-way handshake sequence and acknowledgement numbers
Source: https://www.rfc-editor.org/rfc/rfc793
Topics
Community Discussion
No community discussion yet for this question.