🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #79972

Cleanfeed - "body ()" rejections

#79972
From: D. Stussy
Date: Mon, 05 Jan 2009 05:56
32 lines
2161 bytes
It would be nice if the current filter were altered to indicate the
REASON why the body of posts are being rejected.  I am sometimes
seeing this on LOCALLY originated posts, but it doesn't tell me what
needs to be fixed....

sub filter_art {
...
        if ($config{aggressive}) {
            if (not $gr{reports} and not $hdr{References}) {
                return reject("Body ($1)", 'Bad Body')
                    if $body =~ /($Bad_Body)/;
            };
        };

=> $1 doesn't seem to be set to anything.  What I am seeing is "437
Body ()".  Bad_Body is set to NULL (or whatever value is chosen if the
file doesn't exist in "read_hashes").

I'm temporarily fixing this by setting aggressive=0.

What's triggering this:  I think the inclusion of a URL (of a news
server's web site) in a post attempted to news.admin.peering is where
I have most recently seen this.  URLs for the servers' statistics
pages need to pass this filter.

Should we have a list of groups where URLs are allowed in article
bodies (NOT including "shorturls")?

Note also - the definition of "IP" assumes IPv4 only.  What about
IPv6?

Technical Details
Message-ID: <gjs7fc$s4a$1@snarked.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!news.musoftware.de!wum.musoftware.de!news.tornevall.net!news.snarked.org!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <gjs7fc$s4a$1@snarked.org>
Subject: Cleanfeed - "body ()" rejections
Date: Sun, 4 Jan 2009 21:56:53 -0800
From: "D. Stussy" <spam@bde-arc.ampr.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!news.musoftware.de!wum.musoftware.de!news.tornevall.net!news.snarked.org!not-for-mail
Newsgroups: news.software.nntp
Lines: 32
Reply-To: "D. Stussy" <replies@newsgroups.kd6lvw.ampr.org>
NNTP-Posting-Host: pool-71-106-211-175.lsanca.dsl-w.verizon.net
X-Trace: snarked.org 1231135020 28810 71.106.211.175 (5 Jan 2009 05:57:00 GMT)
X-Complaints-To: newsmaster@snarked.org
NNTP-Posting-Date: Mon, 5 Jan 2009 05:57:00 +0000 (UTC)
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1478
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1478