How long does the Telnet server wait until it closes the TCP connection?
What will be an ideal response?
About 60 seconds.
```
No. Time Source Destination Protocol Info
20 23.602188 10.0.5.11 10.0.5.22 TCP 3113 >
telnet [SYN] Seq=836600528 Ack=0 Win=5840 Len=0
21 23.602515 10.0.5.22 10.0.5.11 TCP telnet >
3113 [SYN, ACK] Seq=805361808 Ack=836600529 Win=5792 Len=0
22 23.602571 10.0.5.11 10.0.5.22 TCP 3113 >
telnet [ACK] Seq=836600529 Ack=805361809 Win=5840 Len=0
23 23.611580 10.0.5.22 10.0.5.11 TELNET Telnet Data
...
24 23.611654 10.0.5.11 10.0.5.22 TCP 3113 >
telnet [ACK] Seq=836600529 Ack=805361821 Win=5840 Len=0
25 23.614013 10.0.5.11 10.0.5.22 TELNET Telnet Data
...
26 23.614387 10.0.5.22 10.0.5.11 TCP telnet >
3113 [ACK] Seq=805361821 Ack=836600562 Win=5792 Len=0
27 23.614571 10.0.5.22 10.0.5.11 TELNET Telnet Data
...
28 23.620558 10.0.5.11 10.0.5.22 TELNET Telnet Data
...
29 23.628388 10.0.5.22 10.0.5.11 TELNET Telnet Data
...
30 23.646953 10.0.5.11 10.0.5.22 TELNET Telnet Data
...
31 23.647722 10.0.5.22 10.0.5.11 TELNET Telnet Data
...
32 23.648060 10.0.5.11 10.0.5.22 TELNET Telnet Data
33 23.648301 10.0.5.22 10.0.5.11 TELNET Telnet Data
...
34 23.684650 10.0.5.11 10.0.5.22 TCP 3113 >
telnet [ACK] Seq=836600640 Ack=805361941 Win=5840 Len=0
35 83.621974 10.0.5.22 10.0.5.11 TCP telnet >
3113 [FIN, ACK] Seq=805361941 Ack=836600640 Win=5792 Len=0
36 83.622473 10.0.5.11 10.0.5.22 TCP 3113 >
telnet [FIN, ACK] Seq=836600640 Ack=805361942 Win=5840 Len=0
37 83.622743 10.0.5.22 10.0.5.11 TCP telnet >
3113 [ACK] Seq=805361942 Ack=836600641 Win=5792 Len=0
```
The closing of connection was now initiated by the server. When the server timed out the connection, it would actively tear down the connection. The packets that involved in closing the TCP connection is frame 35, 36 and 37. We can see that FIN and ACK flags were present in these packets. When the first packet with FIN came back from the server, the client knew the server wished to close the connection, it responded by sending back a FIN packet and ACKed the server sequence. When server received the FIN and ACK from client, it sent back a final ACK and closed the connection (it actually waited a while before eventually closing the connection).
You might also like to view...
Each element of a document is marked within the HTML file by one or more links.
Answer the following statement true (T) or false (F)
Which of the following is true of Infrastructure as a Service (IaaS)?
a. It focuses on software external to the data center that exists on top of the software infrastructure. b. It focuses on the facilities and infrastructure within the data center and the virtualization and abstraction layer that exists on top of the physical facilities and infrastructure. c. It focuses on the hardware external to the data center that exists under the software infrastructure. d. It focuses on the facilities external to the data center that exist on top of the software infrastructure.
The ____ describes the length of the packet header in 32-bit words and is a 4 bit value.
A. Header checksum B. type of service C. total length D. Internet header length
Resistance is measured in
A) Amps B) Watts C) Ohms D) Farads