• What did / do you find difficult about running Usenet / NNTP / INN serv

    From Grant Taylor@21:1/5 to All on Sat Jan 8 00:54:20 2022
    Based on some comments in other threads, I gather that some think that
    running a Usenet / NNTP / INN server has a higher entry bar than it
    possibly should have.

    Would you please elaborate on what you think is / was difficult or a
    barrier of entry for you?

    I ask in the spirit of hoping to collectively learn from this and
    streamline / simplify Usenet / NNTP / INN server installation &
    configuration.

    What would you like to see changed? Ideally, what could be done without substantively changing how a program, e.g. INN, is written / config
    files are parsed.



    --
    Grant. . . .
    unix || die

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From jdanield@21:1/5 to All on Sat Jan 8 09:46:44 2022
    Le 08/01/2022 à 08:54, Grant Taylor a écrit :
    (...)
    What would you like to see changed? Ideally, what could be done without substantively changing how a program, e.g. INN, is written / config
    files are parsed.



    thanks doing this.

    As often it mostly is (IMHO) a documentation problem. INN documentation
    is mostly old and seems to me adapted to an old config. I'm not sure
    even the smaller modern config (PI?) need so much storage care.

    to start, I guess *real* server admins (the ones with university grade)
    do not really have problems. (if it's not, speak :-))

    So I guess we should concentrate on making doc for the nntp user that
    want to help his favorite media to progress and so want to get his own
    usenet server.

    So an nntp *user* and wanting to have a *server*, that mean at least
    somebody with some concern and wanting to work, not any newbie.

    At first, may be make some sort of dictionary to make more evident the
    meaning of the words used in the doc

    thanks
    jdd

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Nigel Reed@21:1/5 to Grant Taylor on Sat Jan 8 02:34:19 2022
    On Sat, 8 Jan 2022 00:54:20 -0700
    Grant Taylor <gtaylor@tnetconsulting.net> wrote:

    Based on some comments in other threads, I gather that some think
    that running a Usenet / NNTP / INN server has a higher entry bar than
    it possibly should have.

    I agree, after all it only received and sends articles between systems
    and accepts user postings. How could that possibly be complicated? :)

    Would you please elaborate on what you think is / was difficult or a
    barrier of entry for you?

    There's a LOT of configuration options, an overwhelming amount for a
    new usenet admin, especially when it's not as prevalent as it once was.
    It took me long enough to decide which type of spool I wanted to keep.
    Lots of terminology and so much documentation. Most of it tells you
    what to do but not why you're doing it.

    What would you like to see changed? Ideally, what could be done
    without substantively changing how a program, e.g. INN, is written /
    config files are parsed.


    I really don't know. I'm terrible at reading documentation so most of
    the questions I have are probably answered. I stuck with traditional
    spool because that's what I know. I just took most of the defaults.
    Took me a while to get authentication going, I'm not sure there's a way
    to generate passwords. Maybe a more easier step by step setup that
    clearly but concisely explains the process.

    Thanks for the effort into trying to make it easier. Maybe others will
    have better suggestions.


    --
    End Of The Line BBS - Plano, TX
    telnet endofthelinebbs.com 23

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Julien_=c3=89LIE?=@21:1/5 to All on Sat Jan 8 13:46:08 2022
    Bonjour Jean-Daniel,

    So I guess we should concentrate on making doc for the nntp user that
    want to help his favorite media to progress and so want to get his own
    usenet server.

    https://www.eyrie.org/~eagle/software/inn/ references "Contributed documentation".

    Maybe modernized ones would be needed in English (the Usenet Rapid
    Knowledge Transfer site is a bit old now for INN, but very interesting
    in general information!)
    http://www.mibsoftware.com/userkt/userkt.html

    There's a link to a doc written in French that should normally explain everything to set up a working news server:

    https://git.alphanet.ch/gitweb/?p=inn-install/.git;a=blob_plain;f=README.html;hb=HEAD

    What is missing in it? We should arrive to provide such a one-page
    guide, whatever its language is. And then translate it if needed in
    other languages!

    Other starting points could be INN's official CHECKLIST and FAQ.
    https://www.eyrie.org/~eagle/software/inn/docs/checklist.html
    https://www.eyrie.org/~eagle/faqs/inn.html#S2.1

    Suggestions of improvements are of course appreciated!

    --
    Julien ÉLIE

    « Nul n'entre ici s'il n'est géomètre. » (Platon)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Julien_=c3=89LIE?=@21:1/5 to All on Sat Jan 8 13:36:00 2022
    Hi Nigel,

    Would you please elaborate on what you think is / was difficult or a
    barrier of entry for you?

    There's a LOT of configuration options, an overwhelming amount for a
    new usenet admin, especially when it's not as prevalent as it once was.
    It took me long enough to decide which type of spool I wanted to keep.
    Lots of terminology and so much documentation. Most of it tells you
    what to do but not why you're doing it.

    To be concrete, what should be changed in our FAQ that could help
    choosing the right type of spool?
    https://www.eyrie.org/~eagle/faqs/inn.html#S2.1


    I stuck with traditional
    spool because that's what I know. I just took most of the defaults.

    And that's a good choice :-)
    The defaults are normally fine.


    Took me a while to get authentication going, I'm not sure there's a way
    to generate passwords. Maybe a more easier step by step setup that
    clearly but concisely explains the process.

    To be concrete, what should be added in the quick installation checklist
    that explains the things to do to have a working installation?

    https://www.eyrie.org/~eagle/software/inn/docs/checklist.html

    We have a "Readers" section in CHECKLIST with a basic readers.conf
    example and how to generate passwords :)

    % htpasswd -nbd user pass
    user:LIfOpbjNaEQYE

    % perl -e 'print "user:".crypt("pass", "LI")."\n";'
    user:LIfOpbjNaEQYE

    --
    Julien ÉLIE

    « Timeo Danaos et dona ferentes. » (Laocoon de Virgile)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From jdanield@21:1/5 to All on Sat Jan 8 13:53:15 2022
    Le 08/01/2022 à 13:36, Julien ÉLIE a écrit :

    https://www.eyrie.org/~eagle/software/inn/docs/checklist.html

    missed this one :-(. should be linked on top of "documentation" here:

    https://www.eyrie.org/~eagle/software/inn/

    (no "checklist" in this page :-()

    probably a typo: "work on the files in ~news/etc" should be "work on the
    files in ~news"

    is the "compile" part still needed?

    I know it's difficult to manage, but have a section "Configure" just
    under a line with "./configure --with-perl ..." is disturbing :-(.

    "If using cycbuffs (the CNFS storage method)" comes at a moment where
    nobody know what cycbuffs is - nor CNFS :-(

    I stopped reading here. Good idea, but have to be completely rewritten :-(


    We have a "Readers" section in CHECKLIST with a basic readers.conf
    example and how to generate passwords :)

    % htpasswd -nbd user pass
    user:LIfOpbjNaEQYE

    % perl -e 'print "user:".crypt("pass", "LI")."\n";'
    user:LIfOpbjNaEQYE


    does it mean one have to use .htaccess to manage access to the forums?

    thanks
    jdd

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Julien_=c3=89LIE?=@21:1/5 to All on Sat Jan 8 16:16:40 2022
    Hi Grant,

    Based on some comments in other threads, I gather that some think that running a Usenet / NNTP / INN server has a higher entry bar than it
    possibly should have.

    Would you please elaborate on what you think is / was difficult or a
    barrier of entry for you?

    I believe the first thing one has to ask himself is: which news server
    do I need?

    "INN doesn't try to be the fastest possible news server, or the
    simplest, and it's definitely not the easiest to configure" (from its
    main description)

    So, that would be the first step.
    For simple needs (like a few feeds and readers), there are much more
    simpler news servers to use!

    Like Miquel's recent NNTP implementation in Rust:
    https://github.com/miquels/nntp-rs



    As for INN, if the admin's choice is for that news server, then we can
    wonder what is missing in its documentation or how to make it simple
    (knowing that there already are CHECKLIST, INSTALL, a FAQ, and
    documented samples).



    Another point could be, as I see questions about storage format, that
    some not widely-used or still useful features might be considered as
    removable in INN 2.7 ou 2.8.
    It would simplify documentation at the same time!
    For instance we could only keep tradspool and CNFS (therefore removing
    timecaf and timehash) as article storage methods, and we could only keep tradindexed and ovsqlite (therefore removing ovdb and buffindexed) as
    overview storage methods. And maybe other sorts of removals.

    --
    Julien ÉLIE

    « Nul n'entre ici s'il n'est géomètre. » (Platon)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Thomas Hochstein@21:1/5 to Grant Taylor on Sat Jan 8 16:24:27 2022
    Grant Taylor schrieb:

    Based on some comments in other threads, I gather that some think that running a Usenet / NNTP / INN server has a higher entry bar than it
    possibly should have.

    Would you please elaborate on what you think is / was difficult or a
    barrier of entry for you?

    Even as someone who had been using Usenet quite intensively for a few
    years by then, setting up my own first "real" (i.e. peering) INN server
    was no easy task for me. The main problem was to get an overview of how
    the individual components interact, i.e. the flow of articles from peers
    and posters into INN, from there into the storage system and then from
    there back out to the peers, and what role the individual programs that
    make up the INN distribution and their configuration files play. The documentation of those individual parts is absolutely exemplary, but I
    missed an overview of the big picture.

    In my opinion, you need two things to set up and run INN:

    1. A tutorial on how to set up the server for the first time

    The problems I encountered at that time (~ 2005/2010) were, on the one
    hand, the different paths, file owners/permissions and calling
    conventions between an INN compiled from source and different Linux distributions; on the other hand, many (older) tutorials found on the
    net assumed that INN should be configured as a local server behind a
    dial-up line or a reader account and connected via, for example, suck.

    At that time, Kris Köhntopp's instructions were really helpful: <https://web.archive.org/web/20120126105104/http://kris.koehntopp.de/artikel/usenet/>
    (German language)

    2. An overview, perhaps even including a few diagrams, of how all the individual programss and their configuration files fit together and
    interact.

    I tried to do that in 2005:

    <https://th-h.de/net/usenet/servers/inn/overview/> (German language)

    After that you need ...

    3. recipes for certain tasks and situations,

    ... but that is the typical task of a FAQ, and the FAQ can be expanded
    as needed for that.

    I ask in the spirit of hoping to collectively learn from this and
    streamline / simplify Usenet / NNTP / INN server installation & configuration.

    What would you like to see changed? Ideally, what could be done without substantively changing how a program, e.g. INN, is written / config
    files are parsed.

    See above:

    An installation tutorial (yes, there is one in INSTALL, kind of) and an overview of how INN works, in addition to the man pages.

    -thh

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jason Evans@21:1/5 to Grant Taylor on Sat Jan 8 15:32:00 2022
    On Sat, 8 Jan 2022 00:54:20 -0700, Grant Taylor wrote:

    What would you like to see changed? Ideally, what could be done without substantively changing how a program, e.g. INN, is written / config
    files are parsed.

    Hi Grant,

    The day to day running is quite easy but getting started was a pain in the rear. I know Russ et al. work hard on their documentation, but it wasn't
    an easy set up. It took a couple of days to get everything working and
    that was before I asked for peers. I'm not a Linux newbie but it was not
    easy to set up.

    Here's an example, I had to post here asking for help getting external
    user access set up. The directions that I needed were in a man page that I didn't even know that I needed to read. It works now and I'm posting from
    my account. However I am still running on port 119 because I never could getting SSL working. I still can't get my signed certificates to be
    recognized and port 563 activated. Since my server is only for me and my friends, I'm not terribly worried about security, but it would be nice to
    get that working.

    A series of walkthroughs (video or otherwise) explaining how to set up INN would be a great help.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Thomas Hochstein@21:1/5 to All on Sat Jan 8 16:25:44 2022
    I wrote:

    An installation tutorial (yes, there is one in INSTALL, kind of)

    And in <https://www.eyrie.org/~eagle/software/inn/docs/checklist.html>;
    perhaps that just needs some more prominent display?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From The Doctor@21:1/5 to iulius@nom-de-mon-site.com.invalid on Sat Jan 8 17:32:42 2022
    In article <src0fg$1kvl1$1@news.trigofacile.com>,
    Julien à LIE <iulius@nom-de-mon-site.com.invalid> wrote:
    Hi Nigel,

    Would you please elaborate on what you think is / was difficult or a
    barrier of entry for you?

    There's a LOT of configuration options, an overwhelming amount for a
    new usenet admin, especially when it's not as prevalent as it once was.
    It took me long enough to decide which type of spool I wanted to keep.
    Lots of terminology and so much documentation. Most of it tells you
    what to do but not why you're doing it.

    To be concrete, what should be changed in our FAQ that could help
    choosing the right type of spool?
    https://www.eyrie.org/~eagle/faqs/inn.html#S2.1


    I stuck with traditional
    spool because that's what I know. I just took most of the defaults.

    And that's a good choice :-)
    The defaults are normally fine.


    Took me a while to get authentication going, I'm not sure there's a way
    to generate passwords. Maybe a more easier step by step setup that
    clearly but concisely explains the process.

    To be concrete, what should be added in the quick installation checklist
    that explains the things to do to have a working installation?

    https://www.eyrie.org/~eagle/software/inn/docs/checklist.html

    We have a "Readers" section in CHECKLIST with a basic readers.conf
    example and how to generate passwords :)

    % htpasswd -nbd user pass
    user:LIfOpbjNaEQYE

    % perl -e 'print "user:".crypt("pass", "LI")."\n";'
    user:LIfOpbjNaEQYE


    Can Readers use a system PAssword File?

    --
    Julien ÉLIE

    « Timeo Danaos et dona ferentes. » (Laocoon de Virgile)


    --
    Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca
    Yahweh, Queen & country!Never Satan President Republic!Beware AntiChrist rising!
    Look at Psalms 14 and 53 on Atheism https://www.empire.kred/ROOTNK?t=94a1f39b Birthdate 29 Jan 1969 Redhill Surrey England Beware https://mindspring.com

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Russ Allbery@21:1/5 to The Doctor on Sat Jan 8 09:41:34 2022
    doctor@doctor.nl2k.ab.ca (The Doctor) writes:

    Can Readers use a system PAssword File?

    Yes, that's the default behavior of ckpasswd. It uses PAM to do that,
    though, so you have to be on an operating system that supports PAM. (I
    forget the status of PAM on the BSDs; last time I looked at it, it was a
    bit weird and didn't really work like PAM elsewhere, but this was about
    ten years ago.)

    readers.conf is the part of INN that I'm probably the least happy with
    apart from the build system (which I really need to get back to working
    on in time for a 2.7 release). It separates authentication and
    authorization, which is great in theory and I approve as a security
    person, but at the cost of being essentially incomprehensible to anyone
    who isn't familiar with enterprise authentication concepts and why you
    would separate identity mapping from access control.

    --
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From bje@ripco.com@21:1/5 to Russ Allbery on Sat Jan 8 19:42:22 2022
    Russ Allbery <eagle@eyrie.org> wrote:

    readers.conf is the part of INN that I'm probably the least happy with
    apart from the build system (which I really need to get back to working
    on in time for a 2.7 release). It separates authentication and authorization, which is great in theory and I approve as a security
    person, but at the cost of being essentially incomprehensible to anyone
    who isn't familiar with enterprise authentication concepts and why you
    would separate identity mapping from access control.


    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.

    -bruce
    bje@ripco.com

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Russ Allbery@21:1/5 to bje@ripco.com on Sat Jan 8 12:14:44 2022
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From meff@21:1/5 to Jason Evans on Sat Jan 8 21:56:31 2022
    On 2022-01-08, Jason Evans <jsevans@mailfence.com> wrote:
    A series of walkthroughs (video or otherwise) explaining how to set up INN would be a great help.

    Also I'd like to second this. A series of walkthroughs explaining the
    *why* and not just the *how* would be great.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From meff@21:1/5 to Jason Evans on Sat Jan 8 21:55:48 2022
    On 2022-01-08, Jason Evans <jsevans@mailfence.com> wrote:
    my account. However I am still running on port 119 because I never could getting SSL working. I still can't get my signed certificates to be recognized and port 563 activated. Since my server is only for me and my

    As a hack, at least to get it working, I wonder if you could use
    stunnel to offer a TLS listener on 563.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From meff@21:1/5 to All on Sat Jan 8 22:23:59 2022
    A couple things that stood out to me:
    1. I only found out about the Checklist in this thread. I naturally
    went straight for the README and INSTALL first because they were at
    the top of the list of docs.

    2. The "Choosing an article storage format" section seems a bit
    unnecessary for most folks. There's just enough detail to know that
    there's alternatives to things like "tradspool", but not enough to
    know exactly what benefits are offered by something like "cnfs". The
    "nerdy layperson" in me is confused at the choice, the engineer in me
    wants to know just how much faster under what conditions an allocated
    buffer as in cnfs is than tradspool, especially on newer filesystems
    and SSDs.

    3. The "Overview Storage Mechanism" section also seems a bit
    overkill. The layperson in me would skim the section and pick
    "tradindexed" because "traditional" sounds conservative and easy? The
    engineer in me again wonders under which conditions I would pick one
    or the other. I went with ovsqlite because I'm familiar with the
    performance and guarantees of sqlite.

    4. The syntax for the different files is confusing. It's like I'm
    learning a new config DSL for each thing.

    5. I'm unclear as to why Perl and Python are compiled into INN for
    filter usage. Is it to avoid spawning a Perl or Python subprocess when
    running filters? How does this work?

    At a high-level I'd like a couple things:

    1. An opinionated guide on setting up INN that picks sane defaults
    based on today's filesystems, SSDs, and networking assumptions. Folks interested in UUCP can certainly read about integrating rmail, but
    most folks setting up INN will just want NNTP support. I also don't
    know how hard it is for a modern computer/VPS to handle Usenet levels
    of traffic, so I'm unsure on how careful the operator needs to be when
    picking the article storage format or the overview storage mechanism.

    2. An architectural explanation on how INN works. Sometimes I struggle
    to see why a decision/feature is there. I'm sure there's good reason
    (essential complexity is what software is all about), but as a
    technically minded person I feel the guides are too complicated for
    the layperson but not detailed enough for a technical person.

    3. A clearer explanation on how filters work and why you'd even need
    filters.

    I recognize some of these things are also complicated by how much
    filtering upstream news servers are doing and how much filtering is
    occurring in individual newsreaders. I think talking about these
    tradeoffs would also make for an interesting document.

    In general, there seems to be a lot of ways of doing many things, and
    when you're new to Usenet, it's hard to understand why you would do
    one thing or another.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Taylor@21:1/5 to Grant Taylor on Sat Jan 8 17:10:00 2022
    On 1/8/22 12:54 AM, Grant Taylor wrote:
    Would you please elaborate on what you think is / was difficult or a
    barrier of entry for you?

    Oh wow! Thank you!!! I'm overwhelmed at the constructive responses
    that I'm seeing to my question.

    Aside: I think all of the responses that I've read demonstrate how this community /wants/ to help people and /grow/ the community. I tip my hat
    to all of you.

    I've read all the responses and want to respond to some specific points
    in specific messages. I will do that as relies thereto.

    The biggest most common theme that I'm seeing is related to
    documentation, particularly for new / first time news administrators.
    With this in mind, I wonder if a "First Server" / "New Newsmaster" type document might be in order. Something that provides suggestions on how
    to get started with your first server. E.e.

    --8<--
    Start with traditional spool (tradspool), but know that there various
    other options with their own pros and cons, refer to <bla> section of
    <blabla> man page for more details on the options.
    8--

    The other very big thing that I think needs to be provided is a high
    level overview of Usenet, NNTP, and news servers in general. There are
    a LOT of domain specific terms and knowledge that are quite likely new
    to a new newsmaster as they are setting up their first server. -- I'm personally building a database that I use as a glossary that I put words
    in with a terse description and a reference for where to find more.

    Neither of these documents need, nor should, be an end all be all
    document. Especially the "First Server" / "New Newsmaster" document
    should be more of a boot strap type document. There will be things that
    may be sub-optimal from a performance point of view, but chosen because
    they have a lower barrier to entry while suggesting to check things out
    again at some point in the future.

    Now to respond to the many good comments.



    --
    Grant. . . .
    unix || die

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Taylor@21:1/5 to jdanield on Sat Jan 8 17:35:12 2022
    On 1/8/22 1:46 AM, jdanield wrote:
    I'm not sure even the smaller modern config (PI?) need so much storage care.

    to start, I guess *real* server admins (the ones with university grade)
    do not really have problems. (if it's not, speak :-))

    I'm not a real server admin then. No degrees nor any certifications to
    my name. But I've attended Water Cooler U and / or School of Hard
    Knocks many times over my career.

    So I guess we should concentrate on making doc for the nntp user that
    want to help his favorite media to progress and so want to get his own
    usenet server.

    Yes. I believe that the "First Server" / "New Newsmaster" document
    space could use some help. (See my reply to myself a few minutes ago
    for more details.)

    At first, may be make some sort of dictionary to make more evident the meaning of the words used in the doc

    I believe that a glossary helps significantly.



    --
    Grant. . . .
    unix || die

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Taylor@21:1/5 to Russ Allbery on Sat Jan 8 17:30:40 2022
    On 1/8/22 10:41 AM, Russ Allbery wrote:
    readers.conf is the part of INN that I'm probably the least happy
    with.... It separates authentication and authorization, ... but at
    the cost of being essentially incomprehensible to anyone who isn't
    familiar with enterprise authentication concepts and why you would
    separate identity mapping from access control.

    I think that a simpler security 101 type overview from 10,000 feet might
    help.

    E.g. "we separate authentication from authorization to provide
    flexibility in how clients authenticate and control what they access"
    ... "we can allow clients to authenticate based on their IP address and
    / or based on credentials that they provide" ... "this allows Alice to
    trust Bob when he uses his company notebook in office based on IP or by
    his credentials when outside the office".

    I often find that much documentation gets mired down in the minutia
    instead of answering what should be done at a higher level. I
    personally like "Because of <reason> we suggest you do <bla>." quickly
    followed by "<bla> is accomplished by <blablabla>."



    --
    Grant. . . .
    unix || die

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Taylor@21:1/5 to jdanield on Sat Jan 8 17:38:58 2022
    On 1/8/22 1:46 AM, jdanield wrote:
    I'm not sure even the smaller modern config (PI?) need so much storage care.

    I got distracted and hit send too soon.

    I wouldn't want to put a Usenet spool, especially tradspool, on an SD card.

    Maybe I'm more cynical about SD cards than I should be. But I'd want an
    SSD or spinning rust to hold a Usenet news spool.



    --
    Grant. . . .
    unix || die

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Taylor@21:1/5 to jdanield on Sat Jan 8 17:20:11 2022
    On 1/8/22 5:53 AM, jdanield wrote:
    is the "compile" part still needed?

    I doubt that many people need the compliation part of the documentation.
    But I do think that it should be maintained. Maybe it should be it's
    own sub-document.

    I know it's difficult to manage, but have a section "Configure" just
    under a line with "./configure --with-perl ..." is disturbing :-(.

    Without having recently looked at the documentation, there's two
    different meanings of "configure". There's configuration of the source
    code and how it will be compiled and there is configuration of how what
    was compiled is supposed to operate. Both are "configuration" of
    something. But what they are configuring is related but decisively
    different.

    "If using cycbuffs (the CNFS storage method)" comes at a moment where
    nobody know what cycbuffs is - nor CNFS :-(

    Ya. Bootstrap documentation such that things are introduced / defined
    before they are referenced is ... difficult. It's almost always
    extremely long compared to more dense documentation that assumes prior knowledge of a specific concept.

    does it mean one have to use .htaccess to manage access to the forums?

    I feel like "htpasswd" is a bit of a name collision. My understanding
    is that INN is re-using a (presumed to be) standard utility.



    --
    Grant. . . .
    unix || die

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Taylor@21:1/5 to Jason Evans on Sat Jan 8 17:50:57 2022
    On 1/8/22 8:32 AM, Jason Evans wrote:
    Hi Grant,

    Hi Jason,

    The day to day running is quite easy but getting started was a pain
    in the rear. I know Russ et al. work hard on their documentation, but
    it wasn't an easy set up. It took a couple of days to get everything
    working and that was before I asked for peers. I'm not a Linux newbie
    but it was not easy to set up.

    I agree that Usenet / INN is not easy by any stretch of the imagination.
    Especially with all the new, likely foreign, never seen before
    concepts that are involved. Usenet really is it's own critter compared
    to other Internet based services. And that's assuming TCP/IP and
    doesn't speak to UUCP!!!

    Here's an example, I had to post here asking for help getting
    external user access set up. The directions that I needed were in a
    man page that I didn't even know that I needed to read.

    I mostly think that man pages are a great form of reference when you
    have an idea what you're looking for, but they make terrible
    introduction material.

    It works now and I'm posting from my account.

    :-)

    However I am still running on port 119 because I never could getting
    SSL working. I still can't get my signed certificates to be recognized
    and port 563 activated. Since my server is only for me and my friends,
    I'm not terribly worried about security, but it would be nice to get
    that working.

    Ya. TLS support for INN is ... let's go with a work in progress.

    I've gotten 563 working for clients. (That plural is really my own
    systems.) Peers still use 119. See some recent threads for more details.

    A series of walkthroughs (video or otherwise) explaining how to set
    up INN would be a great help.

    I'm personally not a fan of videos. But textual walk through, sure.



    --
    Grant. . . .
    unix || die

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Nigel Reed@21:1/5 to All on Sun Jan 9 02:40:11 2022
    On Sat, 8 Jan 2022 00:54:20 -0700
    Grant Taylor <gtaylor@tnetconsulting.net> wrote:

    It also took me a while to find peers. I emailed many and got a few
    responses. Now I know to look in news.admin.peering. Maybe a mention
    there along with a possible list of willing news admins who are willing
    to work with new newsmasters and help become their first peer. Having
    to setup 3 separate files and making sure they're all right could be
    somewhat daunting to a new news admin.




    --
    End Of The Line BBS - Plano, TX
    telnet endofthelinebbs.com 23

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From jdanield@21:1/5 to All on Sun Jan 9 10:34:22 2022
    Le 09/01/2022 à 09:40, Nigel Reed a écrit :
    On Sat, 8 Jan 2022 00:54:20 -0700
    Grant Taylor <gtaylor@tnetconsulting.net> wrote:

    It also took me a while to find peers. I emailed many and got a few responses. Now I know to look in news.admin.peering. Maybe a mention
    there along with a possible list of willing news admins who are willing
    to work with new newsmasters and help become their first peer.

    good idea. I was (and still be) thrilled to make a bad config that could disturb other servers :-(

    Having
    to setup 3 separate files and making sure they're all right could be
    somewhat daunting to a new news admin.


    daunting is a bit big, but unquiet, yes.

    I just read the grep manual to use

    ~news> grep -A5 "domain" *

    to check files.

    inncheck is very good, but having way to debug an install is very important

    http://dodin.me/wiki/pmwiki.php?n=Doc.ConfigurerINN-2021#toc-8

    jdd

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Taylor@21:1/5 to jdanield on Sun Jan 9 11:41:09 2022
    On 1/9/22 2:34 AM, jdanield wrote:
    daunting is a bit big, but unquiet, yes.

    I suspect the daunting part is the cloud of uncertanty that likely looms
    over a new news master's head when they are doing something for the
    first few times. Did I get the syntax correct? Did I break my server?
    Did I enter sane values beyond syntax issues?

    The first peer is somewhat easier than subsequent because subsequent
    brings other questions with it. Am I causing a loop? How badly did /
    can / will I break things?

    This uncertanty seems to be perfectly normal to me.

    I also think this uncertanty qualifies as "daunting".

    That being said, I don't think anything is "hard".

    I just read the grep manual to use

    Sure. But you need to 1) know to run the command (which is predicated
    on a few things) and 2) know how to interpret the output.

    to check files.

    Same issues as above.

    Said issues aren't problems in and of themselves, but they do present a
    hurtle that new newsmasters need to overcome.



    --
    Grant. . . .
    unix || die

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From meff@21:1/5 to Grant Taylor on Mon Jan 10 01:45:46 2022
    On 2022-01-09, Grant Taylor <gtaylor@tnetconsulting.net> wrote:
    The first peer is somewhat easier than subsequent because subsequent
    brings other questions with it. Am I causing a loop? How badly did /
    can / will I break things?

    On this note, is ensuring loops don't occur a function of peering
    agreements? A combination of keeping track of peering relationships
    and having news servers drop duplicate articles?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Taylor@21:1/5 to John Levine on Sun Jan 9 21:59:45 2022
    On 1/9/22 9:16 PM, John Levine wrote:
    No. That's what the Path: header is for. You don't send stuff to
    a peer that already has the peer's name in the path.

    My understanding is that news servers will also ignore an incoming
    article if their own ID (from the me: entry) is already in the path. So
    you're protected on both sides of a peering session.

    Potential loops and redundant feeds are fine. Even with the path
    checking, you get some duplication if the message arrived at the two
    peers by different paths, but the message-id takes care of that.

    Though I think that there is a timing aspect. E.g. if the second /
    duplicate message arrives /after/ the Message-ID has been purged from
    history.



    --
    Grant. . . .
    unix || die

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Levine@21:1/5 to All on Mon Jan 10 04:16:52 2022
    According to meff <email@example.com>:
    On 2022-01-09, Grant Taylor <gtaylor@tnetconsulting.net> wrote:
    The first peer is somewhat easier than subsequent because subsequent
    brings other questions with it. Am I causing a loop? How badly did /
    can / will I break things?

    On this note, is ensuring loops don't occur a function of peering
    agreements?

    No. That's what the Path: header is for. You don't send stuff to a
    peer that already has the peer's name in the path.

    Potential loops and redundant feeds are fine. Even with the path checking,
    you get some duplication if the message arrived at the two peers by different paths, but the message-id takes care of that.

    --
    Regards,
    John Levine, johnl@taugh.com, Primary Perpetrator of "The Internet for Dummies",
    Please consider the environment before reading this e-mail. https://jl.ly

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Russ Allbery@21:1/5 to Grant Taylor on Sun Jan 9 22:11:51 2022
    Grant Taylor <gtaylor@tnetconsulting.net> writes:
    On 1/9/22 9:16 PM, John Levine wrote:

    No. That's what the Path: header is for. You don't send stuff to a
    peer that already has the peer's name in the path.

    My understanding is that news servers will also ignore an incoming
    article if their own ID (from the me: entry) is already in the path. So you're protected on both sides of a peering session.

    The primary defense is the history database which declines any message IDs
    that the server has already seen. Path parsing is a secondary measure.
    (Not offering articles to servers that already appear in the Path is
    basically an optimization to avoid the unnecessary offer and decline of
    the message ID.)

    Though I think that there is a timing aspect. E.g. if the second /
    duplicate message arrives /after/ the Message-ID has been purged from history.

    This should not be possible if the server is correctly configured. The
    history database entry should be retained for longer than the cutoff time
    on the article Date / Injection-Date, so any article that is no longer in history should be rejected as being too old (assuming nothing is messing
    with the Date / Injection-Date headers).

    --
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Taylor@21:1/5 to All on Sun Jan 9 23:34:23 2022
    Thank you for clarification Russ.



    --
    Grant. . . .
    unix || die

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Julien_=c3=89LIE?=@21:1/5 to All on Thu Jan 13 23:20:05 2022
    Hi Nigel,

    It took me long enough to decide which type of spool I wanted to keep.
    Lots of terminology

    Noted, thanks for the suggestions. I'll prioritize them!


    Most of it tells you
    what to do but not why you're doing it.

    I understand your point.
    I tried to have that in mind for the first video on setting up an NNTP
    peer. I hope to have given the reasons (at least when I knew them!).

    --
    Julien ÉLIE

    « Pour une personne optimiste, le verre est à moitié plein. Pour une
    personne pessimiste, il est à moitié vide. Pour l'informaticien, il
    est deux fois plus grand que nécessaire. »

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Julien_=c3=89LIE?=@21:1/5 to All on Thu Jan 13 23:35:05 2022
    Hi Grant,

    "If using cycbuffs (the CNFS storage method)" comes at a moment where
    nobody know what cycbuffs is - nor CNFS :-(

    Ya.  Bootstrap documentation such that things are introduced / defined before they are referenced is ... difficult.  It's almost always
    extremely long compared to more dense documentation that assumes prior knowledge of a specific concept.

    Totally!!


    does it mean one have to use .htaccess to manage access to the forums?

    I feel like "htpasswd" is a bit of a name collision.  My understanding
    is that INN is re-using a (presumed to be) standard utility.

    It was really an example of external program to call (not shipped with
    INN, the same way as Perl is not). No name collision.

    % htpasswd -nbd user pass
    user:LIfOpbjNaEQYE

    % perl -e 'print "user:".crypt("pass", "LI")."\n";'
    user:LIfOpbjNaEQYE

    --
    Julien ÉLIE

    « Du haut de ces pyramides, Obélix, vingt siècles nous contemplent ! »
    (Astérix)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Julien_=c3=89LIE?=@21:1/5 to All on Thu Jan 13 23:37:13 2022
    Hi The Doctor,

    Would you please elaborate on what you think is / was difficult or a
    barrier of entry for you?

    Can Readers use a system PAssword File?

    readers.conf is definitively a top priority for a tutorial!!

    --
    Julien ÉLIE

    « Les propositions mathématiques sont reçues comme vraies parce que
    personne n'a intérêt qu'elles soient fausses. » (Montesquieu)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Julien_=c3=89LIE?=@21:1/5 to All on Fri Jan 14 00:09:29 2022
    Hi Grant,

    I mostly think that man pages are a great form of reference when you
    have an idea what you're looking for

    Some of the man pages are even functional (and even technical)
    specifications of INN implementation. Tons of details have been
    accumulating for 30 years.
    Yeah, INN celebrated its 30 years two months ago!


    but they make terrible introduction material.

    I agree.


    However I am still running on port 119 because I never could getting
    SSL working. I still can't get my signed certificates to be recognized
    and port 563 activated. Since my server is only for me and my friends,
    I'm not terribly worried about security, but it would be nice to get
    that working.

    Ya.  TLS support for INN is ... let's go with a work in progress.

    TLS support is normally fine for readers (nnrpd).
    ... and to be done for feeders (innd).


    A series of walkthroughs (video or otherwise) explaining how to set up
    INN would be a great help.

    I'm personally not a fan of videos.  But textual walk through, sure.

    We need satisfying both audience. More and more people are expecting
    and looking for videos nowadays... So we should invest our time in both.

    --
    Julien ÉLIE

    « – Je suis mon cher ami, très heureux de te voir.
    – C'est un alexandrin. » (Astérix)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Julien_=c3=89LIE?=@21:1/5 to All on Fri Jan 14 00:02:11 2022
    Hi Jason,

    I had to post here asking for help getting external
    user access set up. The directions that I needed were in a man page that I didn't even know that I needed to read.

    Ah, the infamous readers.conf file...
    Isn't it *the* mandatory hazing to become a news admin? :-)


    It works now and I'm posting from
    my account. However I am still running on port 119 because I never could getting SSL working. I still can't get my signed certificates to be recognized and port 563 activated.

    How do you start INN?
    Isn't a line like this one in your init script launching nnrpd to wait
    for TLS connections?

    su news -s /bin/sh -c '<pathbin>/nnrpd -D -p 563 -S' >>
    <pathlog>/rc.news 2>&1


    A series of walkthroughs (video or otherwise) explaining how to set up INN would be a great help.

    Good advice :-)

    --
    Julien ÉLIE

    « – Je suis mon cher ami, très heureux de te voir.
    – C'est un alexandrin. » (Astérix)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Julien_=c3=89LIE?=@21:1/5 to All on Thu Jan 13 23:54:20 2022
    Hi Thomas,

    The main problem was to get an overview of how
    the individual components interact, i.e. the flow of articles from peers
    and posters into INN, from there into the storage system and then from
    there back out to the peers, and what role the individual programs that
    make up the INN distribution and their configuration files play. The documentation of those individual parts is absolutely exemplary, but I
    missed an overview of the big picture.

    I totally agree. A big picture is needed for both INN and the different
    kind of agents in Usenet (posting/injecting/relaying/serving/reading).
    I'll have a look.
    At least I've tried to give that big picture for incoming/outgoing peers
    in the first part of the tutorial I have just posted on NNTP peering.


    In my opinion, you need two things to set up and run INN:

    1. A tutorial on how to set up the server for the first time

    That's a tough tutorial to do!
    I'll maybe consider doing one for a fresh install of the inn2-2.7.0
    Debian package when it is released.


    2. An overview, perhaps even including a few diagrams, of how all the individual programss and their configuration files fit together and
    interact.

    I tried to do that in 2005:

    <https://th-h.de/net/usenet/servers/inn/overview/> (German language)

    Good job! Pretty detailed.

    Russ, couldn't it be added in the "Contributed documentation" of your
    INN's main web page?


    3. recipes for certain tasks and situations,

    ... but that is the typical task of a FAQ, and the FAQ can be expanded
    as needed for that.

    Sure!
    Walkthroughs for usual tacks and situations should be made, and our FAQ improved.

    --
    Julien ÉLIE

    « Les propositions mathématiques sont reçues comme vraies parce que
    personne n'a intérêt qu'elles soient fausses. » (Montesquieu)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Julien_=c3=89LIE?=@21:1/5 to All on Thu Jan 13 23:32:53 2022
    Bonsoir Jean-Daniel,

    https://www.eyrie.org/~eagle/software/inn/docs/checklist.html

    missed this one :-(. should be linked on top of "documentation" here:

    https://www.eyrie.org/~eagle/software/inn/

    (no "checklist" in this page :-()

    A suggestion for Russ.
    It indeed may be worth highlighting more CHECKLIST and INSTALL.


    probably a typo: "work on the files in ~news/etc" should be "work on the files in ~news"

    No, it's really "~news/etc" as the sentence speaks about <pathetc>, as
    said in the parenthesis:
    "work on the files in ~news/etc (the default <pathetc> location set in inn.conf)"


    is the "compile" part still needed?

    It is the CHECKLIST for the INN upstream package, not the OpenSUSE
    package...


    I know it's difficult to manage, but have a section "Configure" just
    under a line with "./configure --with-perl ..." is disturbing :-(

    Good point. The "Configure" section should be better named "Parameter".
    We'll then have: Setup/Compile/Parameter/Run/Feeds/Readers.


    "If using cycbuffs (the CNFS storage method)" comes at a moment where
    nobody know what cycbuffs is - nor CNFS :-(

    Maybe that part should just be dropped, and we mention clearly in the Introduction that a common traditional setup will be explained in
    CHECKLIST (tradspool/tradindexed). Other storage mechanisms exist,
    details in INSTALL.


    I stopped reading here. Good idea, but have to be completely rewritten :-(

    As said in the introduction: "Further clarifications, updates, and
    expansion are welcome."
    :-)


    We have a "Readers" section in CHECKLIST with a basic readers.conf
    example and how to generate passwords :)

          % htpasswd -nbd user pass
          user:LIfOpbjNaEQYE

          % perl -e 'print "user:".crypt("pass", "LI")."\n";'
          user:LIfOpbjNaEQYE


    does it mean one have to use .htaccess to manage access to the forums?

    No, you don't need using .htaccess (that's not what is written here). I
    just provided commands to Nigel who was asking how to generate passwords
    for readers.conf. If the "htpasswd" program is installed, you can use
    it. Otherwise, use the one-line command in Perl.

    --
    Julien ÉLIE

    « Le chemin n'est pas difficile, c'est le difficile qui est le chemin. »
    (Kierkegaard)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From jdanield@21:1/5 to All on Fri Jan 14 08:07:40 2022
    Le 13/01/2022 à 23:32, Julien ÉLIE a écrit :
    Bonsoir Jean-Daniel,

    probably a typo: "work on the files in ~news/etc" should be "work on the
    files in ~news"

    No, it's really "~news/etc" as the sentence speaks about <pathetc>, as
    said in the parenthesis:
    "work on the files in ~news/etc (the default <pathetc> location set in inn.conf)"

    this I don't understand. ~naws/etc is not a path??


    is the "compile" part still needed?

    It is the CHECKLIST for the INN upstream package, not the OpenSUSE
    package...

    sure but who still compile apps, apart linux from scratch?

          % htpasswd -nbd user pass
          user:LIfOpbjNaEQYE

    does it mean one have to use .htaccess to manage access to the forums?

    No, you don't need using .htaccess (that's not what is written here). I
    just provided commands to Nigel who was asking how to generate passwords
    for readers.conf.

    ok, thanks

    jdd

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Julien_=c3=89LIE?=@21:1/5 to All on Fri Jan 14 13:01:04 2022
    Hi Grant,

    The first peer is somewhat easier than subsequent because subsequent
    brings other questions with it.  Am I causing a loop?  How badly did /
    can / will I break things?

    This uncertanty seems to be perfectly normal to me.

    Even experimented admins in well-known companies make mistakes when
    modifying their configuration (DNS, routing, etc.).

    So yes, this uncertanty is pretty normal :-)
    And happens to all of us!

    --
    Julien ÉLIE

    « En somme, tu veux poéter plus haut que les autres, quoi ! » (Astérix)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Julien_=c3=89LIE?=@21:1/5 to All on Fri Jan 14 12:53:46 2022
    Bonjour Jean-Daniel,

    "work on the files in ~news/etc (the default <pathetc> location set in
    inn.conf)"

    this I don't understand. ~news/etc is not a path??

    Yes, it is a path.

    ~news is the root directory of the news user as set in the first step of CHECKLIST:

    """
    Make sure there is a news user (and a news group to which the news user belongs). If necessary, you can use:

    adduser --group --home /usr/local/news news
    """

    and also in the Compile section :-)

    "By default, --prefix=/usr/local/news is used."



    The sentence you quoted is:

    "It's time to work on the files in ~news/etc (the default pathetc
    location set in inn.conf). Start with inn.conf [...]"

    ~news/etc would be /usr/local/news/etc in this context.


    But as you noted, CHECKLIST is not written for people running OpenSUSE.
    I don't know what directories were chosen for OpenSUSE but they are
    different from that.

    Debian uses /usr/lib/news for the news user directory, Fedora uses /usr/libexec/news. Both use /etc/news as the <pathetc> directory.

    By default, INN installs everything in <pathnews>, and <pathetc> is an
    "etc" subdirectory directly in the news user home directory.
    When you build INN, you can change all these paths (and also in inn.conf
    after building INN). Packagers choose the ones that best fit into their system.

    --
    Julien ÉLIE

    « – À trente jours de marche, aussi il vous faudra traverser le désert !
    – Je ne connais pas encore ce genre de traversée mais par Toutatis, je
    suis certain de m'en sortir très vite ! » (Astérix)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Julien_=c3=89LIE?=@21:1/5 to All on Fri Jan 14 13:17:31 2022
    Hi Grant,

    No.  That's what the Path: header is for.  You don't send stuff to a
    peer that already has the peer's name in the path.

    My understanding is that news servers will also ignore an incoming
    article if their own ID (from the me: entry) is already in the path.

    Yes exactly, the special ME entry in newsfeeds can do that.
    Though normally, my incoming peers should already not have sent to me
    articles where my path name is already present in the Path header field. Usually, paths like "cyberspam" or like are put in the ME entry if you
    do not want to honour it.

    The most interesting use of the ME entry is for filtering against the Distribution header field.

    Anyway, all of that could be done via Cleanfeed.
    I'm personally not using ME features, and if I need them, just update
    the Cleanfeed settings.
    And leave "ME:::" empty. This way, I prevent any unexpected behaviour
    in the (complex) newsfeeds file :-)

    --
    Julien ÉLIE

    « – Tu crois qu'ils auront du sanglier, dis ?
    – Faut pas te faire d'idées ; plus les armées sont puissantes, plus la
    nourriture est mauvaise. Ça maintient les guerriers de mauvaise
    humeur.
    – …
    – Je ne pensais pas que l'armée romaine était aussi puissante ! »
    (Astérix)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From jdanield@21:1/5 to All on Fri Jan 14 14:18:59 2022
    Le 14/01/2022 à 13:17, Julien ÉLIE a écrit :
    This should not be possible if the server is correctly configured. The
    history database entry should be retained for longer than the cutoff time
    on the article Date / Injection-Date, so any article that is no longer in
    history should be rejected as being too old (assuming nothing is messing
    with the Date / Injection-Date headers).

    Jean-Daniel knows that by heart :-)
    (private joke)


    sure, now :-))

    jdd

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Julien_=c3=89LIE?=@21:1/5 to All on Fri Jan 14 14:21:45 2022
    Hi Grant,

    With this in mind, I wonder if a "First Server" / "New Newsmaster" type document might be in order.  Something that provides suggestions on how
    to get started with your first server.
    [...]
    The other very big thing that I think needs to be provided is a high
    level overview of Usenet, NNTP, and news servers in general.
    There are several layers in documentation, maintained by different
    people and aiming at different people, for different pieces in the
    global system:
    - news server documentation (INN, Diablo, Leafnode...)
    - third-party software (Cleanfeed, PyClean, innduct, signcontrol,
    certbot, uux, PAM modules, mail gatewing, modbot...)
    - third-party keyrings (NoCeM, Usenet hierarchies)
    - third-party list of newsgroups (active file, descriptions)
    - third-party packaging (Fedora, OpenSUSE, Debian, FreeBSD...)
    - third-party services (top1000...)
    - Usenet in general


    A confusion resides in that everything is mixed and people expect to
    find the great One Cookbook, and that's pretty much difficult to do.
    Not everyone has the same expectations in what to find, what is useful
    to him, and depending on what he already knows and its skills in admin
    system.
    That's why it is terribly difficult to know the limit of each
    documentation, which one exactly to improve, where to put the
    information, etc.

    Documentation for *almost* all of these exists but, when concatenated,
    becomes too dense. And as you said before, just applying what the documentation says does not improve one's skills.


    So yes, I agree it would be useful to improve all of this. Nonetheless,
    we should make sure of what to do, and if it will really serve and cover
    the expectations of everybody.
    It should not be too long, but not too short. It should cover all the
    topics, but permits skipping what I don't mind. It should be
    contextualized to my environment, etc.

    It even sounds like a questionary to fill, and then the right optimized documentation appears :-)
    Or a book you are the Hero, will plenty of "if x go to page n" :-)



    Neither of these documents need, nor should, be an end all be all
    document.  Especially the "First Server" / "New Newsmaster" document
    should be more of a boot strap type document.

    It's the most important part here.

    Apart of a global schema of INN's architecture, I would still like to understand why already existing contributed documentation for "First
    Server" is still not good enough, and what should be added. (Nobody
    answered when I asked what should be changed in these one-HTML pages
    describing the installation of INN and its related packages.)



    There will be things that
    may be sub-optimal from a performance point of view, but chosen because
    they have a lower barrier to entry while suggesting to check things out
    again at some point in the future.

    Sure.

    --
    Julien ÉLIE

    « – Passe-moi une amphore.
    – Brut ?
    – Brut.
    – Brutes ! » (Astérix, légionnaire recevant le bouchon dessus)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Julien_=c3=89LIE?=@21:1/5 to All on Fri Jan 14 14:26:33 2022
    Bonjour Jean-Daniel,

    I have no etc in ~news, but ~news is /etc/news, so it's pretty confusing
    [...]
    so most of the time pathnews and pathetc are the same

    to be made clear somewhere :-)

    I think you'll like my answer:
    https://www.eyrie.org/~eagle/faqs/inn.html#S5.4

    "Why aren't INN's files where the documentation says they are?

    Distributors who supply INN packages often rearrange the files and
    directories. Unfortunately, this is very confusing for system
    administrators, because the documentation is not updated to reflect the modified locations of files."

    :-)

    --
    Julien ÉLIE

    « Une fois rien, c'est rien ; deux fois rien, c'est pas beaucoup, mais
    pour trois fois rien, on peut déjà acheter quelque chose, et pour pas
    cher. » (Raymond Devos)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From jdanield@21:1/5 to All on Fri Jan 14 14:27:38 2022
    Le 14/01/2022 à 13:17, Julien ÉLIE a écrit :

    articles where my path name is already present in the Path header field.

    it should also be made clear what a "path" is.

    once again, same word for different use... confusing.

    There are (?):

    * system path, where Linux looks for executable

    ~ # env | grep PATH
    (...) PATH=/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/bin

    * local path:

    ~news> env | grep PATH(..) PATH=/usr/lib/news/lib:/usr/sbin:/usr/lib/news/bin:/usr/lib/news/bin/control:/etc/news/bin:/usr/local/bin:/usr/bin:/bin

    * feed path: route followed by an article (if I understand well) -
    example in the article I answer:

    Path: eternal-september.org!reader02.eternal-september.org!news.trigofacile.com!.POSTED.san13-h02-176-143-2-105.dsl.sta.abo.bbox.fr!not-for-mail


    thanks
    jdd

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Taylor@21:1/5 to jdanield on Fri Jan 14 11:08:14 2022
    On 1/14/22 12:07 AM, jdanield wrote:
    this I don't understand. ~naws/etc is not a path??

    It is a path, but it might not be the best reference. It depends on the username of "news" /and/ that the news user's home directory is the
    desired directory. Neither of which are something that I would bet more
    than a cup of coffee on.

    sure but who still compile apps, apart linux from scratch?

    /me raises his hand

    Any source based Linux distribution / operating system will compile.
    Gentoo, *BSD, etc.

    Anybody that wants a version of INN that they can't get as binary for
    their system. Maybe they want different features / defaults / what have
    you.



    --
    Grant. . . .
    unix || die

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Taylor@21:1/5 to All on Fri Jan 14 11:14:20 2022
    On 1/14/22 6:26 AM, Julien ÉLIE wrote:
    Distributors who supply INN packages often rearrange the files and directories.

    There are also some, myself included, that think various types of files
    have proper homes. E.g. spooled files belong under /var/spool, log
    files belong under /var/log, and config files belong in /etc, likely
    under an application specific directory.

    Then you run into additional complications like chroot / containers
    which further modify directory location even more.

    Aside: I like to have sym-links from the OS default location
    (/etc/news) to the actual location inside the chroot / container (/var/chroot/inn/etc).

    Further Aside: The real directory needs to be inside the chroot and the sym-links need to be outside pointing in because chroot won't follow
    sym-links to outside the chroot. Pointing in works. Pointing out fails.

    Unfortunately, this is very confusing for system administrators,
    because the documentation is not updated to reflect the modified
    locations of files.

    Ya.

    If a distro is using atypical paths, then I think they need to either
    update the documentation, or do something like the sym-link trick to
    have their path point to the paths in the documentation so that things
    seem rational.



    --
    Grant. . . .
    unix || die

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Taylor@21:1/5 to All on Fri Jan 14 11:29:06 2022
    On 1/14/22 6:21 AM, Julien ÉLIE wrote:
    Hi Grant,

    Hi,

    It even sounds like a questionary to fill, and then the right optimized documentation appears :-)

    Eh ... an active, as opposed to passive, document brings lots of ... challenges.

    Or a book you are the Hero, will plenty of "if x go to page n" :-)

    I would STRONGLY recommend avoiding page number references.

    Instead, focus on document, section, and maybe paragraph. Lest your
    references get out of sync way faster than you care to admit.

    Apart of a global schema of INN's architecture, I would still like to understand why already existing contributed documentation for "First
    Server" is still not good enough, and what should be added.

    N.B.: I've not read the aforementioned documentation in a long time.

    I feel like you've probably answered your own question without realizing it.

    - everything is mixed
    - not everyone has the same expectation
    - limit of each document
    - too dense
    - too long

    I'm not suggesting that the content of the existing documents be duplicated.

    I am suggesting that documents and tasks get a -- I'm picking this
    number out of the air -- one paragraph summary that touches on the
    biggest points and refers to other documents & sections. E.g.

    --8<--
    There are multiple storage methods; trasdpool, <other types that escape
    me at the moment>, etc. It is suggested that you start with tradspool.
    For more details about the listed spool storage methods, refer to the
    <document name> document, section <section name>.
    8--

    I would hope that the first server document could be read in the amount
    of time that it takes to read a long email. It shouldn't answer all the questions. But it should provide some background / context and provide pointers of where to get more detailed information.

    In some ways, it's more of an introduction / overview that someone might
    give in the first 5-10 minutes of a multi-hour talk, wherein they
    brifely itroduce the concept and say something like "we'll talk more
    about spool storage when we get back from lunch" type thing.

    (Nobody answered when I asked what should be changed in these one-HTML
    pages describing the installation of INN and its related packages.)

    I'm also thinking more Usenet / NNTP generalities with highlights on INN specifics.

    The first server document should leave the reader with an idea of "i
    need to go read <this>, <that>, and <other thing>, but I do have an idea
    how the three relate to each other and why they are important at the
    1,000 foot level.



    --
    Grant. . . .
    unix || die

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Taylor@21:1/5 to jdanield on Fri Jan 14 11:42:15 2022
    On 1/14/22 6:27 AM, jdanield wrote:
    it should also be made clear what a "path" is.

    True.

    All of the examples you provided are a "sequence of locations". What
    those locations represent and are used for mean different things
    depending on the type of path you are talking about.

    once again, same word for different use... confusing.

    This is not limited to INN -> NNTP -> Usenet.

    * system path, where Linux looks for executable
    * local path:

    Both -- what you refer to as -- the "system path" and "local path" are
    shell PATH variables. The difference is which user you are referring to.

    I usually see this referred to as the PATH environment variable. Or
    more specifically the "News user's PATH" / "system wide / default PATH"
    / "your personal PATH". All three are the same thing. The only
    difference is the context that they are viewed from.

    E.g. your email address is ... my email address is ... etc. They are
    the same thing, an email address. But they have different values based
    on who's they are.

    Wherein the PATH is the sequence of directories that the shell will look
    in for executables for external (not built-in) commands.

    * feed path: route followed by an article (if I understand well) -
    example in the article I answer:

    Feed path is the path, or "sequence of locations", that an article took
    from the source server to destination server you are reading the article
    from.

    There are also library search paths, manual page search paths, network
    routing paths (think traceroute), Autonomous System Paths (BGP), etc.
    All of them are sequences of locations that something passed through.

    More specific to INN is the file system path for various things that INN
    uses. E.g. the path to the configuration files, the path to the spool directory, etc. Path in this context is the sequence of directories to
    get to where something is.



    --
    Grant. . . .
    unix || die

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Taylor@21:1/5 to All on Fri Jan 14 11:31:53 2022
    On 1/14/22 5:17 AM, Julien ÉLIE wrote:
    Hi Grant,

    Hi,

    Yes exactly, the special ME entry in newsfeeds can do that.

    ...

    Anyway, all of that could be done via Cleanfeed.

    I think you touch on an interesting point. Namely that there are
    multiple ways to do different things.

    There should be some introductory documentation on how to do $TASK via
    each of the included methods.

    Ideally there should be a recommendation of which method to use to start
    with. There should also be an answer as to why the recommendation is made.



    --
    Grant. . . .
    unix || die

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From meff@21:1/5 to Grant Taylor on Fri Jan 14 21:21:03 2022
    On 2022-01-14, Grant Taylor <gtaylor@tnetconsulting.net> wrote:
    If a distro is using atypical paths, then I think they need to either
    update the documentation, or do something like the sym-link trick to
    have their path point to the paths in the documentation so that things
    seem rational.

    nginx runs into these problems as well. Debian based distros follow a convention inherited from apache around sites-enabled and
    sites-available, but other distros and mainline nginx do not follow
    this hierarchy. I believe this is actually documented in the Debian
    based distros though.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Thomas Hochstein@21:1/5 to All on Sat Jan 15 10:14:20 2022
    Julien ÉLIE schrieb:

    1. A tutorial on how to set up the server for the first time

    That's a tough tutorial to do!

    It's mostly covered by INSTALL and the checklist, I think.

    I tried to do that in 2005:

    <https://th-h.de/net/usenet/servers/inn/overview/> (German language)

    Good job! Pretty detailed.

    Thanks.

    Russ, couldn't it be added in the "Contributed documentation" of your
    INN's main web page?

    Or someone could do a (machine-assisted, eg. by Deeple) translation to
    English before; it's CC-licensed (BY-NC-SA) and could be re-licensed in
    any way necessary.

    -thh

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From 32303031@21:1/5 to Grant Taylor on Sat Jan 15 10:48:10 2022
    Grant Taylor wrote:

    Based on some comments in other threads, I gather that some think that running a Usenet / NNTP / INN server has a higher entry bar than it
    possibly should have.

    Would you please elaborate on what you think is / was difficult or a
    barrier of entry for you?

    I ask in the spirit of hoping to collectively learn from this and
    streamline / simplify Usenet / NNTP / INN server installation & configuration.

    What would you like to see changed? Ideally, what could be done
    without substantively changing how a program, e.g. INN, is written /
    config files are parsed.

    Personally for me not technical, but, primary, the organizational
    component serves as an barrier to set up and own NNTP server. For
    example, INN 2.x FAQ says nothing about how to find a peer. No peer - no
    useful content - no reason to set up and advertise own NNTP server.

    Quality of content raise a question. Currently and old commercial spam
    can be found in some groups.

    Anti-spam meaasures need to be improved, need to be simplicity, need to
    be accessible. I have no idea who accept complain on admin, who ignore
    spam report. "news.report.spam" or something like would be suitable
    place for reports and transparency demonstration of efforts that aim to eradicate the problem.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From jdanield@21:1/5 to All on Sat Jan 15 12:19:22 2022
    Le 15/01/2022 à 10:14, Thomas Hochstein a écrit :

    Or someone could do a (machine-assisted, eg. by Deeple) translation to English before; it's CC-licensed (BY-NC-SA) and could be re-licensed in
    any way necessary.

    -thh

    here the english deepl translation on pad (editable)

    https://semestriel.framapad.org/p/8xr32rzdmz-9rzn?lang=fr

    jdd

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Russ Allbery@21:1/5 to iulius@nom-de-mon-site.com.invalid on Mon Jan 17 17:55:41 2022
    Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> writes:

    Hi Thomas,

    2. An overview, perhaps even including a few diagrams, of how all the
    individual programss and their configuration files fit together and
    interact.
    I tried to do that in 2005:
    <https://th-h.de/net/usenet/servers/inn/overview/> (German language)

    Good job! Pretty detailed.

    Russ, couldn't it be added in the "Contributed documentation" of your
    INN's main web page?

    Done. I also added a link to your video. Thanks!

    --
    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Julien_=c3=89LIE?=@21:1/5 to All on Tue Jan 18 13:46:48 2022
    Hi Russ,

    https://www.eyrie.org/~eagle/software/inn/docs/checklist.html
    missed this one :-(. should be linked on top of "documentation" here:
    https://www.eyrie.org/~eagle/software/inn/
    (no "checklist" in this page :-()

    A suggestion for Russ.
    It indeed may be worth highlighting more CHECKLIST and INSTALL.

    I've added some more prominent links to the checklist and install for the current stable version.

    Many thanks for the update (and also the link to the video).

    I'll backport changes to CHECKLIST for the stable version (just need
    removing the parts about the new ovsqlite overview storage method and
    native Cancel-Lock support -- all new in INN 2.7.0).

    --
    Julien ÉLIE

    « Une fois rien, c'est rien ; deux fois rien, c'est pas beaucoup, mais
    pour trois fois rien, on peut déjà acheter quelque chose, et pour pas
    cher. » (Raymond Devos)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Julien_=c3=89LIE?=@21:1/5 to All on Tue Jan 18 13:43:21 2022
    Hi Thomas,

    1. A tutorial on how to set up the server for the first time

    It's mostly covered by INSTALL and the checklist, I think.

    I also thought, but apparently most of people participating in this
    thread find them too difficult to read and follow.
    I admit being a bit puzzled about what to do more in INN documentation
    (except for a schema of the architecture of INN components and how they
    related to each other, I'll have a look at that).

    FWIW, I've taken into account the suggestion of making CHECKLIST
    "opiniated" and simply pointing to other man pages. This way, one can
    just follow CHECKLIST step by step (and skip the first "Compile" Section
    if it does not apply).

    I've differentiated the necessary initial setup in "Parameter" and "Run"
    to have a working installation with more complex "Additional
    Configuration" that can come later.

    https://www.eyrie.org/~eagle/software/inn/docs/checklist.html
    (yes, there's a little problem with UTF-8 encoding to fix)

    Examples of new "IN A NUTSHELL" Sections at the beginning of a few man
    pages:
    https://www.eyrie.org/~eagle/software/inn/docs/newsfeeds.html
    https://www.eyrie.org/~eagle/software/inn/docs/readers.conf.html

    --
    Julien ÉLIE

    « Une fois rien, c'est rien ; deux fois rien, c'est pas beaucoup, mais
    pour trois fois rien, on peut déjà acheter quelque chose, et pour pas
    cher. » (Raymond Devos)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Julien_=c3=89LIE?=@21:1/5 to All on Tue Jan 18 14:54:52 2022
    Hi meff,

    A couple things that stood out to me:

    Thanks for your valuable comments!


    1. I only found out about the Checklist in this thread. I naturally
    went straight for the README and INSTALL first because they were at
    the top of the list of docs.

    Now improved.


    2. The "Choosing an article storage format" section seems a bit
    unnecessary for most folks. There's just enough detail to know that
    there's alternatives to things like "tradspool", but not enough to
    know exactly what benefits are offered by something like "cnfs". The
    "nerdy layperson" in me is confused at the choice, the engineer in me
    wants to know just how much faster under what conditions an allocated
    buffer as in cnfs is than tradspool, especially on newer filesystems
    and SSDs.

    CHECKLIST is now opiniated.
    Besides, I have noted to make a video to explain the differences, with a comparison in the form of a table with different criteria.


    3. The "Overview Storage Mechanism" section also seems a bit
    overkill. The layperson in me would skim the section and pick
    "tradindexed" because "traditional" sounds conservative and easy? The engineer in me again wonders under which conditions I would pick one
    or the other. I went with ovsqlite because I'm familiar with the
    performance and guarantees of sqlite.

    Same comment as for 2.


    4. The syntax for the different files is confusing. It's like I'm
    learning a new config DSL for each thing.

    Yes, you're totally right.
    The long-term goal is to homogenize the syntax across all INN
    configuration files. At least the new inn-secrets.conf file re-uses the
    same parser as inn.conf. I hope to convert other configuration files in
    the future (patches welcome of course!).


    5. I'm unclear as to why Perl and Python are compiled into INN for
    filter usage. Is it to avoid spawning a Perl or Python subprocess when running filters? How does this work?

    To directly have access to a few functions and variables. It's also faster. Notably, spam-filtering with Cleanfeed or PyClean need building INN with
    Perl or Python support.

    How does it work? More background here:
    https://www.eyrie.org/~eagle/software/inn/docs/hook-perl.html
    https://www.eyrie.org/~eagle/software/inn/docs/hook-python.html


    At a high-level I'd like a couple things:

    1. An opinionated guide on setting up INN that picks sane defaults
    based on today's filesystems, SSDs, and networking assumptions. Folks interested in UUCP can certainly read about integrating rmail, but
    most folks setting up INN will just want NNTP support. I also don't
    know how hard it is for a modern computer/VPS to handle Usenet levels
    of traffic, so I'm unsure on how careful the operator needs to be when picking the article storage format or the overview storage mechanism.

    Normally dealt with in CHECKLIST.


    2. An architectural explanation on how INN works.

    Needs doing, indeed. I've noted that.


    3. A clearer explanation on how filters work and why you'd even need
    filters.

    What do you think is missing in our documentation about that?
    I would appreciate a suggestion of wording I could just integrate in
    CHECKLIST or INSTALL, or elsewhere if you think it is useful.


    Notwithstanding, please note that already existing paragraph in INSTALL:

    """
    For the most common installation, a standalone news server, a suggested
    set of options is:

    ./configure --with-perl --with-python

    provided that you have the necessary versions of Perl and Python
    installed. (Compiling with embedded Perl and Python interpreters will
    allow you to use one of the available excellent spam filters if you so
    choose.)
    """


    And these ones in CHECKLIST I recently added:

    [Compile Section]
    """
    You will need to have the relevant external libraries to compile
    (depending on whether you use OpenSSL for TLS access to your news
    server, libcanlock to verify the authenticity of cancel articles, Perl
    and/or Python for spam and abuse filtering, etc.) and to correctly set
    the right paths to external programs (like for GnuPG to verify the
    authenticity of Usenet control messages).
    """

    [Additional Configuration Section]
    """
    You may want to install a spam and abuse filter. Good choices are either Cleanfeed (a widely used Perl filter you can find at <http://www.mixmin.net/cleanfeed/>) or PyClean (also a great Python
    filter you can find at <https://github.com/crooks/PyClean>).

    You need to have an INN installation built with Perl and/or Python
    support to be able to use these filters.
    """

    --
    Julien ÉLIE

    « Une fois rien, c'est rien ; deux fois rien, c'est pas beaucoup, mais
    pour trois fois rien, on peut déjà acheter quelque chose, et pour pas
    cher. » (Raymond Devos)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Julien_=c3=89LIE?=@21:1/5 to All on Tue Jan 18 15:06:23 2022
    Hi Grant,

    Or a book you are the Hero, will plenty of "if x go to page n" :-)

    I would STRONGLY recommend avoiding page number references.

    Hmm, maybe my reference was not clear enough.
    I see that the name "a book you are the hero" ("Un livre dont vous êtes
    le héros", in French) is the one chosen by a French editor.
    They're known as gamebooks or "choose your own adventure" in your country.

    So of course I wouldn't have hard-coded the page numbers. Modern
    editing software know how to dynamically update number pages when doing
    proper references.


    I would hope that the first server document could be read in the amount
    of time that it takes to read a long email.  It shouldn't answer all the questions.  But it should provide some background / context and provide pointers of where to get more detailed information.

    In some ways, it's more of an introduction / overview that someone might
    give in the first 5-10 minutes of a multi-hour talk, wherein they
    brifely itroduce the concept and say something like "we'll talk more
    about spool storage when we get back from lunch" type thing.

    Good idea.


    The first server document should leave the reader with an idea of "i
    need to go read <this>, <that>, and <other thing>, but I do have an idea
    how the three relate to each other and why they are important at the
    1,000 foot level.

    And then he takes an aspirin :-)

    --
    Julien ÉLIE

    « – Ordre est donné d'enquêter dans tout le secteur, afin d'identifier
    et de confondre les légions à la solde de Pompée !
    – S'ils n'ont pas de signes distinctifs, ça ne sera pas facile mon
    général ! » (Astérix)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Taylor@21:1/5 to All on Tue Jan 18 13:25:48 2022
    On 1/18/22 7:06 AM, Julien ÉLIE wrote:
    Hi Grant,

    Hi Julien,

    Hmm, maybe my reference was not clear enough.

    No, you were clear enough.

    I see that the name "a book you are the hero" ("Un livre dont vous êtes
    le héros", in French) is the one chosen by a French editor.
    They're known as gamebooks or "choose your own adventure" in your country.

    If I'm following you correctly, I know those as "choose your own
    adventure" (type of) books.

    So of course I wouldn't have hard-coded the page numbers.  Modern
    editing software know how to dynamically update number pages when doing proper references.

    I'm thinking bigger than that.

    What happens to page 38 in the 3rd version when you add significant
    content on page 24 in the 4th version?

    That's where section and maybe paragraph numbers significantly transcend
    page numbers.

    It's not /just/ about the page numbers /within/ a given version. I can
    say "go read section 3.2" of just about any version and people read what
    I want. (Assuming that section numbers aren't changed.) Page numbers
    can be highly dynamic.

    Good idea.

    :-)

    And then he takes an aspirin :-)

    Asprin, caffeine, alcohol, pick your poison. At least the person has an overview of how things fit together and an idea of the things they
    /should/ read or at least skim (even if they choose not to).



    --
    Grant. . . .
    unix || die

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Julien_=c3=89LIE?=@21:1/5 to All on Sat Jan 22 12:05:40 2022
    In response to someone called "32303031":

    Personally for me not technical, but, primary, the organizational
    component serves as an barrier to set up and own NNTP server. For
    example, INN 2.x FAQ says nothing about how to find a peer. No peer - no useful content - no reason to set up and advertise own NNTP server.

    That's a pretty good point, thanks for raising it!

    A specific question has been added in the FAQ to address that.
    And a reference to the news.admin.peering newsgroup in CHECKLIST and the newsfeeds man page.

    --
    Julien ÉLIE

    « Felix qui potuit rerum cognoscere causas. » (Virgile)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Nigel Reed@21:1/5 to Grant Taylor on Wed Jan 26 01:11:23 2022
    On Sat, 8 Jan 2022 00:54:20 -0700
    Grant Taylor <gtaylor@tnetconsulting.net> wrote:

    Based on some comments in other threads, I gather that some think
    that running a Usenet / NNTP / INN server has a higher entry bar than
    it possibly should have.

    Another thing that I think that was missing was a list of pre-req
    packages or libraries, possibly listed for the most common types of
    package system such as rpms or .deb packages. I moved to another server
    and tried to compile but was missing perl_alloc which I had to chase
    down and a few other bits. Knowing ahead of time what I need would save
    several iterations through ./configure

    [This got stuck in my client outbound queue for some reason)


    --
    End Of The Line BBS - Plano, TX
    telnet endofthelinebbs.com 23

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Julien_=c3=89LIE?=@21:1/5 to All on Wed Jan 26 22:08:22 2022
    Hi Nigel,

    Another thing that I think that was missing was a list of pre-req
    packages or libraries, possibly listed for the most common types of
    package system such as rpms or .deb packages. I moved to another server
    and tried to compile but was missing perl_alloc which I had to chase
    down and a few other bits. Knowing ahead of time what I need would save several iterations through ./configure

    perl_alloc comes from the Perl development libraries (libperl-dev).

    I've just had a look at the logs of Debian builds:

    Merged Build-Depends: bison, flex, libperl-dev, python3-dev, libdb-dev, libkrb5-dev, libpam0g-dev, libsasl2-dev, libsystemd-dev, pkg-config, libssl-dev, zlib1g-dev

    And Fedora builds:

    byacc, cyrus-sasl-devel, flex, gnupg2, krb5-devel, libdb4-devel,
    openssl-devel, pam-devel, perl-ExtUtils-Embed, perl-GD, perl-MIME-tools, perl-devel, perl-generators, perl-interpreter, python2

    Is it the list you would like to appear in CHECKLIST and INSTALL?

    I'll add libcanlock-dev and libsqlite3-dev for INN 2.7.0 (for Cancel
    Lock support and the news ovsqlite overview method).
    It is libcanlock-devel and sqlite3-devel for Fedora.

    As well as libgd-perl (to generate images in HTML daily Usenet reports), libmime-tools-perl (to handle newgroup/rmgroup/checkgroups articles),
    gnupg (for control articles and NoCeM) for Debian.
    And python-devel, libsasl-devel, systemd-devel, zlib-devel, pkg-config
    for Fedora.



    Any other things you would like to add in our installation guide that
    you think would have been helpful?

    --
    Julien ÉLIE

    « Bibere humanum est, ergo bibamus. »

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Taylor@21:1/5 to Nigel Reed on Wed Jan 26 16:28:46 2022
    On 1/26/22 12:11 AM, Nigel Reed wrote:
    Another thing that I think that was missing was a list of pre-req
    packages or libraries, possibly listed for the most common types
    of package system such as rpms or .deb packages.

    I would expect that the system's package manager would handle
    dependencies when installing packages.

    I moved to another server and tried to compile but was missing
    perl_alloc which I had to chase down and a few other bits. Knowing
    ahead of time what I need would save several iterations through
    ./configure

    Compiling from source is another thing entirely.

    I would expect that there is documentation about what dependencies there
    are.

    But IM(ns)HO the configure script /is/ the method for ensuring that dependencies are met when compiling.

    Admittedly it would be nice if the configure script could ~> would make
    it through all the tests and then generate a report of what's preventing
    the build. That way you could probably reduce the number of runs to
    two. The first time to find out what is missing, and the second time
    actually do the configure having fulfilled the dependencies.

    [This got stuck in my client outbound queue for some reason)

    It happens.



    --
    Grant. . . .
    unix || die

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?Q?Julien_=c3=89LIE?=@21:1/5 to All on Thu Jan 27 20:48:40 2022
    Hi Grant,

    I moved to another server and tried to compile but was missing
    perl_alloc which I had to chase down and a few other bits. Knowing
    ahead of time what I need would save several iterations through
    ./configure

    Compiling from source is another thing entirely.

    I would expect that there is documentation about what dependencies there
    are.

    But IM(ns)HO the configure script /is/ the method for ensuring that dependencies are met when compiling.

    The configure script actually already ensures that.
    As for the example of a failure to find perl_alloc, it is because the
    Perl library is not installed.
    configure will fail the following way:

    checking for Perl version 5.004_03 or later... /usr/bin/perl
    checking for Perl module Encode... yes
    checking for Perl module GD... yes
    checking for Perl module MIME::Parser... yes
    checking for flags to link with Perl... -Wl,-E -fstack-protector-strong -L/usr/local/lib -L/usr/lib/x86_64-linux-gnu/perl/5.32/CORE -lperl -ldl
    -lm -lpthread -lcrypt
    checking EXTERN.h usability... yes
    checking EXTERN.h presence... yes
    checking for EXTERN.h... yes
    configure: error: in `/home/news/work/inn/main':
    configure: error: unable to link with Perl library


    And indeed, the configure checks are:

    AC_CHECK_HEADER([EXTERN.h], [],
    [AC_MSG_FAILURE([unable to compile with EXTERN.h])])
    AC_CHECK_FUNC([perl_alloc], [],
    [AC_MSG_FAILURE([unable to link with Perl library])])


    So, yes, it means that Perl library is missing.
    It corresponds to the libperl-dev (deb) or perl-devel (rpm) packages.



    Admittedly it would be nice if the configure script could ~> would make
    it through all the tests and then generate a report of what's preventing
    the build.

    Unfortunately, we stop configure with an error failure as soon as a
    mandatory check fails. We do not have such a summary of all errors that
    would permit running configure only twice.

    Well, it normally does not take long to run...


    So, would the list of dependencies I suggested in a previous message in
    this thread be OK and correspond to what you had in mind Nigel?
    I suggest to just print them at the beginning of the configure output.
    This way, they can easily be seen by everybody building INN.

    % ./configure
    configure: Building INN requires the following dependencies to be met.

    Mandatory (deb): bison, flex, perl, default-mta (or any specific MTA) [...] Optional (deb): libperl-dev (--with-perl), python3-dev (--with-python), libsqlite3-dev (--with-sqlite3) [...]

    Mandatory (rpm): byacc, flex, perl, postfix (or any other MTA) [...]
    Optional (rpm): perl-devel (--with-perl), python3-devel (--with-python), sqlite3-devel (--with-sqlite3) [...]

    checking for gcc... gcc
    checking whether the C compiler works... yes
    [...]

    --
    Julien ÉLIE

    « Bibere humanum est, ergo bibamus. »

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Nigel Reed@21:1/5 to iulius@nom-de-mon-site.com.invalid on Thu Jan 27 20:55:49 2022
    On Wed, 26 Jan 2022 22:08:22 +0100
    Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> wrote:

    perl_alloc comes from the Perl development libraries (libperl-dev).

    Well yes, I know that now. but there's nothing obvious to tell you that.

    I've just had a look at the logs of Debian builds:
    And Fedora builds:


    Is it the list you would like to appear in CHECKLIST and INSTALL?

    Yes, something like that would be perfect.

    I'll add libcanlock-dev and libsqlite3-dev for INN 2.7.0 (for Cancel
    Lock support and the news ovsqlite overview method).
    It is libcanlock-devel and sqlite3-devel for Fedora.

    Sounds good.

    Any other things you would like to add in our installation guide that
    you think would have been helpful?

    Nothing that springs to mind. Obviously I have it all compiled now, but
    I'm sure that list will help the next person who comes along.

    Thanks,
    Nigel




    --
    End Of The Line BBS - Plano, TX
    telnet endofthelinebbs.com 23

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Nigel Reed@21:1/5 to Grant Taylor on Thu Jan 27 20:52:16 2022
    On Wed, 26 Jan 2022 16:28:46 -0700
    Grant Taylor <gtaylor@tnetconsulting.net> wrote:

    I would expect that the system's package manager would handle
    dependencies when installing packages.

    Not when you build from source, obviously.

    I would expect that there is documentation about what dependencies
    there are.

    There is no mention of perl_alloc in the root or doc directory.

    But IM(ns)HO the configure script /is/ the method for ensuring that dependencies are met when compiling.

    Yes but saying that is cannot find perl_alloc doesn't tell me which
    package I need to install. It would be better to have a list of all
    libraries and possibly a package list for the major distros.

    Admittedly it would be nice if the configure script could ~> would
    make it through all the tests and then generate a report of what's
    preventing the build. That way you could probably reduce the number
    of runs to two. The first time to find out what is missing, and the
    second time actually do the configure having fulfilled the
    dependencies.

    Right, but still without knowing which package something is in, that
    still leaves it to end user to hunt down the missing package.

    --
    End Of The Line BBS - Plano, TX
    telnet endofthelinebbs.com 23

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Grant Taylor@21:1/5 to Nigel Reed on Fri Jan 28 12:14:03 2022
    On 1/27/22 7:52 PM, Nigel Reed wrote:
    Not when you build from source, obviously.

    Source and packaged versions are two completely different things.

    Packages are inherently (type of) distribution specific and source is distribution agnostic.

    There is no mention of perl_alloc in the root or doc directory.

    I think that's being worked on / rectified.

    Yes but saying that is cannot find perl_alloc doesn't tell me which
    package I need to install. It would be better to have a list of all
    libraries and possibly a package list for the major distros.

    Right, but still without knowing which package something is in, that
    still leaves it to end user to hunt down the missing package.

    Both of these (last) comments are a symptom of the difference between
    source vs packaged distribution. If you are doing things from source,
    you are working in a distribution agnostic manner. As such, there would
    not be any information as to what packages are called. It is up to you
    to identify which package provides a given dependency for the
    distribution that you're using.

    There are a lot of different distributions across many different OSs.
    Expecting a source maintainer to know what package is used on your
    specific OS / distribution is ... probably unreasonable.

    Be greatful if you get a "library" is often called something like
    "<bla>" on "<blabla>" based distributions, but will probably have
    different version numbers or different names, adjust as necessary for
    your distribution. And that will only be for the biggest few distributions.

    An analogy would be converting a specific color / PanTone to different
    paint color names from different brands. I've seen standards say
    specific color / PanTones for safety signs and the likes. You translate
    to what that is in your preferred paint brand.



    --
    Grant. . . .
    unix || die

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From jdanield@21:1/5 to All on Sat Jan 29 09:47:58 2022
    Le 29/01/2022 à 09:37, Nigel Reed a écrit :

    I could probably bring up a fresh VM for Ubuntu and go through the
    install and see what I need, but I'll probably end up installing a
    bunch of stuff I also don't need to try and find the right dependency, because they're not listed anywhere...vicious circle.



    I try to document my installation steps, let alone to be able to make
    them again some year years later, and when it's documented, why not make
    it public?

    http://www.dodin.org/wiki/pmwiki.php?n=Doc.ConfigurerINN-2021

    of course, it's often incomplete (steps forgotten) or inaccurate,
    nothing like a real man page :-(, but better than nothing

    more general (not nntp aimed)

    http://www.dodin.org/wiki/pmwiki.php?n=Doc.Server-2021

    jdd

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Nigel Reed@21:1/5 to Grant Taylor on Sat Jan 29 02:37:05 2022
    On Fri, 28 Jan 2022 12:14:03 -0700
    Grant Taylor <gtaylor@tnetconsulting.net> wrote:

    On 1/27/22 7:52 PM, Nigel Reed wrote:
    Not when you build from source, obviously.

    Source and packaged versions are two completely different things.

    I didn't say anything about installing a packaged version. I need to
    know what packages I need to install for the source to compile.

    There is no mention of perl_alloc in the root or doc directory.

    I think that's being worked on / rectified.

    Right, this was just an example of why we need a list of packages for
    distros if someone is compiling the source.

    Right, but still without knowing which package something is in, that
    still leaves it to end user to hunt down the missing package.

    Both of these (last) comments are a symptom of the difference between
    source vs packaged distribution. If you are doing things from
    source, you are working in a distribution agnostic manner. As such,
    there would not be any information as to what packages are called.
    It is up to you to identify which package provides a given dependency
    for the distribution that you're using.

    A lot of people may want to build from source if their distro's
    packaged versions are not up to date, or maybe the distro doesn't have
    a compile time option enabled that it wanted, or both.

    The reason why I wanted to compile my own version was to have
    everything in a /news news directory rather than having bits and pieces scattered all over different file systems but that doesn't mean I can't
    install the pre-reqs from the distros package system.

    There are a lot of different distributions across many different OSs. Expecting a source maintainer to know what package is used on your
    specific OS / distribution is ... probably unreasonable.

    Maybe but some distros are more popular and I would expect someone
    would have installed inn on them before now and know the requirements.

    All I'm saying is that this could have been documented in the past as
    people installed so make it easier for those in the future. Like I
    said, I have it installed now so I don't really care either way, which
    is probably what has been said in the past rather than "Well, I had to
    install these to get it working...so let's add that to the
    documentation".

    I could probably bring up a fresh VM for Ubuntu and go through the
    install and see what I need, but I'll probably end up installing a
    bunch of stuff I also don't need to try and find the right dependency,
    because they're not listed anywhere...vicious circle.


    --
    End Of The Line BBS - Plano, TX
    telnet endofthelinebbs.com 23

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)