Path: utzoo!utgpu!attcan!uunet!lll-winken!ames!mailrus!cornell!uw-beaver!rice!sun-spots-request From: koreth@ssyx.ucsc.edu (Steven Grimm) Newsgroups: comp.sys.sun Subject: ftp logging (patch to in.ftpd in archives) Message-ID: <8812262331.AA06156@ssyx.ucsc.edu> Date: 7 Jan 89 03:59:30 GMT Sender: usenet@rice.edu Organization: U of Maryland, Dept. of Computer Science,gs Lines: 20 Approved: Sun-Spots@rice.edu Original-Date: Mon, 26 Dec 88 15:31:00 PST X-Sun-Spots-Digest: Volume 7, Issue 91, message 10 of 13 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@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@rice.edu". --wnl ]]