🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #11420

Re: NN Manual group access

#11420
From: John F. Morse
Date: Tue, 07 Aug 2012 22:35
81 lines
4527 bytes
Aaron W. Hsu wrote:
> "John F. Morse" <john@example.invalid> writes:
>> If I run nn with no options, the process ends immediately.
>>     
>
> This is because NN will check for new messages in subscribed groups, 
> and if there are none, it exits immediately.
>   


It may check, but it can't see beyond the single group that doesn't 
require authentication.

The single local.info article would have been seen before, so that may 
be why it bails out.

If I use the nn command with the name of my NSP, then it does enter a group.

If I put "set nntp-server news.my.isp.net" in ~/.nn.init then it also 
enter the group.

So I can assume this behavior is expected.


>> "No group matching `local test'" is what I receive here.
>>     
>
> So NN is not running the command on the server, but just checking its 
> local list, thanks.
>   


It should be looking at the server.

But when it does, it's only going to see the single local.info group 
because that is the only group which it can access.


>> The group exists but NN cannot see it because the server isn't providing 
>> groups that are protected by authentication.
>>     
>
> I do not think this is the reason. If I understand your server configuration, 
> if NN had asked to read the group on the server, it would have sent a 
> 480 error requesting authentication, and then NN would have been able to 
> access things. As is stands, though, it seems that NN does not actually 
> run the command until after it assures itself that the group exists based 
> on its local listing, which, in your server configuration, will not contain
> the restricted groups.
>   


It isn't going to send 480 because it hasn't been afforded the privilege 
of looking beyond the single group (local.info) that the connection allows.

The INN nnrpd server, using the readers.config file, gets the authorized 
groups when a user connects to the nnrpd server. Not later.

You cannot backtrack on that connection, and further connection attempts 
always go through the same nnrpd validation path.

The server doesn't ask for authentication. The newsreader must supply 
("force") the authinfo when it first connects.

I cannot change that.

If you can understand the readers.conf man page, and it is quite 
difficult, then you would see how it works. You might consider posting 
in news.software.nntp and one of the two or three expert developers 
might respond.

It was discussed a long time ago, and that is why TIN was patched. I 
have no other newsreader that cannot "push" authentication. They all 
work with INN. Only NN is unable (but you have now fixed it).


-- 
John

When a person has -- whether they knew it or not -- already
rejected the Truth, by what means do they discern a lie?
Technical Details
Message-ID: <jvs575$40s$1@n102.xanadu-bbs.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.20140326.mbox.gz!border1.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!novia!news.glorb.com!v102.xanadu-bbs.net!optima2.xanadu-bbs.net!optima11.xanadu-bbs.net!optima5.xanadu-bbs.net!n102.xanadu-bbs.net!xanadu-bbs.net!.POSTED!not-for-mail
References: <c6e80c2a-e732-4f7c-8071-48c2d284a81a@googlegroups.com> <1aydncHF-7-KR4fNnZ2dnUVZ_u-dnZ2d@giganews.com> <jvet6k$n0i$1@n102.xanadu-bbs.net> <4fSdndK4LcY5vYHNnZ2dnUVZ_h2dnZ2d@giganews.com> <jvhorp$ekl$1@n102.xanadu-bbs.net> <CpOdnbBHrtmv6oDNnZ2dnUVZ_iydnZ2d@giganews.com> <jvktrf$8g2$1@n102.xanadu-bbs.net> <xYGdndRdjYlVv4PNnZ2dnUVZ_hydnZ2d@giganews.com> <jvom7t$7dc$1@n102.xanadu-bbs.net> <d62dnRBTleE7ib3NnZ2dnUVZ_jOdnZ2d@giganews.com> <jvq6hb$jke$1@n102.xanadu-bbs.net> <cL2dnZXbno1LFLzNnZ2dnUVZ_h6dnZ2d@giganews.com>

Show Full Headers
Complete Article Headers
Message-ID: <jvs575$40s$1@n102.xanadu-bbs.net>
Subject: Re: NN Manual group access
Date: Tue, 07 Aug 2012 17:35:17 -0500
From: "John F. Morse" <john@example.invalid>
References: <c6e80c2a-e732-4f7c-8071-48c2d284a81a@googlegroups.com> <1aydncHF-7-KR4fNnZ2dnUVZ_u-dnZ2d@giganews.com> <jvet6k$n0i$1@n102.xanadu-bbs.net> <4fSdndK4LcY5vYHNnZ2dnUVZ_h2dnZ2d@giganews.com> <jvhorp$ekl$1@n102.xanadu-bbs.net> <CpOdnbBHrtmv6oDNnZ2dnUVZ_iydnZ2d@giganews.com> <jvktrf$8g2$1@n102.xanadu-bbs.net> <xYGdndRdjYlVv4PNnZ2dnUVZ_hydnZ2d@giganews.com> <jvom7t$7dc$1@n102.xanadu-bbs.net> <d62dnRBTleE7ib3NnZ2dnUVZ_jOdnZ2d@giganews.com> <jvq6hb$jke$1@n102.xanadu-bbs.net> <cL2dnZXbno1LFLzNnZ2dnUVZ_h6dnZ2d@giganews.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.20140326.mbox.gz!border1.nntp.dca3.giganews.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!novia!news.glorb.com!v102.xanadu-bbs.net!optima2.xanadu-bbs.net!optima11.xanadu-bbs.net!optima5.xanadu-bbs.net!n102.xanadu-bbs.net!xanadu-bbs.net!.POSTED!not-for-mail
Newsgroups: news.software.nn
Organization: Xanadu BBS
Lines: 81
Reply-To: dont.bother
NNTP-Posting-Host: 4qHUE4Vte7yJH24F0tJGG5ugKIE
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Complaints-To: newsmaster@xanadu-bbs.net
NNTP-Posting-Date: Tue, 7 Aug 2012 22:35:17 +0000 (UTC)
User-Agent: Thunderbird 2.0.0.24 (X11/20101027)
In-Reply-To: <cL2dnZXbno1LFLzNnZ2dnUVZ_h6dnZ2d@giganews.com>
X-Enigmail-Version: 0.96.0
X-Original-Bytes: 4225