here is the original query:
> several users are curious about the use of back finger to
> check and see if they have been finger'ed. also, this
> may be helpful in providing stats of people finger'ing
> generic accounts. does anyone know any info about this?
> please do not send "send me info as well" messages
> since I will post a summary.
What was reported to me was the following:
1. use the 'tcp wrapper' programs to trap TCP daemons
telnet, rlogin, ftp, etc.
* can use archie to search for 'tcp wrapper'
2. finger is actually a telnet to port 79. rewrite finger
to monitor this port (done easily with 'tcp wrapper' programs)
3. a modification of the DECUS finger (sorry, we use SunOS 4.x)
4. look into GNU's implementation of finger which is "*very*"
5. write a shell process that will "continuously write to the pipe
in the background". this is good also for getting different .plan
files each finger.
**** thanks to email@example.com (LaCoursiere J. D. (Jeff)) ****
(from ones' home directory)
1. rm .plan
2. mknod .plan p
3. vi ./fingerd
(create a script like the following: )
/usr/games/fortune >& ~/.plan
echo -n $datevar >> ~/fingerlog
ps auxw | fgrep "finger $USER" >> ~/fingerlog
4. ./fingerd &
You might want to put a check for fingerd running in your .login or
possibly in a cron job. If it doesn't run, the finger will block
on a read from the pipe and the person fingering will get nothing
I just whipped this up out of my head, so you may have to tweak it
to get it just right. Might have to send a ^D before looping again
(or it may continuously send fortune's to a never-ending finger!)...
6. suggestion of not doing this at all since "Two hosts can get
into a 'finger war' with each other."
I decided to stick with idea number 6 for now. Besides, other work
started to take my time so I could not play with the tcp wrapper
Many Thanks to all who replied:
David Mostardi <firstname.lastname@example.org>
Bryan J Jensen <BJJ@ecl.psu.edu>
email@example.com (Tommi Rintala)
John Clement-Rice U <CLEMENT@physics.rice.edu>
Kambiz Aghaiepour <kxaghai@srv.PacBell.COM>
Kevin Martinez <firstname.lastname@example.org>
email@example.com (LaCoursiere J. D. (Jeff))
firstname.lastname@example.org (Peter Watkins)
email@example.com (Joaquim Fernando Soares)
"Patrick O'Callaghan" <firstname.lastname@example.org>
Serguei Vodopianov <vodopis@alleg.EDU>
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:09:06 CDT