~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.
~tmont/bin/wget -eftp_proxy=host:port ftp://naur.csee.wvu.edu/pub/cs268/HELLO