Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Oct 1998 06:31:34 PDT
From:      "N. N.M" <madrapour@hotmail.com>
To:        mjenkins@carp.gbr.epa.gov
Cc:        freebsd-security@FreeBSD.ORG
Subject:   Re: Again logging!
Message-ID:  <19981017133137.1623.qmail@hotmail.com>

next in thread | raw e-mail | index | archive | help


>To see the inetd logging messages you'll need:
>
>1.  add something like this to /etc/syslog.conf:
>
>	!inetd
>	*.*<TAB><TAB><TAB><TAB><TAB><TAB>/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
*.* <tab><tab><tab><tab><tab><tab>/var/log/inetd

!tcpd
*.* <tab><tab><tab><tab><tab>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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19981017133137.1623.qmail>