SUMMARY: logging tcpd refused connections under Sol 10

From: Christopher L. Barnard <>
Date: Thu Jan 12 2006 - 10:27:03 EST
I asked:

> I wish to change the syslog destination of logs when tcp wrappers on
> Solaris 10 block a connection.  (This is the tcp wrappers that are part
> of the Solaris 10 OS)  Right now violations go to daemon.warning.  I
> really do not want to do this by service (telnet, rlogin, bpcd, ssh) but
> by what the tcp wrappers themselves allow or deny.  Is this possible under
> Solaris 10?  If so, how?

The answer:

Read the hosts_options man page.  It explains how the syntax of the
/etc/hosts.allow and /etc/hosts.deny files has been expanded to include,
amongst other things, where logging should go.

As an aside, that man page is in /usr/sfw/man,  so be sure /usr/sfw/man
is in your MANPATH.

Thanks to
 Casper Dik

| Christopher L. Barnard         O     When I was a boy I was told that |
|         / \    anybody could become president.  |
| (312) 347-4901               O---O   Now I'm beginning to believe it. |
|                --Clarence Darrow |
+----------PGP public key available via finger or PGP keyserver---------+
sunmanagers mailing list
Received on Thu Jan 12 10:27:30 2006

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:54 EST