*BSD News Article 28125


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!foxhound.dsto.gov.au!fang.dsto.gov.au!yoyo.aarnet.edu.au!news.adelaide.edu.au!news.cs.su.oz.au!harbinger.cc.monash.edu.au!msuinfo!agate!howland.reston.ans.net!cs.utexas.edu!news.unt.edu!ocf.nms.unt.edu!darren
From: darren@ocf.nms.unt.edu (Darren Loher)
Newsgroups: comp.os.386bsd.questions
Subject: FTP logging
Date: 9 Mar 1994 16:42:44 GMT
Organization: University of North Texas
Lines: 46
Message-ID: <2lkua4$6j2@hermes.unt.edu>
NNTP-Posting-Host: ocf.nms.unt.edu
X-Newsreader: TIN [version 1.2 PL2]


I am having problems getting FTP logging running under FreeBSD v1.02

I've setup the inetd.conf to call  ftpd with the -l parameter which is 
supposed to make ftpd log incomming connections to syslog.  But it doesn't
seem to be working.   

Here are the important lines in my inetd.conf


#
# Internet server configuration database
#
#	@(#)inetd.conf	5.4 (Berkeley) 6/30/90
#
ftp	stream	tcp	nowait	root	/usr/libexec/ftpd	ftpd -l
telnet	stream	tcp	nowait	root	/usr/libexec/telnetd	telnetd
shell	stream	tcp	nowait	root	/usr/libexec/rshd	rshd
login	stream	tcp	nowait	root	/usr/libexec/rlogind	rlogind
exec	stream	tcp	nowait	root	/usr/libexec/rexecd	rexecd



and here's what my syslog.conf file looks like:




*.err;kern.debug;auth.notice;mail.crit		/dev/console
*.notice;kern.debug;lpr,auth.info;mail.crit	/var/log/messages
mail.info					/var/log/maillog
lpr.info					/var/log/lpd-errs
ftp.*						/var/log/ftplog
*.err						root
*.notice;auth.debug				root
*.alert						root
*.emerg						*



Anyone see anything obviously wrong?  Thanks for looking!


--
Darren Loher                           
darren@ocf.unt.edu