A web server receives an incoming Ethernet frame carrying an HTTPS request over TLS/TCP. Arrange the following de-encapsulation steps performed by the receiving host network stack in the correct chronological sequence from first (bottom of stack) to last (top of stack).
- 1The Network Interface Card (NIC) processes raw physical signals into bits, validates the Frame Check Sequence (FCS), and removes the Ethernet header and trailer to expose the IP packet PDU.
- 2The Network layer validates the destination IP address, verifies the IP header checksum, strips the IPv4 header, and passes the resulting TCP segment PDU to the Transport layer.
- 3The Transport layer processes the sequence numbers, evaluates the destination port, strips the TCP header, and passes the assembled stream payload to the session/presentation protocol.
- 4The TLS protocol layer receives the encrypted application data unit, verifies cryptographic integrity signatures, decrypts the payload, and presents unencrypted data to the web service.
- 5The web server daemon (e.g., NGINX/Apache) parses the HTTP GET request headers and URL parameters from the unencrypted data stream to render a response.
Cevap
The correct sequence of de-encapsulation is: 1) NIC validates FCS and strips Ethernet header/trailer (Layer 2 frame to Layer 3 packet); 2) Network layer verifies destination IP and strips IPv4 header (Layer 3 packet to Layer 4 segment); 3) Transport layer processes port numbers and strips TCP header (Layer 4 segment to upper-layer data); 4) TLS layer decrypts the encrypted payload (Layer 5/6 Presentation layer processing); 5) Web server process parses the HTTP request (Layer 7 Application layer).
De-encapsulation operates strictly bottom-up (Layer 2 frame → Layer 3 packet → Layer 4 segment → Layer 5/6 decrypted session → Layer 7 application data). At each step, a device inspects its specific layer control header, verifies checksums/integrity, strips the header/trailer, and uses higher-layer protocol indicators (EtherType, IP Protocol field, TCP Port) to pass the remaining PDU up to the next layer.
Adım Adım Çözüm
Anahtar Kavram
Inbound De-encapsulation Sequence and PDU Unwrapping