Computer communication EDA343/DIT420 Lab 1

Size: px
Start display at page:

Download "Computer communication EDA343/DIT420 Lab 1"

Transcription

1 Computer communication EDA343/DIT420 Lab 1 Packet and Traffic Analysis Using Network Sniffing Software 1. There are three assignments in this course. First two assignments are in form of programming or network software experiment labs whereas the third assignment is in form of a written report. For each assignment there will be a fixed deadline as mentioned in the submission system. This is the PM of the first lab. 2. You may work in groups of max 2 students per group and computer. 3. Completed lab work must be reported with answers of the questions embedded in the lab tasks. The report must be posted to pingpong before the deadline. Please read through this PM before attending the lab session and make sure that you are prepared to use Wireshark. This lab is including adopted and selected parts from the Wireshark Labs which can be downloaded from the course book home page: ( Student resources / Wireshark labs ). Wireshark is popular network protocol analyzer and it is available to download using under the GNU General Public License. Purpose: To learn how to listen to network traffic and analyze different protocols as well as learning to use some useful system utilities. Background reading: Read related sections in Chapter 2 (Application) and Chapter 3 (Transport), please see below the outlined sections of the course book. Preparation: Either at home using your own installation of the software or at campus using the computers of the lab rooms J232 (Gnistan) and J234 (Bryggan), floor 2 in Jupiter building; prepare by yourself the first part of the exercises (Getting Started with Wireshark) to be familiar with the program and its usage; please refer to the Wireshark Lab at the end of Chapter 1 in the course book. The following lab parts are the ones that should be performed fully during the lab sessions. 1. Getting Started with Wireshark (prepared before the lab session) 2. HTTP (section 2.2) 3. DNS (section 2.5) 4. TCP (sections 3.5 and 3.7) For those who wish and who have some time, you may also perform by yourself the following optional labs at home: Page 1

2 Useful and practical information You will be working in the Windows environment but the instructions include as well the Linux environment. To facilitate the work, a small list of things to think about and practical information is found next on this page. Time estimation: Estimate about little bit more than one hour for each part of lab (they are three HTTP lab, DNS lab and TCP lab). Try to understand all topics before continuing with the next part! Bring the book: You will most likely have to consult the book about various topics, so make sure each group has at least one book available! Using Wireshark on computers in lab room: You are going to use the Chalmers studat-computers located in Jup232 (Gnistan) and Jup234 (Bryggan). When coming to the lab, you must log into the machine in front of you using operating system Windows. Use your Chalmers student account to log in. You are going to get some root privileges on these computers that allow you to perform the lab tasks using Wireshark. Ordinary studat-users are not allowed to capture network traffic. Note: In any other Studat-computer rooms Wireshark must run with administrator (root) privileges. If you just start Wireshark, you will get an error message permission denied when trying to capture packets. Using traces: The book resources include traces files for the Wireshark labs. You may use these prerecorded trace files at home but not during the lab session. Please note; do not use any trace file during the lab exercises, since you are able to run Wireshark on a live network connection in the lab room. You should use your own outworked trace. Manuals and on-line help: If you need help about a command, you can ask the system in Linux by giving the command man command in a terminal window. In Windows use the help parameter /? To get help, for example enter C:\> ipconfig /?. Web browser: When using web browser you may need to clean the cache as outlined in the text of the instructions depending on which browser is in use. DNS: In addition to the nslookup command, you can experiment with the host command. Also, note that the Linux ifconfig has different arguments than Windows ipconfig. In order to flush DNS-cache use the command sudo /etc/init.d/nscd restart as it is outlined in the text of the instructions. Page 2

3 HTTP (March 2012) Adopted from Wireshark Labs 2009 J.F. Kurose, K.W. Ross. All Rights Reserved Computer Networking: A Top down Approach, 5th edition. In this lab, you ll explore several aspects of the HTTP protocol; the basic GET/response interaction, HTTP message format, retrieving large HTML files, retrieving HTML files with embedded objects, and optional HTTP authentication and security. Before beginning these labs, you might want to review section 2.2 of the book. 1. The Basic HTTP GET/response interaction Let s begin the exploration of HTTP by downloading a very simple HTML file; one that is very short, and contains no embedded objects. Do the following: Start up your web browser. Start up the Wireshark packet capture, as described in the introductory lab (but don t yet begin packet capture). Enter the string http in the Filter-field (or in the display-filterspecification window), then press the button Apply so that only captured HTTP messages will be displayed later in the packet-listing window. (We are only interested in the HTTP protocol here, and don t want to see the clutter of all captured packets). Start Wireshark packet capture. Enter the following to your browser: Your browser should display the very simple, one-line HTML file. Stop Wireshark packet capture. Wireshark will show in the packet-listing window that two HTTP messages are captured; the GET message (from your browser to the gaia.cs.umass.edu web server) and the response message from the server to your browser. The packet-contents window shows details of the selected message (in this case the HTTP GET message, when you highlight it in the packet-listing window). Recall that since the HTTP message was carried inside a TCP segment, which was carried inside an IP datagram, which was carried within an Ethernet frame, Wireshark displays the Frame, Ethernet, IP, and TCP header information as well. We want to minimize the amount of non-http data displayed (We are interested in HTTP here, and you will be investigating these other protocols in later labs), so make sure that the boxes at the far left of the Frame, Ethernet, IP and TCP information have a plus sign (which means there is hidden, not displayed information), and the HTTP line has a minus sign (which means that all information about the HTTP message is displayed). N o t e : You should ignore any HTTP GET and response for favicon.ico. There is no reference to this file in the html-page; it is your browser automatically asking the server if it (the server) has a small icon file that should be displayed next to the displayed URL in your browser. Just ignore the GET/response messages of this file. Page 3

4 By looking at the information in the HTTP GET and response messages, answer the following questions. When answering, you should inspect the fields of the GET and response messages to indicate where in the message you ve found the information about answers. 1. What is the IP address of your computer? 2. What HTTP version is your browser running? What version is the server running? 3. What languages (if any) does your browser indicate to the server that it can accept? 4. What is the status code returned from the server to your browser? 5. When was the HTML-file that you are retrieving last-modified at the server? 6. How many bytes of content are being returned to your browser? 7. By inspecting the raw decoded data in the packet-contents window, compare the header lines with those that are displayed in the protocol-contents window, are they the same? N o t e : In your answer to question 5 above, you might have been surprised to find that the document you just retrieved was last modified within a minute before you downloaded the document. That s because (for this particular file), the gaia.cs.umass.edu server is setting the file s last-modified time to be the current time, and is doing so once per minute. Thus, if you wait a minute between accesses, the file will appear to have been recently modified, and hence your browser will download a new copy of the document. 2. The HTTP CONDITIONAL GET/response interaction Recall from Sections of the book, that most web browsers perform object caching and thus perform a conditional GET when retrieving an HTTP object. Before performing the steps below, make sure your browser s cache is empty. (To do this under Firefox, select Tools Clear Recent History, or for Internet Explorer, select Tools Internet Options General Tab Clear History; these actions will remove cached files from your browser s cache.) Now do the following: Start up your web browser, and make sure your browser s cache is cleared, as explained above. Start up the Wireshark packet capture, and enter http in the Filter-field as before. Enter the following URL into your browser Your browser should display a very simple five-line HTML file. Quickly enter the same URL into your browser again (or simply select the refresh button on your browser). Stop Wireshark packet capture. Answer the following questions: 8. Inspect the contents of the first HTTP GET request from your browser to the server. Is the request indicating conditional GET? 9. Inspect the contents of the server response. Does the server explicitly return the contents of the file? How can you tell? 10. Now inspect the contents of the second HTTP GET request from your browser to the server. Which HTTP header line does the request indicate conditional GET? 11. What is the HTTP status code and phrase returned from the server in response to this second HTTP GET? Does the server explicitly return the contents of the file? Explain. Page 4

