🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
5 messages
5 total messages Started by Brandon Fri, 20 Sep 2002 18:39
anonymous newsgroup possible?
#60562
Author: Brandon
Date: Fri, 20 Sep 2002 18:39
7 lines
1140 bytes
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?

Brandon
Re: anonymous newsgroup possible?
#60563
Author: Gordon Dewis
Date: Fri, 20 Sep 2002 22:19
21 lines
1924 bytes
Brandon <blacavaNOSPAM@gratuitousgames.com> 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?

If you created a moderated group and had all suggestions pass through
a small program that anonymizes the messages before adding the Approved:
header and posting the message, it should do the trick.

Of course, if people have .sigs and other identifying marks, those
would still be in the message unless your 'bot does more processing.

Hope this helps! :)

  --G

-- 
  Gordon Dewis        |  Tired of using "military intelligence" as an example
  BA Hons Geography   |  of an oxymoron?  Try "ethical bulk emailer" instead.
Re: anonymous newsgroup possible?
#60574
Author: itsy bitsy meowbot
Date: Sat, 21 Sep 2002 02:31
61 lines
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;
}
Re: anonymous newsgroup possible?
#60589
Author: Jeffrey M. Vinocur
Date: Sat, 21 Sep 2002 14:56
24 lines
1818 bytes
In article <0SQi9.2854$7i2.671@nwrddc02.gnilink.net>,
itsy bitsy meowbot  <53ab2750@meowing.net> wrote:
>
>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.
>
>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.

An alternative approach would be to clobber *all* of the headers
except for the ones you want to keep (Subject, References, Date,
Xref I guess).  

Although the potential problem with that is that it might
interfere with MIME.  So I guess you'd want to keep the MIME
headers as well.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: anonymous newsgroup possible?
#60711
Author: Brandon
Date: Thu, 26 Sep 2002 17:25
65 lines
3178 bytes
Excellent. Thanks a million.


itsy bitsy meowbot wrote:
> 
> 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;
> }
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads