Article View: news.software.nntp
Article #16428Re: INN: ctlinnd reject broken in 1.5.1?
From: Betty Lee
Date: Fri, 28 Mar 1997 00:00
Date: Fri, 28 Mar 1997 00:00
44 lines
2466 bytes
2466 bytes
Jeff Garzik <jeff.garzik@spinne.com> writes...
+ (cc'd to inn-bugs)
+
+ I'm running an unpatched 1.5.1 server, and trying to play around with
+ the reject command. "ctlinnd reserve 'reason'" appears to do nothing.
+
+ I killed all the reader processes running, executed a ctlinnd reserve,
+ and received an "Ok" response -- but news clients were still allowed to
+ connect.
Um... "ctlinnd reserve" reserves the next pause/throttle. That means
that the next pause or throttle of the server _has_ to have the same
reason. That is it, and nothing more. It's not supposed to affect your
readers at all.
+ 1. The only apparent difference between allow/reject and readers
+ commands is that using allow/reject does not start an nnrpd process. At
+ that that's what the manpage says. Do we need both? If noone noticed
+ 'reject' not working, probably not. :)
Oh! You should've said "reject" in the first place. Read the man
page again with this mindset: Reject turns off your incoming _feeds_
and explictly _not_ your incoming readers. So, you can turn off your
readers without turning off your feeds. You can turn off your feeds at
varying levels -- reject, pause, and throttle.
From the man page:
reject reason
Remote connections (those that would not be handed off
to nnrpd) are rejected, with reason given as the expla-
nation.
I think it makes more sense when you already have an idea of what it's
supposed to do. And it works great for me.
--
#!/usr/local/bin/perl -- - ### Betty Lee ### All standard disclaimers apply. ;
s>^>9d11<5d.28-.o8d16<3d/14d)o7d7<d< 8<2d/13d)od6-*-4=3<5d8< /12d)o7d3< B2d/>;
s>$>3d5</10d)o7d<d^2d/ ^3d3</8d)o9d|d|d|4d/7d)o9dqa|d/4d/6d)o9drgicuwuBngncp>;
s,$,f.uvcphqtf.gfwo,;y,A-w,?-u,,s,m,\n,g,,s,(\d+)(.),$2x$1,eg,,s,b, ,g,print;
Technical Details
Message-ID:
<5hfulv$qgd@nyx.Stanford.EDU>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:
<333AFDED.1317633B@spinne.com>Show Full Headers
Complete Article Headers
Message-ID: <5hfulv$qgd@nyx.Stanford.EDU> Subject: Re: INN: ctlinnd reject broken in 1.5.1? Date: Fri, 28 Mar 1997 00:00:00 +0000 From: pegasus@nyx.Stanford.EDU (Betty Lee) References: <333AFDED.1317633B@spinne.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: 228956602 Organization: Stanford University, CA 94305, USA Newsgroups: news.software.nntp X-Newsposter: trn 4.0-test56 (2 Mar 97)