5 3. Retrieving Long Documents In our examples thus far, the documents retrieved have been simple and short HTML files. Let s next see what happens when you download a large HTML file. Do the following: Start up your web browser, and make sure your browser s cache is cleared, as discussed above. Start up the Wireshark packet capture, and enter http in the Filter-field as before. Enter the following URL into your browser Your browser should display the rather lengthy US Bill of Rights. Stop Wireshark packet capture. In the packet-listing window, you should see the HTTP GET message, followed by a multiplepacket response to your HTTP GET request. This multiple-packet response deserves a bit of explanation. Recall from Section 2.2 (see Figure 2.9 in the book) that the HTTP response message consists of a status line, followed by header lines, followed by a blank line, followed by the entity body. The entity body in the response is the entire requested HTML file. In our case here, the HTML file is rather long, and at 4500 bytes is too large to fit in one single TCP segment or one IP packet. The single HTTP response message is thus broken into several pieces by TCP, with each piece being contained within a separate TCP segment. (Each TCP segment may be recorded as a separate packet by Wireshark or a number of segments are reassembled and the former will also be indicated by the Continuation phrase displayed by Wireshark. It should be clear here that there is no Continuation message in HTTP!). Please check Wireshark Preferences Protocols HTTP to see what options to choose in order to suppress reassembly of segments. Answer the following questions: 12. How many HTTP GET request messages are sent by your browser? 13. How many data-containing TCP segments are needed to carry the single HTTP response? 14. What is the status code and phrase associated with the response to the HTTP GET request? 15. Are there any HTTP status-lines in the transmitted data associated with a TCP-induced Continuation? 4. HTML Documents with Embedded Objects Now that you ve seen how Wireshark displays the captured packet traffic for large HTML files, you can look at what happens when your browser downloads a file with embedded objects, i.e., a file that includes other objects (in the example below, image files) that are stored on other servers. Do the following: Start up your web browser, and make sure your browser s cache is cleared. Start up the Wireshark packet capture and enter http in the Filter-field as before. Enter the following URL into your browser Stop Wireshark packet capture. Your browser should display a short HTML file with two images. These two images are referenced in the base HTML file. That is, the images themselves are not contained in the HTML; instead the URLs for the images are contained in the downloaded base HTML file. As discussed in the book, your browser will have to retrieve these logos from the indicated web sites. The publisher s logo is retrieved from the web site. The image of the course book s cover is stored at the server. Page 5

6 Answer the following questions: 16. How many HTTP GET request messages are sent by your browser? To which Internet addresses are these GET requests sent? 17. Can you tell whether your browser downloaded the two images serially, or whether they are downloaded from the two web sites in parallel? Explain. 5. HTTP Authentication (Optional) Finally, let s try visiting a web site that is password-protected and examine the sequence of HTTP messages exchanged for such a site. So let s access this secure password-protected site. Do the following: Start up your browser and make sure that the browser s cache is cleared, as before. Start up the Wireshark packet capture. Enter the following URL into your browser This URL is password protected. The username is wireshark-students and the password is network. Type the requested user name and password into the pop up box. Stop Wireshark packet capture, and enter http in the display-filter-specification window, so that only captured HTTP messages will be displayed later in the packet-listing window. Now let s examine the Wireshark output. You might want to first read up on HTTP authentication by reviewing the easy-to-read material on HTTP Access Authentication Framework at Answer the following questions: 18. What is the server s response (status code and phrase) in response to the initial HTTP GET message from your browser? 19. When your browser s sends the HTTP GET message for the second time, what new field is included in the HTTP GET message? The username (wireshark-students) and password (network) that you entered are encoded in the string of characters (d2lyzxnoyxjrlxn0dwrlbnrzom5ldhdvcms=) following the Authorization: Basic header in the client s HTTP GET message. While it may appear that your username and password are encrypted, they are simply encoded in a format known as Base64 format. The username and password are not encrypted! To see this, go to decoder web page Enter the base64- encoded string d2lyzxnoyxjrlxn0dwrlbnrz and press decode. Voila! You have translated from Base64 encoding to ASCII encoding, and thus should see your username! To view the password, enter the remainder of the string Om5ldHdvcms= and press decode. Since anyone can download a tool like Wireshark and sniff packets (not just their own) passing by their network adapter, and anyone can translate from Base64 to ASCII (you just did it!), it should be clear to you that simple passwords on WWW sites are not secure unless additional measures are taken. Fear not! As you will see in Chapter 7, there are ways to make WWW access more secure. However, you ll clearly need something that goes beyond the basic HTTP authentication framework! Page 6

7 DNS (March 2012) Adopted from Wireshark Labs 2009 J.F. Kurose, K.W. Ross. All Rights Reserved Computer Networking: A Top down Approach, 5th edition. As described in section 2.5 of the book, the Domain Name System (DNS) mainly translates hostnames to IP addresses, fulfilling a critical role in the Internet infrastructure. In this lab, you ll take a closer look at the client side of DNS. Recall that the client s role in the DNS is relatively simple; a client sends a query to its local (cache-only) DNS server, and receives a response back. As shown in Figures 2.21 and 2.22 in the book, much can go on under the covers invisible to the DNS clients, as the hierarchical DNS servers communicate with each other to either recursively or/and iteratively resolve the client s DNS query. From the DNS client s standpoint, however, the protocol is quite simple; a query is formulated to the local DNS server and a response is received from that server. Before beginning this lab, you ll probably want to review DNS by reading Section 2.5 of the book. In particular, you may want to review the material on local DNS servers, DNS caching, Resource Records and DNS message format. 1. nslookup In this lab, you ll make extensive use of the nslookup tool, which is available in most Linux/Unix and Microsoft platforms today. To run nslookup in Linux/Unix, you open a terminal window and just enter the nslookup command on the command line. To run it in Windows, open the Command Prompt and run nslookup on the command line. The general syntax of nslookup command is: nslookup option1 option2 host-to-find dns-server In general, nslookup can be run with zero, one, two or more options. And as you will see in the following examples, the dns-server is optional as well; if it is not supplied, the query is sent to the default local DNS server. In its most basic operation, nslookup tool allows the host to query any specified DNS server for a DNS record. The queried DNS server can be a root DNS server, a Top-Level- Domain DNS server, an authoritative DNS server, or an intermediate DNS server (see the book for definitions of these terms). To accomplish this task, nslookup sends a DNS query to the specified DNS server, receives a DNS reply from that same DNS server, and displays the result. Consider first the results by entering the command: nslookup In words, this command is saying please send me the IP address for the host When running nslookup, if no DNS server is specified, then nslookup sends the query to the default DNS server. The response from this server provides two pieces of information: (1) the name and IP address of the DNS server that provides the answer; and (2) the answer itself, which is the host Page 7

