home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / ibm / pc / rt / 745 < prev    next >
Encoding:
Internet Message Format  |  1993-01-29  |  2.1 KB

  1. Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!sun-barr!cs.utexas.edu!zaphod.mps.ohio-state.edu!menudo.uh.edu!lobster!antimatr!markw
  2. From: markw@antimatr.hou.tx.us (Mark Whetzel)
  3. Newsgroups: comp.sys.ibm.pc.rt
  4. Subject: ftp logging on an RT  (Was: anonymous ftp on an RT)
  5. Summary: OOPS.. ftp logging was incorrect.. it is a -l  not a -i
  6. Message-ID: <94@antimatr.hou.tx.us>
  7. Date: 28 Jan 93 04:39:02 GMT
  8. References: <1993Jan26.132008.19373@comp.lancs.ac.uk> <93@antimatr.hou.tx.us>
  9. Organization: StarTrek and Lionel trains fan, Missouri City, TX
  10. Lines: 41
  11.  
  12. Following up to my own post.. I typo'ed the command line argument..
  13.  
  14. In article <93@antimatr.hou.tx.us>, markw@antimatr.hou.tx.us (Mark Whetzel) writes:
  15. > According to the RT TCP/IP book SC23-2005-1, the -i option to the
  16.                                                     ^  a -l  (for logging!)
  17. There is also a -d flag for debugging.
  18.  
  19. The inetd.conf line SHOULD read:
  20. ftp    stream    tcp    nowait    root    /usr/lpp/tcpip/etc/ftpd    ftpd -ld
  21.  
  22. > and issue a kill -HUP to the inetd process. to re-read the config file.
  23.  
  24. > Logging is performed via the syslog function call, and the /etc/syslog.conf
  25. > file will have to be altered to actually save the logged data.
  26. > Unfortunately, the book does not indicate the facility and error level
  27. > that ftpd uses to perform it's logging, so a litte experimentation will
  28. > have to be performed.
  29.  
  30. A little experimentation reveals that the -l flag only shows that a FTP
  31. connection was established, but no other details.  No account info, nor
  32. any file transfer info.
  33.  
  34. BUT.. the -d flag to the ftpd  DOES cause a great deal of info to be
  35. sent to the syslog, INCLUDING any userid and passwords specified, as
  36. well as the direction and filenames of files sent/received.
  37.  
  38. Add these lines to /etc/syslog.conf for FTP logging.
  39. # ftp -l logs here
  40. daemon.info        /usr/spool/daemon.info
  41. #
  42. # ftp -d logs here
  43. daemon.debug        /usr/spool/daemon.debug
  44.  
  45. Sorry about the typo on the earlier command line flag.
  46.  
  47. Later,
  48. markw
  49. -- 
  50. M. Whetzel 
  51. Home: markw@antimatr.hou.tx.us        | IBM RT/125 running AIX 2.2.1 
  52. UUCP ..!uhnix1!lobster!antimatr!markw 
  53.