home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / alt / security / 4850 < prev    next >
Encoding:
Internet Message Format  |  1992-11-23  |  1.3 KB

  1. Path: sparky!uunet!dove!ariel.ncsl.nist.gov!wack
  2. From: wack@ariel.ncsl.nist.gov (John Wack)
  3. Newsgroups: alt.security
  4. Subject: help: modifying ftpd
  5. Message-ID: <7070@dove.nist.gov>
  6. Date: 23 Nov 92 15:01:51 GMT
  7. Sender: news@dove.nist.gov
  8. Distribution: na
  9. Organization: National Institute of Standards & Technology
  10. Lines: 23
  11.  
  12.  
  13. We're using challenge/response s/w and cards for access to our SunOS
  14. system - for all logins.  Basically, after the username/password,
  15. you get a prompt for the challenge.
  16.  
  17. Now I'd like to add this to our ftp daemon.  The problem I'm running
  18. into is mostly that I can't figure out exactly how to add the
  19. additional prompts to ftpd - what I'd like to do is, if the user is
  20. not anonymous, add a "Challenge: 120ej032" message immediately after
  21. the user/password stuff, followed by a "Response:" prompt with the
  22. smarts to read the response from the terminal.  
  23.  
  24. I tried a few things but then realized that ftpd uses a lot of messy
  25. routines to parse commands and responses - in the interests of time
  26. and my limited ability, I'm wondering if anyone out there has done
  27. anything similar to a BSD-based ftpd and can give me a few pointers.
  28. It seems as if I need to add a new command/response sequence to ftpd
  29. as opposed to a few printfs and fgets. We're using the ftpd from wustl 
  30. if that helps.
  31.  
  32. Any pointers appreciated,
  33. John Wack
  34.  
  35.