From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f8c9b,68ddb28828153d52 X-Google-Attributes: gidf8c9b,public X-Google-Thread: 1020c6,68ddb28828153d52 X-Google-Attributes: gid1020c6,public X-Google-Thread: f678f,68ddb28828153d52 X-Google-Attributes: gidf678f,public X-Google-Thread: fee84,68ddb28828153d52 X-Google-Attributes: gidfee84,public From: sstiasni@irb.hr (Sasa Stiasni) Subject: Re: can tcp wrapper be setup to not log successfull logins? Date: 1998/06/04 Message-ID: #1/1 X-Deja-AN: 359451083 References: <6l3pjj$foc$1@client2.news.psi.net> Organization: IRB,Zagreb,Croatia Reply-To: sstiasni@irb.hr Newsgroups: comp.unix.admin,comp.unix.osf.misc,comp.unix.osf.osf1,comp.unix.questions On Wed, 3 Jun 1998 11:21:05 -0400, George Gallen 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