Article View: news.software.nntp
Article #28886Re: Suggestion for newsserver software to stop Usenet abuse
From: Charles Demas
Date: Sun, 07 Jun 1998 00:00
Date: Sun, 07 Jun 1998 00:00
61 lines
2648 bytes
2648 bytes
In article <6ldlp8$gvo@news1.panix.com>,
<The@NSA.sucks> wrote:
>
>If only something would be added to newsserver software
>to allow groups to set their "affinity" groups allowed
>to crosspost together.
>
>Else bitbucket the crap.
>
>Not censorship: it can always be posted *somewhere*.
>
>---guy, news.admin.net-abuse.usenet
This is easily done in a moderated newsgroup. The moderator can simply
take the newsgroups lines, and if any newsgroup not in the "affinity
group" appears, the post is bounced.
A simple robot could do this.
let's say you put the received post in a file post.txt
then some code something like this could be the basis of that robot:
#!/bin/sh
# Affinity news groups stored in affinity.lst
# bounce_post and write_post are other scripts that take parameters
#
AG=`awk 'NR==1{printf "%s", $0} NR>1{printf "|%s", $0}' affinity.lst
ngs=`awk '/^Newsgroups: / {$1="";print }' post.txt`
bad_ngs=`echo $ngs|tr ',' '\012'| egrep -v "($AG)"`
if $bad_ngs != "";
then bounce_post $bad_ngs post.txt
else write_post post.txt
fi
# end of script
I didn't test this, so there might be some errors, but the general idea
is to extract the newsgroups, and grep them for the ones not in the
affinity list. If any show up, bounce the post back to the sender.
This is easily done without human intervention, and the non
affinity groups found could be sent back to the sender in a message.
Since moderation would allow this, I think there's little point in
creating software to implement this for unmoderated newsgroups.
This is similar to the moderation in n.a.n-a.policy, where no cross
posting is allowed.
Chuck Demas
Needham, Mass.
--
Eat Healthy | _ _ | Nothing would be done at all,
Stay Fit | @ @ | If a man waited to do it so well,
Die Anyway | v | That no one could find fault with it.
demas@tiac.net | \___/ | http://www.tiac.net/users/demas
Technical Details
Message-ID:
<6lf5nc$9he@news-central.tiac.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<6ldlp8$gvo@news1.panix.com>Show Full Headers
Complete Article Headers
Message-ID: <6lf5nc$9he@news-central.tiac.net> Subject: Re: Suggestion for newsserver software to stop Usenet abuse Date: Sun, 07 Jun 1998 00:00:00 +0000 From: demas@sunspot.tiac.net (Charles Demas) References: <6ldlp8$gvo@news1.panix.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 360480323 Distribution: inet Organization: The Internet Access Company, Inc. Newsgroups: news.admin.net-abuse.usenet,news.software.nntp