ECE 465: Computer Network Protocols and Applications - Homework 4, Assignments of Computer Systems Networking and Telecommunications

Information about homework 4 for the course ece 465: computer network protocols and applications taught by prof. B.-p. Paris. The assignment includes instructions to complete chapter 2 review questions, problems, and experiments. The experiments involve using telnet to connect to specific ports and constructing http requests based on rfc 2616 and rfc 2068.

Typology: Assignments

Pre 2010

Uploaded on 02/10/2009

koofers-user-tgd
koofers-user-tgd 🇺🇸

10 documents

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
ECE 465:Computer Network Protocols and Applications
Prof. B.-P. Paris
Homework 4
Due: February 20, 2007
Reading Chapter 2 in Kurose and Ross through section 2.5
Chapter 2 Review Questions
1. Question 8
2. Question 9
Chapter 2 Problems
1. Problem 6
2. Problem 8
Experiments
1. Connect via telnet to port 80 of the server thalia.spec.gmu.edu.
Construct a HTTP request that uses the POST method to send
form input to the URL /˜pparis/cgi-bin/test.cgi. Specifically, em-
ulate the request that a browser would send to indicate that the
form field “name” has been set to “Bobo.” Turn in the request
that you sent together with any explanations you deem necessary.
Hint: Read RFC 2616 (HTTP/1.1) to learn how to send a request
with a message body. Sections 9.5, as well as 4.3-4.4 should be
most relevant.
2. Connect via telnet to port 80 of the server. Construct an HTTP
request that allows you to retrieve the password protected file
/˜pparis/secret/secret.html. The username is “Aladdin” and the
password is “open sesame” for that file. Turn in the request that
you sent together with any explanations you deem necessary.
Hint: Read section 11 of RFC 2068 (even though RFC 2068 has
been obsoleted by RFC 2616, it is easier to read the older RFC
since the material on authentication has been delegated to yet
another RFC in 2616).
1

Partial preview of the text

Download ECE 465: Computer Network Protocols and Applications - Homework 4 and more Assignments Computer Systems Networking and Telecommunications in PDF only on Docsity!

ECE 465:Computer Network Protocols and Applications Prof. B.-P. Paris Homework 4 Due: February 20, 2007

Reading Chapter 2 in Kurose and Ross through section 2.

Chapter 2 Review Questions

  1. Question 8
  2. Question 9

Chapter 2 Problems

  1. Problem 6
  2. Problem 8

Experiments

  1. Connect via telnet to port 80 of the server thalia.spec.gmu.edu. Construct a HTTP request that uses the POST method to send form input to the URL /˜pparis/cgi-bin/test.cgi. Specifically, em- ulate the request that a browser would send to indicate that the form field “name” has been set to “Bobo.” Turn in the request that you sent together with any explanations you deem necessary. Hint: Read RFC 2616 (HTTP/1.1) to learn how to send a request with a message body. Sections 9.5, as well as 4.3-4.4 should be most relevant.
  2. Connect via telnet to port 80 of the server. Construct an HTTP request that allows you to retrieve the password protected file /˜pparis/secret/secret.html. The username is “Aladdin” and the password is “open sesame” for that file. Turn in the request that you sent together with any explanations you deem necessary. Hint: Read section 11 of RFC 2068 (even though RFC 2068 has been obsoleted by RFC 2616, it is easier to read the older RFC since the material on authentication has been delegated to yet another RFC in 2616).