Article View: rocksolid.nodes.announce
Article #109Re: nocem in rslight
From: Retro Guy Retro Guy
Date: Wed, 15 Apr 2020 01:34
Date: Wed, 15 Apr 2020 01:34
23 lines
3077 bytes
3077 bytes
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
Technical Details
Message-ID:
<8cb4dd88ab7c1cde19289ac457906172$1@news.novabbs.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf9.newsdeef.eu!i2pn2.org!.POSTED!not-for-mailReferences:
<832219c6c9f4a647f62a0d8510af494e$1@news.novabbs.com> <2ea739cb45cdc2b696320f5b32b394d7$1@news.novabbs.com> <5e21b175e34acffe11922da83431805a$1@news.novabbs.com>Show Full Headers
Complete Article Headers
Message-ID: <8cb4dd88ab7c1cde19289ac457906172$1@news.novabbs.com> Subject: Re: nocem in rslight Date: Wed, 15 Apr 2020 01:34:02 +0000 From: Retro Guy@rslight.i2p (Retro Guy) References: <832219c6c9f4a647f62a0d8510af494e$1@news.novabbs.com> <2ea739cb45cdc2b696320f5b32b394d7$1@news.novabbs.com> <5e21b175e34acffe11922da83431805a$1@news.novabbs.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!archive!apf9.newsdeef.eu!i2pn2.org!.POSTED!not-for-mail Newsgroups: rocksolid.nodes.announce Organization: Rocksolid Light 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-Rslight-Site: $2y$10$ydB5ethcRVQj7eAwDYMKF.MRW1b1S9znnSeU5mGWPErpZzMrbbQa2