nerdexam
GIAC

GSEC · Question #125

Which of the following TCP packet flags indicates that host should IMMEDIATELY terminate the connection containing the packet?

The correct answer is D. RST. The RST flag forces an immediate, ungraceful termination of a TCP connection, discarding any unacknowledged data.

Networking and Core Concepts

Question

Which of the following TCP packet flags indicates that host should IMMEDIATELY terminate the connection containing the packet?

Options

  • AFIN
  • BURG
  • CSYN
  • DRST

How the community answered

(32 responses)
  • A
    6% (2)
  • B
    16% (5)
  • C
    3% (1)
  • D
    75% (24)

Why each option

The RST flag forces an immediate, ungraceful termination of a TCP connection, discarding any unacknowledged data.

AFIN

FIN signals a graceful connection teardown, allowing the receiving side to finish sending data before closing, not an immediate termination.

BURG

URG marks data in the segment as urgent and prioritizes it for processing, but does not affect connection state at all.

CSYN

SYN is used to initiate a new TCP connection during the three-way handshake, not to terminate one.

DRSTCorrect

The RST (Reset) flag instructs the receiving host to immediately abort the connection without a normal teardown handshake. Unlike FIN, there is no waiting for acknowledgment or graceful close - the connection is torn down instantly and any in-flight data is discarded. This is used when a connection is in an invalid state or must be forcibly closed.

Concept tested: TCP RST flag and connection termination

Source: https://www.ietf.org/rfc/rfc793.txt

Topics

#TCP flags#RST#connection termination#TCP

Community Discussion

No community discussion yet for this question.

Full GSEC Practice