using Grep Awk and Uniq

Lab 9.3:  Practice using Grep Awk and Uniq

 

 

Files Needed:  handshake, teardown, ping, traceroute

 

 

  1. Open the handshake Analyze the file.

 

  1. What type of traffic does this appear to be?
 

3 way handshake

 

 

Note:  The goal of this lab is not to find the correct answers…it is to be able to write the command to produce the correct output of the answer to the question.

 

  1. What two IP addresses are communicating in the packet capture?

Provide the command used to get JUST a list of the IP addresses (including port numbers is ok).
Your output should look similar to the output below.  Try to get the output below on your screen.

 

 

  1. What command did you use to get the output above?

 

 

awk ‘{print $3}’ handshake

 

  1. Using your answer above, attempt to get an output of just the IP addresses, do not include the port numbers. Your output should look similar to the one below.

 

 

  1. What command did you use to get the output above?

 

 

 

awk ‘{print $3}’ handshake |awk –F”.” ‘{print $1,$2,$3.$4}’

 

 

 

 

 

 

 

 

Practice #1

 

  1. Open the teardown Analyze the file. It is a TCP teardown.

 

  1. What two IP addresses are SENDING traffic (meaning they are the source IP) in the packet capture?

Provide the command used to get JUST a list of the IP addresses (including port numbers is ok).
Your output should look similar to the output below.  Try to get the output below on your screen.

 

 

  1. What command did you use to get the output above?

 

 

 

 

  1. Using your answer above, attempt to get an output of just the IP addresses, do not include the port numbers. Your output should look similar to the one below.

 

 

  1. What command did you use to get the output above?

 

 

 

 

 

  1. Using your answer above, how many unique occurrences of each IP address appear? Use a tool to count for you!
    Your output should look similar to the one below.

 

 

  1. What command did you use to get the output above?

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Practice #2

 

 

  1. Open the ping Analyze the file. It is a ping request.

 

  1. How many times does the IP address 192.168.100.1 appear in the file? Your output should look similar to the one below.

 

 

  1. What command did you use to get the output above?

 

 

 

 

 

  1. Write a command that will show you only the “ICMP echo reply” messages from 192.168.100.1. Your output should look similar to the one below.

 

 

  1. What command did you use to get the output above?

 

 

 

 

 

 

 

 

 

 

Practice #3

 

 

  1. Open the traceroute Analyze the file. It is a traceroute attempt.

 

  1. How many packets have a Length of 72? Your output should look similar to the one below.

 

 

  1. What command did you use to get the output above?

 

 

 

 

 

 

  1. List each IP address that SENT packets (source IP addresses only)? Your output should look similar to the one below.

 

 

 

  1. What command did you use to get the output above?

 

 

 

 

 

 

  1. How many packets had a source IP address of 192.168.100.138? Your output should look similar to the one below.

 

 

  1. What command did you use to get the output above?

 

 

 

 

 

 

Order a unique copy of this paper
(550 words)

Approximate price: $22

Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

We value our customers and so we ensure that what we do is 100% original..
At Custom Writing, we believe in exemplary services that are fully geared toward customer satisfaction. That is why we don’t shy away from giving you the following guarantees;

Money-back guarantee

Trusting us with your work is the best decision you have made, our pleasure lies in seeing you satisfied at 100%. If in the rear chance it happens that you are not satisfied, then know that we will equally not be satisfied. But worry not, our 30 days- Money back guarantee is all you need and that is what we promise you..

Read more

Zero-plagiarism guarantee

We utilize profoundly equipped and gifted writers who produce unique papers liberated from any form of plagiarism. To guarantee this, we run all papers finished by our scholars through a Plagiarism checker to ensure uniqueness and originality. In any case, on the off chance that you have vulnerabilities about the originality or falsification of any paper we have finished and conveyed to you, please get in touch with us straight away. We will quickly investigate, and if the paper is seen as counterfeited, we will take suitable actions including but not limited to, revising the paper for free and in extreme cases we will activate the money back guarantee.

Read more

Free-revision policy

We have an obligation deliver great and specially composed assignments. Our revision strategy endeavors to ensure total client satisfaction, comfort, and a genuine feelings of serenity. We make minor updates and corrections to the underlying request as part of our continuous assistance. However, revisions should just incorporate changes and alterations that were not effectively met, in the underlying request and that are inside the rules as per the current request structure..

Read more

Privacy policy

Our client's Data is an Integral part of our business but clearly, we are not in the business of offering our clients' very own data to others. We realize that you care how your online data is utilized and shared, we equally value your trust that we will do so cautiously and sensibly. We Promise to ensure the security of your own data during transmission by utilizing encryption conventions and programming. Likewise assist us with securing your information by not sharing your passwords and usernames.

Read more

Fair-cooperation guarantee

In submitting a request with us, you consent to the services we give. We will strive to take the necessary steps to convey a far reaching paper according to your prerequisites. Equally we depend on your cooperation to guarantee that we convey on this order.

Read more

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
$26
The price is based on these factors:
Academic level
Number of pages
Urgency