Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  login

In the long run, every program becomes rococco, and then rubble. -- Alan Perlis


computers / rocksolid.nodes.help / Re: How to prohibit cross-posting with RSLite?

SubjectAuthor
* How to prohibit cross-posting with RSLite?sugarbug
`* Re: How to prohibit cross-posting with RSLite?Retro Guy
 `- Re: How to prohibit cross-posting with RSLite?sugarbug

1
How to prohibit cross-posting with RSLite?
  rocksolid.nodes.help
Path: i2pn2.org!rocksolid2!.POSTED.tor1.friendlyexitnode.com!not-for-mail
From: 3883@sugar.bug (sugarbug)
Newsgroups: rocksolid.nodes.help
Subject: How to prohibit cross-posting with RSLite?
Date: Sun, 12 Mar 2023 11:36:51 -0500
Organization: rocksolid2 (novabbs.org)
Message-ID: <tukv31$jlv$1@novabbs.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 12 Mar 2023 16:36:49 -0000 (UTC)
Injection-Info: novabbs.org; posting-account="sugarbug"; posting-host="tor1.friendlyexitnode.com:2605:6400:20:18f1:c80e:f6b7:ffb5:4af7";
logging-data="20159"; mail-complaints-to="usenet@novabbs.org"
Xref: rslight2 rocksolid.nodes.help:232
 by: sugarbug - Sun, 12 Mar 2023 16:36 UTC

How to prohibit ALL client cross-posting?

Restrict posting only to one newsgroup per message, both when
using news reader clients and when using web front end.

Also want to ensure RSLite install does not try to sync with any other
servers or respond to them if found.

Is hidden manual / how-to somewhere? Link?

Re: How to prohibit cross-posting with RSLite?
  rocksolid.nodes.help
Path: i2pn2.org!.POSTED.novabbs-org!not-for-mail
From: retro.guy@rocksolidbbs.com (Retro Guy)
Newsgroups: rocksolid.nodes.help
Subject: Re: How to prohibit cross-posting with RSLite?
Date: Sun, 12 Mar 2023 19:51:53 +0000
Organization: Rocksolid Light
Message-ID: <bf1b71f67f8f361fb13dfef2bbdbcef1@news.novabbs.org>
References: <tukv31$jlv$1@novabbs.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.i2pn2.org; posting-account="novabbs.org"; posting-host="novabbs-org:10.136.143.187";
logging-data="31724"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light 0.7.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs.org
X-Rslight-Site: $2y$10$OPFpxIWhEFxGxEeu8ZGsMORQ5Lxtdlo8Rsd1DJfNoTsyPVNHXP4PG
X-Rslight-Posting-User: 91053d4a47d51b416144568e5a1040f05e31ed1b
X-Face: .&YR-G(w(DZ$$,}%k=]*5*!p'=(anr"IT`wZG'2VWdfl\r)l[42u7JH`n(JUQ*e5*A|XCDf
?&\X&uwkl38"CYX3O8m}C8E4p'%N$2#kSTVzx{Ly|DjLT\Vk7NE}NQ(VC$Yq]i:7|z[.9iv^g>*8_B
H0=hZt'[%)4kG|
Xref: rslight2 rocksolid.nodes.help:233
 by: Retro Guy - Sun, 12 Mar 2023 19:51 UTC

sugarbug wrote:

> How to prohibit ALL client cross-posting?

That would take some code changes. How would you propose to handle
replies to cross-posted messages?

BTW, I'm working on a bug in cross-posting atm. Not fixed, but it
is something I'm working on, making sure replies are cross-posted
properly.

> Restrict posting only to one newsgroup per message, both when
> using news reader clients and when using web front end.

Again, that can be done with some code changes, and would require
connecting your newsreader to the rslight NNTP server, not INN2.
The rslight NNTP server works reasonably well with most clients
I've tested.

> Also want to ensure RSLite install does not try to sync with any other
> servers or respond to them if found.

There is a setting in config to specify remote server. Leave that empty
and rslight has no target to connect to at all for sync.

--
Retro Guy

Re: How to prohibit cross-posting with RSLite?
  rocksolid.nodes.help
Path: i2pn2.org!rocksolid2!.POSTED.2a0b:f4c2:1::1!not-for-mail
From: 3883@sugar.bug (sugarbug)
Newsgroups: rocksolid.nodes.help
Subject: Re: How to prohibit cross-posting with RSLite?
Date: Sun, 12 Mar 2023 16:11:22 -0500
Organization: rocksolid2 (novabbs.org)
Message-ID: <tulf5l$r63$1@novabbs.org>
References: <tukv31$jlv$1@novabbs.org>
<bf1b71f67f8f361fb13dfef2bbdbcef1@news.novabbs.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 12 Mar 2023 21:11:17 -0000 (UTC)
Injection-Info: novabbs.org; posting-account="sugarbug"; posting-host="2a0b:f4c2:1::1";
logging-data="27843"; mail-complaints-to="usenet@novabbs.org"
Xref: rslight2 rocksolid.nodes.help:234
 by: sugarbug - Sun, 12 Mar 2023 21:11 UTC

On Sun, 12 Mar 2023 19:51:53 +0000
retro.guy@rocksolidbbs.com (Retro Guy) wrote:

> sugarbug wrote:
>
> > How to prohibit ALL client cross-posting?
>
> That would take some code changes. How would you propose to handle
> replies to cross-posted messages?

To handle cross-post attempts I would want it to reject them with a
message that says, "Only one group allowed in Newsgroups," or "Follow up
or post to only one group per message allowed." Since it is a private,
hidden server, no cross-posted messages should be feeding in to make
this a common event (hopefully) with follow-up messages.

Is there line in the code where I can code in a hook to pass this off to
one of my own python scripts then return the message to execution in
your PHP program? I'm not too savvy with PHP (except for hacking
Wordpress), or I would try to figure it out myself. If I can put a hook
in the right place to my script, then maybe I could parse the message
headers and return the appropriate values to the RSLite program.
> BTW, I'm working on a bug in cross-posting atm. Not fixed, but it
> is something I'm working on, making sure replies are cross-posted
> properly.
>
> > Restrict posting only to one newsgroup per message, both when
> > using news reader clients and when using web front end.
>
> Again, that can be done with some code changes, and would require
> connecting your newsreader to the rslight NNTP server, not INN2.
> The rslight NNTP server works reasonably well with most clients
> I've tested.

RSLite looks simpler and more hackable than INN2. INN2 is a strange
beast with an enormous learning curve. It seems like overkill for a
private NNTP server. After figuring out how to set it up and test it,
and seeing RSLite has a web portal, I decided the latter will do.

>
> > Also want to ensure RSLite install does not try to sync with any
> > other servers or respond to them if found.
>
> There is a setting in config to specify remote server. Leave that
> empty and rslight has no target to connect to at all for sync.

If another RSLite instance reaches out to mine, will it inadvertently
sync, or will leaving this setting empty also prevent that?

>

1
server_pubkey.txt

rocksolid light 0.9.1
clearnet tor