Article View: news.software.nntp
Article #60574Re: anonymous newsgroup possible?
From: itsy bitsy meowbot
Date: Sat, 21 Sep 2002 02:31
Date: Sat, 21 Sep 2002 02:31
61 lines
3140 bytes
3140 bytes
Brandon wrote:
> Hi. I'd like to set up an anonymous newsgroup for our company,
> sort of like a suggestion box, where people can post thoughts
> or ideas, but their name or IP don't show up in the message or
> header. We run innd. Is there any way to do this?
Yes, you can use the nnrpd filter to do this. See README.perl_hook for
more details; you will need INN to have been built --with-perl
Here is a sample filter_nnrpd.pl that will obscure articles posted to a
newsgroup called local.gripes. Identifying information may still
appear in your logs, so posters will still need to trust you a little
bit.
You'll want to remind posters that things like signatures will defeat
the purpose.
Depending on the what you and your users are using to post, you may
want to clobber other headers too. Experiment and tweak as needed.
use Sys::Hostname;
my $lasttime = 0;
my $serial = 0;
sub filter_post {
my $rval = "";
# Hide the identity in articles posted to the newsgroup local.gripes.
if ($hdr{'Newsgroups'} =~ /,?local\.gripes,?/) {
# Disallow crossposting to avoid unforeseen abuses
if ($hdr{"Newsgroups"} ne "local.gripes") {
$rval = "No crossposting between local.gripes and other groups";
}
else {
$modify_headers = 1;
# Give everyone the same From: header.
$hdr{'From'} = "Anonymous Meoward <nobody\@anon.invalid>";
# Clobber the Message-ID
my $thistime = time();
if ($thistime != $lasttime) {
$serial = 1;
}
else {
$serial++;
}
$lasttime = $thistime;
$hdr{'Message-ID'} = "<$thistime.$$.$serial\@" . hostname() . ">";
# Hide the orignating host.
$hdr{'X-Trace'} = "";
$hdr{'NNTP-Posting-Host'} = "";
$hdr{'Organization'} = "";
}
}
$rval;
}
Technical Details
Message-ID:
<0SQi9.2854$7i2.671@nwrddc02.gnilink.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-out.nuthinbutnews.com!propagator2-sterling!news-in-sterling.newsfeed.com!news-in.nuthinbutnews.com!cyclone1.gnilink.net!spamfinder.gnilink.net!nwrddc02.gnilink.net.POSTED!53ab2750!not-for-mailReferences:
<3D8B6B6A.6879906E@gratuitousgames.com>Show Full Headers
Complete Article Headers
Message-ID: <0SQi9.2854$7i2.671@nwrddc02.gnilink.net> Subject: Re: anonymous newsgroup possible? Date: Sat, 21 Sep 2002 02:31:24 GMT From: itsy bitsy meowbot <53ab2750@meowing.net> References: <3D8B6B6A.6879906E@gratuitousgames.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-out.nuthinbutnews.com!propagator2-sterling!news-in-sterling.newsfeed.com!news-in.nuthinbutnews.com!cyclone1.gnilink.net!spamfinder.gnilink.net!nwrddc02.gnilink.net.POSTED!53ab2750!not-for-mail Newsgroups: news.software.nntp Organization: a tyranny of meowing fascist censor cabalists X-No-Repost: yes Mail-Copies-To: nobody X-Meow: Wouf Lines: 60 NNTP-Posting-Host: 141.154.207.168 X-Complaints-To: abuse@verizon.net X-Trace: nwrddc02.gnilink.net 1032575484 141.154.207.168 (Fri, 20 Sep 2002 22:31:24 EDT) NNTP-Posting-Date: Fri, 20 Sep 2002 22:31:24 EDT