You'll want to enable the following options (by uncommenting them.) Read the comments in the makefile for what each one does.
local3.info /var/log/syslog/connections local3.err /var/log/syslog/auth
Here's an example of a fairly standard hosts.allow that operates
on the Least Privilege methodology.
#
# hosts.allow for machine isr0001.urh.uiuc.edu
#
# allow portmap requests (NFS, rusers, etc) from only the hosts that need it (me)
portmap: \
127.0.0.1, \
isr0001.urh.uiuc.edu, \
isr0003.urh.uiuc.edu: \
severity=local3.info: \
ALLOW
# Allow special access (such as rsh) from only a few places
ALL EXCEPT in.telnetd, in.ftpd: \
localhost, isr0001.urh.uiuc.edu, \
workmachine.cso.uiuc.edu: \
severity=local3.info: \
ALLOW
# Allow telnetd and ftpd from acm, sites, and the machine room network
# but disallow the student cluster specifically since everyone on campus
# has access to those machines
in.telnetd, in.ftpd: \
localhost, \
.acm.uiuc.edu, \
.sites.uiuc.edu, \
128.174.5.0/255.255.255.128
EXCEPT ux4.cso.uiuc.edu, ux5.cso.uiuc.edu, \
ux8.cso.uiuc.edu, ux9.cso.uiuc.edu: \
severity=local3.info: \
ALLOW
# DENY everything else that makes it this far
ALL: \
ALL: \
severity=local3.err: \
DENY
#
# END
#
