🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
14 messages
14 total messages Started by George Dimitriadis Tue, 27 Jun 2000 00:00
Can cleanfeed be used also for nnrpd ?
#47132
Author: George Dimitriadis
Date: Tue, 27 Jun 2000 00:00
6 lines
1053 bytes
Can i use the cleanfeed perl filter also for filtering posts except feeds ?

How ?

Re: Can cleanfeed be used also for nnrpd ?
#47144
Author: Jeremy
Date: Tue, 27 Jun 2000 00:00
15 lines
969 bytes
George Dimitriadis  <dimitria@forthnet.gr> wrote:

> Can i use the cleanfeed perl filter also for filtering posts except
> feeds ?

Local posts pass through the filter before being accepted, so you don't
have to do anything special for that to happen.

If you mean using it as a filter_nnrpd.pl, though, no, it's not designed
for that.

-- 
Jeremy  (  jeremy@exit109.com  |  bofh@netscum.dk  )

Re: Can cleanfeed be used also for nnrpd ?
#47140
Author: Brad Knowles
Date: Wed, 28 Jun 2000 00:00
27 lines
2013 bytes
In article <5bgjls03ofof5l5un37n7kiu6lb25adknf@news.wirehub.nl>, Ben C. 
O. Grimm <Ben.Grimm@wirehub.net> wrote:

> filter.wirehub.nl and kluner.wirehub.nl are pathstamps of boxes
> running cleanfeed, which in turn feed my reader machines. With
> the above statement, only articles not having these names in
> their paths will be filtered. And those are only local postings.

    I'm curious to know to what purpose you use this filter -- do you 
have users that attempt to post directly to the reader machines, without 
going through the two named servers?


    I was under the impression that what was desired by the person 
asking the original question was something that could be run on the 
reader servers themselves, perhaps to prevent someone from using a 
"suck" feed from then being able to turn around and submit articles 
successfully via "POST", because the "Path:" header would contain 
non-local elements.

    At the very least, I think that's what I would find it most useful 
for.

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>

Re: Can cleanfeed be used also for nnrpd ?
#47142
Author: Russ Allbery
Date: Wed, 28 Jun 2000 00:00
13 lines
1264 bytes
Paul Tomblin <ptomblin@xcski.com> writes:

> What I would like is something more like the News Gizmo (which I never
> got to work properly) which would warn me if somebody is posting a lot
> (for some vague and unspecified value of "a lot") so I could catch
> somebody attempting to spam from our system.

Have you tried the backoff code?

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

Re: Can cleanfeed be used also for nnrpd ?
#47147
Author: Ben C. O. Grimm
Date: Wed, 28 Jun 2000 00:00
33 lines
2684 bytes
On Wed, 28 Jun 2000 14:43:40 +0200, Brad Knowles
<brad@shub-internet.org> wrote:

> In article <5bgjls03ofof5l5un37n7kiu6lb25adknf@news.wirehub.nl>, Ben C. 
> O. Grimm <Ben.Grimm@wirehub.net> wrote:
 
> > filter.wirehub.nl and kluner.wirehub.nl are pathstamps of boxes
> > running cleanfeed, which in turn feed my reader machines. With
> > the above statement, only articles not having these names in
> > their paths will be filtered. And those are only local postings.
 
>     I'm curious to know to what purpose you use this filter -- do you 
> have users that attempt to post directly to the reader machines, without 
> going through the two named servers?

All users post directly to the reader machines (that won't come as a
surprise, I hope). I want to make users (painfully) aware that their
posts are being rejected at the exact moment they're pressing 'Send'.
And I don't want these articles stored locally and rejected later when
they're going out. I'm moving to a situation where reader machines
(spoolservers) will be forwarding local posts to an XREF-generating
feeder (running Cleanfeed) which will feed them back to the readers.
Does anyone know if this detour will forward Cleanfeed errors directly
to the posting client? If that's the case, I can drop Cleanfeed from
the spoolservers.

-- 
- Ben C. O. Grimm ----------------- Ben.Grimm@wirehub.net -
- Wirehub! Internet Engineering - http://www.wirehub.net/ -
- Wirehub! Backbone --- http://doema.wirehub.net/wirehub/ -
- Private Ponderings ----------- http://www.bengrimm.net/ -

