Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Network & Security Expert

Using WireShark (formerly Ethereal)

Required Hardware: You can do this lab exercise on any computer that is connected to the Internet and has Ethereal or WireShark software installed.

Alternately, you can do this lab from the comfort of your own home or laptop by downloading and installing WireShark and installing it on your local PC.

In this lab you will:

1. Execute Wireshark and practice capturing data packets

2. Become familiar with the results from capturing packets for a file download from a web server.

Part 1: Start up Wireshark Capture and select computer IP address

1. Determine the IP address for the Ethernet interface cards of the computer you are using. Start up Wireshark, click Capture→Interfaces and click on the check box under Device corresponding to your active Ethernet interface.

Click on the Start button. Wireshark will begin running in Capture Mode and will open up a Wireshark Capture window showing you how many packets have been captured in real time.

Part 2: Download Web Page

1. With Wireshark still running in Capture Mode, start up your favorite browser (Internet Explorer, Mozilla, Firefox or whatever).

2. Enter the following address: facweb

3. A web page should appear in your browser from the author's home page

4. Close your browser window

5. Go back to the Wireshark Capture window and click the Stop button or

Capture→Stop to stop the packet capture.

Part 3: Verify that the Web Page Download has Been Captured

1. Back in the Wireshark window, you should now see lots of packets in the top summary pane. Filter out all packets except HTTP packets by typing the word "http" into the Filter: box and press Apply or click View→Filter Toolbar if you don't see a Filter box at the top. This will make things much easier to read.

2. You should see a packet containing something like "GET /cwhite / HTTP" sent by your PC to request the web page download.

3. If the next packet listed (containing the reply from the web server to your PC)contains "HTTP/1.1 200 OK" and the next 3 are "Continuation" GET packets,then you have successfully captured the packets containing the lab html web page. Skip the following step 4 and continue to Part 4.

4. On the other hand, if the reply from the web server contains "HTTP/1.1 304 Not Modified", then this means Wireshark did not capture the packets from the web site because the web page was already stored (cached) in your browser. In this case you must clear your browser cache and then go back and re-do the capture as follows:

a. First, you must clear the web cache in your browser.

i. For Internet Explorer, click Tools → Internet Options, then, under the General tab, click the Delete Files button within the

Temporary Internet Files box area.

ii. For Firefox, click Tools → Options, then Privacy, Cache and click Clear.

iii. For other browsers, you're on your own.

b. Now in your Wireshark window, again select Capture→Interfaces and click the Capture button corresponding to the Ethernet interface. When prompted whether to save the previous capture, click Continue without saving.

c. Go back to Part 2, step 1 above to download the web page again while Wireshark is capturing packets.

Part 4: What to Hand in

The goal of this lab was primarily to introduce you to Wireshark and practice capturing data packets. The intentions of the following questions is to show that you have been able to run Wireshark and explore some of the capabilities.

Answer the following questions:

1. List at least three different protocols that appears in the protocol column in the unfiltered packet-listing window.

2. How long did it take from when the HTTP GET message was sent until the HTTP OK reply was received? Note: By default, the value of the Time column in the packet listing window is the amount of time, in seconds, since Wireshark tracing began. To display the Time field in time-of-day format, select the Wireshark View pull down menu, then select Time Display Format, then select Time-of-day.

3. What is the Internet address of the web page

4. What is the Internet address of your computer?

5. Provide screen shots of the HTTP GET and HTTP OK messages that was sent from your computer to HTTP server. Look for an HTTP GET and HTTP OK message in the "listing of captured packets" portion of the Wireshark window that shows "GET /cwhite ".

When you select the HTTP GET message, the Ethernet frame, IP datagram, TCP segment, and HTTP message header information will be displayed in the packet-header window2.

By clicking on ‘+' and ‘-‘ right-pointing and down-pointing arrowheads to the left side of the packet details window, minimize the amount of Frame, Ethernet, Internet Protocol, and Transmission Control Protocol information displayed. maximize the amount information displayed about the HTTP protocol.

Computer Network & Security, Computer Science

  • Category:- Computer Network & Security
  • Reference No.:- M92777682

Have any Question?


Related Questions in Computer Network & Security

Income effects depend on the income elasticity of demand

Income effects depend on the income elasticity of demand for each good that you buy. If one of the goods you buy has a negative income elasticity, that is, it is an inferior good, what must be true of the income elastici ...

Part auniversity of neverland offers more than 300

Part A University of Neverland offers more than 300 undergraduate programs. The Bachelor of Dreams is one of the highly regarded program offered by the University. The University tries to improve all its programs by intr ...

If a firms total cost function is given byt c

If a firm's total cost function is given byT C= 115,000Q-500Q2+Q3, what range of output does the firm have economies of scale?

About rsa please answer the following questionsa suppose

About RSA, please answer the following questions. (a) Suppose p=11 and q=7. What is ? (n), where n=p?q? (b) If the public key e is 11, find the private key d. (c) If the ciphertext is 4, what is the plaintext? (d) For en ...

Two countries australia and france have their interest

Two Countries Australia and France have their interest rates to be 8% and 2 %, respectively. If their currencies trade according to 2 Australian $s buy one euro in the spot market, what will their future spot rate be in ...

True or false1 tcp ensures error free transmission2 the

TRUE or FALSE 1. TCP ensures error free transmission. 2. The process that initiates the communication is the server. 3. A host can serve as both server and client in a P2P network. 4. Audio and video applications cannot ...

Overviewthis assignment has three major aims- to help

Overview This assignment has three major aims: - To help students gain good understanding of theoretical and practical material. - To encourage students to use content analysis summaries to prepare for tests, examination ...

Fiona told her friend that she is very fortunate as the

Fiona told her friend that she is very fortunate as the slow-down in the economy has not decreased sales in her grocery store by much compared to sales of new cars in his car dealership. Explain what Fiona meant using th ...

A wall street journal article noted that a study by us

A Wall Street Journal article noted that a study by U.S. Congressional Budget Office "estimated raising the minimum wage to $10.10 per hour reduced U.S employment by 500,000 but lift 900,000 Americans out of poverty". Wh ...

Content analysis assignmentoverviewthis assignment has

Content Analysis Assignment Overview This assignment has three major aims: - To help students gain good understanding of theoretical and practical material. - To encourage students to use content analysis summaries to pr ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As