Question: 7 . ( 4 pts ) Suppose a process in host C has a UDP socket with port number 6 7 8 9 . Suppose

7.(4 pts) Suppose a process in host C has a UDP socket with port number 6789. Suppose both
host A and host B each send a UDP segment to host C with destination port number 6789.
a. Will both of these segments be directed to same socket at host C?
b. If so, how will the process at host C know that these two segments originated from
two different hosts?
8.(4 pts) How many networked processes could theoretically be running on a host at once?
9.(6 pts) Consider a TCP connection between host B and server C. Suppose that the TCP
segments traveling from host B to server C have source port number 2345 and destination
port number 443.
a. What are the source and destination port numbers for the segments traveling from
host C to host B?
b. What can you deduce about server C? What kind of server is it?
10.(8 pts) The text covers the saw tooth behavior that occurs between a sender and a
receiver?
a. What protocol is associated with this behavior?
b. What specific algorithm is associated with saw tooth behavior?
11.(8 pts) Concerning methods for controlling congestion on a network.
a. What are the 2 approaches to congested control?
b. List a network technology or protocol covered in the textbook that uses the
congestion control approaches you listed in part a.
12.(4 pts) Examine the tcp segment header. The flag field contains 9 bits in the segment structure.
a. What does the last bit, (reading the bits from left to right), signify?
b. When is it used?
13.(4 pts) Refer to page 257 in the text.
a. What portion of the tcp session is used as an attack?
b. What is the purpose of a SYN cookie?
14.(12 total pts) Refer to section 3.2.2 in the textbook that starts on page 202 to help you with
this question. Answer questions a through d (the values used in the text book are 16 bits
long, but 8 bit sequences will be easier to work with for this question)
a. Add these two 8 bit integers together and provide their sum in both binary and decimal:
00110111
01010011
b. What is the 1 complement of the binary number: 00001111?
c. Compute the checksum for the UDP segment with these 8 bit values:
01010111 Src port
01110001 Dst port
00011000 length
d. A receiver examines a UDP segment with the following 8 bit values. Will the receiver
drop this packet?
01011000 Src port
00011100 Dst port
11001101 length
10111101 chksum
e.(4 pts) Validate your answer by showing your work.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!