Thread View: news.software.nntp
19 messages
19 total messages
Started by Bernhard Kohl
Wed, 25 Apr 2001 15:33
cleanfeed Question
Author: Bernhard Kohl
Date: Wed, 25 Apr 2001 15:33
Date: Wed, 25 Apr 2001 15:33
9 lines
1068 bytes
1068 bytes
Hi, is there a way to log the **content** of rejected articles? I want to check if there are rejected articles that better shouldn't. Thanks for any clue. Bernd
Re: cleanfeed Question
Author: Russ Allbery
Date: Wed, 25 Apr 2001 17:10
Date: Wed, 25 Apr 2001 17:10
15 lines
1463 bytes
1463 bytes
Bernhard Kohl <B.Kohl@rrz.uni-koeln.de> writes:
> is there a way to log the **content** of rejected articles? I want to
> check if there are rejected articles that better shouldn't.
Not currently, without modifying Cleanfeed to write the article out into a
spool directory somewhere (and Cleanfeed doesn't have access to the entire
article).
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: cleanfeed Question
Author: Jeremy
Date: Wed, 25 Apr 2001 18:08
Date: Wed, 25 Apr 2001 18:08
19 lines
1400 bytes
1400 bytes
Russ Allbery <rra@stanford.edu> wrote: >> is there a way to log the **content** of rejected articles? I want to >> check if there are rejected articles that better shouldn't. > > Not currently, without modifying Cleanfeed to write the article out into a > spool directory somewhere (and Cleanfeed doesn't have access to the entire > article). The code is in there to write out the articles; you need to add your own code to actually call it when a filter rule is triggered. It does have access to the whole article running on Cyclone/Diablo/etc. On INN you'll get a limited set of headers, but still enough to be useful for debugging. -- Jeremy | jeremy@exit109.com
Re: cleanfeed Question
Author: Bert Hyman
Date: Wed, 25 Apr 2001 18:08
Date: Wed, 25 Apr 2001 18:08
15 lines
1385 bytes
1385 bytes
rra@stanford.edu (Russ Allbery) wrote in
<yllmooaos1.fsf@windlord.stanford.edu>:
> ... (and Cleanfeed doesn't have access
> to the entire article).
>
The body is stored in $hdr('__BODY__'). It's used for counting lines,
doing the MD5 checksums and other things.
I'm looking at Version 0.95.7b 3 September 1998.
--
Bert Hyman | St. Paul, MN | bert@visi.com
Re: cleanfeed Question
Author: Mark Hittinger
Date: Wed, 25 Apr 2001 18:15
Date: Wed, 25 Apr 2001 18:15
13 lines
1273 bytes
1273 bytes
Jeremy <jeremy@exit109.com> writes: >The code is in there to write out the articles; you need to add your own >code to actually call it when a filter rule is triggered. Hey watch your disk space if you do this - it is very easy to run out of space logging all the article bodies that get rejected! Later Mark Hittinger Earthlink bugs@netcom.com
Re: cleanfeed Question
Author: Russ Allbery
Date: Wed, 25 Apr 2001 20:02
Date: Wed, 25 Apr 2001 20:02
22 lines
1735 bytes
1735 bytes
Bert Hyman <bert@visi.com> writes:
> rra@stanford.edu (Russ Allbery) wrote:
>> ... (and Cleanfeed doesn't have access
>> to the entire article).
>>
> The body is stored in $hdr('__BODY__'). It's used for counting lines,
> doing the MD5 checksums and other things.
> I'm looking at Version 0.95.7b 3 September 1998.
It has access to the entire body. It doesn't have access to the entire
article under INN. In particular, it doesn't have access to any of the
headers that INN doesn't consider special.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: cleanfeed Question
Author: Bert Hyman
Date: Wed, 25 Apr 2001 20:12
Date: Wed, 25 Apr 2001 20:12
25 lines
1838 bytes
1838 bytes
rra@stanford.edu (Russ Allbery) wrote in
<ylhezc9298.fsf@windlord.stanford.edu>:
> Bert Hyman <bert@visi.com> writes:
>> rra@stanford.edu (Russ Allbery) wrote:
>
>>> ... (and Cleanfeed doesn't have access
>>> to the entire article).
>>>
>
>> The body is stored in $hdr('__BODY__'). It's used for counting lines,
>> doing the MD5 checksums and other things.
>
>> I'm looking at Version 0.95.7b 3 September 1998.
>
> It has access to the entire body. It doesn't have access to the entire
> article under INN. In particular, it doesn't have access to any of the
> headers that INN doesn't consider special.
>
Details! Somehow, I ->always miss subtle distinctions like that :-(.
--
Bert Hyman | St. Paul, MN | bert@visi.com
Re: cleanfeed Question
Author: Dave Jenkins
Date: Wed, 25 Apr 2001 21:10
Date: Wed, 25 Apr 2001 21:10
33 lines
2478 bytes
2478 bytes
We use openwave/software.com/bcandid/highwind's (boy they have had a lot of names) breeze to limit the amount of spool space dedicated to storing these 'sidelined' messages. We hacked cleanfeed to edit the post so that it goes to a private newsgroup and then post to this breeze instance. The breeze instance has enough disk to store a day's worth of sidelined articles, but the cyclical buffer aspect of its spool management ensures that we never run out of disk. To check the sidelined articles, point your reader at this breeze news server and read the private group. The last day or so ought to be there. This solution might not appeal to those people not already running breeze/typhoon as they'd have to learn how to administer them. I'm sure the same thing could be done with inn/diablo. Dave Mark Hittinger wrote: > > Jeremy <jeremy@exit109.com> writes: > >The code is in there to write out the articles; you need to add your own > >code to actually call it when a filter rule is triggered. > > Hey watch your disk space if you do this - it is very easy to run out of > space logging all the article bodies that get rejected! > > Later > > Mark Hittinger > Earthlink > bugs@netcom.com
Sv.: Re: cleanfeed Question
Author: Diseased Terminally Ill Hideousl...
Date: Thu, 26 Apr 2001 05:48
Date: Thu, 26 Apr 2001 05:48
25 lines
2401 bytes
2401 bytes
"'bugs@netcom.com'" <bugs@netcom.com> schrieb in im Newsbeitrag:9c747q$ml0$1@slb6.atl.mindspring.net... :: >The code is in there to write out the articles; you need to add your own :: >code to actually call it when a filter rule is triggered. :: :: Hey watch your disk space if you do this - it is very easy to run out of :: space logging all the article bodies that get rejected! A site should know how much volume is being rejected (and accepted) and be able to plan accordingly. For example, our customers were posting around 5GB daily (stand late 2000) and a few hundred MB daily, give or take a handful, would be rejected. Therefore, to keep an archive of customer postings for a month along with the logs would have required some 150GB of space. Of course, I've taken action so that our customers no longer flood 2% of the total news volume alone, and today we see a comparable amount of successful and failed posts, a few MB to a couple hundred MB daily, which is a lot easier to keep around until it can be dumped to a permanent storage medium periodically. Ihr Kvindeservice
Sv.: Re: cleanfeed Question
Author: Diseased Highly-Contagious Termi...
Date: Thu, 26 Apr 2001 06:06
Date: Thu, 26 Apr 2001 06:06
28 lines
2709 bytes
2709 bytes
"'rra@stanford.edu'" <rra@stanford.edu> skrev i en nyhedsmeddelelse:ylhezc9298.fsf@windlord.stanford.edu... :: It has access to the entire body. It doesn't have access to the entire :: article under INN. In particular, it doesn't have access to any of the :: headers that INN doesn't consider special. It can, of course, with suitable hacks. Just like I added the ability to pass INN's count of lines as `__LINES__' and article size as `__BYTES__' or `__SIZE__' so that cleanfeed didn't need to chew up time counting lines and deciding what else to do or not to do when the filtering machine was near capacity, quite a while back, there's no reason why someone couldn't do the same thing as `__HEADER__' or something. Of course, those versions of both INN and Cleanfeed would hardly be recognized by their original authors. Truth is, I don't think there would be much of interest in any additional headers of rejected articles. I'd be more interested in the bodies, and in fact, I do log select suspected spam posts with the limited headers and full bodies to decide whether or not I'm being too aggressive or if a rule would work. If anything I'd log more headers in the *successful* posts in the possible case that some spam is slipping past with clues in other headers, but I haven't seen any spammers for a few weeks. Nice, the benefits a heavy-handed reputation as a disagreeable fascist can bring.
Re: cleanfeed Question
Author: Dave Jenkins
Date: Fri, 27 Apr 2001 14:17
Date: Fri, 27 Apr 2001 14:17
22 lines
2141 bytes
2141 bytes
Mike Horwath wrote: > > Dave Jenkins <dave.jenkins@att.net> wrote: > : To check the sidelined articles, point your reader at this breeze news > : server and read the private group. The last day or so ought to be > : there. > > At which breeze server? :) Let me be more clear. I use a typhoon instance for readers, and a separate breeze instance for sidelining posts that cleanfeed doesn't like. breeze only uses a fixed disk space and then overwrites the oldest articles with newer articles, so it meets the requirements of the original poster. So, to read news you point your client at typhoon, to just check what got sidelined, you point your client at the separate breeze instance. Of course, the breeze instance is behind a firewall so only the administrators can access it. Dave
Re: cleanfeed Question
Author: franconews
Date: Fri, 27 Apr 2001 23:24
Date: Fri, 27 Apr 2001 23:24
11 lines
1614 bytes
1614 bytes
Dave Jenkins wrote: > So, to read news you point your client at typhoon, to just check what > got sidelined, you point your client at the separate breeze instance. > Of course, the breeze instance is behind a firewall so only the > administrators can access it. It would be nice if someone could show the cleanfeed hack used to post the article (header and body).
Re: cleanfeed Question
Author: bill davidsen
Date: Mon, 30 Apr 2001 19:13
Date: Mon, 30 Apr 2001 19:13
31 lines
2278 bytes
2278 bytes
In article <Xns908E8599764CCVeebleFetzer@192.61.221.125>,
Bert Hyman <bert@visi.com> wrote:
| rra@stanford.edu (Russ Allbery) wrote in
| <yllmooaos1.fsf@windlord.stanford.edu>:
|
| > ... (and Cleanfeed doesn't have access
| > to the entire article).
| >
|
| The body is stored in $hdr('__BODY__'). It's used for counting lines,
| doing the MD5 checksums and other things.
Counting lines? Why? I've yet to see where the $hdr{'__LINES__'} value
is wrong.
| I'm looking at Version 0.95.7b 3 September 1998.
That old line counting stuff adds overhead and doesn't even work on
newer perl, at least the way my copy was written until I just ripped the
code out by the roots. The C count is already done, save overhead and
use use it;-)
--
bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc
"If a train leaves Chicago at 2:30pm traveling west at 130mph, and
another train leaves Los Angeles at 3:00 traveling east at 155mph, and
at the same time a tree falls in the forest and lands on a mime, where
the hell did I leave my car keys?"
John Q. Public - WCDB
Re: cleanfeed Question
Author: Jeremy
Date: Mon, 30 Apr 2001 20:03
Date: Mon, 30 Apr 2001 20:03
16 lines
1204 bytes
1204 bytes
bill davidsen <davidsen@tmr.com> wrote:
> Counting lines? Why? I've yet to see where the $hdr{'__LINES__'} value
> is wrong.
Um, $hdr{'__LINES__'} is not even *present* in all cases.
> That old line counting stuff adds overhead and doesn't even work on
> newer perl,
No, it doesn't work on newer INN. Particularly, the versions that
have __LINES__.
--
Jeremy | jeremy@exit109.com
Re: cleanfeed Question
Author: bill davidsen
Date: Tue, 01 May 2001 17:20
Date: Tue, 01 May 2001 17:20
23 lines
2072 bytes
2072 bytes
In article <988661034.213950@news.netscum.dk>, Jeremy <jeremy@exit109.com> wrote: | bill davidsen <davidsen@tmr.com> wrote: | > That old line counting stuff adds overhead and doesn't even work on | > newer perl, | | No, it doesn't work on newer INN. Particularly, the versions that | have __LINES__. The original perl source I got for cleanfeed would not compile with perl as of maybe 18 months ago. That's when Russ mentioned __LINES__ just when I was about to do a rewrite. The code was something inobvious, but I don't quickly find the old RCS file. -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc "If a train leaves Chicago at 2:30pm traveling west at 130mph, and another train leaves Los Angeles at 3:00 traveling east at 155mph, and at the same time a tree falls in the forest and lands on a mime, where the hell did I leave my car keys?" John Q. Public - WCDB
Re: cleanfeed Question
Author: Jeremy
Date: Tue, 01 May 2001 19:19
Date: Tue, 01 May 2001 19:19
13 lines
1118 bytes
1118 bytes
bill davidsen <davidsen@tmr.com> wrote: >> No, it doesn't work on newer INN. Particularly, the versions that >> have __LINES__. > > The original perl source I got for cleanfeed would not compile with perl > as of maybe 18 months ago. It only fails to compile under INN. -- Jeremy | jeremy@exit109.com
Re: cleanfeed Question
Author: Russ Allbery
Date: Tue, 01 May 2001 23:42
Date: Tue, 01 May 2001 23:42
19 lines
1659 bytes
1659 bytes
Jeremy <jeremy@exit109.com> writes:
> bill davidsen <davidsen@tmr.com> wrote:
>>> No, it doesn't work on newer INN. Particularly, the versions that
>>> have __LINES__.
>> The original perl source I got for cleanfeed would not compile with perl
>> as of maybe 18 months ago.
> It only fails to compile under INN.
It actually *compiles* just fine; it fails at run-time.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: cleanfeed Question
Author: Rebecca Ore
Date: Wed, 02 May 2001 11:30
Date: Wed, 02 May 2001 11:30
22 lines
1745 bytes
1745 bytes
Russ Allbery <rra@stanford.edu> writes: > Jeremy <jeremy@exit109.com> writes: > > bill davidsen <davidsen@tmr.com> wrote: > > >>> No, it doesn't work on newer INN. Particularly, the versions that > >>> have __LINES__. > > >> The original perl source I got for cleanfeed would not compile with perl > >> as of maybe 18 months ago. > > > It only fails to compile under INN. > > It actually *compiles* just fine; it fails at run-time. There was a change one could make not to have that problem, which I think you posted a while back, Russ. -- Rebecca Ore http://www.ogoense.net/rebecca
Re: cleanfeed Question
Author: Rasmus Bøg Hansen
Date: Wed, 02 May 2001 14:59
Date: Wed, 02 May 2001 14:59
27 lines
2227 bytes
2227 bytes
On 2 May 2001, Rebecca Ore wrote: > > >> The original perl source I got for cleanfeed would not compile with perl > > >> as of maybe 18 months ago. > > > > > It only fails to compile under INN. > > > > It actually *compiles* just fine; it fails at run-time. > > There was a change one could make not to have that problem, which I > think you posted a while back, Russ. There is a cleanfeed patch to make it run under INN 2.3.X on the cleanfeed homepage: http://www.exit109.com/~jeremy/news/cleanfeed.html Be sure to reload inn after applying it. Rasmus -- -- [ Rasmus 'M�ffe' B�g Hansen ] -------------------------------------- Linux hackers are funny people: They count the time in patchlevels. ----------------------------------------- [ Remove 'spam' to reply ] --
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