Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

An authority is a person who can tell you more about something than you really care to know.


computers / Rocksolid Nodes Help / rslight - how to block all messages with name in path?

SubjectAuthor
* rslight - how to block all messages with name in path?sugarbug
`- rslight - how to block all messages with name inRetro Guy

1
rslight - how to block all messages with name in path?

<tve80j$7o4$1@novabbs.org>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=250&group=rocksolid.nodes.help#250

  copy link   Newsgroups: rocksolid.nodes.help
Path: i2pn2.org!rocksolid2!.POSTED.185.246.188.73!not-for-mail
From: sugarbug3883@mail.ru (sugarbug)
Newsgroups: rocksolid.nodes.help
Subject: rslight - how to block all messages with name in path?
Date: Wed, 22 Mar 2023 01:42:50 -0500
Organization: rocksolid2 (novabbs.org)
Message-ID: <tve80j$7o4$1@novabbs.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 22 Mar 2023 06:42:27 -0000 (UTC)
Injection-Info: novabbs.org; posting-account="sugarbug"; posting-host="185.246.188.73";
logging-data="7940"; mail-complaints-to="usenet@novabbs.org"
 by: sugarbug - Wed, 22 Mar 2023 06:42 UTC

It seems the most effective method to eliminate the lion's share of
spam is to block and refuse to take messages with certain server names
in their path. For example blocking google groups 'google' in the
path would eliminate a huge amount of spam. I do this in my NNTP
clients with filters and most of the spam never makes it to my reader.

I would like to extrapolate this to RocksolidLight. Is there way to list
prohibited paths one per line in a configuration file and have the
software exclude messages during synchronization? Or is there a
workaround?

The idea is that when a bad actor is found allowing spam I could run a
simple command:

$> echo "google" >> rocksolid/killfiles/killfile.paths.list

Then the server would reject or scrub any message containing
'google' in the Path: header of messages so it never touches the
local server or disk and is never forwarded to another peer.

Is there a current workaround for this sort of operation? Let me know
if there is anything I might try.

Of course this suggests related ideas:

killfile.emails.list -> reject article from listed email address
killfile.names.list -> reject article with $name in From: header
killfile.keywords.body.list -> reject article with $keyword in body
killfile.{$headername}.list -> regex arbitrary header for keywords

--

SugarBug

Re: rslight - how to block all messages with name in path?

<ab6afa3037912e6129bccb517c009497@news.novabbs.org>

  copy mid

https://news.novabbs.org/computers/article-flat.php?id=252&group=rocksolid.nodes.help#252

  copy link   Newsgroups: 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: rslight - how to block all messages with name in
path?
Date: Wed, 22 Mar 2023 16:42:44 +0000
Organization: Rocksolid Light
Message-ID: <ab6afa3037912e6129bccb517c009497@news.novabbs.org>
References: <tve80j$7o4$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="27146"; 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$1S4I6fet15A4sDqYZ2VW4.SL0DgHZOiUZ3S5Ch5YkChuchBqOl/be
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|
 by: Retro Guy - Wed, 22 Mar 2023 16:42 UTC

sugarbug wrote:

> It seems the most effective method to eliminate the lion's share of
> spam is to block and refuse to take messages with certain server names
> in their path. For example blocking google groups 'google' in the
> path would eliminate a huge amount of spam. I do this in my NNTP
> clients with filters and most of the spam never makes it to my reader.

Yes, blocking a troublesome server can be helpful. I would suggest making
sure from the PATH line that the message originated at that server, and
didn't just pass through it.

> I would like to extrapolate this to RocksolidLight. Is there way to list
> prohibited paths one per line in a configuration file and have the
> software exclude messages during synchronization? Or is there a
> workaround?

> The idea is that when a bad actor is found allowing spam I could run a
> simple command:

> $> echo "google" >> rocksolid/killfiles/killfile.paths.list

> Then the server would reject or scrub any message containing
> 'google' in the Path: header of messages so it never touches the
> local server or disk and is never forwarded to another peer.

> Is there a current workaround for this sort of operation? Let me know
> if there is anything I might try.

> Of course this suggests related ideas:

> killfile.emails.list -> reject article from listed email address
> killfile.names.list -> reject article with $name in From: header
> killfile.keywords.body.list -> reject article with $keyword in body
> killfile.{$headername}.list -> regex arbitrary header for keywords

rslight does this for posters (From:) in /etc/rslight/banned_names.conf
and this could pretty easily be done for other headers (PATH:, etc.).

Right now I do most of this with spamassassin, for which I wrote a script
to call SA for incoming messages (and posted messages). SA local.cf needs
to be heavily modified to work with for Usenet as opposed to Email.

I can work on these 'killfile' files in the future, but I need to finish
working on manual new user review mod first. Once that's done, I can
get on to new mods.

--
Retro Guy


computers / Rocksolid Nodes Help / rslight - how to block all messages with name in path?

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor