Docsity

Practice Homework 1 - Computer Networks | CS 472, Assignments of Computer Systems Networking and Telecommunications

Toggle sidebar
bg1
CS472 Computer Networks
Fall 2008
Homework Assignment # 1
Due Date: Monday, September 29th, 2008 at 5:59pm
NOTE: Assignments must be submitted in electronic format to [email protected].
All the work must be original, no team work. Late assignments will not be accepted.
1. You’ve gone out on a job interview. Imagine the process of the interview and the
answers (and that you want to get the job), and answer the following questions:
• What are the “messages” sent from the interviewer to you, and what are your
responses? (messages could be in either direction) Do you start or him?
• Are there standard questions and answers? (e.g. “I’d like to work here for the
outstanding opportunities and great work environment”)
• How does each side know when the other side is finished talking?
• Are there different states of the “conversation” (for example, a message in the
“Greeting” state could be “Hello, Welcome to SomeBig Company, how were the
directions?”) between you and the interviewer?
• Any assumptions made in your protocol? (like language, etc.)
Do you think that every interviewer could use this protocol? Is the protocol the same if
you talk over the phone or IM? Sketch out a few messages and responses of this
protocol.
2. Download the free packet analyzer Wireshark from http://www.wireshark.org/ and install
it on your PC/workstation. Capture packets between your PC and the network (for
example, when browsing to a website and one other activity). Analyze the packets
(submit screenshot of an HTTP GET and one other activity) and show all of the layers
decoded and match them to the TCP/IP model. How is the computer addressed at each
layer? How does one layer know which layer to give the information to next?
3. What is an RFC? What does it try to do? Describe some of the major pieces of an RFC
and discuss briefly what must be defined for a network protocol (look at some of the
classic application layer protocols of the Internet):
FTP: RFC 959 (http://www.rfcs.org/rfc959.txt)
DNS RFC 1034 (http://www.rfcs.org/rfc1034.txt)
HTTP 1.1: RFC 2616 (http://www.rfcs.org/rfc2616.txt)
SMTP: RFC 2821 (http://www.rfcs.org/rfc2821.txt)
XMPP: RFC 3920 (http://www.rfcs.org/rfc3920.txt)
SSH: RFC 4250 (http://www.rfcs.org/rfc4250.txt)
4. When you write a network application – what choices do you have in the way the
network “looks” – not the programmatic interface, but functionality. Reliable?
Unreliable? What QUALITY OF SERVICE do you expect? Does this include security?
What other choices do you think you should have?
pf2

Partial preview of the text

Download Practice Homework 1 - Computer Networks | CS 472 and more Assignments Computer Systems Networking and Telecommunications in PDF only on Docsity!

CS472 Computer Networks

Fall 2008

Homework Assignment # 1

Due Date: Monday, September 29 th, 2008 at 5:59pm

NOTE: Assignments must be submitted in electronic format to [email protected]. All the work must be original, no team work. Late assignments will not be accepted.

  1. You’ve gone out on a job interview. Imagine the process of the interview and the answers (and that you want to get the job), and answer the following questions:
    • What are the “messages” sent from the interviewer to you, and what are your responses? (messages could be in either direction) Do you start or him?
    • Are there standard questions and answers? (e.g. “I’d like to work here for the outstanding opportunities and great work environment”)
    • How does each side know when the other side is finished talking?
    • Are there different states of the “conversation” (for example, a message in the “Greeting” state could be “Hello, Welcome to SomeBig Company, how were the directions?”) between you and the interviewer?
    • Any assumptions made in your protocol? (like language, etc.) Do you think that every interviewer could use this protocol? Is the protocol the same if you talk over the phone or IM? Sketch out a few messages and responses of this protocol.
  2. Download the free packet analyzer Wireshark from http://www.wireshark.org/ and install it on your PC/workstation. Capture packets between your PC and the network (for example, when browsing to a website and one other activity). Analyze the packets (submit screenshot of an HTTP GET and one other activity) and show all of the layers decoded and match them to the TCP/IP model. How is the computer addressed at each layer? How does one layer know which layer to give the information to next?
  3. What is an RFC? What does it try to do? Describe some of the major pieces of an RFC and discuss briefly what must be defined for a network protocol (look at some of the classic application layer protocols of the Internet):

FTP: RFC 959 (http://www.rfcs.org/rfc959.txt) DNS RFC 1034 (http://www.rfcs.org/rfc1034.txt) HTTP 1.1: RFC 2616 (http://www.rfcs.org/rfc2616.txt) SMTP: RFC 2821 (http://www.rfcs.org/rfc2821.txt) XMPP: RFC 3920 (http://www.rfcs.org/rfc3920.txt) SSH: RFC 4250 (http://www.rfcs.org/rfc4250.txt)

  1. When you write a network application – what choices do you have in the way the network “looks” – not the programmatic interface, but functionality. Reliable? Unreliable? What QUALITY OF SERVICE do you expect? Does this include security? What other choices do you think you should have?
  1. Is there some level of trust inherent in a protocol (e.g. Would you give sensitive information to a total stranger -- think of giving your debit card and pin number to someone on the street and ask for money back)? Think of some instances of trust in network protocols (where you care or don’t care and what you do to authenticate the other side). Does it matter if you start the conversation or they?