SUMMARY: logging tcpd refused connections under Sol 10

2007-12-25 5:43:00

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 |
| cbarnard at tsg.cbot.com / \ anybody could become president. |
| (312) 347-4901 O---O Now I'm beginning to believe it. |
| http://www.cs.uchicago.edu/~cbarnard --Clarence Darrow |
+----------PGP public key available via finger or PGP keyserver---------+

Comments

Got something to say?

You must be logged in to post a comment.