Thread View: news.software.nntp
8 messages
8 total messages
Started by Mike Wilson, UCE Account
Mon, 12 Oct 1998 00:00
CleanFeed, Typhoon, Local Posts
Author: Mike Wilson, UCE Account
Date: Mon, 12 Oct 1998 00:00
Date: Mon, 12 Oct 1998 00:00
20 lines
1249 bytes
1249 bytes
I am trying to sort out using CleanFeed to filter local posts while using Typhoon 1.1.8 on Solaris 2.6. The feed is filtered properly but connections via clients don't filter properly. The error I get is: Oct 12 14:17:29 news-beta typhoond[8469]: Strange reply from POST filter: "335" Permitting article, shutting down filter! Oct 12 14:17:29 news-beta typhoond[8469]: Post filter dead, allowing POST to succeed. My start parameters are: -postprog /news/etc/cleanfeed -program /news/etc/cleanfeed -detailed -detailedstats -groupstats" -- --- Mike Wilson, http://www.drwho.org http://www.pobox.com/~mwilson Resistance is futile. You will be intoxicated.
Re: CleanFeed, Typhoon, Local Posts
Author: Jeremy
Date: Mon, 12 Oct 1998 00:00
Date: Mon, 12 Oct 1998 00:00
17 lines
1414 bytes
1414 bytes
Mike Wilson, UCE Account <uce_mike@yahoo.com> wrote:
> Took both suggestions but it still seems as if the article was accepted.
> I am testing on an INN server running the same script and it rejects
> it right off... I have Typhoon setup to Show the filter rejects in the
> feeds.conf as well. Any other thoughts?
I thought Typhoon always told the client it accepted the post, even when
it didn't? At least that was the behavior of the last version I used,
which was a couple of versions ago.
--
Jeremy | jeremy@exit109.com
"...by God I *KNOW* what this network is for, and you can't have it."
--Russ Allbery
Re: CleanFeed, Typhoon, Local Posts
Author: Andrew
Date: Mon, 12 Oct 1998 00:00
Date: Mon, 12 Oct 1998 00:00
24 lines
1645 bytes
1645 bytes
Jeremy <jeremy@exit109.com> wrote:
> You can't use Cleanfeed as a POST filter. The interface is completely
> different. But local posts go through the program filter anyway, so
> it's okay.
For the record, if it's not too much trouble, I'd like to see a version
of Cleanfeed that can be used as a POST filter. I run my feed filter on
my Cyclone box, and a POST versoin of Cleanfeed for my reader machine
would be nice (I don't want to waste lots o' CPU time filtering an
already-filtered feed).
Oh, BTW:
($body =~ /([Hh][Tt][Tt][Pp]:\/\/?\d{10})/o) &&
(return reject ("Integer URL - $1", "Integer URL"));
Works like a champ. :-)
--
Andrew O. Smith - <aos@insync.net> | "Revenge is so very sweet."
Sysadmin, Insync Internet Services | --Eric Cartman
Houston, Texas, USA |
Re: CleanFeed, Typhoon, Local Posts
Author: Jeremy
Date: Mon, 12 Oct 1998 00:00
Date: Mon, 12 Oct 1998 00:00
27 lines
1602 bytes
1602 bytes
Mike Wilson, UCE Account <uce_mike@yahoo.com> wrote: > I am trying to sort out using CleanFeed to filter local posts while > using Typhoon 1.1.8 on Solaris 2.6. The feed is filtered properly but > connections via clients don't filter properly. The error I get is: > > Oct 12 14:17:29 news-beta typhoond[8469]: Strange reply from POST > filter: "335" Permitting article, shutting down filter! > > Oct 12 14:17:29 news-beta typhoond[8469]: Post filter dead, allowing POST to > succeed. > > My start parameters are: > -postprog /news/etc/cleanfeed -program /news/etc/cleanfeed -detailed > -detailedstats -groupstats" You can't use Cleanfeed as a POST filter. The interface is completely different. But local posts go through the program filter anyway, so it's okay. Also, you need "-body" in there. -- Jeremy | jeremy@exit109.com "I think I speak for everyone here when I say, 'Huh?'" --Buffy
Re: CleanFeed, Typhoon, Local Posts
Author: Dale Ghent
Date: Mon, 12 Oct 1998 00:00
Date: Mon, 12 Oct 1998 00:00
19 lines
1619 bytes
1619 bytes
Mike Wilson, UCE Account <uce_mike@yahoo.com> shaped the electrons to say:
> My start parameters are:
> -postprog /news/etc/cleanfeed -program /news/etc/cleanfeed -detailed -detailedstats -groupstats"
Also, you'll want to add the -body option... so typhoon sends the body of
the article to the filters, as well as the header.
-Dale G.
--
Dale Ghent
Operashunz Sistum Administrat0r and KunG-Foo {web|news} sErver NinJa WARRI0R!
DIGEX, Inc.
daleg@digex.net
-----
SCSI is NOT magic. There are fundamental technical reasons why it is
necessary to sacrifice a young goat to your SCSI chain now and then.
Re: CleanFeed, Typhoon, Local Posts
Author: Dale Ghent
Date: Mon, 12 Oct 1998 00:00
Date: Mon, 12 Oct 1998 00:00
31 lines
2197 bytes
2197 bytes
Mike Wilson, UCE Account <uce_mike@yahoo.com> shaped the electrons to say:
> I am trying to sort out using CleanFeed to filter local posts while
> using Typhoon 1.1.8 on Solaris 2.6. The feed is filtered properly but
> connections via clients don't filter properly. The error I get is:
> Oct 12 14:17:29 news-beta typhoond[8469]: Strange reply from POST filter: "335"
> Permitting article, shutting down filter!
> Oct 12 14:17:29 news-beta typhoond[8469]: Post filter dead, allowing POST to
> succeed.
No, no... donut use cleanfeed as a post filter. Cleanfeed is deisnged to
communicate with the feed filter part of typhoon/cyclone only. using
cleanfeed for BOTH -postprog and -program at the same time is not usefull,
because when using the posting filter, typhoon puts the posted article
thru the post filter first, THEN also sends it thru the feed filter as
well, if one is being ran.
-Dale G.
--
Dale Ghent
Operashunz Sistum Administrat0r and KunG-Foo {web|news} sErver NinJa WARRI0R!
DIGEX, Inc.
daleg@digex.net
-----
SCSI is NOT magic. There are fundamental technical reasons why it is
necessary to sacrifice a young goat to your SCSI chain now and then.
Re: CleanFeed, Typhoon, Local Posts
Author: Mike Wilson, UCE Account
Date: Mon, 12 Oct 1998 00:00
Date: Mon, 12 Oct 1998 00:00
21 lines
1445 bytes
1445 bytes
Dale Ghent <daleg@thermite.digex.net> wrote: > Mike Wilson, UCE Account <uce_mike@yahoo.com> shaped the electrons to say: >> My start parameters are: >> -postprog /news/etc/cleanfeed -program /news/etc/cleanfeed -detailed -detailedstats -groupstats" > Also, you'll want to add the -body option... so typhoon sends the body of > the article to the filters, as well as the header. Took both suggestions but it still seems as if the article was accepted. I am testing on an INN server running the same script and it rejects it right off... I have Typhoon setup to Show the filter rejects in the feeds.conf as well. Any other thoughts? -- --- Mike Wilson, http://www.drwho.org http://www.pobox.com/~mwilson Resistance is futile. You will be intoxicated.
Re: CleanFeed, Typhoon, Local Posts
Author: Mike Wilson, UCE Account
Date: Tue, 13 Oct 1998 00:00
Date: Tue, 13 Oct 1998 00:00
15 lines
1117 bytes
1117 bytes
Andrew <aos@vellocet.insync.net> wrote:
> ($body =~ /([Hh][Tt][Tt][Pp]:\/\/?\d{10})/o) &&
> (return reject ("Integer URL - $1", "Integer URL"));
I've use the following, same but works as well:
($body =~ m%http://\d+/%) &&
(return reject ("DEC url"));
--
---
Mike Wilson, http://www.drwho.org http://www.pobox.com/~mwilson
Resistance is futile. You will be intoxicated.
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