This project is intended for you to gain first-hand experience with many network tools as well as perform traffic monitoring and analysis of commonly used applications. These tools use many of the protocols and concepts we have discussed in class. The network analysis will help you better understand the nature of network traffic generated by different applications.
The project is divided into two parts. In the first part, you will be using network tools while in the second part you will be doing traffic monitoring and analysis. You are expected to hand in answers to the questions listed for each part.
The following are the list of network tools that you will be using for this part of the project. A summary description for each tool is given. There are other tools available, both public domain and products, but we will concentrate on these tools for the project.
This part of the project can be done on either a CCC Unix machine or a Windows NT machine in the WINE Lab (Webware, Interfaces and Networking Experimental Lab, Room A25, Fuller Labs). The name and complete path name for each command are given in case the directory is not part of your command path on the Unix systems. Commands on Windows NT should be run from a ``Command Prompt'' window. To obtain one, select ``Start'' (lower left corner), then ``Programs'' and then ``Command Prompt'' (near the top).
See the Unix man pages for more details on the description, options and example usage. On Windows NT, choose ``Help'' from the menu displayed by selecting ``Start'' and then enter the utility name to obtain more details.
The tools:
The following are specific questions you need to answer for this part of the project as you test out the various network tools.
This part of the project needs to be done on one of the machines in the WINE Lab. These machines provide a controlled environment in that each machine is connected to a switched Ethernet network so that the network interface for a machine only sees traffic going to and from this machine (along with spurious broadcast traffic). In addition, each machine is ``single-user'' so you can better control the applications running that generate network traffic.
In this part of the project you will be analyzing the type and frequency of network traffic as you use different applications generated network traffic. The traffic analyzer you will be using is a Perl script, named netperf, created for this assignment. Perl is an interpreted language with many powerful features.
The expected method to invoke the script is to first create a ``Command Prompt'' window. This window should be created in the folder corresponding to the desktop window of your PC. To invoke the script execute the following command at the prompt:
> \\shiraz\Perl5\perl \\shiraz\cew\netperf
where the perl interpreter is located on shiraz as well as the netperf script.
The script uses the output of netstat -s invoked at 5 second intervals to monitor changes in all protocol statistics. At each 5 second interval, it prints the protocol statistics that have changed during the interval and the counts for that interval. The script will run forever and must be manually terminated using ``Ctrl-c'' (pressing the ``c'' while holding down ``Ctrl''). At this point, netperf will create a file named netdata.csv, which is a ``comma-separated-value'' spreadsheet file readable by Excel. In fact the icon for this file should show it as an Excel file.
Clicking on the netdata.csv icon (should be located on your desktop if you executed netperf from this directory) will cause a spreadsheet of values to pop-up for all protocol statistics that changed during the lifetime of the script. You can graph all variables or portions by selecting ``Insert'', then ``Chart'' and we suggest ``Line''. Then select ``Next;SPMgt;'' to get a chart. Note: It is important that you select ``Series in: Columns'' to get the data plotted with the correct labels. You may ``Continue'' and put in axis labels or just ``Finish.'' Note: Rather than graphing all variables, you may want to select a portion of the columns and graph only those variables. You may want to print the graph of your statistics to support your answers.
For this part of the project you will be monitoring the network traffic generated by various applications. The easiest way to execute the commands (other than the Web browser) is run the netperf script in one window and create another ``Command Prompt'' window for executing commands. You may want to stop the netperf script after each application for easier analysis of that application's traffic patterns. Note: A new copy of the netdata.csv file will be created each time, overwriting the existing copy. The applications are:
For the basic objective of the project, worth 18 points, answer the questions given for each of the project parts. For the two additional points, go beyond this set of questions and perform some other test or answer another question that you decide upon. This part of the project is to encourage you to use the tools to obtain results not specifically asked for in the basic portion of the project.
A WINE account has been created you based on the initial class roster with
your CCC usernames and passwords the same as username (you will be prompted
to change your password on first access). Your home directory is on shiraz
(\\shiraz\username
). You should not expect to store any files
permanently on the workstations as they are not backed up, and may
occasionally be reimaged. The room has a card key lock with your student
ID serving as the keycard. The lock will open for you Monday-Saturday from
07h00 to 23h00. Any questions or problems should be reported to
system@cs.wpi.edu.