ICS 243d - Internet Technology
Spring 2001

Student: Roberto Silveira Silva Filho ID#85849631

Port Number: 16004

Assignment 1 (Report)
Assignment 2 + Project Proposal
Assignment 3
Assignment 4 (Report)
Assignment 5
Assignment 6 (Report)
Final Project
ICS243D Class Page
Author: Roberto Silveira Silva Filho. e-mail:rsilvafi@ics.uci.edu


Assignment 1 - Report

Report: The Status of P2P Technology.


Back to Menu
Back


Assignment 2

1. Modified daytime client

Based on daytime_cli.pl. The modified script would compare the time from two servers and output the time difference between them. You may use the following two servers, tweety.cyberloft.com and igor.ics.uci.edu.

Click here to test this assignment See the source code: modified_daytime_client.pl

2. Fake web server

Based on tcp_echo_serv1.pl. The modified script should produce just enough output to convince a web browser that it is looking at an HTML page. The content of the page does not matter and would be constant no matter what document is requested.

Click here to test the server See the source code: fake_web_server.pl

3. One page final project proposal.

As the final project of this lecture, I propose the construction of a Network/Servers monitoring facility.

Another idea would be the built of a IBIS (Issue Based Information System).


Back to Menu
Back


Assignment 3

1. Simple web server

Based on the fake web server of Assignment 2. This server is able to show the contents of just two files, test1.html and test2.html. Test the script using a web browser. Run this script on your own port on rodan.ics.uci.edu.

Click here to test this assignment See the source code: simple_web_server.pl

2. CGI Script.

The CGI script resides in your own cgi-bin directory and when this script is called via its URL, it launches the script above and displays three links. The first link will be a link to
http://rodan.ics.uci.edu:port/test1.html, the second link will be to http://rodan.ics.uci.edu:port/test2.html. The third link will somehow kill the server that was just launched in order to conserve resources.

Click here to test this assignment See the source code: simple_web_server.pl

Back to Menu
Back


Assignment 4 - Report

Report: Denial of Service Attacks.

Back to Menu Back


Assignment 5

Write a Simple Peer-to-Peer application using two CGI scripts. The application allows sharing restaurant reviews between all members of the 243D class.

In order to register my reviews click in the commands below. Each one of the files will be registered.

http://243d.cyberloft.com/cgi-bin/peer_urls.pl?url=http://rodan.ics.uci.edu:8080/~rsilvafi/cgi-bin/review.pl

http://243d.cyberloft.com/cgi-bin/peer_urls.pl?url=http://rodan.ics.uci.edu:8080/~rsilvafi/cgi-bin/review1.pl

http://243d.cyberloft.com/cgi-bin/peer_urls.pl?url=http://rodan.ics.uci.edu:8080/~rsilvafi/cgi-bin/review2.pl

http://243d.cyberloft.com/cgi-bin/peer_urls.pl?url=http://rodan.ics.uci.edu:8080/~rsilvafi/cgi-bin/review3.pl

Now, In order to run the application that queries the reviews of all the other students and also the ones registered above, click in the command:

http://rodan.ics.uci.edu:8080/~rsilvafi/cgi-bin/show_all_reviews.pl


View the
source codes: show_all_reviews.pl, review.pl, review1.pl, review2.pl, review3.pl


Back to Menu Back


Assignment 6

Report: MBONE Technology.


Back to Menu
Back



Final Project

The network and server monitoring tool is composed by a set of daemons (operating system level processes) that collect management information from the hosts in a distributed system. This information is passed to a concentrator server that makes the interface between the browser and the monitoring daemons, formatting this information to the end user. In order to be monitored, each host (server) of the system executes a data collection daemon. Some examples of this information collected include: CPU usage, users logged in the machine, free memory, network connection status and so on.

Click here to run the program. A report describing the program project and development is provided.


Source codes:

server.pl - Implements the server that runs in each host to be monitored. It collects the execution output of the scritps, over demand, and return a formatted HTML output.

collectInfo.pl - Act s an intermediator between the web client and the data collector servers. It receives requests from the web browser, via CGI protocol, queries the appropriate monitoring servers and present the information to the user in HTML.

Administration Scripts:

The sctipts bellow collect and format the information of each unix command to be monitored. They perform the preliminary information retrieval and HTML formatting of these commands output.

finger.pl - Implements a wrapper to the UNIX finger command. Dislplays a list of the users logged in the current host with some statistics

df.pl - Implements a wrapper to the UNIX df command, which shows the mount points in the filesystem with its corresponding amount of files and blocks occupied.

sysinfo.pl - Implements a wrapper to the UNIX sysinfo command. Presents information about the hardware and operating system in the current machine.

vmstat.pl - Implements a wrapper to the UNIX sysinfo command. Collects CPU usage information.


Back to Menu
Back


This page was last modified on June 3, 2001.
by Roberto Silveira Silva Filho. e-mail:
rsilvafi@ics.uci.edu