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