

          GeekTools Whois Proxy v2.0 Installation Instructions
          ----------------------------------------------------

Paths shown are based on a Red Hat 5.2 Linux installation.  Your system may
have different pathnames or filenames - modify them as needed.

The inetd Method:
-----------------

1.  Copy whois.pl to someplace like /usr/local/bin or /usr/local/sbin.  Copy
    the included file "rslist" somewhere convenient like /usr/local/lib.
    Edit whois.pl to point to the correct location for "rslist" - if you skip
    this then the proxy will not work for you.

2.  Verify that /etc/services has a line something like the following.  If
    it doesn't then add it.

    whois           43/tcp

3.  Add the following line to /etc/inetd.conf:

    whois  stream  tcp  nowait  nobody /usr/local/sbin/whois.pl whois.pl

4.  killall -HUP inetd

5.  Point your whois client at the system on which you just installed 
    the whois proxy and try it.



The CGI Method:
---------------

1.  Copy whois.cgi to your web server's CGI directory (commonly called
    cgi-bin or cgi).  Copy the included files "unrestricted" and "rslist" 
    to somewhere convenient and edit whois.cgi to point to their location.
    You may also want to change the location of the IP address/hitcount 
    database and the maximum number of hits per day from a single host.  

2.  Create a cron job to remove the IP address/hitcount database file at
    midnight each night.  Check the cron or crontab man page  for help 
    if you don't know how to do this.

3.  Access it with your browser.  The script should automatically generate
    a query form.

4.  Try it.


