tcpd not logging?

Doug O'Leary
Honored Contributor

tcpd not logging?



I'm having an issue getting tcp wrappers to log on an ia64, rx2800.  here's what I have:


# grep telnetd /etc/inetd.conf
telnet stream tcp nowait root /usr/lbin/tcpd /usr/lbin/telnetd -b /etc/issue


For logging purposes only (don't want to block anything until I know what's being used):


# ls -ld /etc/hosts.allow /etc/hosts.deny
-r--r--r-- 1 bin bin 441 Dec 20 10:47 /etc/hosts.allow
-r--r--r-- 1 bin bin 431 Feb 15 2007 /etc/hosts.deny
# grep -v -e ^# -e ^$ /etc/hosts.allow
# grep -v -e ^# -e ^$ /etc/hosts.deny

# grep -v -e ^# -e ^$ /etc/tcpd.conf


I configured into syslog.conf and that's being seen:


# logger -p "test #3"
# tail /var/adm/syslog/auth.log

Dec 20 11:06:16 venus root: test #3


So, despite all that, when I telnet into the system, I'm not seeing any logging information.  I also remembered that at least one version of tcpd wrote to the mail log for hpux - nothing's showing up there either.  The only thing that's showing up in syslog is the standard telnet messages:


# grep -i telnet /var/adm/syslog/syslog.log
Dec 20 10:51:28 venus telnetd[7891]: allowed connection from localhost
Dec 20 11:01:49 venus telnetd[8187]: allowed connection from localhost


Can anyone see what I've messed up?  Hopefully, it's something simple that sleep deprivation is making me miss..




Doug O'Leary

Senior UNIX Admin
O'Leary Computers Inc