home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / news / software / nntp / 912 < prev    next >
Encoding:
Internet Message Format  |  1992-07-29  |  2.1 KB

  1. Path: sparky!uunet!mcsun!uknet!pavo.csi.cam.ac.uk!jml4
  2. From: jml4@cus.cam.ac.uk (John Line)
  3. Newsgroups: news.software.nntp
  4. Subject: nntp 1.5.11 - disabling NNTP server - how?
  5. Message-ID: <1992Jul29.194030.1505@infodev.cam.ac.uk>
  6. Date: 29 Jul 92 19:40:30 GMT
  7. Sender: news@infodev.cam.ac.uk (USENET news)
  8. Organization: U of Cambridge, England
  9. Lines: 30
  10. Nntp-Posting-Host: bootes.cus.cam.ac.uk
  11.  
  12. Earlier today, I needed to reboot our new NNTP server. We haven't yet announced
  13. the server as providing a full service, but there are quite a number of people
  14. using it already, scattered over several departments. There were four of them
  15. at the time I wanted to reboot, and though I thought I'd seen a reference
  16. somewhere to a way to disable NNTP (other than "brute force" methods like
  17. mv'ing nntpd - which wouldn't interrupt current users), but couldn't find it
  18. quickly, so I just rebooted.
  19.  
  20. Since then, I've looked at the source code (nntp 1.5.11, on SunOS 4.1.2, over
  21. last year's C-news), and in server/serve.c I found references to #DEFINEs
  22. LOGINCHECK and NOLOGIN, the former apparently specifying a frequency with which
  23. to check if NNTP access should be disabled, and the latter a file which
  24. disables access by existing.
  25.  
  26. However, grep-ing through the code, docs, and Makefiles failed to find any
  27. reference to these #DEFINEs. In particular, they are not mentioned in
  28. conf.h[.dist].
  29.  
  30. Is it safe to use them, or are they something that was never fully implemented
  31. or tested? Or putting that another way, has anyone tried using them? It looks
  32. like any newsreader with an active connection will get an unsolicited "shutting
  33. down" message - how well do they cope with that, e.g. do they bother passing
  34. the message to the user? If not, then it's of limited use unless you want to
  35. disable nntp for an extended period while the system is running normally.
  36.  
  37.                                 John
  38. -- 
  39. John Line - Cambridge University Computing Service, Computer Laboratory,
  40.             New Museums Site, Pembroke Street, Cambridge CB2 3QG, ENGLAND.
  41. Internet: jml4@cus.cam.ac.uk  JANET: jml4@uk.ac.cam.cus  Phone: +44 223 334708
  42.