🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
17 messages
17 total messages Started by Mildred Ki'Lya Wed, 22 Mar 2017 00:33
INN: How to allow anyone to subscribe to new posts?
#87650
Author: Mildred Ki'Lya
Date: Wed, 22 Mar 2017 00:33
19 lines
1967 bytes
Hi,

I started maintaining a news server (not connected to any of the usenet servers) on a private network. The network is relatively secure and I would like to allow anyone to setup a NNTP server on it and peer with me, without getting my approval first.

As I understand peering (I haven't practiced it, my server being alone yet), you have to tell the peer servers in the newsfeeds config file, and the server will forward news to those sites.

Is there some way for a server to request subscription to new posts and have it automatically listed here? If nobody has done that yet, I would write a program that:

- parse a new control message type to manage this subscription
- upon subscription request, add the requesting peer to a list of outgoing peers.
- when a post arrives, forward it to a script that look to this list of peers and forward the message to each
- before sending, flush the subscribed peer list of old peers that haven't requested a subscription recently

Does something like this already exists?

-- 
Mildred Ki'Lya <mildred@mildred.fr>

Re: INN: How to allow anyone to subscribe to new posts?
#87651
Author: yamo'
Date: Wed, 22 Mar 2017 08:47
15 lines
1466 bytes
Hi,

Mildred Ki'Lya a écrit le 22/03/2017 à 01:33 :
> The network is relatively secure and I would like to allow anyone to setup a NNTP server on it and peer with me, without getting my approval first.


You can configure a peering in incoming.conf that cover your local
network. For feeding, I think you must configure each server.

Best regards,

-- 
Stéphane

Re: INN: How to allow anyone to subscribe to new posts?
#87653
Author: Whiskers
Date: Wed, 22 Mar 2017 13:21
26 lines
2004 bytes
On 2017-03-22, yamo' <yamo@beurdin.invalid> wrote:
> Hi,
>
> Mildred Ki'Lya a écrit le 22/03/2017 à 01:33 :
>> The network is relatively secure and I would like to allow anyone to
>> setup a NNTP server on it and peer with me, without getting my
>> approval first.
>
>
> You can configure a peering in incoming.conf that cover your local
> network. For feeding, I think you must configure each server.
>
> Best regards,

In my blissful state of ignorance, I would suggest that on a private
network rather than having multiple heavyweight news-servers, wouldn't
it be easier to have one of them and allow users to set up their own
'caching proxy news-server' (such as Leafnode or Hamster) if a normal
usenet client isn't enough?

-- 
-- ^^^^^^^^^^
--  Whiskers
-- ~~~~~~~~~~

Re: INN: How to allow anyone to subscribe to new posts?
#87657
Author: yamo'
Date: Thu, 23 Mar 2017 08:50
32 lines
2106 bytes
Hi,

Whiskers a écrit le 22/03/2017 à 14:21 :
> On 2017-03-22, yamo' <yamo@beurdin.invalid> wrote:
>> Hi,
>>
>> Mildred Ki'Lya a écrit le 22/03/2017 à 01:33 :
>>> The network is relatively secure and I would like to allow anyone to
>>> setup a NNTP server on it and peer with me, without getting my
>>> approval first.
>>
>>
>> You can configure a peering in incoming.conf that cover your local
>> network. For feeding, I think you must configure each server.
>>
>> Best regards,
> 
> In my blissful state of ignorance, I would suggest that on a private
> network rather than having multiple heavyweight news-servers, wouldn't
> it be easier to have one of them and allow users to set up their own
> 'caching proxy news-server' (such as Leafnode or Hamster) if a normal
> usenet client isn't enough?
> 


It might be useful for learning purpose.


-- 
Stéphane

Re: INN: How to allow anyone to subscribe to new posts?
#87662
Author: Mildred Ki'Lya
Date: Fri, 24 Mar 2017 19:48
17 lines
2082 bytes
On Wed, 22 Mar 2017 13:21:17 +0000
Whiskers <catwheezel@operamail.com> wrote:

> On 2017-03-22, yamo' <yamo@beurdin.invalid> wrote:
> In my blissful state of ignorance, I would suggest that on a private
> network rather than having multiple heavyweight news-servers, wouldn't
> it be easier to have one of them and allow users to set up their own
> 'caching proxy news-server' (such as Leafnode or Hamster) if a normal
> usenet client isn't enough?

I didn't knew INN would be considered heavyweight. It seems simple enought to install and managing it doesn't seem to be that hard. We won't get any difficult traffic anytime soon.

But perhaps, the way Leafnode or Hamster works seems to be more like what I'd need. Is there any problem in having only these kind of caching proxy news-servers and not even have the 'heavyweight' INN server centrally? I have to see how this works. Thanks for the pointers.

Mildred

Re: INN: How to allow anyone to subscribe to new posts?
#87664
Author: Mildred Ki'Lya
Date: Fri, 24 Mar 2017 19:52
17 lines
1679 bytes
On Wed, 22 Mar 2017 13:21:17 +0000
Whiskers <catwheezel@operamail.com> wrote:

> In my blissful state of ignorance, I would suggest that on a private
> network rather than having multiple heavyweight news-servers, wouldn't
> it be easier to have one of them and allow users to set up their own
> 'caching proxy news-server' (such as Leafnode or Hamster) if a normal
> usenet client isn't enough?

Then, I have another question. If these servers are submitting articles
to the network like a client will do, the upstream server will rewrite
some headers. Wouldn't that be a problem with the Path header for
instance?

Mildred

Re: INN: How to allow anyone to subscribe to new posts?
#87665
Author: Whiskers
Date: Fri, 24 Mar 2017 22:39
41 lines
2976 bytes
On 2017-03-24, Mildred Ki'Lya <mildred@mildred.fr> wrote:
> On Wed, 22 Mar 2017 13:21:17 +0000
> Whiskers <catwheezel@operamail.com> wrote:
>
>> In my blissful state of ignorance, I would suggest that on a private
>> network rather than having multiple heavyweight news-servers, wouldn't
>> it be easier to have one of them and allow users to set up their own
>> 'caching proxy news-server' (such as Leafnode or Hamster) if a normal
>> usenet client isn't enough?
>
> Then, I have another question. If these servers are submitting articles
> to the network like a client will do, the upstream server will rewrite
> some headers. Wouldn't that be a problem with the Path header for
> instance?
>
> Mildred

Other than the Path, the injection server shouldn't rewrite anything.
It should add a Message-ID and Date if those are missing, and may add
other headers.  

What problem would it cause to have the Path header showing only the one
server?  That's what usually happens on usenet when a user reads an
article posted to the same server as they are reading from.  (I think
INN can be set to re-label a pre-loaded Path header to something like
'X-Original-Path' to preserve that information).

You can set Leafnode (and I think Hamster) to either add articles to the
local spool as soon as the user has posted them, or to wait for the new
articles to be pulled from the upstream server.  That can lead to the
person posting an article seeing only the headers that their local
caching proxy server has for it, not any added by the 'proper' server,
but that isn't normally a problem in my limited experience.  If the user
agent doesn't set a Message-ID then Leafnode should insert one.

-- 
-- ^^^^^^^^^^
--  Whiskers
-- ~~~~~~~~~~

Re: INN: How to allow anyone to subscribe to new posts?
#87666
Author: Whiskers
Date: Fri, 24 Mar 2017 22:56
38 lines
2690 bytes
On 2017-03-24, Mildred Ki'Lya <mildred@mildred.fr> wrote:
> On Wed, 22 Mar 2017 13:21:17 +0000 Whiskers <catwheezel@operamail.com>
> wrote:
>
>> On 2017-03-22, yamo' <yamo@beurdin.invalid> wrote: In my blissful
>> state of ignorance, I would suggest that on a private network rather
>> than having multiple heavyweight news-servers, wouldn't it be easier
>> to have one of them and allow users to set up their own 'caching
>> proxy news-server' (such as Leafnode or Hamster) if a normal usenet
>> client isn't enough?
>
> I didn't knew INN would be considered heavyweight. It seems simple
> enought to install and managing it doesn't seem to be that hard. We
> won't get any difficult traffic anytime soon.
>
> But perhaps, the way Leafnode or Hamster works seems to be more like
> what I'd need. Is there any problem in having only these kind of
> caching proxy news-servers and not even have the 'heavyweight' INN
> server centrally? I have to see how this works. Thanks for the
> pointers.
>
> Mildred

I've never tried it, but Leafnode should be able to function as a
stand-alone news-server (with or without access to a public news-server)
for a small number of users.

If you do use a program such as Leafnode for a few local users, don't
use it to subscribe to a public news-server without checking that
service's terms and conditions; they may not like having more than one
user per 'account'.

-- 
-- ^^^^^^^^^^
--  Whiskers
-- ~~~~~~~~~~

Re: INN: How to allow anyone to subscribe to new posts?
#87668
Author: Mildred Ki'Lya
Date: Sat, 25 Mar 2017 20:26
17 lines
2125 bytes
On Fri, 24 Mar 2017 22:39:24 +0000
Whiskers <catwheezel@operamail.com> wrote:


> What problem would it cause to have the Path header showing only the one
> server?  That's what usually happens on usenet when a user reads an
> article posted to the same server as they are reading from.  (I think
> INN can be set to re-label a pre-loaded Path header to something like
> 'X-Original-Path' to preserve that information).

I suppose that if I want Leafnode (Hamster seems Windows only) to be connected to more than one upstream node, it needs to have a Path header working properly... Or I'm wrong...

In any case, I don't think I want to pursue this any further. I'd prefer having a server that works as standalone and not require an upstream server. And also allow more than one peer server. The leafnode docs tells you the upstream server is mandatory.

Mildred

Re: INN: How to allow anyone to subscribe to new posts?
#87667
Author: Michael Bäuerle
Date: Sun, 26 Mar 2017 10:49
21 lines
2074 bytes
Mildred Ki'Lya wrote:
> Whiskers wrote:
> > 
> > What problem would it cause to have the Path header showing only the one
> > server?  That's what usually happens on usenet when a user reads an
> > article posted to the same server as they are reading from.  (I think
> > INN can be set to re-label a pre-loaded Path header to something like
> > 'X-Original-Path' to preserve that information).
> 
> I suppose that if I want Leafnode (Hamster seems Windows only) to be
> connected to more than one upstream node, it needs to have a Path
> header working properly... Or I'm wrong...

I use leafnode with multiple upstream servers and it simply works.
If the first server doesn't accept an article, the next one is tried.

Leafnode doesn't add an entry to the Path header field for itself and
does not act as an injecting agent. It only aggregates (for incoming
articles) and forward (for outgoing articles) the traffic.

Re: INN: How to allow anyone to subscribe to new posts?
#87669
Author: Whiskers
Date: Sun, 26 Mar 2017 14:13
49 lines
3514 bytes
On 2017-03-25, Mildred Ki'Lya <mildred@mildred.fr> wrote:
> On Fri, 24 Mar 2017 22:39:24 +0000 Whiskers <catwheezel@operamail.com>
> wrote:
>
>
>> What problem would it cause to have the Path header showing only the
>> one server?  That's what usually happens on usenet when a user reads
>> an article posted to the same server as they are reading from.  (I
>> think INN can be set to re-label a pre-loaded Path header to
>> something like 'X-Original-Path' to preserve that information).
>
> I suppose that if I want Leafnode (Hamster seems Windows only) to be
> connected to more than one upstream node, it needs to have a Path
> header working properly... Or I'm wrong...

Leafnode doesn't need to generate a Path header.  INN will see Leafnode
as a client, like a news-reader.  You do not 'peer' using Leafnode.  You
can subscribe to multiple upstream servers using Leafnode, and Leafnode
will combine the multiple upstream feeds into one feed for its user(s) -
and will post articles to the first upstream server that will accept
them.  I've never tried it but I don't think there's anything to stop
one instance of Leafnode from subscribing to newsgroups on another
instance of Leafnode, but that could cause confusion if both instances
of Leafnode are subscribing to the same INN server.

> In any case, I don't think I want to pursue this any further. I'd
> prefer having a server that works as standalone and not require an
> upstream server. And also allow more than one peer server. The
> leafnode docs tells you the upstream server is mandatory.
>
> Mildred

I'd imagined that you would have your INN running as the 'upstream'
server to which your users could subscribe using their own installations
of Leafnode.  Although at least some users would probably find their
normal news-reader program suffices for reading articles on your INN and
posting articles to it.

I don't understand why you'd want or need to have multiple news-servers
peering with each other inside a private network; surely one for the
whole network would suffice?  Or perhaps two if you want a 'mirror' or
'back-up' in case one fails.

-- 
-- ^^^^^^^^^^
--  Whiskers
-- ~~~~~~~~~~

Re: INN: How to allow anyone to subscribe to new posts?
#87670
Author: Thomas Hochstein
Date: Sun, 26 Mar 2017 14:38
15 lines
1434 bytes
Mildred Ki'Lya schrieb:

> Does something like this already exists?

There's (the 25 years old) GUP [1] to change the list of groups to
feed to an already configured peer - perhaps you can adapt that code
to suit your needs.

Regards,
-thh

[1] See <https://tracker.debian.org/pkg/gup> - I have no clue wether
there's still an upstream page.

Re: INN: How to allow anyone to subscribe to new posts?
#87672
Author: Adam H. Kerman
Date: Sun, 26 Mar 2017 17:27
25 lines
2390 bytes
Michael Baeuerle <michael.baeuerle@gmx.net> wrote:
>Mildred Ki'Lya wrote:
>>Whiskers wrote:

>>>What problem would it cause to have the Path header showing only the one
>>>server?  That's what usually happens on usenet when a user reads an
>>>article posted to the same server as they are reading from.  (I think
>>>INN can be set to re-label a pre-loaded Path header to something like
>>>'X-Original-Path' to preserve that information).

>>I suppose that if I want Leafnode (Hamster seems Windows only) to be
>>connected to more than one upstream node, it needs to have a Path
>>header working properly... Or I'm wrong...

>I use leafnode with multiple upstream servers and it simply works.
>If the first server doesn't accept an article, the next one is tried.

>Leafnode doesn't add an entry to the Path header field for itself and
>does not act as an injecting agent. It only aggregates (for incoming
>articles) and forward (for outgoing articles) the traffic.

Is there a Message-ID or Date created or is that left to
the actual injecting News server?

Re: INN: How to allow anyone to subscribe to new posts?
#87673
Author: Whiskers
Date: Sun, 26 Mar 2017 18:41
36 lines
2730 bytes
On 2017-03-26, Adam H. Kerman <ahk@chinet.com> wrote:
> Michael Baeuerle <michael.baeuerle@gmx.net> wrote:
>>Mildred Ki'Lya wrote:
>>>Whiskers wrote:
>
>>>>What problem would it cause to have the Path header showing only the one
>>>>server?  That's what usually happens on usenet when a user reads an
>>>>article posted to the same server as they are reading from.  (I think
>>>>INN can be set to re-label a pre-loaded Path header to something like
>>>>'X-Original-Path' to preserve that information).
>
>>>I suppose that if I want Leafnode (Hamster seems Windows only) to be
>>>connected to more than one upstream node, it needs to have a Path
>>>header working properly... Or I'm wrong...
>
>>I use leafnode with multiple upstream servers and it simply works.
>>If the first server doesn't accept an article, the next one is tried.
>
>>Leafnode doesn't add an entry to the Path header field for itself and
>>does not act as an injecting agent. It only aggregates (for incoming
>>articles) and forward (for outgoing articles) the traffic.
>
> Is there a Message-ID or Date created or is that left to
> the actual injecting News server?

As far as I remember, Leafnode can be set to insert missing Date and
Message-ID headers if the user's client omits them, or it can be set to
leave them to the upstream server to insert.  I don't think it will
over-ride valid headers set by the client.

-- 
-- ^^^^^^^^^^
--  Whiskers
-- ~~~~~~~~~~

Re: INN: How to allow anyone to subscribe to new posts?
#87671
Author: Adam H. Kerman
Date: Mon, 27 Mar 2017 00:08
34 lines
2798 bytes
Whiskers <catwheezel@operamail.com> wrote:
>On 2017-03-26, Adam H. Kerman <ahk@chinet.com> wrote:
>>Michael Baeuerle <michael.baeuerle@gmx.net> wrote:
>>>Mildred Ki'Lya wrote:
>>>>Whiskers wrote:

>>>>>What problem would it cause to have the Path header showing only the one
>>>>>server?  That's what usually happens on usenet when a user reads an
>>>>>article posted to the same server as they are reading from.  (I think
>>>>>INN can be set to re-label a pre-loaded Path header to something like
>>>>>'X-Original-Path' to preserve that information).

>>>>I suppose that if I want Leafnode (Hamster seems Windows only) to be
>>>>connected to more than one upstream node, it needs to have a Path
>>>>header working properly... Or I'm wrong...

>>>I use leafnode with multiple upstream servers and it simply works.
>>>If the first server doesn't accept an article, the next one is tried.

>>>Leafnode doesn't add an entry to the Path header field for itself and
>>>does not act as an injecting agent. It only aggregates (for incoming
>>>articles) and forward (for outgoing articles) the traffic.

>>Is there a Message-ID or Date created or is that left to
>>the actual injecting News server?

>As far as I remember, Leafnode can be set to insert missing Date and
>Message-ID headers if the user's client omits them, or it can be set to
>leave them to the upstream server to insert.  I don't think it will
>over-ride valid headers set by the client.

Thank you.

Re: INN: How to allow anyone to subscribe to new posts?
#87676
Author: Michael Bäuerle
Date: Mon, 27 Mar 2017 11:41
21 lines
2108 bytes
Whiskers wrote:
> On 2017-03-26, Adam H. Kerman <ahk@chinet.com> wrote:
> > 
> > [...]
> > Is there a Message-ID or Date created or is that left to
> > the actual injecting News server?
> 
> As far as I remember, Leafnode can be set to insert missing Date and
> Message-ID headers if the user's client omits them, or it can be set to
> leave them to the upstream server to insert.  I don't think it will
> over-ride valid headers set by the client.

I can confirm that it doesn't replace Date and Message-ID header fields
that are already present.

If they are not present, leafnode should create them (I have not found
options to explicitly disable this behaviour). But there may be cases
where leafnode cannot acquire the required information (e.g. the option
"hostname" is available to provide a FQDN for Message-ID generation).

Re: INN: How to allow anyone to subscribe to new posts?
#87682
Author: Adam H. Kerman
Date: Mon, 27 Mar 2017 20:58
24 lines
2206 bytes
Michael Bäuerle  <michael.baeuerle@gmx.net> wrote:
>Whiskers wrote:
>> On 2017-03-26, Adam H. Kerman <ahk@chinet.com> wrote:
>> > 
>> > [...]
>> > Is there a Message-ID or Date created or is that left to
>> > the actual injecting News server?
>> 
>> As far as I remember, Leafnode can be set to insert missing Date and
>> Message-ID headers if the user's client omits them, or it can be set to
>> leave them to the upstream server to insert.  I don't think it will
>> over-ride valid headers set by the client.
>
>I can confirm that it doesn't replace Date and Message-ID header fields
>that are already present.
>
>If they are not present, leafnode should create them (I have not found
>options to explicitly disable this behaviour). But there may be cases
>where leafnode cannot acquire the required information (e.g. the option
>"hostname" is available to provide a FQDN for Message-ID generation).

Thanks.

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