Re: Can cleanfeed be used also for nnrpd ?
#47148
Author: Paul Tomblin
Date: Wed, 28 Jun 2000 00:00
32 lines
2519 bytes
In a previous article, Brad Knowles <brad@shub-internet.org> said:
>    I was under the impression that what was desired by the person 
>asking the original question was something that could be run on the 
>reader servers themselves, perhaps to prevent someone from using a 
>"suck" feed from then being able to turn around and submit articles 
>successfully via "POST", because the "Path:" header would contain 
>non-local elements.
>
>    At the very least, I think that's what I would find it most useful 
>for.

I use the filter_nnrpd.pl in order to enforce some local policy.  We have
"internal" newsgroups, and filter_nnrpd.pl forces people not to cross post
between internal ones and external ones.  We also don't allow our users to
cross post between more thn 7 groups (I wanted the limit to be 4, but I
was overruled), and this filter enforces that as well.

What I would like is something more like the News Gizmo (which I never got
to work properly) which would warn me if somebody is posting a lot (for
some vague and unspecified value of "a lot") so I could catch somebody
attempting to spam from our system.  So far, the only spams I've managed
to nip in the bud were caught because I have bogus moderated newsgroups at
the beginning (in alphabetical order) of several heirarchies with my email
address as the moderator - if somebody is posting to those, I know
something is up.


-- 
Paul Tomblin <ptomblin@xcski.com>, not speaking for anybody
Unix:  When you can't afford the very best.

Re: Can cleanfeed be used also for nnrpd ?
#47149
Author: Ben C. O. Grimm
Date: Wed, 28 Jun 2000 00:00
39 lines
2462 bytes
On 27 Jun 2000 18:53:06 GMT, Jeremy <bofh@netscum.dk> wrote:

> George Dimitriadis  <dimitria@forthnet.gr> wrote:
> 
> > Can i use the cleanfeed perl filter also for filtering posts except
> > feeds ?
 
> Local posts pass through the filter before being accepted, so you don't
> have to do anything special for that to happen.
> If you mean using it as a filter_nnrpd.pl, though, no, it's not designed
> for that.

It can be done by putting something like this in cleanfeed.local
(and putting cleanfeed.local in cleanfeed's config dir):

sub local_filter_before_emp {
        if( ( $hdr{'Path'} =~ /filter.wirehub.nl/i ) || (
$hdr{'Path'} =~ /kluner.wirehub.nl/i ) ) {
                return ( "", "", "OK" ) ;
        } else {
                return "" ;
        }
}

filter.wirehub.nl and kluner.wirehub.nl are pathstamps of boxes
running cleanfeed, which in turn feed my reader machines. With
the above statement, only articles not having these names in
their paths will be filtered. And those are only local postings.
It will give you some slight overhead (all articles will be
passing this path matching process), but way less then a fully
active cleanfeed.

-- 
- Ben C. O. Grimm ----------------- Ben.Grimm@wirehub.net -
- Wirehub! Internet Engineering - http://www.wirehub.net/ -
- Wirehub! Backbone --- http://doema.wirehub.net/wirehub/ -
- Private Ponderings ----------- http://www.bengrimm.net/ -

Re: Can cleanfeed be used also for nnrpd ?
#47166
Author: Russ Allbery
Date: Wed, 28 Jun 2000 00:00
14 lines
1331 bytes
Paul Tomblin <ptomblin@xcski.com> writes:

> The problem is that the people who dial into the server to run a
> newsreader on it aren't using authinfo, but the people using ppp
> connections are.  I hadn't thought about using identd or something like
> that.  I'll have to see if I can make that work.

See authprogs/ident.c; theoretically the INN side of the work should
already be done for you, although I've not tested it.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

Re: Can cleanfeed be used also for nnrpd ?
#47168
Author: Russ Allbery
Date: Wed, 28 Jun 2000 00:00
27 lines
1750 bytes
Paul Tomblin <ptomblin@xcski.com> writes:
> In a previous article, Russ Allbery <rra@stanford.edu> said:

>> Have you tried the backoff code?

> Yeah, it didn't work right.  It's based on IP, not user,

From inn.conf(5) at least in INN 2.3:

     backoffauth
         Whether to index posting backoffs by user rather than by source
         IP address.  You must be using authentication in nnrpd(8) for a
         value of true to have any meaning.  This is a boolean value and
         the default is false.

> so I was seeing backoffs happening for the 400 or so people logged into
> the main interactive server, even though they were each posting just a
> few articles.

If you can get per-user authentication for the interactive server, using
something like identd or the like, the backoff stuff should still work for
you.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

Re: Can cleanfeed be used also for nnrpd ?
#47180
Author: Jack Bryans
Date: Thu, 29 Jun 2000 00:00
18 lines
1335 bytes
ptomblin@xcski.com (Paul Tomblin) writes:

> I use the filter_nnrpd.pl in order to enforce some local policy.  We have
> "internal" newsgroups, and filter_nnrpd.pl forces people not to cross post
> between internal ones and external ones.

We put local groups in distrib.pats specifying a local distribution which
keeps such articles from getting out.

> We also don't allow our users to cross post between more thn 7 groups (I
> wanted the limit to be 4, but I was overruled), and this filter enforces
> that as well.

A G7 flag in all newsfeeds entries can keep this stuff from getting out.

Jack

Re: Can cleanfeed be used also for nnrpd ?
#47182
Author: Paul Tomblin
Date: Thu, 29 Jun 2000 00:00
21 lines
1747 bytes
In a previous article, Russ Allbery <rra@stanford.edu> said:
>Paul Tomblin <ptomblin@xcski.com> writes:
>> What I would like is something more like the News Gizmo (which I never
>> got to work properly) which would warn me if somebody is posting a lot
>> (for some vague and unspecified value of "a lot") so I could catch
>> somebody attempting to spam from our system.
>
>Have you tried the backoff code?

Yeah, it didn't work right.  It's based on IP, not user, so I was seeing
backoffs happening for the 400 or so people logged into the main
interactive server, even though they were each posting just a few
articles.


-- 
Paul Tomblin <ptomblin@xcski.com>, not speaking for anybody
A fool and his money are soon flying more airplane than he can
handle.

Re: Can cleanfeed be used also for nnrpd ?
#47184
Author: Jeremy
Date: Thu, 29 Jun 2000 00:00
18 lines
1416 bytes
Ben C. O. Grimm  <Ben.Grimm@wirehub.net> wrote:

> I'm moving to a situation where reader machines (spoolservers) will be
> forwarding local posts to an XREF-generating feeder (running Cleanfeed)
> which will feed them back to the readers.  Does anyone know if this
> detour will forward Cleanfeed errors directly to the posting client?

Probably depends on the software in use.  With INN, it does.

It's much more fun to watch the spammers dump their spam in hour after
hour, not knowing it's all getting dropped, though.  Our stuff is set
up to return client errors for "honest mistake" filter hits, but
silently eat real spam.

-- 
Jeremy  (  jeremy@exit109.com  |  bofh@netscum.dk  )

Re: Can cleanfeed be used also for nnrpd ?
#47191
Author: Paul Tomblin
Date: Thu, 29 Jun 2000 00:00
18 lines
1719 bytes
In a previous article, Russ Allbery <rra@stanford.edu> said:
>If you can get per-user authentication for the interactive server, using
>something like identd or the like, the backoff stuff should still work for
>you.

The problem is that the people who dial into the server to run a
newsreader on it aren't using authinfo, but the people using ppp
connections are.  I hadn't thought about using identd or something like
that.  I'll have to see if I can make that work.


-- 
Paul Tomblin <ptomblin@xcski.com>, not speaking for anybody
"All life is transitory. A dream. We all come together in the same place at
the end of time. If I don't see you again here, I will see you in a little
while in the place where no shadows fall." - Delenn

Re: Can cleanfeed be used also for nnrpd ?
#47203
Author: Paul Tomblin
Date: Fri, 30 Jun 2000 00:00
22 lines
1799 bytes
In a previous article, Jack Bryans <jbryans@swift.csulb.edu> said:
>ptomblin@xcski.com (Paul Tomblin) writes:
>> We also don't allow our users to cross post between more thn 7 groups (I
>> wanted the limit to be 4, but I was overruled), and this filter enforces
>> that as well.
>
>A G7 flag in all newsfeeds entries can keep this stuff from getting out.

That
a) doesn't stop people from posting them in the first place and
b) doesn't warn people when they're doing it what's going wrong.

With the rule in filter_nnrpd.pl, they get a message when they attempt to
post from the server saying what rule they violated.


-- 
Paul Tomblin <ptomblin@xcski.com>, not speaking for anybody
"Mary had a little key,/She kept it in escrow/And everything that Mary
sent/The Feds were sure to know." - Sam Simpson on sci.crypt

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