Article View: news.software.nntp
Article #10525Re: Throttle and allow local posting????
From: Michael Handler
Date: Wed, 28 Aug 1996 00:00
Date: Wed, 28 Aug 1996 00:00
37 lines
2145 bytes
2145 bytes
In <500134$36a@simba.cnsnet.com>,
Paul Schaller <paul@cnsnet.com> wrote:
> I want to throttle my server for a period of time and prevent my feeder from
> hitting my server but still allow local users to post.
>
> How can this be accomplished with INN1.4unoff1?
What I did was install Bill Wells' local spooling nnrpd patch. In my
configuration, any post made via nnrpd isn't sent to the NNTP server,
but is written to /var/spool/news/in.coming. I run rnews -U every
fifteen minutes out of news' crontab, which takes all the posts in
in.coming and feeds them to the news server.
This way, users can still post normally even if the INN daemon is
paused or throttled or renumbering or crashed or otherwise
unresponsive. Posts don't show up immediately, but otherwise it's a
win all around. It also allows you to do more intensive filtering on
locally generated news: running a spam/MMF detector, checking for
maliciously forged headers, binaries posted to non-binary groups, etc.
Bill posted the patch here in July, in <4rigv2$77f@twwells.com>.
Should be findable via the usual search engines.
I patched unoff4 with Bill's patch. I don't know how much the nnrpd
code has changed since unoff1, though I'd imagine it would work fairly
easily.
--
Michael Handler <handler@netaxs.com> Net Access System Administration
Voice: (215) 576-8669 Support: support@netaxs.com
DNS: hostmaster@netaxs.com USENET: news@netaxs.com
Isuzu Mysterious Utility Sysadmin!
Technical Details
Message-ID:
<slrn5276kt.hhf.handler@access.netaxs.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:
<500134$36a@simba.cnsnet.com>Show Full Headers
Complete Article Headers
Message-ID: <slrn5276kt.hhf.handler@access.netaxs.com> Subject: Re: Throttle and allow local posting???? Date: Wed, 28 Aug 1996 00:00:00 +0000 From: handler@netaxs.com (Michael Handler) References: <500134$36a@simba.cnsnet.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: 176922018 Organization: Paladin of the Lost Inode Newsgroups: news.software.nntp