Thread View: news.software.nntp
74 messages
74 total messages
Page 1 of 2
Started by Grant Taylor
Sat, 08 Jan 2022 07:54
Page 1 of 2 • 74 total messages
What did / do you find difficult about running Usenet / NNTP / INN server?
Author: Grant Taylor
Date: Sat, 08 Jan 2022 07:54
Date: Sat, 08 Jan 2022 07:54
20 lines
1665 bytes
1665 bytes
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
Re: What did / do you find difficult about running Usenet / NNTP / INN server?
Author: Nigel Reed
Date: Sat, 08 Jan 2022 08:34
Date: Sat, 08 Jan 2022 08:34
39 lines
2473 bytes
2473 bytes
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
Re: What did / do you find difficult about running Usenet / NNTP / INN server?
Author: jdanield
Date: Sat, 08 Jan 2022 08:46
Date: Sat, 08 Jan 2022 08:46
29 lines
1996 bytes
1996 bytes
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
Re: What did / do you find difficult about running Usenet / NNTP / INN server?
Author: Julien ÉLIE
Date: Sat, 08 Jan 2022 12:36
Date: Sat, 08 Jan 2022 12:36
45 lines
2910 bytes
2910 bytes
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)
Re: What did / do you find difficult about running Usenet / NNTP / INN server?
Author: Julien ÉLIE
Date: Sat, 08 Jan 2022 12:46
Date: Sat, 08 Jan 2022 12:46
33 lines
2533 bytes
2533 bytes
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)
Re: What did / do you find difficult about running Usenet / NNTP / INN server?
Author: jdanield
Date: Sat, 08 Jan 2022 12:53
Date: Sat, 08 Jan 2022 12:53
38 lines
2168 bytes
2168 bytes
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
Re: What did / do you find difficult about running Usenet / NNTP / INN server?
Author: Julien ÉLIE
Date: Sat, 08 Jan 2022 15:16
Date: Sat, 08 Jan 2022 15:16
45 lines
2954 bytes
2954 bytes
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)
Re: What did / do you find difficult about running Usenet / NNTP / INN server?
Author: Thomas Hochstein
Date: Sat, 08 Jan 2022 15:24
Date: Sat, 08 Jan 2022 15:24
63 lines
3676 bytes
3676 bytes
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
Re: What did / do you find difficult about running Usenet / NNTP / INN server?
Author: Thomas Hochstein
Date: Sat, 08 Jan 2022 15:25
Date: Sat, 08 Jan 2022 15:25
6 lines
1374 bytes
1374 bytes
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?
Re: What did / do you find difficult about running Usenet / NNTP / INN server?
Author: Jason Evans
Date: Sat, 08 Jan 2022 15:32
Date: Sat, 08 Jan 2022 15:32
25 lines
2183 bytes
2183 bytes
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.
Re: What did / do you find difficult about running Usenet / NNTP / INN server?
Author: The Doctor
Date: Sat, 08 Jan 2022 17:32
Date: Sat, 08 Jan 2022 17:32
57 lines
3003 bytes
3003 bytes
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
Re: What did / do you find difficult about running Usenet / NNTP / INN server?
Author: Russ Allbery
Date: Sat, 08 Jan 2022 17:41
Date: Sat, 08 Jan 2022 17:41
23 lines
2007 bytes
2007 bytes
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.
Re: What did / do you find difficult about running Usenet / NNTP / INN server?
Author: bje
Date: Sat, 08 Jan 2022 19:42
Date: Sat, 08 Jan 2022 19:42
20 lines
1800 bytes
1800 bytes
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
Re: What did / do you find difficult about running Usenet / NNTP / INN server?
Author: Russ Allbery
Date: Sat, 08 Jan 2022 20:14
Date: Sat, 08 Jan 2022 20:14
43 lines
3182 bytes
3182 bytes
bje@ripco.com writes:
> That one I totally agree with.
> I always end up trial and error when adding or making a change to
> reader.conf becuase that never made any fucking sense to me at all.
> None of it, even after reading the man page for the past 20 years or so.
The basic theory of readers.conf is that it's trying to enable support for
a completely generic and pluggable enterprise authentication pipeline.
A reader connects and this connection is then passed to the authentication
system, which analyzes the available information about the connection and
assigns an identity to it. Then, that identity is passed to the
authorization system, which maps identities to sets of privileges that
control what they can do on the server.
If the user does something to change their authentication status, such as
an AUTHINFO command, that goes back to the authentication system, which
assigns a new identity using the updated information, and then the
authorization system runs again to assign new privileges.
It's made worse by the fact that every step of this is very generic, so a
given server can support, e.g., five different ways to authenticate that
are checked against different databases, and there's an additional layer
of complexity where you can assign a vector as an identity to the user
instead of just a string and thus limit which authorization groups will
match. (This is not the terminology that readers.conf uses, but that's
what the "key" parameter effectively does.)
If you're doing a mathematical model of authorization systems, this is all
very sensible, but except for people who spend a lot of time working with
IAM systems, this is just not how they think about the problem at all.
They want to let a user do things, and they want to configure a, singular,
way that users authenticate, and everything else is advanced and should be
hidden behind something you don't have to think about unless you need it.
--
Russ Allbery (eagle@eyrie.org) <https://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<https://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: What did / do you find difficult about running Usenet / NNTP / INN server?
Author: meff
Date: Sat, 08 Jan 2022 21:55
Date: Sat, 08 Jan 2022 21:55
7 lines
1100 bytes
1100 bytes
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.
Re: What did / do you find difficult about running Usenet / NNTP / INN server?
Author: meff
Date: Sat, 08 Jan 2022 21:56
Date: Sat, 08 Jan 2022 21:56
6 lines
990 bytes
990 bytes
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.
Re: What did / do you find difficult about running Usenet / NNTP / INN server?
Author: meff
Date: Sat, 08 Jan 2022 22:23
Date: Sat, 08 Jan 2022 22:23
55 lines
3433 bytes
3433 bytes
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.
Re: What did / do you find difficult about running Usenet / NNTP / INN server?
Author: Grant Taylor
Date: Sun, 09 Jan 2022 00:10
Date: Sun, 09 Jan 2022 00:10
47 lines
3120 bytes
3120 bytes
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
Re: What did / do you find difficult about running Usenet / NNTP / INN server?
Author: Grant Taylor
Date: Sun, 09 Jan 2022 00:20
Date: Sun, 09 Jan 2022 00:20
35 lines
2582 bytes
2582 bytes
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
Re: What did / do you find difficult about running Usenet / NNTP / INN server?
Author: Grant Taylor
Date: Sun, 09 Jan 2022 00:30
Date: Sun, 09 Jan 2022 00:30
27 lines
2402 bytes
2402 bytes
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
Re: What did / do you find difficult about running Usenet / NNTP / INN server?
Author: Grant Taylor
Date: Sun, 09 Jan 2022 00:35
Date: Sun, 09 Jan 2022 00:35
28 lines
2085 bytes
2085 bytes
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
Re: What did / do you find difficult about running Usenet / NNTP / INN server?
Author: Grant Taylor
Date: Sun, 09 Jan 2022 00:38
Date: Sun, 09 Jan 2022 00:38
15 lines
1518 bytes
1518 bytes
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
Re: What did / do you find difficult about running Usenet / NNTP / INN server?
Author: Grant Taylor
Date: Sun, 09 Jan 2022 00:50
Date: Sun, 09 Jan 2022 00:50
50 lines
3005 bytes
3005 bytes
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
Re: What did / do you find difficult about running Usenet / NNTP / INN server?
Author: Nigel Reed
Date: Sun, 09 Jan 2022 08:40
Date: Sun, 09 Jan 2022 08:40
17 lines
1451 bytes
1451 bytes
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
Re: What did / do you find difficult about running Usenet / NNTP / INN server?
Author: jdanield
Date: Sun, 09 Jan 2022 09:34
Date: Sun, 09 Jan 2022 09:34
32 lines
1964 bytes
1964 bytes
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
Re: What did / do you find difficult about running Usenet / NNTP / INN server?
Author: Grant Taylor
Date: Sun, 09 Jan 2022 18:41
Date: Sun, 09 Jan 2022 18:41
35 lines
2232 bytes
2232 bytes
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
Re: What did / do you find difficult about running Usenet / NNTP / INN server?
Author: meff
Date: Mon, 10 Jan 2022 01:45
Date: Mon, 10 Jan 2022 01:45
8 lines
1227 bytes
1227 bytes
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?
Re: What did / do you find difficult about running Usenet / NNTP / INN server?
Author: John Levine
Date: Mon, 10 Jan 2022 04:16
Date: Mon, 10 Jan 2022 04:16
20 lines
2021 bytes
2021 bytes
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
Re: What did / do you find difficult about running Usenet / NNTP / INN server?
Author: Grant Taylor
Date: Mon, 10 Jan 2022 04:59
Date: Mon, 10 Jan 2022 04:59
21 lines
1992 bytes
1992 bytes
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
Re: What did / do you find difficult about running Usenet / NNTP / INN server?
Author: Russ Allbery
Date: Mon, 10 Jan 2022 06:11
Date: Mon, 10 Jan 2022 06:11
31 lines
2425 bytes
2425 bytes
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.
Re: What did / do you find difficult about running Usenet / NNTP / INN server?
Author: Julien ÉLIE
Date: Thu, 13 Jan 2022 22:20
Date: Thu, 13 Jan 2022 22:20
21 lines
2016 bytes
2016 bytes
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. »
Re: What did / do you find difficult about running Usenet / NNTP / INN server?
Author: Julien ÉLIE
Date: Thu, 13 Jan 2022 22:32
Date: Thu, 13 Jan 2022 22:32
74 lines
3798 bytes
3798 bytes
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)
Re: What did / do you find difficult about running Usenet / NNTP / INN server?
Author: Julien ÉLIE
Date: Thu, 13 Jan 2022 22:35
Date: Thu, 13 Jan 2022 22:35
32 lines
2520 bytes
2520 bytes
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)
Re: What did / do you find difficult about running Usenet / NNTP / INN server?
Author: Julien ÉLIE
Date: Thu, 13 Jan 2022 22:37
Date: Thu, 13 Jan 2022 22:37
14 lines
1836 bytes
1836 bytes
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)
Re: What did / do you find difficult about running Usenet / NNTP / INN server?
Author: Julien ÉLIE
Date: Thu, 13 Jan 2022 22:54
Date: Thu, 13 Jan 2022 22:54
54 lines
3267 bytes
3267 bytes
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)
Re: What did / do you find difficult about running Usenet / NNTP / INN server?
Author: Julien ÉLIE
Date: Thu, 13 Jan 2022 23:02
Date: Thu, 13 Jan 2022 23:02
33 lines
2334 bytes
2334 bytes
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)
Re: What did / do you find difficult about running Usenet / NNTP / INN server?
Author: Julien ÉLIE
Date: Thu, 13 Jan 2022 23:09
Date: Thu, 13 Jan 2022 23:09
41 lines
2771 bytes
2771 bytes
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)
Re: What did / do you find difficult about running Usenet / NNTP / INN server?
Author: jdanield
Date: Fri, 14 Jan 2022 07:07
Date: Fri, 14 Jan 2022 07:07
33 lines
2091 bytes
2091 bytes
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
Re: What did / do you find difficult about running Usenet / NNTP / INN server?
Author: Julien ÉLIE
Date: Fri, 14 Jan 2022 11:53
Date: Fri, 14 Jan 2022 11:53
52 lines
3114 bytes
3114 bytes
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)
Re: What did / do you find difficult about running Usenet / NNTP / INN server?
Author: Julien ÉLIE
Date: Fri, 14 Jan 2022 12:01
Date: Fri, 14 Jan 2022 12:01
18 lines
2012 bytes
2012 bytes
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)
Re: What did / do you find difficult about running Usenet / NNTP / INN server?
Author: Julien ÉLIE
Date: Fri, 14 Jan 2022 12:17
Date: Fri, 14 Jan 2022 12:17
14 lines
2107 bytes
2107 bytes
> 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) -- Julien ÉLIE « La vraie paresse, c'est de se lever à 6 heures du matin pour avoir plus longtemps à ne rien faire. » (Tristan Bernard)
Re: What did / do you find difficult about running Usenet / NNTP / INN server?
Author: Julien ÉLIE
Date: Fri, 14 Jan 2022 12:17
Date: Fri, 14 Jan 2022 12:17
33 lines
2657 bytes
2657 bytes
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)
Re: What did / do you find difficult about running Usenet / NNTP / INN server?
Author: jdanield
Date: Fri, 14 Jan 2022 13:18
Date: Fri, 14 Jan 2022 13:18
55 lines
2937 bytes
2937 bytes
Le 14/01/2022 à 12:53, Julien ÉLIE a écrit : > 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. I have no etc in ~news, but ~news is /etc/news, so it's pretty confusing > "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. in inn.conf I have only pathetc: /etc/news > /usr/libexec/news. Both use /etc/news as the <pathetc> directory. same for opensuse ^^^^^ > > By default, INN installs everything in <pathnews>, and <pathetc> is an > "etc" subdirectory directly in the news user home directory. so most of the time pathnews and pathetc are the same to be made clear somewhere :-) for openSUSE, all the #path section:# Paths patharchive: /var/spool/news/archive patharticles: /var/spool/news/articles pathbin: /usr/lib/news/bin pathcontrol: /usr/lib/news/bin/control pathdb: /var/lib/news pathetc: /etc/news pathfilter: /usr/lib/news/bin/filter pathhttp: /var/log/news/http pathincoming: /var/spool/news/incoming pathlog: /var/log/news pathoutgoing: /var/spool/news/outgoing pathoverview: /var/spool/news/overview pathrun: /var/run/news pathspool: /var/spool/news pathtmp: /var/spool/news/tmp thanks jdd
Re: What did / do you find difficult about running Usenet / NNTP / INN server?
Author: jdanield
Date: Fri, 14 Jan 2022 13:18
Date: Fri, 14 Jan 2022 13:18
14 lines
1704 bytes
1704 bytes
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
Re: What did / do you find difficult about running Usenet / NNTP / INN server?
Author: Julien ÉLIE
Date: Fri, 14 Jan 2022 13:21
Date: Fri, 14 Jan 2022 13:21
76 lines
4460 bytes
4460 bytes
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)
Re: What did / do you find difficult about running Usenet / NNTP / INN server?
Author: Julien ÉLIE
Date: Fri, 14 Jan 2022 13:26
Date: Fri, 14 Jan 2022 13:26
26 lines
2368 bytes
2368 bytes
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)
Re: What did / do you find difficult about running Usenet / NNTP / INN server?
Author: jdanield
Date: Fri, 14 Jan 2022 13:27
Date: Fri, 14 Jan 2022 13:27
30 lines
2032 bytes
2032 bytes
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
Re: What did / do you find difficult about running Usenet / NNTP / INN server?
Author: Grant Taylor
Date: Fri, 14 Jan 2022 18:08
Date: Fri, 14 Jan 2022 18:08
24 lines
1984 bytes
1984 bytes
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
Re: What did / do you find difficult about running Usenet / NNTP / INN server?
Author: Grant Taylor
Date: Fri, 14 Jan 2022 18:14
Date: Fri, 14 Jan 2022 18:14
36 lines
2718 bytes
2718 bytes
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
Re: What did / do you find difficult about running Usenet / NNTP / INN server?
Author: Grant Taylor
Date: Fri, 14 Jan 2022 18:29
Date: Fri, 14 Jan 2022 18:29
71 lines
3842 bytes
3842 bytes
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
Re: What did / do you find difficult about running Usenet / NNTP / INN server?
Author: Grant Taylor
Date: Fri, 14 Jan 2022 18:42
Date: Fri, 14 Jan 2022 18:42
52 lines
3303 bytes
3303 bytes
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
Page 1 of 2 • 74 total messages
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads