🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Daniel P. Katz Mon, 21 Aug 2000 00:00
INN and User Authentication -- A Newbie Question.
#48013
Author: Daniel P. Katz
Date: Mon, 21 Aug 2000 00:00
57 lines
2587 bytes
Hi.

        I have set up a local news server (INN 2.2.1 on an RedHat
Linux 6.1 box) with a few local groups and no external news feed.  For
the internal groups I have some which are world readable and one which
is restricted.  E.g., in nnrp.access I have

*:RP:foo:bar:other.junk.*,news.junk
*:RP:::other.junk.*

What I'd like to do is have the server proactively challenge the
client for the authinfo user and authinfo pass, rather than just wait
for it to be served up (as seems to be happening now).  In particular,
right now when I hit the server with a client the group news.junk
simply isn't seen at all unless I force the client to send authinfo
information without being asked for it.


        I noticed that querying the group without authinfo supplied
information yields the same result as the group not existing at all,
so that the client has no way to tell whether the group simply doesn't
exist or whether it needs to send authinfo stuff.  In detail:

$ telnet news.baz.com 119
Trying 135.140.112.26...
Connected to news.baz.com.
Escape character is '^]'.
200 info.kenan.com InterNetNews NNRP server INN 2.2.1 25-Aug-1999 ready (posting ok).
mode reader
200 info.kenan.com InterNetNews NNRP server INN 2.2.1 25-Aug-1999 ready (posting ok).
group news.junk
411 No such group news.junk
group does.not.exist
411 No such group does.not.exist
quit
205 .
Connection closed by foreign host.

Since both queries return "411 No such group", there is nothing useful
the client can do, as far as I can tell.


        Is there some practical way to tell the server to actively
challenge incoming users?  And where can I find more details?  I
looked in the FAQ list, but I didn't see anything directly applicable
and the copy I found on the web  wasn't indexed.

        Thanx.

Dan Katz


P.S.  Sorry if this is an FAQ and I missed it.  :-(



Re: INN and User Authentication -- A Newbie Question.
#47999
Author: Russ Allbery
Date: Mon, 21 Aug 2000 00:00
30 lines
1961 bytes
Daniel P Katz <dankatz@lucent.com> writes:

> I have set up a local news server (INN 2.2.1 on an RedHat Linux 6.1 box)
> with a few local groups and no external news feed.  For the internal
> groups I have some which are world readable and one which is restricted.
> E.g., in nnrp.access I have

> *:RP:foo:bar:other.junk.*,news.junk
> *:RP:::other.junk.*

> What I'd like to do is have the server proactively challenge the client
> for the authinfo user and authinfo pass, rather than just wait for it to
> be served up (as seems to be happening now).  In particular, right now
> when I hit the server with a client the group news.junk simply isn't
> seen at all unless I force the client to send authinfo information
> without being asked for it.

Flaw in the NNTP protocol, I'm afraid.  :/  If you can access things
without authenticating but can access more with authentication, there
isn't currently any way in the protocol for the server to communicate that
to the client.  Because of that, clients pretty much have to always just
supply authentication information if they have any.

It's probably a fixable flaw, but it needs some protocol design put into
it.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

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