Subject: Re: *** FingerD ***
To: Robert Shady <rls@zeus.id.net>
From: Evil Pete <shipley@merde.dis.org>
List: current-users
Date: 02/28/1994 17:45:03
-----BEGIN PGP SIGNED MESSAGE-----
>Okay, new version is done with syslog stuff, all you have to do (until so=
meone
>adds it to current) is add a line to your /etc/syslog.conf file that is
>for LOCAL0 (for lack of a fingerd specifier which someone may want to add=
to
>current too!). =
I just have it log as deamon.
that is (in C):
openlog("fingerd", LOG_PID|LOG_CONS, LOG_DAEMON);
>
>The next thing I would like to do is to figure out exactly who on the rem=
ote
>host has executed the "finger @" command. Would this be possible?
yes, just have it make a call to ident_lookup (from the libident)
assuming the remote user is runing identd you will have there name
the changes I have made to my fingertd at home are:
- always make a identd query if compiled with -DIDENTD
- optional argument "-s", denied access if remote host is not runing i=
dentd
- always log to syslog
- if user has biff set I will send a "biff" message to there tty
if the finger was aimed at them.
If you want I can send you my copy of fingerd and you can fold in my chang=
es
to yours.
-Pete
PS: on my back burner I am modifing inetd to do connection logging and IDE=
NTD
tracing.
-----BEGIN PGP SIGNATURE-----
Version: 2.3a
iQBVAgUBLXKeHHynuL1gkffFAQHFlwH9GbTe7kC5IvYWPCju8CnUETcAIOyCP63I
P9aqa1TiMkXo5hfmJpx4eyQE61axAA3vU+V974FDSB2ql0bWd/z9Rw=3D=3D
=3DqFCb
-----END PGP SIGNATURE-----
------------------------------------------------------------------------------