🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #88991

Re: What did / do you find difficult about running Usenet / NNTP / INN server?

#88991
From: Russ Allbery
Date: Sat, 08 Jan 2022 20:14
43 lines
3182 bytes
bje@ripco.com writes:

> That one I totally agree with.

> I always end up trial and error when adding or making a change to
> reader.conf becuase that never made any fucking sense to me at all.

> None of it, even after reading the man page for the past 20 years or so.

The basic theory of readers.conf is that it's trying to enable support for
a completely generic and pluggable enterprise authentication pipeline.

A reader connects and this connection is then passed to the authentication
system, which analyzes the available information about the connection and
assigns an identity to it.  Then, that identity is passed to the
authorization system, which maps identities to sets of privileges that
control what they can do on the server.

If the user does something to change their authentication status, such as
an AUTHINFO command, that goes back to the authentication system, which
assigns a new identity using the updated information, and then the
authorization system runs again to assign new privileges.

It's made worse by the fact that every step of this is very generic, so a
given server can support, e.g., five different ways to authenticate that
are checked against different databases, and there's an additional layer
of complexity where you can assign a vector as an identity to the user
instead of just a string and thus limit which authorization groups will
match.  (This is not the terminology that readers.conf uses, but that's
what the "key" parameter effectively does.)

If you're doing a mathematical model of authorization systems, this is all
very sensible, but except for people who spend a lot of time working with
IAM systems, this is just not how they think about the problem at all.
They want to let a user do things, and they want to configure a, singular,
way that users authenticate, and everything else is advanced and should be
hidden behind something you don't have to think about unless you need it.

-- 
Russ Allbery (eagle@eyrie.org)             <https://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <https://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID: <874k6ekmrv.fsf@hope.eyrie.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <srbfvb$ji$1@tncsrv09.home.tnetconsulting.net> <20220108023419.1e902686@wibble.sysadmininc.com> <src0fg$1kvl1$1@news.trigofacile.com> <srchrq$17lc$1@gallifrey.nk.ca> <87fspyktv5.fsf@hope.eyrie.org> <srcpeu$qck$1@remote6hme0.ripco.com>

Show Full Headers
Complete Article Headers
Message-ID: <874k6ekmrv.fsf@hope.eyrie.org>
Subject: Re: What did / do you find difficult about running Usenet / NNTP / INN server?
Date: Sat, 08 Jan 2022 12:14:44 -0800
From: Russ Allbery <eagle@eyrie.org>
References: <srbfvb$ji$1@tncsrv09.home.tnetconsulting.net> <20220108023419.1e902686@wibble.sysadmininc.com> <src0fg$1kvl1$1@news.trigofacile.com> <srchrq$17lc$1@gallifrey.nk.ca> <87fspyktv5.fsf@hope.eyrie.org> <srcpeu$qck$1@remote6hme0.ripco.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Mime-Version: 1.0
Content-Type: text/plain
Injection-Info: hope.eyrie.org; logging-data="31547"; mail-complaints-to="news@eyrie.org"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:rn7sQawQT3Bm1wMcDUw3BoZcFOs=
Lines: 42