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: fee84,68ddb28828153d52 X-Google-Attributes: gidfee84,public X-Google-Thread: f678f,68ddb28828153d52 X-Google-Attributes: gidf678f,public X-Google-Thread: 1020c6,68ddb28828153d52 X-Google-Attributes: gid1020c6,public From: "George Gallen" Subject: Re: can tcp wrapper be setup to not log successfull logins? Date: 1998/06/04 Message-ID: <6l7201$mvv$1@client3.news.psi.net>#1/1 X-Deja-AN: 359603546 References: <6l3pjj$foc$1@client2.news.psi.net> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Organization: PSINet Newsgroups: comp.unix.admin,comp.unix.osf.misc,comp.unix.osf.osf1,comp.unix.questions It looks like I'll need two tcpd, one which will log a successfull passthru (for use with FTP), and one which will not log a successfull passthru (for use with TELNET), since this would need to be controlled at compilation time. As long as I name them accordingly and inetd references each appropriatly it should do what I want. I really don't care to have all good telnets logged, since sialog does it as well, and it would just clutter up my .log files, which ever one I picked. Thanx George Sasa Stiasni wrote in message ... >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 >