🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Jeff Garzik Thu, 27 Mar 1997 00:00
INN: ctlinnd reject broken in 1.5.1?
#16378
Author: Jeff Garzik
Date: Thu, 27 Mar 1997 00:00
32 lines
1582 bytes
(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.

The ctlinnd readers command works as expected.  I checked CCallow(),
CCgo(), CCreject(), and NCcreate(), and there was no apparent reason for
this behavior (no bugs at first glance).

A couple notes:

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.  :)

2.  NCcreate() appears to reject ALL incoming connections if a reject is
active, not just ones that would be handed off to nnrpd.  This appears
to be contrary to the ctlinnd manpage.

Can anyone trying using the reject command to see if it works on their
system?

	Thanks!
	Jeff

Re: INN: ctlinnd reject broken in 1.5.1?
#16428
Author: Betty Lee
Date: Fri, 28 Mar 1997 00:00
44 lines
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;

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads