Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
From: sstiasni@irb.hr (Sasa Stiasni)
Subject: Re: can tcp wrapper be setup to not log successfull logins?
Date: 1998/06/04	[thread overview]
Message-ID: <slrn6ncl5b.dus.sstiasni@rudjer.irb.hr> (raw)
In-Reply-To: 6l3pjj$foc$1@client2.news.psi.net


On Wed, 3 Jun 1998 11:21:05 -0400, George Gallen <ggallen@slackinc.com> wrote:
>I placed tcp wrapper around our telnetd to only accept certain
>IP's. When they do login they are logged via sialog, however
>I do want unsuccessfull attempts to be logged in the mail.log
>file (which it currently does). I also use tcp wrapper around
>our ftpd, but with this one I want both logged. Is this something
>I needed to turn off at compilation and have two different
>tcpd programs compiled (one that logs and one that doesn't)
>or can it be setup withing the hosts.allow/deny files? Haven't
>seen anything like this in the README's but.....

One tcpd is enough :-)
Just don't forget to change things in /etc/inetd.conf.
Succesfull logins are logged by login daemon not tcpd. Tcpd only shows which
user connects from where, and allows or denys access.
ftp logging is also done by ftpd, and you can turn off logging of commands.
The only thing you can't turn off is tcpd logging like:
some_date in.ftpd [pid]: connect from user@host

But, if that's the problem, you can change the logging facility in source of
tcpd to, for example, LOCAL2, and redirect all logs with LOCAL2 to some other
file.  Of course that is done in /etc/syslog.conf

Sasa
-- 
mailto: sstiasni@irb.hr
URL: http://titan.fpz.hr/~sstiasni
ICQ 12844140




  reply	other threads:[~1998-06-04  4:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-06-03  4:00 can tcp wrapper be setup to not log successfull logins? George Gallen
1998-06-04  4:00 ` Sasa Stiasni [this message]
1998-06-04  4:00   ` George Gallen
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox