CS 268 - Assignment 2: HTTP Proxy - Submission Input


A script to test your submission is located in ~tmont/bin/Fa00-a2-submission.pl

The script takes two mandatory arguments. The first is the host of the machine running the proxy and the second is the port number the proxy is on.

To submit your assignment, you will need to show a run of your proxy with this script using the script command. For example, suppose I have a name of hprox for my HTTP proxy program and it takes a port argument as it's argument. It is also running on naur. You should first use script to start capturing your session and then invoke your proxy and the test script. You will need to start your proxy in the background to make this work correctly.


$ script
Script started, file is typescript
$ hprox 3128 &
$ ~tmont/bin/Fa00-a2-submission.pl naur 3128
.... lots of interesting data.....
$ exit
Script done, file is typescript
You will be submitting the output of the script as well as your code when you submit the assignment.

Extra Credit

For the extra credit, you will need to do some more work. For the first part you will have to include information in your README file to indicate how the server has been made concurrent. For FTP handling, you should include the output of this wget command, ~tmont/bin/wget -eftp_proxy=host:port ftp://naur.csee.wvu.edu/pub/cs268/HELLO
Todd L. Montgomery (revised 10.24.2000)