\item What is the IP address and TCP port number used by your client computer (source) to transfer the file to \texttt{gaia.cs.umass.edu}?
The client's socket is \texttt{192.168.1.102:1161}.
\item What is the IP address of \texttt{gaia.cs.umass.edu}? On what port number is it sending and receiving TCP segments for this connection?
The server's socket is \texttt{128.119.245.12:80}.
\item\texttt{[Trace used]}
\end{enumerate}
\subsection{TCP Basics}
\begin{enumerate}\setcounter{enumi}{3}
\item What is the sequence number of the TCP SYN segment that is used to initiate the TCP connection between the client computer and \texttt{gaia.cs.umass.edu}?
What is it in the segment that identifies the segment as a SYN segment?
The value of the sequence number is \texttt{232129012} (relative 0).
The flag that identifies it as a SYN segment is set to \texttt{0x002}.
\item What is the sequence number of the SYNACK segment sent by \texttt{gaia.cs.umass.edu} to the client computer in reply to the SYN\@?
What is the value of the Acknowledgement field in the SYNACK segment?
How did \texttt{gaia.cs.umass.edu} determine that value?
What is it in the segment that identifies the segment as a SYNACK segment?
The value of the sequence number is \texttt{883061785} (relative 0).
The value of the acknowledgement number is \texttt{232129013} (relative 1).
It is set to the sequence number of the received SYN segment, incremented by 1.
The flag that identifies it as a SYNACK segment is set to \texttt{0x012}.
\item What is the sequence number of the TCP segment containing the HTTP POST command?
The value of the sequence number is \texttt{232293053} (relative 164041).
\item Consider the TCP segment containing the HTTP POST as the first segment in the TCP connection.
What are the sequence numbers of the first six segments in the TCP connection?
At what time was each segment sent?
When was the ACK for each segment received?
Given the difference between when each TCP segment was sent, and when its acknowledgement was received, what is the RTT value for each of the six segments?
What is the \texttt{EstimatedRTT} value after the receipt of each ACK\@?
\begin{enumerate}
\item Seq = 164041 sent at \texttt{Aug 21, 2004 15:44:25.867722000 CEST}
\item Seq = 1 sent at \texttt{Aug 21, 2004 15:44:25.959852000 CEST}
\item Seq = 1 sent at \texttt{Aug 21, 2004 15:44:26.018268000 CEST}
\item Seq = 1 sent at \texttt{Aug 21, 2004 15:44:26.026211000 CEST}
\item Seq = 1 sent at \texttt{Aug 21, 2004 15:44:26.031556000 CEST}
\item Seq = 164091 sent at \texttt{Aug 21, 2004 15:44:26.221522000 CEST}
\end{enumerate}
\item What is the length of each of the first six TCP segments?
\begin{enumerate}
\item 104 bytes
\item 60 bytes
\item 60 bytes
\item 60 bytes
\item 784 bytes
\item 54 bytes
\end{enumerate}
\item What is the minimum amount of available buffer space advertised at the received end for the entire trace?
Does the lack of receiver buffer space ever throttle the sender?
\item Select \emph{one} UDP packet from your trace.
From this packet, determine how many fields there are in the UDP header.
Name these fields.
\begin{enumerate}
\item Source Port
\item Destination Port
\item Length
\item Checksum
\item UDP payload
\end{enumerate}
\item By consulting the displayed information in Wireshark's packet content field for this packet, determine the length (in bytes) of each of the UDP header fields.
\begin{enumerate}
\item Source Port: 2 bytes
\item Destination Port: 2 bytes
\item Length: 2 bytes
\item Checksum: 2 bytes
\item UDP payload: 129 bytes
\end{enumerate}
\item The value in the Length field is the length of what?
It is the length of UDP segment (the encapsulated data + the UDP header).
\item What is the maximum number of bytes that can be included in a UDP payload?
129.
\item What is the largest possible source port number?
2 bytes so $2^{16}-1=65535$.
\item What is the protocol number for UDP\@?
Give your answer in both hexadecimal and decimal notation.
\begin{itemize}
\item Decimal: 17
\item Hexadecimal: 11
\end{itemize}
\item Examine a pair of UDP packets in which your host sends the first UDP packet and the second UDP packet is a reply to this first UDP packet.
The source port and destination port are reversed.