Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Never eat more than you can lift. -- Miss Piggy


rocksolid / Rocksolid Nodes Announce / Re: nocem in rslight

SubjectAuthor
* nocem in rslightRetro Guy
`* nocem in rslightRetro Guy
 `* nocem in rslightRetro Guy
  `- nocem in rslightRetro Guy

1
nocem in rslight

<832219c6c9f4a647f62a0d8510af494e$1@news.novabbs.com>

 copy mid

https://rocksolidbbs.com/rocksolid/article-flat.php?id=83&group=rocksolid.nodes.announce#83

 copy link   Newsgroups: rocksolid.nodes.announce
Path: i2pn2.org!.POSTED!not-for-mail
From: Retro Guy@rslight.i2p (Retro Guy)
Newsgroups: rocksolid.nodes.announce
Subject: nocem in rslight
Date: Wed, 8 Apr 2020 05:29:02 -0000 (UTC)
Organization: Rocksolid Light
Message-ID: <832219c6c9f4a647f62a0d8510af494e$1@news.novabbs.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 8 Apr 2020 05:29:02 -0000 (UTC)
Injection-Info: i2pn2.org; posting-account="retrobbs1";
logging-data="22846"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light (news.novabbs.com/getrslight)
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs.com
X-Rslight-Site: $2y$10$WPAM4yGeB25EkIRBn1Ubc.XdRH01ud17LiOzO3F08WAi7OtLuJlAS
 by: Retro Guy - Wed, 8 Apr 2020 05:29 UTC

I've had nocem working for rslight for a short time, but it's been a bit of a manual process. I now have it fully automated, reading from groups in the same way inn works with it.

The nice part is that since it requires gnupg to verify messages, that has allowed me to integrate gnupg into rslight, which can be used for other things. Thinking mainly about site to site communication via signed or encrypted data via the built in nntp server.

I'm adding configuration now for nocem as to who's posts you want to recognize (which nocem messages to act on). I mostly only act on my own posts, which are mostly spam posted on my own sites. nocem will only act on posts from senders you authorise, and which pass signature verification.

This is working on freebsd and debian.

Retro Guy

--
Posted on: Rocksolid Light
news.novabbs.com

Re: nocem in rslight

<2ea739cb45cdc2b696320f5b32b394d7$1@news.novabbs.com>

 copy mid

https://rocksolidbbs.com/rocksolid/article-flat.php?id=103&group=rocksolid.nodes.announce#103

 copy link   Newsgroups: rocksolid.nodes.announce
Path: i2pn2.org!.POSTED!not-for-mail
From: Retro Guy@rslight.i2p (Retro Guy)
Newsgroups: rocksolid.nodes.announce
Subject: Re: nocem in rslight
Date: Sat, 11 Apr 2020 09:44:02 -0000 (UTC)
Organization: Rocksolid Light
Message-ID: <2ea739cb45cdc2b696320f5b32b394d7$1@news.novabbs.com>
References: <832219c6c9f4a647f62a0d8510af494e$1@news.novabbs.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 11 Apr 2020 09:44:02 -0000 (UTC)
Injection-Info: i2pn2.org; posting-account="retrobbs1";
logging-data="6872"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light (news.novabbs.com/getrslight)
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs.com
X-Spam-Level: *
X-Rslight-Site: $2y$10$y8rkzDQERO7AUq12bu6re./brgPmYPMDTx1rgITZiJ7bi7JauG7rS
 by: Retro Guy - Sat, 11 Apr 2020 09:44 UTC

nocem client is working fine. Just like spamassassin support, it's disabled by default in a new install.

Over the next few weeks, I'll be cleaning up code a bit, fixing indentation, reducing some variable use and of course watching for bugs.

Unless some major bug shows up, 0.6.5a is the latest for now. It will probably be a couple of months before a new version is released. I cleaned up the config files reasonably well in the last release, so the plan is that the next release is just run an upgrade script and you're done.

I separated the config, spool and scripts as best as I could in 0.6.5a, so upgrades should be fairly simple and safe. I just upgraded retrobbs.i2p by extracting an upgrade tgz right over what was installed and no problems.

I'll include some sort of changelog in the next release hopefully. I'm pretty lazy so who knows :)

Retro Guy

--
Posted on: Rocksolid Light
news.novabbs.com

Re: nocem in rslight

<5e21b175e34acffe11922da83431805a$1@news.novabbs.com>

 copy mid

https://rocksolidbbs.com/rocksolid/article-flat.php?id=107&group=rocksolid.nodes.announce#107

 copy link   Newsgroups: rocksolid.nodes.announce
Path: i2pn2.org!.POSTED!not-for-mail
From: Retro Guy@rslight.i2p (Retro Guy)
Newsgroups: rocksolid.nodes.announce
Subject: Re: nocem in rslight
Date: Mon, 13 Apr 2020 10:42:01 -0000 (UTC)
Organization: Rocksolid Light
Message-ID: <5e21b175e34acffe11922da83431805a$1@news.novabbs.com>
References: <832219c6c9f4a647f62a0d8510af494e$1@news.novabbs.com> <2ea739cb45cdc2b696320f5b32b394d7$1@news.novabbs.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 13 Apr 2020 10:42:01 -0000 (UTC)
Injection-Info: i2pn2.org; posting-account="retrobbs1";
logging-data="23255"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light (news.novabbs.com/getrslight)
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs.com
X-Rslight-Site: $2y$10$SVM60OrYLBWdupmYY2gD2.whdNA/oVEZ/ODWF/osVTLMbfCputtR.
 by: Retro Guy - Mon, 13 Apr 2020 10:42 UTC

Working only on bug fixes right now. Nothing major found so far, but cleaning up code, fixing things that probably won't be obvious bugs to anyone, and optimizing what I can.

I'm currently cleaning and reinstalling on one Debian system and one Freebsd system for testing. I'm increasing logging, which helps debugging obviously. After each group of changes (fixes, hopefully), I reinstall to test. So far so good.

Retro Guy

--
Posted on: Rocksolid Light
news.novabbs.com

Re: nocem in rslight

<8cb4dd88ab7c1cde19289ac457906172$1@news.novabbs.com>

 copy mid

https://rocksolidbbs.com/rocksolid/article-flat.php?id=108&group=rocksolid.nodes.announce#108

 copy link   Newsgroups: rocksolid.nodes.announce
Path: i2pn2.org!.POSTED!not-for-mail
From: Retro Guy@rslight.i2p (Retro Guy)
Newsgroups: rocksolid.nodes.announce
Subject: Re: nocem in rslight
Date: Wed, 15 Apr 2020 01:34:02 -0000 (UTC)
Organization: Rocksolid Light
Message-ID: <8cb4dd88ab7c1cde19289ac457906172$1@news.novabbs.com>
References: <832219c6c9f4a647f62a0d8510af494e$1@news.novabbs.com> <2ea739cb45cdc2b696320f5b32b394d7$1@news.novabbs.com> <5e21b175e34acffe11922da83431805a$1@news.novabbs.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 15 Apr 2020 01:34:02 -0000 (UTC)
Injection-Info: i2pn2.org; posting-account="retrobbs1";
logging-data="19410"; mail-complaints-to="usenet@i2pn2.org"
User-Agent: Rocksolid Light (news.novabbs.com/getrslight)
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on novabbs.com
X-Spam-Level: *
X-Rslight-Site: $2y$10$ydB5ethcRVQj7eAwDYMKF.MRW1b1S9znnSeU5mGWPErpZzMrbbQa2
 by: Retro Guy - Wed, 15 Apr 2020 01:34 UTC

Recent fixes:

Detect and handle attempted attacks in overboard.php. While rslight does not use sql, most attacks seem to attempt sql injection, which was leading to unnecessary spool files being created. That is fixed now.

Fixed References: line when messages are posted. If the line is too long, it is wrapped so references are not lost.

Removed function calls from spoolnews.php that are not necessary when polling 'nocem' groups. The 'spoolnews' section is used internally by rslight, and there is no need to update lists and threads as they will never be displayed to a user for this section. This allows this section to depend only on two files, not an entire rslight install.

Removing .lock files when a script exits. Previously, the lock files remained (in system temp dir) and worked fine as the pid in the file is what was read, but now going ahead and deleting the file on script completion.

Renamed nocem temp files (in rslight spool ./nocem) to include group name received from. This doesn't change any functionality, but makes it easier to see if any particular group is not working. Currently still saving these files in /processed or /failed, but will be expiring them after a time in a future mod so as to not waste disk space.

Made a minor change in nntp.php for some newsreaders that won't list groups that are readable but not writable without authenticating. Currently it seems nntp.php works fine with Thunderbird, Knode and tin. I'll be checking slrn soon, but haven't yet. Of course, the main point is that it works with rslight :)

Other "fixes" have included renaming of some variables to make more sense, and making sure that if a feature is disabled (spamassassin, nocem, synchronet etc) in config, they really are disabled in the code.

All testing is being done on freebsd and debian stretch at this time.

Retro Guy

--
Posted on: Rocksolid Light
news.novabbs.com

1
server_pubkey.txt

rocksolid light 0.9.7
clearnet tor