Newsgroups: comp.archives Path: utzoo!utgpu!news-server.csri.toronto.edu!ox.com!emv From: eap@bu-pub.bu.edu (Eric Pearce) Subject: [sun] Re: anonymous ftp logging with syslogd Message-ID: <1991Jan31.082346.10233@ox.com> Followup-To: alt.sys.sun Sender: emv@ox.com (Edward Vielmetti) Reply-To: eap@bu-pub.bu.edu (Eric Pearce) Organization: BD&HR (Beer Drinkers & Hell Raisers) References: <1991Jan30.221240.3497@rigel.econ.uga.edu> <73499@bu.edu.bu.edu> Date: Thu, 31 Jan 1991 08:23:46 GMT Approved: emv@ox.com (Edward Vielmetti) X-Original-Newsgroups: alt.sys.sun Archive-name: ftp/server/adams-ftp/1991-01-31 Archive-directory: bu.edu:/src/netutil/adams-ftp/ [128.197.2.6] Original-posting-by: eap@bu-pub.bu.edu (Eric Pearce) Original-subject: Re: anonymous ftp logging with syslogd Reposted-by: emv@ox.com (Edward Vielmetti) In article <1991Jan30.221240.3497@rigel.econ.uga.edu> glenn@rigel.econ.uga.edu (Glenn F. Leavell) says: > >I am using SunOS 4.0.3. I'm trying to get a log of all ftp connections >to my machine. From reading the man pages, it seems to me that I need >to start ftpd with the -l option and also put an appropriate entry in >/etc/syslog.conf. Below, is the entry that I believe should log my >ftp connections: > >*.err;kern.debug;daemon,auth.notice;mail.crit;user.none /var/adm/messages > >Is there something that I'm missing? Any information would be appreciated. >Oh - I'm especially interestd in logging the password entry (usually the email >address) of the anonymous ftp connections to my machine. You can anonymous ftp a version off bu.edu in src/netutil/adams-ftp. I made a small to change to use a different syslog facility for just ftp logging, change openlog("ftpd",LOG_PID,LOG_DAEMON) to openlog("ftpd",LOG_PID,LOG_LOCAL0), and put "local0.info /var/log/ftp" in /etc/syslog.conf. -e -- ------------------------------------------------------------------------------- Eric Pearce eap@bu-pub.bu.edu Boston University Information Technology 111 Cummington Street, Boston MA 02215 617-353-2780 voice 617-353-6260 fax