8 name and IP address of Although the response will come from the local DNS server at the Chalmers University (probably res1.chalmers.se), it is quite possible that this local DNS server iteratively contacted several other DNS servers to get the answer, as described in Section 2.5 of the book. Now consider the results by entering a second command: nslookup -type=ns mit.edu In this example, you provide the option -type=ns and the domain mit.edu. This causes nslookup to send a query for a type NS record to the default local DNS server. In words, the query is saying, please send me the host names of the authoritative DNS for mit.edu. (When the -type option is not used, nslookup uses the default, which is to query for type A records.) The answer will first indicate the DNS server that is providing the answer (which is the default local DNS server) along with three MIT name servers. Each of these servers is indeed an authoritative DNS server for the hosts on the MIT campus. However, nslookup also indicates that the answer is nonauthoritative, meaning that this answer came from the cache of the local server rather than directly from an authoritative MIT DNS server. Finally, the answer also includes the IP addresses of the authoritative DNS servers at MIT. (Even though the type-ns query generated by nslookup did not explicitly ask for the IP addresses, the local DNS server returned these for free and nslookup displays the result.). Finally consider a third command: nslookup bitsy.mit.edu In this example, you indicate that you want the query to be sent to the DNS server bitsy.mit.edu rather than to the default local DNS server. Thus, the query and reply transaction takes place directly between your querying host and bitsy.mit.edu. In this example, the DNS server bitsy.mit.edu recursively provides the IP address of the host which is a web server at the Advanced Institute of Information Technology (in Korea). Do the following (and write down your commands and the results): 1. Run nslookup to obtain the IP address of a Web server in Asia. 2. Run nslookup to determine the authoritative DNS servers for a university in Europe. 3. Run nslookup to determine the mail servers for Yahoo! 2. ipconfig/ifconfig The commands ipconfig (for Windows) and ifconfig (for Linux/Unix) are among the most useful little utilities in your host, especially for debugging network issues. ipconfig or ifconfig can be used to show host current TCP/IP information, including IP address, adapter type and so on. For example, if you want all this information about your host, just enter: C:\> ipconfig /all into the Command Prompt, in Windows $ /sbin/ifconfig into a terminal, in Linux In Section 2.5 you learned that a host can cache DNS records it recently obtained. To clear the cache, enter: C:\> ipconfig /flushdns into the Command Prompt, in Windows $ sudo /etc/init.d/nscd restart into a terminal, in Linux. Flushing or restarting the DNS cache clears all entries and reloads the entries from the hosts file. Page 8

9 3. Tracing DNS with Wireshark Now that you are familiar with nslookup and ipconfig/ifconfig, you re ready to get down to some serious business. Let s first capture the DNS packets that are generated by ordinary Web surfing activity. Use the appropriate command to empty the DNS cache in your host. Open your browser and empty the browser cache. Start Wireshark and enter ip.addr = = your_ip_address into the Filter-field, where you find out your_ip_address using ipconfig/ifconfig. This filter removes all packets that neither originate nor are destined to your host. Start packet capture in Wireshark. With your browser, visit the Web page: Stop packet capture. Answer the following questions: 4. Locate the DNS query and response messages. Are they sent over UDP or TCP? 5. What are the source and the destination ports used for the DNS query and response messages? 6. To what IP address is the DNS query message sent? Is this the IP address of your local DNS server? Use ipconfig /all in Windows, or enter the command cat /etc/resolv.conf in Linux to determine the IP address of your local DNS server. 7. Examine the DNS query message. What Type of DNS query is it? Which information fields sections are there in the query message? 8. Examine the DNS response message. How many sections are provided? What does each of these fields contain? 9. Consider the subsequent TCP SYN packet sent by your host. Does the destination IP address of the SYN packet correspond to any of the IP addresses provided in the DNS response message? 10. This web page contains images. In order to retrieve each image a GET message is sent with the host name does your host issue new DNS queries to resolve it? Why? Now let s examine DNS messages using nslookup. Start packet capture. Type and execute the command: nslookup bitsy.mit.edu Stop packet capture. You should now get a packet trace where nslookup actually sent three DNS queries and received three DNS responses. For the purpose of this assignment, in answering the following questions, you should focus on the desired query and response messages to translate the hostname. Please ignore any other sets of queries/responses, as they are specific to the DNS configuration of the host and are not normally generated by standard Internet applications. Answer the following questions: 11. To what IP address is the DNS query message sent? Is this the IP address of your default local DNS server? If not, what does the IP address correspond to? 12. Examine the DNS query message. What Type of DNS query is it? Does the query message contain any sections? 13. Examine the DNS response message. How many answers are provided? What does each of these answers contain? Page 9

10 TCP (March 2012) Adopted from Wireshark Labs 2009 J.F. Kurose, K.W. Ross. All Rights Reserved Computer Networking: A Top down Approach, 5th edition. In this lab, you ll investigate the behaviour of TCP in detail. You ll do so by analyzing a trace of the TCP segments sent and received when transferring a 150 Kbyte file (containing the text of Lewis Carroll s Alice s Adventures in Wonderland) from your computer to a remote server. Before beginning this lab, you ll probably want to review sections 3.5 and 3.7 in the book. You are going to: Study TCP s use of sequence and acknowledgement numbers for providing reliable data transfer, Consider briefly TCP connection setup Look at TCP s receiver-advertised flow control mechanism. Investigate the performance (throughput and round-trip time) of the TCP connection between your computer and the server. See TCP s congestion control algorithm; slow start and congestion avoidance in action, 1. Capturing a bulk TCP transfer from your computer to a remote server Before beginning the exploration of TCP, you ll need to use Wireshark to obtain a packet trace of the TCP transfer of a file from your computer to a remote server. You ll do so by accessing a Web page that will allow you to enter the name of a file stored on your computer (which contains the ASCII text of Alice Adventures in Wonderland), and then transfer the file to the Web server using the HTTP POST method (see section in the book). You re using the POST method this time rather than the GET method because you d like to transfer a large amount of data from your computer to a Web server. Of course, you ll be running Wireshark during this time to obtain the trace of the TCP segments sent and received from your computer. Do the following: Start up your web browser. Go the and retrieve an ASCII copy of Alice Adventure in Wonderland. Store this file somewhere on your computer. Next go to You should see a screen that looks like: Page 10

11 Use the Browse button in this form to enter the name of the file (full path name) on your computer containing Alice Adventure in Wonderland (or do so manually). Don t yet press the Upload alice.txt file button. Now start up Wireshark and begin packet capture. Returning to your browser, press the Upload alice.txt file button to upload the file to the gaia.cs.umass.edu server. Once the file has been uploaded, a short congratulations message will be displayed in your browser. Stop Wireshark packet capture. 2. A first look at the captured trace Before analyzing the behaviour of the TCP connection in detail, let s take a high level view of the trace. Since this lab is about TCP rather than HTTP, let s change Wireshark s listing of captured packets window so that it shows information about the TCP segments containing the HTTP messages, rather than about the HTTP messages. To do so; filter the packets displayed in the Wireshark window by entering tcp in the Filter field and then press the button Apply. You should now see a series of TCP segments sent between your computer and gaia.cs.umass.edu. You will use this packet trace that you have captured to study TCP behaviour in the rest of this lab. You should see the initial three-way handshake containing SYN/ACK messages. Then you should see an HTTP POST message and a series of HTTP Continuation segments being sent from your computer to gaia.cs.umass.edu. Recall from a previous discussion in the earlier HTTP Wireshark lab, that there is no such thing as an HTTP Continuation message. This is Wireshark s way of indicating that there are multiple TCP segments being used to carry a single HTTP message. You should also see TCP ACK segments being returned from gaia.cs.umass.edu to your computer. Whenever possible, you should indicate which packet(s) within the trace that you used to answer the question and explain your answer. Answer the following questions: 1. What is the IP address and TCP port number used by your computer (source)? 2. What is the IP address of gaia.cs.umass.edu? On what port number is it sending and receiving TCP segments for this connection? Page 11

