nerdexam
F5

101 · Question #542

After all expected HTTP data has been sent from a server to a client, the client does not close connection. The server reaps the connection, but after that the client sends a 'Keep alive' packet to th

The correct answer is B. RST. When a server has reaped a TCP connection and later receives an unexpected packet on that session, it responds with a RST segment to signal the connection no longer exists.

Section 1: OSI Model, Network, and Application Delivery Basics

Question

After all expected HTTP data has been sent from a server to a client, the client does not close connection. The server reaps the connection, but after that the client sends a 'Keep alive' packet to the server. Which type of packet will the server respond with?

Options

  • AFiN
  • BRST
  • CACK
  • DSYN

How the community answered

(22 responses)
  • A
    5% (1)
  • B
    77% (17)
  • C
    14% (3)
  • D
    5% (1)

Why each option

When a server has reaped a TCP connection and later receives an unexpected packet on that session, it responds with a RST segment to signal the connection no longer exists.

AFiN

FIN initiates a graceful connection teardown and can only be sent within an active connection - since the server has already reaped the connection, it has no state from which to send FIN.

BRSTCorrect

After the server reaps the connection, its TCP stack holds no state for that session. Per RFC 9293, when a packet arrives referencing a non-existent connection, TCP responds with a RST segment to immediately abort the stale or half-open connection. This prevents the client from continuing to send data on a connection the server has already discarded.

CACK

ACK acknowledges received data within an established, tracked connection - the server has no connection state to reference and therefore cannot generate a valid ACK.

DSYN

SYN is used exclusively to initiate a new TCP three-way handshake and is never a valid response to an inbound packet on a closed connection.

Concept tested: TCP RST response to packets on closed connections

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

Topics

#TCP state machine#RST packet#keep-alive#connection teardown

Community Discussion

No community discussion yet for this question.

Full 101 Practice