Warning: preg_match(): Delimiter must not be alphanumeric, backslash, or NUL in /var/www/html/activities/books/networking/labbook/ch/ch12.php on line 2

Warning: preg_match(): Delimiter must not be alphanumeric, backslash, or NUL in /var/www/html/activities/books/networking/labbook/ch/ch12.php on line 2

Warning: preg_match(): Delimiter must not be alphanumeric, backslash, or NUL in /var/www/html/activities/books/networking/labbook/ch/ch12.php on line 3

Warning: preg_match(): Delimiter must not be alphanumeric, backslash, or NUL in /var/www/html/activities/books/networking/labbook/ch/ch12.php on line 4

Warning: preg_match(): Delimiter must not be alphanumeric, backslash, or NUL in /var/www/html/activities/books/networking/labbook/ch/ch12.php on line 5

Warning: preg_match(): Delimiter must not be alphanumeric, backslash, or NUL in /var/www/html/activities/books/networking/labbook/ch/ch12.php on line 8

 

 


Douglas E. Comer


Computer Science Department
Purdue University
West Lafayette, IN 47907

webmaster: W. David Laverell


Companion Topics

Home

Book Information

Purpose of Site

Getting Started

Students

Faculty

"What's New"

"Coming Attractions"

"C Pointers"

Acknowledgements

 

 
Hands-On Networking: Chapter 12 Home > Student > Chapter Notes > Chapter 12

Chapter 12

12.1 12.2 12.3 12.4
The computing profession has a long and honored tradition of high ethical behavior with regard to the possession of information. At a company for which I once worked programmers had easy access to confidential medical records. For one project I had access to a decade of such information. In spite of this the track record of the profession in honoring the trust given to it is a good one.

The assignments in this chapter are in many ways foundational. Their completion will help you in so many ways, yet the very process of collecting the needed information is fraught with problems. Most likely, your ability to sniff packets at your school will be severely limited for obvious reasons. Assuming you have access to an off-campus network, you may decide to generate your own data. Please, think about the ethical implications.

Assuming that you are able to capture packets you need to know how to get the ones you need for the assignments. To generate ARP packets ping a non-existent host from a special machine. ICMP packets can be obtained by pinging a special machine from another machine. To get UDP packets run rusers on a special machine. TCP packets would be generated by running telnet or ssh on another machine to one of the special machines.

One major problem you may have with this assignment is due a lack of compatibility among packet sniffers. The tcpdump that comes with most versions of Linux is not even consistent. Here is a table that lists the variations that I have encountered. As you encounter further variations through your own experience, please help me add to the table.

Packet Sniffer Machine OS Version File Header Packet Header Position of Length in PH Header included in Packet Length Extra Bytes Source
snoop SunBlade 100 Solaris 8 16 24 0-3 No Align to 8 byte boundary WDL
tcpdump COMPAQ PC Mandrake Linux 8.1 16 24 16-19 Yes 16 WDL
tcpdump COMPAQ PC Red Hat Linux 7.1 24 24 8-11 No None WDL
tcpdump Powerbook G4 550 MacOS X 10.2.1 24 16 8-11 No None CPSC370



This site is maintained by W. David Laverell of the Computer Science Department at Calvin College. For assistance or corrections, please contact him at lave@calvin.edu.