12 3. TCP Basics Answer the following questions for the TCP segments: 3. Identify the TCP segments that are used to initiate the TCP connection between your computer and gaia.cs.umass.edu. What are the initial sequence numbers being used? For each one, what is in the segment that identifies it as an initial connection segment? 4. What is the value of the ACKnowledgement field in each of these initial segments? How does each side determine that value? What is; in the segment, that identifies it as a ACK segment? 5. What is the sequence number of the TCP segment containing the HTTP POST method? Consider the first TCP segment containing HTTP in this connection. Note that in order to find the POST command; you ll need to dig into the packet content field at the bottom of the Wireshark window, looking for a segment with a POST within its data field. 6. What are the sequence numbers of the first six segments in the TCP connection (following the segment containing the HTTP POST)? At what time is each segment sent? When is the ACK for each segment received? Make a table of these values. 7. Given the difference between when each TCP segment is sent, and when its acknowledgement is received, what is the RTT value for each of the six segments? What is the Estimated RTT value after the receipt of each ACK? Assume that the value of the Estimated RTT is equal to the measured RTT for the first (POST) segment, and then the Estimated RTT is computed using the Estimated RTT equation (given in Section in the book) for all subsequent segments. Complete the table in your answer for Q.6. N o t e : Wireshark has a nice feature that allows you to plot the RTT for each of the TCP segments sent. Select a TCP segment that is being sent from your computer to the gaia.cs.umass.edu server in the listing of captured packets window. Then select: Statistics TCP Stream Graph Round Trip Time Graph. 8. What is the length of data in each of these six TCP segments? 9. What is the minimum amount of available buffer space advertised by the receiver for the entire trace? Does the lack of receiver buffer space ever throttle the sender? 10. Are there any retransmitted segments in the trace file? What do you check for (in the trace) in order to answer this question? 11. How much data does the receiver typically acknowledge in an ACK? Can you identify cases where the receiver is ACKing every other received segment (see Table 3.2 in the book). 12. What is the overall throughput (in kbps) for the whole TCP connection? Explain how you have calculated this value. N o t e : The TCP segments are all equal or less than 1460 bytes. This is because the computer has an Ethernet card that limits the length of the maximum IP packet (MTU) up to 1500 bytes (40 bytes of TCP/IP header data and 1460 bytes of TCP payload). This 1500-byte value is the standard maximum length allowed by Ethernet. 13. In order to see the TCP flow graphically; select a TCP segment in the listing of captured packets window and then select the menu Statistics Flow Graph. Choose flow type TCP flow. Now by using this TCP flow graph you may verify your answers of the above questions Q Page 12

13 4. TCP Congestion Control Let s now examine the amount of data sent per unit time from your computer to the server. Rather than (tediously!) calculating this from the raw data in the Wireshark window, you ll use one of Wireshark s TCP graphing utilities; Time-Sequence Graph (Stevens) to plot out data. Select a TCP segment in the Wireshark s listing of captured-packets window. Then select the menu Statistics TCP Stream Graph Time-Sequence Graph (Stevens). You should see a plot of the segments sent per time. In this graph; each dot represents a TCP segment sent, and the utility is plotting the sequence number of the segment versus the time at which it was sent. Note that a set of dots stacked above each other represents a series of packets that are sent backto-back by the sender. Answer the following questions: 14. Using sequence-time plot of the segments being sent from your computer to the gaia.cs.umass.edu server; can you identify where TCP s slow start phase begins and ends, and where congestion avoidance takes over? Include a copy of your plot and explain your answer with values from it. 15. Comment on ways in which the measured data differs from the idealized behaviour of TCP that you ve studied in the book. Page 13

Wireshark HTTP. Introduction. The Basic HTTP GET/response interaction

Wireshark HTTP. Introduction. The Basic HTTP GET/response interaction Wireshark HTTP Introduction Having gotten our feet wet with the Wireshark packet sniffer in the introductory lab, we re now ready to use Wireshark to investigate protocols in operation. In this lab, we

More information

Wireshark Lab: DNS Please note that this exercise is designed for Windows machines. Change the commands accordingly if you are using Linux.

Wireshark Lab: DNS Please note that this exercise is designed for Windows machines. Change the commands accordingly if you are using Linux. Wireshark Lab: DNS Please note that this exercise is designed for Windows machines. Change the commands accordingly if you are using Linux. Version: 2.0 2007 J.F. Kurose, K.W. Ross. All Rights Reserved

More information

Wireshark Lab: DNS v7.0

Wireshark Lab: DNS v7.0 Wireshark Lab: DNS v7.0 Supplement to Computer Networking: A Top-Down Approach, 7th ed., J.F. Kurose and K.W. Ross Tell me and I forget. Show me and I remember. Involve me and I understand. Chinese proverb

More information

CSE4344 Project 2 (Spring 2017) Wireshark Lab: HTTP

CSE4344 Project 2 (Spring 2017) Wireshark Lab: HTTP Objectives CSE4344 Project 2 (Spring 2017) Wireshark Lab: HTTP To get familiar with capturing network packets using Wireshark. To explore the HTTP message formats and basic operations of HTTP protocol.

More information

Homework Problems. 1. Stallings Problem 2.4 from the Problems section, not the Review Questions. 2. Stallings Problem 2.7.

Homework Problems. 1. Stallings Problem 2.4 from the Problems section, not the Review Questions. 2. Stallings Problem 2.7. ECE 2305: Introduction to Communications and Networks D-term 2014 Homework+Lab 2: Due at start of class on 01-Apr. Please complete all five homework problems, and the twenty lab problems. Homework Problems

More information

Wireshark Lab: TCP v7.0

Wireshark Lab: TCP v7.0 Wireshark Lab: TCP v7.0 Supplement to Computer Networking: A Top-Down Approach, 7th ed., J.F. Kurose and K.W. Ross Tell me and I forget. Show me and I remember. Involve me and I understand. Chinese proverb

More information

Before beginning this lab, you ll probably want to review sections 3.5 and 3.7 in the text. 1

Before beginning this lab, you ll probably want to review sections 3.5 and 3.7 in the text. 1 Wireshark Lab: TCP Version: 2.0 2007 J.F. Kurose, K.W. Ross. All Rights Reserved Computer Networking: A Topdown Approach, 4 th edition. In this lab, we ll investigate the behavior of TCP in detail. We

More information

Before beginning this lab, you ll probably want to review sections 3.5 and 3.7 in the text.

