Subject: syslog retrieves and stores

From: [email-masked] (Ron Stanonik)
Date: Fri, 30 Aug 1996 11:35:12 -0700

We're running wu-ftpd 2.4 on SunOS 4.1.3_U1.  We wanted our anonymous
ftp server to syslog transfers to a remote logging machine.  Surprisingly,
although commands are syslog'ed, syslog'ing tranfers seemed to be missing,
so we added it.  I'm appending our diff.  Did we overlook some other way
of syslog'ing tranfers?

Thanks,

Ron Stanonik
[email-masked]

RCS file: RCS/ftpd.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -c -r1.1 -r1.2
*** /tmp/,RCSt1a15517	Fri Aug 30 11:21:48 1996
--- /tmp/,RCSt2a15517	Fri Aug 30 11:21:48 1996
***************
*** 1436,1441 ****
--- 1436,1442 ----
                  authenticated,
                  authenticated ? authuser : "*"
              );
+ 	syslog(LOG_INFO, msg);
          write(xferlog, msg, strlen(msg));
      }
      data = -1;
***************
*** 1624,1629 ****
--- 1625,1631 ----
                  authenticated,
                  authenticated ? authuser : "*"
              );
+ 	syslog(LOG_INFO, msg);
          write(xferlog, msg, strlen(msg));
      }
      data = -1;