🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #49501

Re: Readers.conf and authentication (INN-2.3.X)

#49501
From: Russ Allbery
Date: Sun, 24 Dec 2000 12:11
38 lines
2523 bytes
Ansering more old posts.

Tim Pennick <tpennick@axion.bt.co.uk> writes:

> Once again brief recap.

> We've got lots of users who don't need username/password authentication
> (access controlled by hostname/IP address).  I'd like to offer people
> password protection on some (only a few) additional local newsgroups.

> What I hoped was that if someone was reading an 'open' group (not
> requiring password authentication) and then decided to read a closed
> one, they could select the closed group from their reader,

This requires that the group show up in LIST ACTIVE.  The way that INN's
group restrictions work are that the groups disappear out of LIST ACTIVE
for the client.  This is *normally* the desired behavior; what you need is
an additional pattern that determines what groups show up in LIST ACTIVE
but aren't readable without further authentication.  Attempting to access
such a group with GROUP would then produce the authentication needed
response.

This is conceptually pretty straightforward, but it may well be hard to
implement given the existing code base, which is rather tangled and hard
to follow.

> I've read in the INN documentation (in the readers.conf man page) that a
> client can issue authinfo during a session to achieve access via
> authentication, but the newsreaders I know about (lynx and SLRN) don't
> provide this functionality, authinfo being usually a response to an
> authneeded from the server.

You *should* be able to force authentication even if the server doesn't
ask for it, but yeah, that's a client issue.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>
Technical Details
Message-ID: <ylvgsarpbp.fsf@windlord.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!supernews.google.com!sn-xit-02!supernews.com!newsfeed.mesh.ad.jp!logbridge.uoregon.edu!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail
References: <8tpn1l$b51$1@pheidippides.axion.bt.co.uk>

Show Full Headers
Complete Article Headers
Message-ID: <ylvgsarpbp.fsf@windlord.stanford.edu>
Subject: Re: Readers.conf and authentication (INN-2.3.X)
Date: Sun, 24 Dec 2000 12:11:54 +0000
From: Russ Allbery <rra@stanford.edu>
References: <8tpn1l$b51$1@pheidippides.axion.bt.co.uk>
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!supernews.google.com!sn-xit-02!supernews.com!newsfeed.mesh.ad.jp!logbridge.uoregon.edu!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 37
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)