* can tcp wrapper be setup to not log successfull logins? @ 1998-06-03 4:00 George Gallen 1998-06-04 4:00 ` Sasa Stiasni 0 siblings, 1 reply; 3+ messages in thread From: George Gallen @ 1998-06-03 4:00 UTC (permalink / raw) 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..... Thanx George Gallen ggallen@slackinc.com ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: can tcp wrapper be setup to not log successfull logins? 1998-06-03 4:00 can tcp wrapper be setup to not log successfull logins? George Gallen @ 1998-06-04 4:00 ` Sasa Stiasni 1998-06-04 4:00 ` George Gallen 0 siblings, 1 reply; 3+ messages in thread From: Sasa Stiasni @ 1998-06-04 4:00 UTC (permalink / raw) 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 ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: can tcp wrapper be setup to not log successfull logins? 1998-06-04 4:00 ` Sasa Stiasni @ 1998-06-04 4:00 ` George Gallen 0 siblings, 0 replies; 3+ messages in thread From: George Gallen @ 1998-06-04 4:00 UTC (permalink / raw) 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 <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 > ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1998-06-04 4:00 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 1998-06-03 4:00 can tcp wrapper be setup to not log successfull logins? George Gallen 1998-06-04 4:00 ` Sasa Stiasni 1998-06-04 4:00 ` George Gallen
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox