SUMMARY - reverse finger

From: weibin zhu (wzhu@cse.unl.edu)
Date: Thu Oct 28 1993 - 01:47:03 CDT


Thanks to all heartful responses. Most people suggest me the tcp_wrapper
which can be ftped from either ftp.uu.net or cert.org
Some one send me the samples of their setup:
Here is a sample line from /etc/hosts.deny under tcp_wrapper..

in.fingerd: ALL: (/usr/ucb/finger -l @%h | /usr/ucb/mail -s %d-%h root)&

::::::::::::::
hosts.allow
::::::::::::::
ALL: ALL: (/bin/csh -f /etc/hosts.finger %h %d %p %c %a) &
::::::::::::::
hosts.finger
::::::::::::::
set t=`grep $1 /usr/local/lib/local.hosts`

if( "$t" == "")then

    echo "`/usr/bin/date` `/usr/bin/hostname` $2 $3 $4 $5" |& /usr/ucb/lpr -
Pepson
    /usr/ucb/finger @$1 |& /usr/ucb/lpr -Pepson

endif

Thanks to:

len@netsys3.netsys.com
bullecm@acq-back.acqnew.non.dns
jtcummi@sandia.gov
blymn@mulga.awadi.com.AU
map@europa.ecn.uoknor.edu
kirsch@crpcu.lu

-- 

-------------------------------------------------------------------- David Zhu | Department of Computer Science | Heaven Help those, University of Nebraska - Lincoln | E-mail wzhu@cse.unl.edu wzhu@ace.mid.net | who help themselves. wzhu@cherokee.unl.edu | Phone (402) 477-3181 | -------------------------------------------------------------------



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:08:27 CDT