πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #78998

Re: No Posting response using Telnet or Gravity

#78998
From: John F. Morse
Date: Thu, 08 May 2008 17:40
135 lines
5790 bytes
Julien Γ‰LIE wrote:

> Is it clear, according to what I write in this message, why your INN 
> sends
> such an answer?
> It is only because there is no posting allowed in your readers.conf (only
> one group would be enough to send a "200 (posting ok)" answer).


Yes, Julien, that is clear. If I were to change the single moderated 
"public" xanadu.info group to unmoderated, then nnrpd would be sending 200.

Here is the info for the news7 server, plus some additional checking I 
did last night:

201 news7.my.net InterNetNews NNRP server INN 2.4.3 (20050407 
prerelease) ready (no posting).

 From the news7 active:

xanadu.info 0000000001 0000000001 m

The news7 readers.conf:

auth "global" {
        hosts: "*"
        auth: "/usr/lib/news/bin/auth/passwd/ckpasswd -f 
/var/lib/news/passlist"
        default: "<anonymous>"
}

auth "localhost" {
        hosts: "stdin,localhost,127.0.0.1"
        auth: "/usr/lib/news/bin/auth/passwd/ckpasswd -f 
/var/lib/news/passlist"
        default: "<localhost>"
}

access "authenticated" {
        users: "*"
        newsgroups: "*,!junk,!control,!control.*"
}

#access "brisbuds" {
#       users: "newsmaster,john,martha,many_more_usernames"
#       read: "*,!junk,!control,!control.*,!xanadu.info"
#       post: "*,!junk,!control,!control.*,!xanadu.info"
#}

access "special" {
        users: "<localhost>"
        newsgroups: "*"
        access: "RPNAL"
}

access "public" {
        users: "<anonymous>"
        read: "xanadu.info"
}

Commenting out the "brisbuds" access stanza has opened the total spool 
(except junk and control.*) to anyone who authenticates. This file is 
owned by news-news with 644.

Last night I fired up two older servers and telnetted into them:

200 news2.my.net InterNetNews NNRP server INN 2.4.4 (20060818 snapshot) 
ready (posting ok).

200 news5.my.net InterNetNews NNRP server INN 2.4.3 (20050407 
prerelease) ready (posting ok).

As you can see, the news2 box is upgraded to 2.4.4 and provides the 200 
response. Neither the news2 nor the news5 have any moderated groups.


The oldest server, news5, is still a 2.4.3 version (on Debian Sarge), 
but it did not have authentication in readers.conf so it is providing a 
200 response. This file is owned by root-root with 644, which is 
incorrect but works since news only reads it.

It has two stanzas that seem to allow the same unrestricted access:

access "authenticated" {
        users: "*"
        read: "*,!junk,!control,!control.*"
        post: "*,!junk,!control,!control.*"
}

access "public" {
        users: "<anonymous>"
        read: "*,!junk,!control,!control.*"
        post: "*,!junk,!control,!control.*"

It's been several years since I messed with that box, so the last stanza 
was perhaps remnants of some editing.


The news2 box was an intermediate server used for a short time when I 
was learning and instigated authentication. The stanzas are poorly 
written, but you can see why it is providing the 200 response. I have 
since upgraded it to Debian Etch, which includes the INN 2.4.4 package 
release, but do not currently have it online. Jeffrey helped me 
considerably, even mentioning to combine the read: and post: into 
access: which I still need to do on news7 if I decide to again make the 
brisbuds access private.

This file is owned by root-root with 644, which again is incorrect but 
works since news only reads it.

access "authenticated" {
        users: "*"
        read: "*,!junk,!control,!control.ch*,!control.n*,!control.r*"
        post: "*,!junk,!control,!control.ch*,!control.n*,!control.r*"
}

access "public" {
        users: "<anonymous>"
        read: 
"local.*,!brisbee,!computers,!petchat,!raucouscaucus,!soapbox,!control.ch*,!control.n*,!control.r*"
        post: 
"local.*,!brisbee,!computers,!petchat,!raucouscaucus,!soapbox,!control.ch*,!control.n*,!control.r*"
}

Thanks for your help understanding this. I see where the differences 
between 2.4.3 and 2.4.4 are not really any concern for this 200 vs. 201 
response.


-- 
John 

No Microsoft, Apple, Intel, Trend Micro, nor Ford products were used in the preparation or transmission of this message.

The EULA sounds like it was written by a team of lawyers who want to tell me what I can't do. The GPL sounds like it was written by a human being, who wants me to know what I can do.
Technical Details
Message-ID: <nWGUj.307144$cQ1.221966@bgtnsc04-news.ops.worldnet.att.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wn14feed!worldnet.att.net!bgtnsc04-news.ops.worldnet.att.net.POSTED!17a21c27!not-for-mail
References: <tVlUj.302945$cQ1.245997@bgtnsc04-news.ops.worldnet.att.net> <fvt3to$cta$1@news.trigofacile.com> <mjpUj.303645$cQ1.246503@bgtnsc04-news.ops.worldnet.att.net> <fvus7d$78t$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <nWGUj.307144$cQ1.221966@bgtnsc04-news.ops.worldnet.att.net>
Subject: Re: No Posting response using Telnet or Gravity
Date: Thu, 08 May 2008 17:40:35 GMT
From: "John F. Morse" <xanadu.bbs@example.invalid>
References: <tVlUj.302945$cQ1.245997@bgtnsc04-news.ops.worldnet.att.net> <fvt3to$cta$1@news.trigofacile.com> <mjpUj.303645$cQ1.246503@bgtnsc04-news.ops.worldnet.att.net> <fvus7d$78t$1@news.trigofacile.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.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wn14feed!worldnet.att.net!bgtnsc04-news.ops.worldnet.att.net.POSTED!17a21c27!not-for-mail
Reply-To: dont.bother
Organization: Xanadu BBS
User-Agent: Thunderbird 1.5.0.14ubu (X11/20080306)
MIME-Version: 1.0
Newsgroups: news.software.nntp
In-Reply-To: <fvus7d$78t$1@news.trigofacile.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
Lines: 135
NNTP-Posting-Host: 4972c019a5efefae9aa9f6fd5c992453
X-Complaints-To: abuse@worldnet.att.net
X-Trace: bgtnsc04-news.ops.worldnet.att.net 1210268435
NNTP-Posting-Date: Thu, 08 May 2008 17:40:35 GMT