Laboratory 1
Due - Tuesday, September 27, 2005
Part 1 - Ethereal
Complete Ethereal Lab 1. The full details of the lab are
available from the website of the text http://www.awl.com/kurose-ross
as well as from http://gaia.cs.umass.edu/ethereal-labs/labs/Ethereal_INTRO.pdf.
You should hand in answers to the 4 questions at the end of the
lab.
Part 2 - Getting Started with Unix
Complete the Unix tutorial and hand
in answers to the questions
following the instructions.
Part 3 - Fun with Protocols
Hand in answers to the following questions:
- Do review question 14 at the end of chapter 2. Turn in the transcript of your session.
- Do review question 17 at the end of chapter
2. If you are not sure how to view the headers using your email
client, see me. Turn in the header itself along with a short (3-4
sentences) description of what the Received: lines of the
headers indicate.
- Read through section 2.4. Telnet to the Mt
Holyoke mail server (smtp.mtholyoke.edu) and send me a message
that appears to be from an email address other than your own.
Note, the mail server will check to make sure that the domain name
is valid and will also require you to enter the RCPT TO: command
twice. In the body of the message indicate that you are
the sender of the message and that you are sending the mail for
question 3. Nothing to turn in here!
Part 4 - Compiling and Running a Java Program
Carefully read the lesson Object-Oriented
Programming Concepts available on the Sun website
(http://java.sun.com/docs/books/tutorial/java/concepts/index.html).
Compile and run the three source files provided by the lesson.
You can use either the command line compiler, or the IDE of your
choice.
Modify the code such that the color of the "spot" appears as
red. Compile and run your modified code. Hand in the java
file(s) containing your modified code.
Sami Rollins