/*
** CNet/4 Finger Daemon Documentation
** by Kelly Cochran
** Last Change: Mon Jan 04 20:31:39 1999
*/

Purpose:

    This utility offers an alternate to the finger suppllied with CNet/4.

Requirments:

    A TCP stack (AmiTCP or Miami preferrable)
    CNet/4 (any version after 4.20)

Features:

    Simple to install and configure.
    Capable of displaying a user's data in the same manner as CNet's internal
      FInger command (with an additional section for if they have new email).
    Will return a who, similar to a normal CNet who when fingered as either
      "who@your.site.com" or just as "@your.site.com"
    If there is a file named the same as the finger query in SysText:fingerd
      it will display that instead of a user finger reply.

Installation:

    Installation of fingerd is simple.  Just copy the executable someplace on
your hard drive (AmiTCP:serv/ or Miami:serv/ are good spots, as well as
possibly either a CNet:INet/ directory, or in the
CNet:Doors/Internet_Support/ directory).  Then add the following line to
AmiTCP:db/inetd.conf, or to Miami's Database/Inetd with <PATH> set to the
path and filename of where you installed fingerd.

-- CUT --
finger stream tcp nowait root <PATH>/fingerd fingerd
-- CUT --

    Next add the following line to AmiTCP:db/services or Miami's
Database/Services if it does not already exist.

-- CUT --
finger   79/tcp
-- CUT --

    Tada!  It's installed.

Usage:

    Just use any normal finger client.

Author:

    finger was written and coded by Kelly Cochran (better known as Trolan)
He's also the programmer of CINS (an Internet interface for CNet/3 and CNet/4).

    Contact Info:

    email:  kcochran@best.com
      IRC:  Trolan in #CNet on BeyondIRC (babylon.beyondirc.net)

History:

Version 3.9 (Mar 22 1999):
   * Now logs finger request to syslog.  Servicename: fingerd; level: info.

Version 3.8 (Jan  4 1999):
   * Harmless enforcer hit found and squashed.

Version 3.7 (Sep 12 1998):
   * Fixed silly missing bounds check.
   * Found the wierd printout problem in _plan files with %'s in them.  Fixed.

Version 3.6 (Jan  5 1998):
   * Stupid error.  Would switch users who signed on after noon the the
     AM version of the time.

Version 3.5 (Nov 30 1997):
   * Changed internal buffer to use 1k instead of 256 bytes.

Version 3.4 (Nov 18 1997):
   * Changed account locking to be almost totally instantaneous un the unlock.
   * Fixed potential lockup problem if the account was found but wasn't
     lockable for some reason.
   * No longer attempts to display finger file if the account lock failed.

Version 3.3 (Sep 20 1997):
   * First released version.
