Article View: news.software.nntp
Article #7158Re: Time limit access to groups?
From: Daryl Gaumer
Date: Thu, 02 May 1996 00:00
Date: Thu, 02 May 1996 00:00
25 lines
1617 bytes
1617 bytes
Dougal Campbell (dougal@vespucci.iquest.com) wrote:
<snip>
: The quick hack extension solution would be a script that kills all the
: existing nnrpds just after each replacement of the nnrp.access file.
: Sure it's a hack, but it's a lot easier than trying to shoehorn
: something more general and elegant into the INN code! Though it
: *might* be worthwhile to have the nnrpd code recheck the access file on
: each newsgroup change (maybe even every article request), and see how
: badly that degrades response. This would keep your users from getting
: angry about the disconnected nnrpd's that would happen two or three
: times a day. The could complain about the sluggish command response,
: instead ;)
An alogrithm for this would be:
- save the last modified time stamp associated with the open file
descriptor (use stat() call on HP-UX the field is st_mtime in
the struct stat).
- use the fstat() call (periodicly) to compare the value in the
st_mtime field.
-- darylg
Technical Details
Message-ID:
<4m9i1f$faf@hpax.cup.hp.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<4m7nrb$84s@antares.dfma.com> <4m8n9l$nad@polo.iquest.com>Show Full Headers
Complete Article Headers
Message-ID: <4m9i1f$faf@hpax.cup.hp.com> Subject: Re: Time limit access to groups? Date: Thu, 02 May 1996 00:00:00 +0000 From: darylg@cup.hp.com (Daryl Gaumer) References: <4m7nrb$84s@antares.dfma.com> <4m8n9l$nad@polo.iquest.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 152576810 Distribution: inet Organization: Hewlett Packard Cupertino Site Newsgroups: news.software.nntp