From owner-freebsd-security Sat Oct 17 06:31:58 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id GAA11866 for freebsd-security-outgoing; Sat, 17 Oct 1998 06:31:58 -0700 (PDT) (envelope-from owner-freebsd-security@FreeBSD.ORG) Received: from hotmail.com (f168.hotmail.com [207.82.251.54]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id GAA11859 for ; Sat, 17 Oct 1998 06:31:57 -0700 (PDT) (envelope-from madrapour@hotmail.com) Received: (qmail 1625 invoked by uid 0); 17 Oct 1998 13:31:37 -0000 Message-ID: <19981017133137.1623.qmail@hotmail.com> Received: from 195.96.144.12 by www.hotmail.com with HTTP; Sat, 17 Oct 1998 06:31:34 PDT X-Originating-IP: [195.96.144.12] From: "N. N.M" To: mjenkins@carp.gbr.epa.gov Cc: freebsd-security@FreeBSD.ORG Subject: Re: Again logging! Content-Type: text/plain Date: Sat, 17 Oct 1998 06:31:34 PDT Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >To see the inetd logging messages you'll need: > >1. add something like this to /etc/syslog.conf: > > !inetd > *.*/var/log/inetd.log > >2. create the log file: > > # touch /var/log/inetd.log > >3. tell syslogd about the change: > > # kill -HUP `cat /var/run/syslog.pid` > >4. optionally, add an entry to /etc/newsyslog.conf: > > /var/log/inetd.log 664 7 * 24 Z > >Then you'll see messages in /var/log/inetd.log when someone connects >to an inetd service (telnetd, ftpd, etc.). > Dear Mike, Thank you and all others who helped me in this regard. I did what you said for both inetd and tcpd. So I have two parts in my syslog.conf as follows: !inetd *.* /var/log/inetd !tcpd *.* tab> /var/log/tcpd And I have two files (tcpd and logd) in /var/log. But it still dosen't work (also I restarted inetd after changes). It seems that I've missed some points, becasue neither INETD nor TCPD don't log anything. What could be the missing points? Nazila N. ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message