🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #16378

INN: ctlinnd reject broken in 1.5.1?

#16378
From: 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

Technical Details
Message-ID: <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

Show Full Headers
Complete Article Headers
Message-ID: <333AFDED.1317633B@spinne.com>
Subject: INN: ctlinnd reject broken in 1.5.1?
Date: Thu, 27 Mar 1997 00:00:00 +0000
From: Jeff Garzik <jeff.garzik@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: 228851445
Organization: Spinne http://spinne.com
Newsgroups: news.software.nntp