CWRUnet Web Proxy Services Overview
Innovative User's Group; 2-5 May 1998
On the Server Side
- Using Netscape's Proxy Server (free of charge to qualifying educational institutions, public libraries, and charitable nonprofit organizations)
- Two "instances" of the proxy server are created
- "rotateProxy.pl": Run every night at midnight
- Shuts down the oldest server instance
- Generates a new random port for the next instance
- Rewrites the oldest server instance with the new port and starts it
- Creates a new PAC file
- "selectPAC.pl": A CGI script that determines whether a user needs the on-campus or off-campus PAC file
- Detects the browser client's IP address and returns the off-campus or on-campus PAC
- Writes a log entry with the user's IP address and campus network ID
- "expired-proxy.cat-html": Tells the user that their proxy information has expired
- Create this line in /etc/services
expproxy 1080/tcp # Expired Proxy info
- Create this line in /etc/inetd.conf and send 'inetd' the HUP signal
expproxy stream tcp nowait httpusr /bin/cat cat /usr/local/web/proxy/expired-proxy.cat-html