🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
8 messages
8 total messages Started by Mike Wilson, UCE Account Tue, 29 Sep 1998 00:00
CleanFeed Question
#31855
Author: Mike Wilson, UCE Account
Date: Tue, 29 Sep 1998 00:00
21 lines
1222 bytes
I've been using CleanFeed for sometime and haven't had a problem until
recently. Now, if I understand this right I should be able to place a domain
in the "badguys" field and if that appears in the path/from/posting host/body as
URL the message will get bounced. If this is the case can someone explain to
me why when I block a domain I still get news from a domain I have blocked.
The domain is clearly present in the path and from.

I've verified that badguys is being read from cleanfeed.conf using the debug
files.

I run Inn 1.7.2insync on Solaris 2.6

Thanks.


-- 
---
Mike Wilson 				http://www.drwho.org
					http://www.pobox.com/~mwilson

Re: CleanFeed Question
#31835
Author: Jeremy
Date: Tue, 29 Sep 1998 00:00
23 lines
1684 bytes
Mike Wilson, UCE Account <uce_mike@yahoo.com> wrote:

> I've been using CleanFeed for sometime and haven't had a problem until
> recently. Now, if I understand this right I should be able to place a
> domain in the "badguys" field and if that appears in the path/from/posting
> host/body as URL the message will get bounced. If this is the case can
> someone explain to me why when I block a domain I still get news from
> a domain I have blocked.  The domain is clearly present in the path
> and from.

Path is not checked, as there's no good way to tell from that whether
something originated from the system in question or is transit traffic.

It should block on the From though.  Keep in mind that .com/.net/etc
is added for you, so don't put that in your entry.  (This is basically
for historical reasons and will very likely change, as the default
badguys list will be going away completely before long.)

-- 
Jeremy  |  jeremy@exit109.com
Here's a nickel, kid.  Go buy yourself a real computer.

Re: CleanFeed Question
#31839
Author: Mike Wilson, UCE Account
Date: Tue, 29 Sep 1998 00:00
20 lines
1313 bytes
Jeremy <jeremy@exit109.com> wrote:
> Path is not checked, as there's no good way to tell from that whether
> something originated from the system in question or is transit traffic.

> It should block on the From though.  Keep in mind that .com/.net/etc
> is added for you, so don't put that in your entry.  (This is basically
> for historical reasons and will very likely change, as the default
> badguys list will be going away completely before long.)

The domain is simply the domain, I also added news\.domain to make sure.
Guess I'll have to add a path check.

Thanks!

-- 
---
Mike Wilson 				http://www.drwho.org
					http://www.pobox.com/~mwilson

Re: CleanFeed Question
#31843
Author: Mike Wilson, UCE Account
Date: Tue, 29 Sep 1998 00:00
48 lines
2092 bytes
Jeremy <jeremy@exit109.com> wrote:
> Path is not checked, as there's no good way to tell from that whether
> something originated from the system in question or is transit traffic.

> It should block on the From though.  Keep in mind that .com/.net/etc
> is added for you, so don't put that in your entry.  (This is basically
> for historical reasons and will very likely change, as the default
> badguys list will be going away completely before long.)


Here is what I added in filter_innd.pl. If you see any problems let me know.

[...]
       if ($config{'check_supersedes_path'}) {
            if (exists $hdr{'Supersedes'}) {
                ($hdr{"Path"} =~ /($config{'bad_cancel_paths'})/o) &&
                    (return reject ("Supersede with $1 in path", "Rogue supersede"));
            }
        }

        #
        #       added msw 9-29-98
        #       checks patch for bagguys
        if ($config{'check_path'}) {
                ($hdr{"Path"} =~ /((?:\b$config{'badguys'})\.(?:$tlds)\b)/o) &&
                (return reject ("Path with $1 in PATH", "PATH Badguy Match"));
        }


        if ($config{'do_bot_checks'}) {
[...]

You also need to add a check_path to cleanfeed.conf:

[...]
   ### Check paths for matches in badguys
   'check_path' => 1,
[...]


So far seems to be working as I wanted.

-- 
---
Mike Wilson 				http://www.drwho.org
					http://www.pobox.com/~mwilson

Re: CleanFeed Question
#31850
Author: Hulsebos A
Date: Wed, 30 Sep 1998 00:00
36 lines
1994 bytes
In article <6ur485$num$1@news1.exit109.com>,
Jeremy  <jeremy@exit109.com> wrote:
>Mike Wilson, UCE Account <uce_mike@yahoo.com> wrote:
>
>> I've been using CleanFeed for sometime and haven't had a problem until
>> recently. Now, if I understand this right I should be able to place a
>> domain in the "badguys" field and if that appears in the path/from/posting
>> host/body as URL the message will get bounced. If this is the case can
>> someone explain to me why when I block a domain I still get news from
>> a domain I have blocked.  The domain is clearly present in the path
>> and from.
>
>Path is not checked, as there's no good way to tell from that whether
>something originated from the system in question or is transit traffic.
>
>It should block on the From though.  Keep in mind that .com/.net/etc
>is added for you, so don't put that in your entry.  (This is basically
>for historical reasons and will very likely change, as the default
>badguys list will be going away completely before long.)

