Using IP traffic analysis tools

IP is the network protocol in the TCP/IP protocol stack that carries all upper layer information. Whether it is HTTP, Video, IP Telephony, or other application, IP will be the Layer-3 protocol for all of them. In this section, we will look at some tools that will help us with the analyses of IP traffic.

Getting ready

Just open Wireshark, connect it to the network, configure port mirror to the device you want to test, and start it.

How to do it...

There are several tools and configurations that will help you with the analysis of IP traffic. Among them are:

  • IP statistics
  • IP name resolution

IP statistics tools

When you monitor a communication line, connectivity to a server, traffic to the Internet, or any other type of traffic, there are several tools for monitoring the source and destination IPs.

Following are the steps for seeing the source and destination IPs:

  1. From the menu, choose View | Name Resolution and mark Enable for the Network layer. If you are watching an existing file, after you make the change, click on the Reload icon. The capture screen will be presented with DNS names in addition to IP addresses.
    IP statistics tools
  2. In order to see the statistics, choose from the Statistics | Conversations menu and mark Name resolution at the bottom-left corner of the window, as illustrated in the next screenshot:
    IP statistics tools

How it works...

This is very simple. Wireshark uses the DNS server configured on your laptop in order to translate the IP addresses to names. In some cases, it can be very helpful to find out problematic traffic patterns. These can be, for example:

  • Traffic to websites that is not allowed according to company policy.
  • Automatic software updates, for example, Anti-virus websites and Microsoft updates. The solution to this is the central servers that download the software while all company PCs get the software and updates from this server.
  • Toolbar traffic can cause a huge amount of traffic if installed on organization devices (think about 50-100 opened connections on every device in your company in addition to regular traffic).

There's more...

You can see, for example, a browser configured with the Conduit toolbar. The moment you run it, you will see many connections to the websites that you know, and to the websites that you don't. Here, for example, you see connections to the Conduit website, and also to a Content Delivery Network (CDN) vendor.

There's more...

To see the exact website and pages, you can, of course, select Statistics | HTTP and choose the relevant feature (with IP configured as filter).

Some rules for efficient usage of toolbars:

  • Have a policy about what to use and what not, and block users from installing toolbars that are not allowed
  • Monitor your line to the Internet, and make sure where the traffic is going
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.118.193.7