🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
5 messages
5 total messages Started by Christopher A. Manly Thu, 21 Nov 1996 00:00
Question about blocking part of incoming feed
#12540
Author: Christopher A. Manly
Date: Thu, 21 Nov 1996 00:00
31 lines
1645 bytes
Hello all,

This may sound odd, but I'd like to be able to block incoming postings to
a group I carry on my server.

Here's why...A number of the cornell.* groups have leaked out into the
world, and I've been getting complaints from local users about external
spam coming in on groups like cornell.marketplace.  I've send out postings
on news.admin.misc and such, asking folks to remove traces of cornell.*
from non-cornell servers, but I'm not foolish enough to believe that this
will be anywhere near effective (or that rmgrouping everything would, for
that matter).

So, what I'd like to do is reject postings to cornell.* coming in from
off-campus hosts.

I couldn't see a way to do this with the ME: entry in the newsfeeds file,
but I may be wrong.

Ideas?

Thanks.

----------------------------------------------------------------
Christopher A. Manly                            cam2@cornell.edu
CIT                                               (607) 255-4958
             <http://harper-hall.cit.cornell.edu/>


Re: Question about blocking part of incoming feed
#12585
Author: Joe Greco
Date: Fri, 22 Nov 1996 00:00
41 lines
2243 bytes
In article <cam2-2111961717440001@chester.cit.cornell.edu>,
Christopher A. Manly <newsmgr@cornell.edu> wrote:
>Hello all,
>
>This may sound odd, but I'd like to be able to block incoming postings to
>a group I carry on my server.
>
>Here's why...A number of the cornell.* groups have leaked out into the
>world, and I've been getting complaints from local users about external
>spam coming in on groups like cornell.marketplace.  I've send out postings
>on news.admin.misc and such, asking folks to remove traces of cornell.*
>from non-cornell servers, but I'm not foolish enough to believe that this
>will be anywhere near effective (or that rmgrouping everything would, for
>that matter).
>
>So, what I'd like to do is reject postings to cornell.* coming in from
>off-campus hosts.

Advice:

Some sites prefer to take a full feed, for various reasons.  Part of this
includes the fact that sometimes these groups are of interest to off-site
parties.

You would be better off devising a tool to automatically generate a
cancel message for any unknown host/user posting in your local hierarchy.
Known colleagues at distant schools can be exempted and still post to
your hierarchy.

This has the singular advantage of discouraging ECP postings, because 
your cancel message will also cancel crud in several other newsgroups
simultaneously.  ( B^D )

If you do this, I recommend that you consider maintaining a log of 
cancelled messages.  You may find some of your students legitimately
post from other regional ISP's, and it may be unfair to target them.

... JG

Re: Question about blocking part of incoming feed
#12588
Author: James Brister
Date: Fri, 22 Nov 1996 00:00
27 lines
1596 bytes
cam2@cornell.edu (Christopher A. Manly) writes:

> This may sound odd, but I'd like to be able to block incoming postings to
> a group I carry on my server.

[ deleted ]

> I couldn't see a way to do this with the ME: entry in the newsfeeds file,
> but I may be wrong.

The ME line doesn't specify what you reject -- the active file does by not
having the group in it, which isn't what you want. You could either set
up a script to run as a channel process that cancels such articles, if you
could run 1.5 which has perl hooks that will let you reject incoming
articles by running some of each article's headers through a script. 

The channel version shouldn't be too hard to do but there's a small race
condition that may let articles slide through to your downstream sites if
you're feeding via channel feeds.

James
-- 
James Brister                                            brister@vix.com
Internet Software Consortium    http://www.isc.org/isc   inn@isc.org 

Re: Question about blocking part of incoming feed
#12600
Author: Alan Brown
Date: Sat, 23 Nov 1996 00:00
31 lines
1918 bytes
In article <cam2-2111961717440001@chester.cit.cornell.edu>,
Christopher A. Manly <newsmgr@cornell.edu> wrote:

>Here's why...A number of the cornell.* groups have leaked out into the
>world, and I've been getting complaints from local users about external
>spam coming in on groups like cornell.marketplace.  I've send out postings
>on news.admin.misc and such, asking folks to remove traces of cornell.*
>from non-cornell servers, but I'm not foolish enough to believe that this
>will be anywhere near effective (or that rmgrouping everything would, for
>that matter).

Try a checkgroups message and/or nastygrams to site admins where the spam 
is coming from.

These have had some effect in my battle to keep spam out of manawatu.*
inasmuch as spam is down about 80% on what it was...

ME: exclusions won't work on messages crossposted to hierarchies valid on 
your server.

Other than that I suggest a cancelbot. :-)

AB
-- 
"Abba are much better then Green day, Offspring, American Music Club, The 
 Exponents, The Cranberries and Graham Brazier because they had good tunes 
 and an effortless ability to encase 'em in pretty damned stunning pop 
 arrangements." --Chris Knox

Answer: Re: Question about blocking part of incoming feed
#12638
Author: Christopher A. Manly
Date: Mon, 25 Nov 1996 00:00
57 lines
2626 bytes
Thanks to everyone who replied to my query.

There is, in fact, a way to do this built into INN.  It is documented in
the man page for hosts.nntp, although not described in the header of the
sample hosts.nntp file.  In other words, I needed to rtfm a bit more
carefully, I guess.  By using a line like:

news.foo.bar::*,!cornell.*

I can block posts to cornell.* from coming in from news.foo.bar.

Thanks again for the clue rental.

- Chris Manly
  Cornell News Manager

Original query was: 

In article <cam2-2111961717440001@chester.cit.cornell.edu>,
newsmgr@cornell.edu wrote:

> Hello all,
> 
> This may sound odd, but I'd like to be able to block incoming postings to
> a group I carry on my server.
> 
> Here's why...A number of the cornell.* groups have leaked out into the
> world, and I've been getting complaints from local users about external
> spam coming in on groups like cornell.marketplace.  I've send out postings
> on news.admin.misc and such, asking folks to remove traces of cornell.*
> from non-cornell servers, but I'm not foolish enough to believe that this
> will be anywhere near effective (or that rmgrouping everything would, for
> that matter).
> 
> So, what I'd like to do is reject postings to cornell.* coming in from
> off-campus hosts.
> 
> I couldn't see a way to do this with the ME: entry in the newsfeeds file,
> but I may be wrong.
> 
> Ideas?
> 
> Thanks.
> 
> ----------------------------------------------------------------
> Christopher A. Manly                            cam2@cornell.edu
> CIT                                               (607) 255-4958
>              <http://harper-hall.cit.cornell.edu/>

----------------------------------------------------------------
Christopher A. Manly                            cam2@cornell.edu
CIT                                               (607) 255-4958
             <http://harper-hall.cit.cornell.edu/>


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