But I think you can put it in the newsfeeds file:

ME/spam_site.com,bad_site.net\

I got the feeling that this is read from the path. Correct me if 
I'm wrong, please.

Cheers,
          Arjan H
-- 
Disclaimer? Whaddayamean, disclaimer? This is 1998!

            Arjan Hulsebos -- arjanh@cs.vu.nl
For more info (last updated June 5,1998): finger -l arjanh@top.cs.vu.nl

Re: CleanFeed Question
#31880
Author: Timothy J. Miller
Date: Wed, 30 Sep 1998 00:00
22 lines
1346 bytes
arjanh@cs.vu.nl (Hulsebos A) writes:

> But I think you can put it in the newsfeeds file:

> ME/spam_site.com,bad_site.net\

> I got the feeling that this is read from the path. Correct me if 
> I'm wrong, please.

	No, you're correct, but this also fails to distinguish between
originating and transit traffic.

	IOW, if bad_site is a leafnode, you don't have a problem.  If
it's not, you could be missing quite a bit of news.

-- 
Cerebus <tmill06@ibm.net>
"Do not piss off the News Admin, for thou art crunchy and taste good with
 ketchup."
		-- Wisdom of the Wires, Scroll XLII.

Re: CleanFeed Question
#31891
Author: Hulsebos A
Date: Wed, 30 Sep 1998 00:00
38 lines
1918 bytes
In article <87hfxpsqjm.fsf@ibm.net>, Timothy J. Miller <tmill06@ibm.net> wrote:
>arjanh@cs.vu.nl (Hulsebos A) writes:
>
>> But I think you can put it in the newsfeeds file:
>
>> ME/spam_site.com,bad_site.net\
>
>> I got the feeling that this is read from the path. Correct me if 
>> I'm wrong, please.
>
>	No, you're correct, but this also fails to distinguish between
>originating and transit traffic.
>
>	IOW, if bad_site is a leafnode, you don't have a problem.  If
>it's not, you could be missing quite a bit of news.

Maybe... I've been chasing open servers lately, and I can get such an open
server to look like it's only a transient server by typing
Path: bad_site!faked.site.1!faked.site.2!faked.site.3!arjanh

I'm quite prepared to drop _anything_ from such a site, as I can't guarantee
that if bad_site does not appear to be a leaf, it really is (or isn't).

>Cerebus <tmill06@ibm.net>
>"Do not piss off the News Admin, for thou art crunchy and taste good with
> ketchup."
>		-- Wisdom of the Wires, Scroll XLII.

Ah, love that phrase. Got more o' that?

Arjan H
-- 
Disclaimer? Whaddayamean, disclaimer? This is 1998!

            Arjan Hulsebos -- arjanh@cs.vu.nl
For more info (last updated June 5,1998): finger -l arjanh@top.cs.vu.nl

Re: CleanFeed Question
#32144
Author: bill davidsen
Date: Mon, 12 Oct 1998 00:00
23 lines
1900 bytes
In article <6utgao$3g0$1@star.cs.vu.nl>, Hulsebos A <arjanh@cs.vu.nl> wrote:

| >	No, you're correct, but this also fails to distinguish between
| >originating and transit traffic.
| >
| >	IOW, if bad_site is a leafnode, you don't have a problem.  If
| >it's not, you could be missing quite a bit of news.
| 
| Maybe... I've been chasing open servers lately, and I can get such an open
| server to look like it's only a transient server by typing
| Path: bad_site!faked.site.1!faked.site.2!faked.site.3!arjanh
| 
| I'm quite prepared to drop _anything_ from such a site, as I can't guarantee
| that if bad_site does not appear to be a leaf, it really is (or isn't).

I think that's a reasonable position. As long as you are sure what you
are dropping is a real bad_site, and not something someone is forging to
cause trouble. Generally the open sites are not major news routing sites.
-- 
    bill davidsen <davidsen@tmr.com>    CTO, TMR Associates, Inc
Never underestimate the power of stupid people in large groups

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