Skip to document

CS2204 Discussion Forum UNIT7

good
Course

Auditing (ADT2019)

162 Documents
Students shared 162 documents in this course
Academic year: 2018/2019
Uploaded by:
Anonymous Student
This document has been uploaded by a student, just like you, who decided to remain anonymous.
University of Calicut

Comments

Please sign in or register to post comments.

Preview text

Discuss the following (exercise 4 from section 12 of the textbook):  Simultaneous TCP connection initiations are rare, but simultaneous connection termination is relatively common. How do two TCP nodes negotiate the simultaneous sending of FINpackets to one another? Draw the ladder diagram, and label the states on each side. Which node goes into TIMEWAIT state? Note any areas where you may want or need some further explanation. Ask questions of yourfellow classmates. Revisit the Discussion Forum often, responding to at least three other classmates and responding to anyone who responded to your original post. You may need to use some additional outside sources. Be sure to properly cite any sources you use using APA format. You can get some help on APA formatting here: Purdue OnlineWriting Lab. (n.). APA style introduction. Purdue University. owl.purdue/owl/research_and_citation/apa_style/apa_style_introductio n

How do two TCP nodes negotiate the simultaneous sending of FIN packets to one another? End of a connection As retrieved from Dordal, P. (2019). And from geeksforgeeks.(2017). The client can request to end a connection just like the server. The connection is terminated as follows:  One of the machines sends a segment with the FIN flag at 1, and the application goes into a state of waiting for the end, that is to say it finishes receiving the current segment and ignores the following ones  After receiving this segment, the other machine sends an acknowledgment with the FIN flag set to 1 and continues to send the current segments. Following this, the machine informs the application that a FIN segment has been received, then sends a FIN segment to the other machine, which closes the connection..

This study source was downloaded by 100000808358606 from CourseHero on 08-01-2022 10:16:40 GMT -05: coursehero/file/70540695/CS2204-DISCUSSION-FORUM-UNIT7docx/

A typical TCP close ladder diagram (geeksforgeeks.,2017).

Here is an explanation of the working mechanism in TCP:

Step 1 (END From Client) - Let us assume that the client application suddenly decides to close the connection. Then the client must in this case send a TCP segment with the FIN bit set to 1 to the server and in this case enter the FIN_WAIT_1 state. Note that in the FIN_WAIT_1 state, the client is in principle waiting for a TCP segment from the server, obviously with an acknowledgment of receipt of the type (ACK).

This study source was downloaded by 100000808358606 from CourseHero on 08-01-2022 10:16:40 GMT -05: coursehero/file/70540695/CS2204-DISCUSSION-FORUM-UNIT7docx/

References: 1) Dordal, P. (2019). An introduction to computer networks. Retrieve from my.uopeople/pluginfile.php/924215/mod_book/chapter/246076/Computer NetworksText 2) geeksforgeeks.(2017). TCP Connection Termination. Retrieve from geeksforgeeks/tcp-connection-termination/

This study source was downloaded by 100000808358606 from CourseHero on 08-01-2022 10:16:40 GMT -05:

Powered by TCPDF (tcpdf) coursehero/file/70540695/CS2204-DISCUSSION-FORUM-UNIT7docx/

Was this document helpful?

CS2204 Discussion Forum UNIT7

Course: Auditing (ADT2019)

162 Documents
Students shared 162 documents in this course
Was this document helpful?
Discuss the following (exercise 4.0 from section 12.24 of the textbook):
Simultaneous TCP connection initiations are rare, but simultaneous connection termination is
relatively common. How do two TCP nodes negotiate the simultaneous sending of FIN
packets to one another? Draw the ladder diagram, and label the states on each side. Which
node goes into TIMEWAIT state?
Note any areas where you may want or need some further explanation. Ask questions of your
fellow classmates.
Revisit the Discussion Forum often, responding to at least three other classmates and
responding to anyone who responded to your original post.
You may need to use some additional outside sources. Be sure to properly cite any sources
you use using APA format. You can get some help on APA formatting here: Purdue Online
Writing Lab. (n.d.). APA style introduction. Purdue
University. https://owl.purdue.edu/owl/research_and_citation/apa_style/apa_style_introductio
n.html
How do two TCP nodes negotiate the simultaneous sending of FIN packets to one another?
End of a connection
As retrieved from Dordal, P. (2019). And from geeksforgeeks.org.(2017). The client can
request to end a connection just like the server. The connection is terminated as follows:
One of the machines sends a segment with the FIN flag at 1, and the application goes
into a state of waiting for the end, that is to say it finishes receiving the current
segment and ignores the following ones
After receiving this segment, the other machine sends an acknowledgment with the
FIN flag set to 1 and continues to send the current segments. Following this, the
machine informs the application that a FIN segment has been received, then sends a
FIN segment to the other machine, which closes the connection..
This study source was downloaded by 100000808358606 from CourseHero.com on 08-01-2022 10:16:40 GMT -05:00
https://www.coursehero.com/file/70540695/CS2204-DISCUSSION-FORUM-UNIT7docx/