From owner-freebsd-questions Wed Apr 28 4:58: 6 1999 Delivered-To: freebsd-questions@freebsd.org Received: from pinto.unsyiah.ac.id (pinto.unsyiah.ac.id [167.205.153.82]) by hub.freebsd.org (Postfix) with ESMTP id A8F5714E99 for ; Wed, 28 Apr 1999 04:56:20 -0700 (PDT) (envelope-from zul@pinto.unsyiah.ac.id) Received: from localhost (zul@localhost) by pinto.unsyiah.ac.id with ESMTP id TAA04193; Wed, 28 Apr 1999 19:00:35 GMT (envelope-from zul@pinto.unsyiah.ac.id) Date: Wed, 28 Apr 1999 19:00:35 +0000 (GMT) From: Zulkarnain To: Dan Langille Cc: freebsd-questions@FreeBSD.ORG Subject: Re: tcp_wrappers In-Reply-To: <19990428103257.CLZN5596385.mta1-rme@wocker> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG wow.... Dan, it's work .... thanks alot and greatly appreciated it. On Wed, 28 Apr 1999, Dan Langille wrote: > On 28 Apr 99, at 16:26, Zulkarnain wrote: > > > Dan, how do you configure it than you got the correct output of > > tcp_wrappers ...I'm getting deeply confuse now. > > As was I. So I started playing around with a test system I have here. > I installed tcp_wrappers and tried to get the logging going. It took > me ages. I'm sorry I didn't fully document this the first time I did it. > > > could you explain more detail ?? or may be you could send your > > configuration to me :) > > Here's my logs: > > Apr 28 21:59:03 daisy telnetd[6786]: connect from ngatoto.dvl-software.com > Apr 28 21:59:25 daisy login: login from ngatoto.dvl-software.com on ttyp1 as mike > > Here is a clean syslog.conf file as just obtained from -current > > # $Id: syslog.conf,v 1.9 1998/10/14 21:59:55 nate Exp $ > # > # Spaces are NOT valid field separators in this file. > # Consult the syslog.conf(5) manpage. > *.err;kern.debug;auth.notice;mail.crit /dev/console > *.notice;kern.debug;lpr.info;mail.crit;news.err /var/log/messages > auth.*;authpriv.* /var/log/auth.log > mail.info /var/log/maillog > lpr.info /var/log/lpd-errs > cron.* /var/cron/log > *.err root > *.notice;news.err root > *.alert root > *.emerg * > # uncomment these if you're running inn > # news.crit /var/log/news/news.crit > # news.err /var/log/news/news.err > # news.notice /var/log/news/news.notice > !startslip > *.* /var/log/slip.log > !ppp > *.* /var/log/ppp.log > > > I added the following line: > auth.*;authpriv.* /var/log/auth.log > > But I added that line just after the "/var/log/messages" messages line. > > My first mistake was placing that last line (auth....) at the bottom of > the file. And nothing was appearing. I moved the line up and the messages > started to appear. > > Lemme know what happens. > -- > Dan Langille - DVL Software Limited > The FreeBSD Diary - http://www.FreeBSDDiary.org/freebsd/ > NZ FreeBSD User Group - http://www.nzfug.nz.freebsd.org/ > The Racing System - http://www.racingsystem.com/racingsystem.htm > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message