Before beginning this lab, you ll probably want to review sections 3.5 and 3.7 in the text. Ethereal Lab: TCP In this lab, we ll investigate the behavior of TCP in detail. We ll do so by analyzing a trace of the TCP segments sent and received in transferring a 150KB file (containing the text

More information

Getting Started. 1 Earlier versions of these labs used the Ethereal packet analyzer. In May 2006, the developer of Ethereal

Getting Started. 1 Earlier versions of these labs used the Ethereal packet analyzer. In May 2006, the developer of Ethereal Getting Started One s understanding of network protocols can often be greatly deepened by seeing protocols in action and by playing around with protocols observing the sequence of messages exchanged between

More information

Project points. CSE422 Computer Networking Spring 2018

Project points. CSE422 Computer Networking Spring 2018 Project 1 100 points Introduction One s understanding of network protocols can often be greatly deepened by seeing protocols in action and by playing around with protocols observing the sequence of messages

More information

CSE434 Computer Networks (FALL, 2009) Programming Assignment 2 Due: Wed, October 7, 2009

CSE434 Computer Networks (FALL, 2009) Programming Assignment 2 Due: Wed, October 7, 2009 CSE434 Computer Networks (FALL, 2009) Programming Assignment 2 Due: Wed, October 7, 2009 Submission Procedure: No late submissions will be accepted. Submit a softcopy before the class to su.kim.asu@gmail.com.

More information

EE586 Homework and Laboratory #5 Due November 3, 2010

EE586 Homework and Laboratory #5 Due November 3, 2010 EE586 Homework and Laboratory #5 Due November 3, 2010 The first 5 problems are on chapter 4, while the last two, one for grad student only and one wireshark are on chapter 3. Maximum points for undergraduate:

More information

Wireshark Lab: HTTP. 1. The Basic HTTP GET/response interaction

Wireshark Lab: HTTP. 1. The Basic HTTP GET/response interaction Wireshark Lab: HTTP Version: 2.0 (June 2007) 2007 J.F. Kurose, K.W. Ross. All Rights Reserved Computer Networking: A Topdown Approach, 4 th edition. Having gotten our feet wet with the Wireshark packet

More information

Wireshark Lab: HTTP v6.1

Wireshark Lab: HTTP v6.1 Wireshark Lab: HTTP v6.1 Supplement to Computer Networking: A Top-Down Approach, 6 th ed., J.F. Kurose and K.W. Ross Tell me and I forget. Show me and I remember. Involve me and I understand. Chinese proverb

More information

Submit your captured trace file from the TCP lab exercise (Section 1 describes how this can be done).

Submit your captured trace file from the TCP lab exercise (Section 1 describes how this can be done). TCN 5030 - Project 2 Overview: This project will give you hands-on experience with the Wireshark network protocol analyzer, by investigating the behavior of TCP. Wireshack is a popular open-source tool

More information

Exploring TCP and UDP based on Kurose and Ross (Computer Networking: A Top-Down Approach) May 15, 2018

Exploring TCP and UDP based on Kurose and Ross (Computer Networking: A Top-Down Approach) May 15, 2018 Exploring TCP and UDP based on Kurose and Ross (Computer Networking: A Top-Down Approach) May 15, 2018 Exploring TCP Description Capturing a bulk TCP transfer from your computer to a remote server. In

More information

Department Of Computer Science

Department Of Computer Science Department Of Computer Science Laboratory Manual Prepared By: Muhammad Nouman Farooq Lecturer and Course Coordinator Course: Network Security (CS-242) Page 1 of 47 Table of Contents Lab 1- Introduction

More information

Wireshark Lab: HTTP SOLUTION

Wireshark Lab: HTTP SOLUTION Wireshark Lab: HTTP SOLUTION Supplement to Computer Networking: A Top-Down Approach, 7th ed., J.F. Kurose and K.W. Ross 2005-2012, J.F Kurose and K.W. Ross, All Rights Reserved The following screen shots

More information

Lab Assignment 3 for ECE374

Lab Assignment 3 for ECE374 Lab Assignment 3 for ECE374 Posted: 02/25/18 Due: 03/08/18 In this lab, we ll take a quick look at the UDP and TCP transport protocol. Whenever possible you should hand in a Wireshark screenshot that you

More information

Wireshark Lab: DNS v6.01

Wireshark Lab: DNS v6.01 PGT 100 NETWORKING FUNDAMENTALS LAB MODULE 4 Wireshark Lab: DNS v6.01 PGT100-Networking Fundamentals Lab 4 Page 1 Tracing DNS with Wireshark Now that we are familiar with nslookup and ipconfig, we re ready

More information

Problem Set 6 Due: Start of Class, October 26

Problem Set 6 Due: Start of Class, October 26 CS242 Computer Networks Handout # 12 Randy Shull October 19, 2017 Wellesley College Problem Set 6 Due: Start of Class, October 26 Reading: Kurose & Ross, Sections 3.4, 3.5 Wireshark Lab [11] This exercise

More information

4. What is the sequence number of the SYNACK segment sent by spinlab.wpi.edu to the client computer in reply to the SYN? Also Seq=0 (relative

4. What is the sequence number of the SYNACK segment sent by spinlab.wpi.edu to the client computer in reply to the SYN? Also Seq=0 (relative 1. What is the IP address and TCP port number used by your client computer (source) to transfer the file to spinlab.wpi.edu? My computer is at 10.211.55.3. The source port is 49247. See screenshot below.

More information

Wireshark Lab: Ethernet and ARP v6.01

Wireshark Lab: Ethernet and ARP v6.01 Wireshark Lab: Ethernet and ARP v6.01 Supplement to Computer Networking: A Top-Down Approach, 6 th ed., J.F. Kurose and K.W. Ross Tell me and I forget. Show me and I remember. Involve me and I understand.

More information

University of Maryland Baltimore County Department of Information Systems Spring 2015

University of Maryland Baltimore County Department of Information Systems Spring 2015 University of Maryland Baltimore County Department of Information Systems Spring 2015 IS 450/650: Data Communications and Networks Homework Assignment 1 Wireshark Lab (Handed Out: February 3, 2015 (Tuesday),

More information

UNI CS 3470 Networking Project 5: Using Wireshark to Analyze Packet Traces 12

UNI CS 3470 Networking Project 5: Using Wireshark to Analyze Packet Traces 12 UNI CS 3470 Networking Project 5: Using Wireshark to Analyze Packet Traces 12 Due Wednesday, 12/7, at 11:59:59 PM. One s understanding of network protocols can often be greatly deepened by seeing protocols

More information

Wireshark Lab: DNS SOLUTION

Wireshark Lab: DNS SOLUTION Wireshark Lab: DNS SOLUTION Supplement to Computer Networking: A Top- Down Approach, 7th ed., J.F. Kurose and K.W. Ross 2005-2016, J.F Kurose and K.W. Ross, All Rights Reserved 1. Run nslookup to obtain

More information

Wireshark Lab: Getting Started

Wireshark Lab: Getting Started Wireshark Lab: Getting Started Tell me and I forget. Show me and I remember. Involve me and I understand. Chinese proverb 2005-2019, J.F Kurose and K.W. Ross, All Rights Reserved Introduction to Wireshark

More information

Wireshark Lab: Getting Started v6.0

Wireshark Lab: Getting Started v6.0 Wireshark Lab: Getting Started v6.0 Supplement to Computer Networking: A Top-Down Approach, 6 th ed., J.F. Kurose and K.W. Ross Tell me and I forget. Show me and I remember. Involve me and I understand.

More information

Wireshark Lab: Getting Started v6.0

Wireshark Lab: Getting Started v6.0 Wireshark Lab: Getting Started v6.0 Supplement to Computer Networking: A Top-Down Approach, 6 th ed., J.F. Kurose and K.W. Ross Tell me and I forget. Show me and I remember. Involve me and I understand.

More information

Wireshark Lab: Getting Started v7.0

Wireshark Lab: Getting Started v7.0 Wireshark Lab: Getting Started v7.0 Adapted by HMC from the supplement to Computer Networking: A Top-Down Approach, 7 th ed., J.F. Kurose and K.W. Ross Tell me and I forget. Show me and I remember. Involve

More information

Lab 2. All datagrams related to favicon.ico had been ignored. Diagram 1. Diagram 2

Lab 2. All datagrams related to favicon.ico had been ignored. Diagram 1. Diagram 2 Lab 2 All datagrams related to favicon.ico had been ignored. Diagram 1 Diagram 2 1. Is your browser running HTTP version 1.0 or 1.1? What version of HTTP is the server running? According to the diagram

More information

Problem Set 7 Due: Start of Class, November 2

Problem Set 7 Due: Start of Class, November 2 CS242 Computer Networks Handout # 14 Randy Shull October 26, 2017 Wellesley College Problem Set 7 Due: Start of Class, November 2 Reading: Kurose & Ross, Sections 3.6, 3.7, 3.8 Wireshark Lab [26] In these

More information

Wireshark Lab: Getting Started v7.0

Wireshark Lab: Getting Started v7.0 Wireshark Lab: Getting Started v7.0 Supplement to Computer Networking: A Top-Down Approach, 7th ed., J.F. Kurose and K.W. Ross Tell me and I forget. Show me and I remember. Involve me and I understand.

More information

CSCI4211: Introduction to Computer Networks Fall 2017 Homework Assignment 1

CSCI4211: Introduction to Computer Networks Fall 2017 Homework Assignment 1 CSCI4211: Introduction to Computer Networks Fall 2017 Homework Assignment 1 Due 11:59pm Friday October 6 Instructions: 1. Please submit your homework using the on-line electronic submission system (via

More information

Problem Set 9 Due: Start of class, December 4

Problem Set 9 Due: Start of class, December 4 CS242 Computer Networks Handout # 18 Randy Shull November 27, 2017 Wellesley College Problem Set 9 Due: Start of class, December 4 Reading: Kurose & Ross, Sections 6.1 through 6.5 Wireshark Lab [16] In

More information

Wireshark Lab: DNS. 1. Run nslookup to obtain the IP address of a Web server in Asia. What is the IP address of that server?

Wireshark Lab: DNS. 1. Run nslookup to obtain the IP address of a Web server in Asia. What is the IP address of that server? Rick Shingu Nick Ishihara 11/30/14 Wireshark Lab: DNS 1. nslookup 1. Run nslookup to obtain the IP address of a Web server in Asia. What is the IP address of that server? Ran the command nslookup www.asdu.ait.ac.th.

More information

Lab - Using Wireshark to Examine a UDP DNS Capture

Lab - Using Wireshark to Examine a UDP DNS Capture Topology Objectives Part 1: Record a PC s IP Configuration Information Part 2: Use Wireshark to Capture DNS Queries and Responses Part 3: Analyze Captured DNS or UDP Packets Background / Scenario If you

More information

Problem Set 10 Due: Start of class December 11

Problem Set 10 Due: Start of class December 11 CS242 Computer Networks Handout # 20 Randy Shull December 4, 2017 Wellesley College Problem Set 10 Due: Start of class December 11 Reading: Kurose & Ross, Sections 7.1 7.3, 8.1 8.4 Wireshark Lab [16] Recall

More information

Lab - Using Wireshark to Examine a UDP DNS Capture

Lab - Using Wireshark to Examine a UDP DNS Capture Topology Objectives Part 1: Record a PC s IP Configuration Information Part 2: Use Wireshark to Capture DNS Queries and Responses Part 3: Analyze Captured DNS or UDP Packets Background / Scenario If you

More information

15-441: Computer Networks Homework 3

15-441: Computer Networks Homework 3 15-441: Computer Networks Homework 3 Assigned: Oct 29, 2013 Due: Nov 12, 2013 1:30 PM in class Name: Andrew ID: 1 TCP 1. Suppose an established TCP connection exists between sockets A and B. A third party,

More information

Ethereal Lab: Getting Started

Ethereal Lab: Getting Started Ethereal Lab: Getting Started Version: July 2005 2005 J.F. Kurose, K.W. Ross. All Rights Reserved Computer Networking: A Topdown Approach Featuring the Internet, 3 rd edition. Tell me and I forget. Show

More information

Wireshark Lab: Getting Started

Wireshark Lab: Getting Started Wireshark Lab: Getting Started Version: 2.0 2007 J.F. Kurose, K.W. Ross. All Rights Reserved Computer Networking: A Topdown Approach, 4 th edition. Tell me and I forget. Show me and I remember. Involve

More information

Laboratory Manual for CENG460 Communications Networks

Laboratory Manual for CENG460 Communications Networks Department of Electrical and Computer Engineering Laboratory Manual for CENG460 Communications Networks By Ruonan Zhang, Emad Shihab, Zhe Yang, Xuan Wang, Lei Zheng, and Lin Cai Copyright 2012 University

More information

Wireshark Lab: Getting Started

Wireshark Lab: Getting Started Wireshark Lab: Getting Started This following content is edited from the wireshark lab exercise provided by J.F. Kurose, and K.W. Ross, "Computer Networking: A Top down approach" 5th ed. Pearson, 2010.

More information

Lab Exercise UDP & TCP

Lab Exercise UDP & TCP Lab Exercise UDP & TCP Objective UDP (User Datagram Protocol) is an alternative communications protocol to Transmission Control Protocol (TCP) used primarily for establishing low-latency and loss tolerating

More information

VERSION Lab 3: Link Layer

VERSION Lab 3: Link Layer Lab 3: Link Layer Objective In this lab, you will investigate Ethernet and the ARP protocol. You will also prove you are a Wireshark Ninja by dissecting an unknown protocol. Knowledge from Lecture 20 and

More information

Wireshark Lab: Getting Started v6.0 Supplement to Computer Networking: A Top-Down Approach, 6th ed., J.F. Kurose and K.W. Ross

Wireshark Lab: Getting Started v6.0 Supplement to Computer Networking: A Top-Down Approach, 6th ed., J.F. Kurose and K.W. Ross Wireshark Lab: Getting Started v6.0 Supplement to Computer Networking: A Top-Down Approach, 6th ed., J.F. Kurose and K.W. Ross 2005-21012, J.F Kurose and K.W. Ross, All Rights Reserved In the Wireshark

More information

Genie Snoop lab. Laboration in data communication GenieLab Department of Information Technology, Uppsala University

Genie Snoop lab. Laboration in data communication GenieLab Department of Information Technology, Uppsala University Genie Snoop lab Laboration in data communication GenieLab Department of Information Technology, Uppsala University Overview This lab deals with network layers, services and HTTP transactions as well as

More information

Wireshark intro. Introduction. Packet sniffer

Wireshark intro. Introduction. Packet sniffer Wireshark intro Introduction One s understanding of network protocols can often be greatly deepened by seeing protocols in action and by playing around with protocols observing the sequence of messages

More information

Local DNS Attack Lab. 1 Lab Overview. 2 Lab Environment. 2.1 Install and configure the DNS server. SEED Labs Local DNS Attack Lab 1

Local DNS Attack Lab. 1 Lab Overview. 2 Lab Environment. 2.1 Install and configure the DNS server. SEED Labs Local DNS Attack Lab 1 SEED Labs Local DNS Attack Lab 1 Local DNS Attack Lab Copyright c 2006-2015 Wenliang Du, Syracuse University. The development of this document is partially funded by the National Science Foundation s Course,

More information

Lab: 2. Wireshark Getting Started

Lab: 2. Wireshark Getting Started Lab: 2 Wireshark Getting Started One s understanding of network protocols can often be greatly deepened by seeing protocols in action and by playing around with protocols observing the sequence of messages

More information

COMS3200/7201 Computer Networks 1 (Version 1.0)

COMS3200/7201 Computer Networks 1 (Version 1.0) COMS3200/7201 Computer Networks 1 (Version 1.0) Assignment 3 Due 8pm Monday 29 th May 2017. V1 draft (hopefully final) Note that the assignment has three parts Part A, B & C, each worth 50 marks. Total

More information

TCP/IP Transport Layer Protocols, TCP and UDP

TCP/IP Transport Layer Protocols, TCP and UDP TCP/IP Transport Layer Protocols, TCP and UDP Learning Objectives Identify TCP header fields and operation using a Wireshark FTP session capture. Identify UDP header fields and operation using a Wireshark

More information

DKT 224/3 LAB 2 NETWORK PROTOCOL ANALYZER DATA COMMUNICATION & NETWORK SNIFFING AND IDENTIFY PROTOCOL USED IN LIVE NETWORK

DKT 224/3 LAB 2 NETWORK PROTOCOL ANALYZER DATA COMMUNICATION & NETWORK SNIFFING AND IDENTIFY PROTOCOL USED IN LIVE NETWORK DKT 224/3 DATA COMMUNICATION & NETWORK LAB 2 NETWORK PROTOCOL ANALYZER SNIFFING AND IDENTIFY PROTOCOL USED IN LIVE NETWORK Lab #2 2 Lab #2 : Network Protocol Analyzer (Sniffing and Identify Protocol used

More information

Ethereal Lab: Getting Started

Ethereal Lab: Getting Started Ethereal Lab: Getting Started One s understanding of network protocols can often be greatly deepened by seeing protocols in action and by playing around with protocols observing the sequence of messages

More information

The trace is here: https://kevincurran.org/com320/labs/wireshark/trace-dhcp.pcap

The trace is here: https://kevincurran.org/com320/labs/wireshark/trace-dhcp.pcap Lab Exercise DHCP Objective To see how DHCP (Dynamic Host Configuration Protocol) works. The trace is here: https://kevincurran.org/com320/labs/wireshark/trace-dhcp.pcap Network Setup Recall that DHCP

More information

Lab - Using Wireshark to Examine TCP and UDP Captures

Lab - Using Wireshark to Examine TCP and UDP Captures Topology Part 1 (FTP) Part 1 will highlight a TCP capture of an FTP session. This topology consists of a PC with Internet access. Topology Part 2 (TFTP) Part 2 will highlight a UDP capture of a TFTP session.

More information

PLEASE READ CAREFULLY BEFORE YOU START

PLEASE READ CAREFULLY BEFORE YOU START Page 1 of 20 MIDTERM EXAMINATION #1 - B COMPUTER NETWORKS : 03-60-367-01 U N I V E R S I T Y O F W I N D S O R S C H O O L O F C O M P U T E R S C I E N C E Fall 2008-75 minutes This examination document

More information

PLEASE READ CAREFULLY BEFORE YOU START

PLEASE READ CAREFULLY BEFORE YOU START Page 1 of 20 MIDTERM EXAMINATION #1 - A COMPUTER NETWORKS : 03-60-367-01 U N I V E R S I T Y O F W I N D S O R S C H O O L O F C O M P U T E R S C I E N C E Fall 2008-75 minutes This examination document

More information

CS164 Final Exam Winter 2013

CS164 Final Exam Winter 2013 CS164 Final Exam Winter 2013 Name: Last 4 digits of Student ID: Problem 1. State whether each of the following statements is true or false. (Two points for each correct answer, 1 point for each incorrect

More information

A Simple Network Analyzer Decoding TCP, UDP, DNS and DHCP headers

A Simple Network Analyzer Decoding TCP, UDP, DNS and DHCP headers A Simple Network Analyzer Decoding TCP, UDP, DNS and DHCP headers Objectives The main objective of this assignment is to gain a deeper understanding of network activities and network packet formats using

More information

PLEASE READ CAREFULLY BEFORE YOU START

PLEASE READ CAREFULLY BEFORE YOU START Page 1 of 11 MIDTERM EXAMINATION #1 OCT. 13, 2011 COMPUTER NETWORKS : 03-60-367-01 U N I V E R S I T Y O F W I N D S O R S C H O O L O F C O M P U T E R S C I E N C E Fall 2011-75 minutes This examination

More information

Infoblox Authenticated DHCP

Infoblox Authenticated DHCP Infoblox Authenticated DHCP Unified Visitor Management amigopod Technical Note Revision 1.1 5 July 2010 United States of America +1 (888) 590-0882 Europe, Middle East & Asia +34 91 766 57 22 Australia

More information

The trace file is here: https://kevincurran.org/com320/labs/wireshark/trace-udp.pcap

The trace file is here: https://kevincurran.org/com320/labs/wireshark/trace-udp.pcap Lab Exercise UDP Objective To look at the details of UDP (User Datagram Protocol). UDP is a transport protocol used throughout the Internet as an alternative to TCP when reliability is not required. It

More information

New York University Computer Science Department Courant Institute of Mathematical Sciences

New York University Computer Science Department Courant Institute of Mathematical Sciences New York University Computer Science Department Courant Institute of Mathematical Sciences Course Title: Data Communication & Networks Course Number: g22.2662-001 Instructor: Jean-Claude Franchitti Session:

More information

To see how ARP (Address Resolution Protocol) works. ARP is an essential glue protocol that is used to join Ethernet and IP.

To see how ARP (Address Resolution Protocol) works. ARP is an essential glue protocol that is used to join Ethernet and IP. Lab Exercise ARP Objective To see how ARP (Address Resolution Protocol) works. ARP is an essential glue protocol that is used to join Ethernet and IP. Requirements Wireshark: This lab uses the Wireshark

More information

Goals - to become acquainted with Wireshark, and make some simple packet captures and observations

Goals - to become acquainted with Wireshark, and make some simple packet captures and observations CSCI 395: Networks Lab 2: Introductory Wireshark Lab, Current state of the Internet, and Transmission/ Delay Due: 2/19/16 at the beginning of class 20 Points Part I Goals - to become acquainted with Wireshark,

More information

PLEASE READ CAREFULLY BEFORE YOU START

PLEASE READ CAREFULLY BEFORE YOU START Page 1 of 11 MIDTERM EXAMINATION #1 OCT. 16, 2013 COMPUTER NETWORKS : 03-60-367-01 U N I V E R S I T Y O F W I N D S O R S C H O O L O F C O M P U T E R S C I E N C E Fall 2013-75 minutes This examination

More information

Lab Assignment 4 ECE374 Spring Posted: 03/22/18 Due: 03/29/18. In this lab, we ll take a quick look at the ICMP and IP protocols.

Lab Assignment 4 ECE374 Spring Posted: 03/22/18 Due: 03/29/18. In this lab, we ll take a quick look at the ICMP and IP protocols. Lab Assignment 4 ECE374 Spring 2018 Posted: 03/22/18 Due: 03/29/18 In this lab, we ll take a quick look at the ICMP and IP protocols. Whenever possible you should hand in Wireshark screenshots that you

More information

CCNA 1 Chapter 7 v5.0 Exam Answers 2013

CCNA 1 Chapter 7 v5.0 Exam Answers 2013 CCNA 1 Chapter 7 v5.0 Exam Answers 2013 1 A PC is downloading a large file from a server. The TCP window is 1000 bytes. The server is sending the file using 100-byte segments. How many segments will the

More information

Application Protocols and HTTP

Application Protocols and HTTP Application Protocols and HTTP 14-740: Fundamentals of Computer Networks Bill Nace Material from Computer Networking: A Top Down Approach, 6 th edition. J.F. Kurose and K.W. Ross Administrivia Lab #0 due

More information

Wireshark Lab: v6.0

Wireshark Lab: v6.0 Wireshark Lab: 802.11 v6.0 Supplement to Computer Networking: A Top-Down Approach, 6 th ed., J.F. Kurose and K.W. Ross Tell me and I forget. Show me and I remember. Involve me and I understand. Chinese

More information

Protocol Analysis: Capturing Packets

Protocol Analysis: Capturing Packets Protocol Analysis: Capturing Packets This project is intended to be done on the EiLab Network, but if you want to try to VPN into the EiLab Network on your own PC from your home or workplace, follow these

More information

ICMP Computer Networks Lab Lab Course Number: Lab Course Name: Computer Networks (A) 3. Lab Name: ICMP

ICMP Computer Networks Lab Lab Course Number: Lab Course Name: Computer Networks (A) 3. Lab Name: ICMP 112039 Computer Networks Lab - 3 ICMP 1. Lab Course Number: 112039 2. Lab Course Name: Computer Networks (A) 3. Lab Name: ICMP 4. Lab Overview: In this lab, we ll investigate the ICMP protocol; examine

More information

Announcements. No book chapter for this topic! Slides are posted online as usual Homework: Will be posted online Due 12/6

Announcements. No book chapter for this topic! Slides are posted online as usual Homework: Will be posted online Due 12/6 Announcements No book chapter for this topic! Slides are posted online as usual Homework: Will be posted online Due 12/6 Copyright c 2002 2017 UMaine Computer Science Department 1 / 33 1 COS 140: Foundations

More information

Wireshark Lab: IP v6.0

Wireshark Lab: IP v6.0 Wireshark Lab: IP v6.0 Supplement to Computer Networking: A Top-Down Approach, 6 th ed., J.F. Kurose and K.W. Ross Tell me and I forget. Show me and I remember. Involve me and I understand. Chinese proverb

More information

5. Write a capture filter for question 4.

5. Write a capture filter for question 4. Pre-Lab 2: Single Segment IP Networks 1. Review Linux man pages for arp at www.linuxmanpages.com (in both Sections 7 and 8), the ARP RFC (RFC 826) at www.ietf.org, and Section 3.4 of the IBM Red Book.

More information

UNIVERSITY OF TORONTO FACULTY OF APPLIED SCIENCE AND ENGINEERING

UNIVERSITY OF TORONTO FACULTY OF APPLIED SCIENCE AND ENGINEERING UNIVERSITY OF TORONTO FACULTY OF APPLIED SCIENCE AND ENGINEERING ECE361 Computer Networks Midterm March 06, 2017, 6:15PM DURATION: 80 minutes Calculator Type: 2 (non-programmable calculators) Examiner:

More information

CSCI 466 Midterm Networks Fall 2013

CSCI 466 Midterm Networks Fall 2013 CSCI 466 Midterm Networks Fall 2013 Name: This exam consists of 6 problems on the following 7 pages. You may use your single-sided hand-written 8 ½ x 11 note sheet and a calculator during the exam. No

More information

No book chapter for this topic! Slides are posted online as usual Homework: Will be posted online Due 12/6

No book chapter for this topic! Slides are posted online as usual Homework: Will be posted online Due 12/6 Announcements No book chapter for this topic! Slides are posted online as usual Homework: Will be posted online Due 12/6 Copyright c 2002 2017 UMaine School of Computing and Information S 1 / 33 COS 140:

More information

To see the details of TCP (Transmission Control Protocol). TCP is the main transport layer protocol used in the Internet.

To see the details of TCP (Transmission Control Protocol). TCP is the main transport layer protocol used in the Internet. Lab Exercise TCP Objective To see the details of TCP (Transmission Control Protocol). TCP is the main transport layer protocol used in the Internet. The trace file is here: https://kevincurran.org/com320/labs/wireshark/trace-tcp.pcap

More information

CCNA 1 v3.11 Module 11 TCP/IP Transport and Application Layers

CCNA 1 v3.11 Module 11 TCP/IP Transport and Application Layers CCNA 1 v3.11 Module 11 TCP/IP Transport and Application Layers 2007, Jae-sul Lee. All rights reserved. 1 Agenda 11.1 TCP/IP Transport Layer 11.2 The Application Layer What does the TCP/IP transport layer

More information

Lab 4: Network Packet Capture and Analysis using Wireshark

Lab 4: Network Packet Capture and Analysis using Wireshark Lab 4: Network Packet Capture and Analysis using Wireshark 4.1 Details Aim: To provide a foundation in network packet capture and analysis. You may be faced with network traffic analysis, from traffic

More information

Objectives: (1) To learn to capture and analyze packets using wireshark. (2) To learn how protocols and layering are represented in packets.

Objectives: (1) To learn to capture and analyze packets using wireshark. (2) To learn how protocols and layering are represented in packets. Team Project 1 Due: Beijing 00:01, Friday Nov 7 Language: English Turn-in (via email) a.pdf file. Objectives: (1) To learn to capture and analyze packets using wireshark. (2) To learn how protocols and

More information

Lab Exercise Protocol Layers

Lab Exercise Protocol Layers Lab Exercise Protocol Layers Objective To learn how protocols and layering are represented in packets. They are key concepts for structuring networks that are covered in 1.3 and 1.4 of your text. Review

More information

CSE 3214: Computer Network Protocols and Applications. Midterm Examination

CSE 3214: Computer Network Protocols and Applications. Midterm Examination Department of Computer Science and Engineering CSE 3214: Computer Network Protocols and Applications Midterm Examination Instructions: Instructor: Peter Lian Date: February 14, 2013 1. Examination time:

More information

DOWNLOAD OR READ : WIRESHARK LAB SOLUTIONS IP PDF EBOOK EPUB MOBI

DOWNLOAD OR READ : WIRESHARK LAB SOLUTIONS IP PDF EBOOK EPUB MOBI DOWNLOAD OR READ : WIRESHARK LAB SOLUTIONS IP PDF EBOOK EPUB MOBI Page 1 Page 2 wireshark lab solutions ip wireshark lab solutions ip pdf wireshark lab solutions ip Solution to Wireshark Lab: IP Fig. 1

More information

COMP 2000 W 2012 Lab no. 3 Page 1 of 11

COMP 2000 W 2012 Lab no. 3 Page 1 of 11 COMP 2000 W 2012 Lab no. 3 Page 1 of 11 Lab Introduction Background The Internet is based on packet-switched protocols. Information is carried in packets (it is divided into packets), which can be imagined

More information

Wireshark Lab: DHCP. DHCP Experiment

Wireshark Lab: DHCP. DHCP Experiment Wireshark Lab: DHCP Version: 2.0 2007 J.F. Kurose, K.W. Ross. All Rights Reserved Computer Networking: A Topdown Approach, 4 th edition. In this lab, we ll take a quick look at DHCP. Recall that DHCP is

More information

Application Layer. Applications and application-layer protocols. Goals:

Application Layer. Applications and application-layer protocols. Goals: Application Layer Goals: Conceptual aspects of network application protocols Client paradigm Service models Learn about protocols by examining popular application-level protocols HTTP DNS 1 Applications

More information

Network Applications Principles of Network Applications

Network Applications Principles of Network Applications Network Applications Principles of Network Applications A Network application is an application running on one host and provides communication to another application running on a different host. At the

More information

ICS 351: Networking Protocols

ICS 351: Networking Protocols ICS 351: Networking Protocols IP packet forwarding application layer: DNS, HTTP transport layer: TCP and UDP network layer: IP, ICMP, ARP data-link layer: Ethernet, WiFi 1 Networking concepts each protocol

More information

Lab Exercise UDP. Objective. Requirements. Step 1: Capture a Trace

Lab Exercise UDP. Objective. Requirements. Step 1: Capture a Trace Lab Exercise UDP Objective To look at the details of UDP (User Datagram Protocol). UDP is a transport protocol used throughout the Internet as an alternative to TCP when reliability is not required. It

More information

Expected Time: 90 min PART-A Max Marks: 42

Expected Time: 90 min PART-A Max Marks: 42 Birla Institute of Technology & Science, Pilani First Semester 2010-2011 Computer Networks (BITS C481) Comprehensive Examination Thursday, December 02, 2010 (AN) Duration: 3 Hrs Weightage: 40% [80M] Instructions-:

More information

CS 326e Lab 2, Edmondson-Yurkanan, Spring 2004 Router Configuration, Routing and Access Lists

CS 326e Lab 2, Edmondson-Yurkanan, Spring 2004 Router Configuration, Routing and Access Lists CS 326e Lab 2, Edmondson-Yurkanan, Spring 2004 Router Configuration, Routing and Access Lists Name: In this lab you will learn: PartA Cisco 2600 Router Configuration Static Routing PartB 20 min Dynamic

More information

Lab Assignment for Chapter 1

Lab Assignment for Chapter 1 CHAPTER 1 Lab Assignment for Chapter 1 We have created lab assignments for eight chapters of the textbook (Chapters 1, 2, 3, 4, 5, 6, 8, and 10). We have no lab assignments for Chapter 7, 9 or 11. We cannot

More information

Rate Based Satellite Control Protocol

Rate Based Satellite Control Protocol (RBSCP) was designed for wireless or long-distance delay links with high error rates, such as satellite links. Using tunnels, RBSCP can improve the performance of certain IP protocols, such as TCP and

More information

Material for the Networking lab in EITF25 & EITF45

Material for the Networking lab in EITF25 & EITF45 Material for the Networking lab in EITF25 & EITF45 2016 Preparations In order to succeed with the lab, you must have understood some important parts of the course. Therefore, before you come to the lab

More information

CIT 380: Securing Computer Systems. Network Security Concepts

CIT 380: Securing Computer Systems. Network Security Concepts CIT 380: Securing Computer Systems Network Security Concepts Topics 1. Protocols and Layers 2. Layer 2 Network Concepts 3. MAC Spoofing 4. ARP 5. ARP Spoofing 6. Network Sniffing Protocols A protocol defines

More information

Department of Electrical and Information Technology ETSF10 Internet Protocols Home / Laboratory Project II

Department of Electrical and Information Technology ETSF10 Internet Protocols Home / Laboratory Project II Department of Electrical and Information Technology ETSF10 Internet Protocols Home / Laboratory Project II TCP The aim of this lab is to guide you while you familiarise yourselves with some of the basic

More information