home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / os2 / networki / 2151 < prev    next >
Encoding:
Text File  |  1992-11-17  |  2.1 KB  |  39 lines

  1. Newsgroups: comp.os.os2.networking
  2. Path: sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!zaphod.mps.ohio-state.edu!caen!batcomputer!lynx@msc.cornell.edu!tommy
  3. From: tommy@lynx.msc.cornell.edu.UUCP (Mike Thompson,332,54714,2734927)
  4. Subject: Re: IBM TCP/IP: Can I make it log more?
  5. Message-ID: <1992Nov17.172627.23654@msc.cornell.edu>
  6. Originator: tommy@snoopy.msc.cornell.edu
  7. Sender: news@msc.cornell.edu
  8. Organization: Cornell-Materials-Science-Center
  9. References: <1992Nov14.223345.6734@midway.uchicago.edu>
  10. Date: Tue, 17 Nov 1992 17:26:27 GMT
  11. Lines: 26
  12.  
  13. From article <1992Nov14.223345.6734@midway.uchicago.edu>, by achatche@quads.uchicago.edu (andrew curtis hatchell):
  14. > I've been happily running the IBM TCP/IP FTP and Telnet servers for the past
  15. > few weeks, but yesterday I noticed that the Telnet daemon had been spawned
  16. > several times that I hadn't spawned it.  At the moment, the logging I
  17. > do get doesn't tell me anything about those log-ins, and I only noticed
  18. > the fact that they were spawned by making the INETD session full-screen.
  19. > So, for my future peace of mind, is there any way to get INETD to create
  20. > a nice on-disk log of all log-ins, including originating site, and, with
  21. > telnet, whether or not the log-in was successful, and with FTP, the given
  22. > login name?  In addition, is there any way to get the FTP server to prompt
  23. > for a password for anonymous logins so I can get the mail addresses of
  24. > people using the system?
  25.  
  26. I haven't found a way to require passwords from anonymous FTP, but I do
  27. log the FTP traffic on my machine.  In your TCPSTART.CMD file, change
  28.    start inetd 
  29. to
  30.    start /min inetd >> d:\usr\tcpip\inetd.log
  31. This has two effects; first, the session is started as an icon rather
  32. than a window session (can be done for all but NFSSTART), and all console
  33. output goes to the inetd.log file.  This gives attempts and logins for
  34. FTP.  Unfortunately, it doesn't seem to log TELNET sessions.  So, I
  35. modified the logunix.exe program to do that for me.  Does the password
  36. check and logs the user name/password into a log file.  Someone brighter
  37. might be able to write one that grabbed the TCP/IP address as well.
  38.