ftp logging (patch to in.ftpd in archives)

Steven Grimm koreth at ssyx.ucsc.edu
Sat Jan 7 13:59:30 AEST 1989


We run an anonymous FTP service on ssyx.ucsc.edu, and we like to know
which files are being transfered and by whom.  To keep track of this
information, I have made the following additions to the in.ftpd source
(these are for SunOS 4.0; the patches are easy to adapt to other versions
of the OS).  Files modified are ftpcmd.y, ftpd.c, and ftpd.8c (the manual
page).  This patch is also useful for system security purposes, as it logs
all ftp sessions; if an intruder is transferring files from your site, the
transfers will show up in the logfile.

---
Steven Grimm		Moderator, comp.{sources,binaries}.atari.st
koreth at ssyx.ucsc.edu	uunet!ucbvax!ucscc!ssyx!koreth
University of California, Santa Cruz; Social Sciences Division

[[ The patch has been placed in the archives under "sun-source" as
"ftp.logging.patch".  It is 7191 bytes long.  It can be retrieved via
anonymous FTP from the host "titan.rice.edu" or via the archive server.
For more information about the archive server, send a mail message
containing the word "help" to the address "archive-server at rice.edu".
--wnl ]]



More information about the Comp.sys.sun mailing list