Thread View: news.software.nntp
6 messages
6 total messages
Started by Lance A. Brown
Sun, 04 Jan 1998 00:00
CleanFeed 0.95.1 blocking local posts as MD5 EMP
Author: Lance A. Brown
Date: Sun, 04 Jan 1998 00:00
Date: Sun, 04 Jan 1998 00:00
46 lines
2385 bytes
2385 bytes
Greetings,
I'm running inn 1.7.2 with Insync 1.1d, CleanFeed 0.95.1, and perl
5.00404 on a dec Alpha 2100.
CleanFeed is rejecting any postings from my local users to any group
except *.test (which are exempted fromt he md5 test) as MD5 detected
EMP. Is anyone else seeing this problem?
My settings for CleanFeed are:
$maxgroups = 5; # maximum number of groups in a crosspost
$maxfollowups = 3; # followups less than this is ok
$md5maxmultiposts = 5; # start rejecting after this many copies
$maxmultiposts = 10; # max for posting-host and from/subj/lines filters
$tjfmaxgroups = 3; # max xposts in test, forsale, jobs groups
$ArticleHistSize = 8500; # keep history of last N EMP ids
$EMPmaxlife = 24; # time to keep EMP ids, in hours
$MD5maxlife = 24; # same, for md5 ids
$EMPHistSize = 4000; # max number of EMP ids to hold in memory
$MD5HistSize = 4000; # same, for md5 ids
$EMPstarttrimming = 500; # do not waste time trimming until this many entries
$trimcycles = 450; # trim EMP hashes every N cycles through filter
$verbose = 1; # stick lots of cool stuff into news.notice?
$block_binaries = 1; # set to 1 to block misplaced binaries
$max_encoded_lines = 15; # number of encoded binary lines to allow
$block_mime_html = 1; # set to 1 to block MIME encapsulated HTML
# (NOT straight or multipart/alternative)
$block_html = 1; # set to 1 to block HTML and multipart/alternative
$statfile = undef; # crude stats for tuning purposes; undef to disable
# binaries allowed if groups match
$bin_allowed = '\.binaries|alt\.sex\.pictures|alt\.anonymous\.messages';
# md5 EMP check not done if groups match
$md5exclude = '\.test';
$allexclude = '^clari\.';
# Uncomment these two lines to use the MD5 filter (read the docs!)
my $md5;
eval {require MD5; $md5 = new MD5};
Re: CleanFeed 0.95.1 blocking local posts as MD5 EMP
Author: Jeremy
Date: Mon, 05 Jan 1998 00:00
Date: Mon, 05 Jan 1998 00:00
37 lines
1918 bytes
1918 bytes
Lance A. Brown <brown9@niehs.nih.gov> wrote:
> I'm running inn 1.7.2 with Insync 1.1d, CleanFeed 0.95.1, and perl
> 5.00404 on a dec Alpha 2100.
>
> CleanFeed is rejecting any postings from my local users to any group
> except *.test (which are exempted fromt he md5 test) as MD5 detected
> EMP. Is anyone else seeing this problem?
Well. I'm confused. I've no idea why that would happen.
Try this. Near the top of the filter_art subroutine, there's a bit
that goes like this:
if ($md5EMP{$md5hash}) {
$md5EMP{$md5hash} = $now;
return reject ("EMP rejected" . ($verbose ? " (md5)" : ""));
}
It'll probably be a little different in your 0.95.1, $now will probably
just be 'time' and it will just say 'return' instead of 'return reject'.
No matter. Take the part that says " (md5)" and change it to
" (md5) $md5hash". Thus, the hash will be logged with the rejection.
Now post a couple of articles; make sure the body text is different. If
they get rejected, find the news.notice log entries for the rejections
and compare the hashes to see if the filter thinks they are identical
when in fact they are not.
Did "make test" on your MD5 installation work right?
--
Jeremy | jeremy@exit109.com
"Never tell me the odds." --Han Solo
Re: CleanFeed 0.95.1 blocking local posts as MD5 EMP
Author: Dougal Campbell
Date: Mon, 05 Jan 1998 00:00
Date: Mon, 05 Jan 1998 00:00
23 lines
1469 bytes
1469 bytes
Lance A. Brown <brown9@niehs.nih.gov> wrote:
> Jeremy <jeremy@exit109.com> writes:
[....]
> > Did "make test" on your MD5 installation work right?
> Yes. It passes all 14 tests. I've disabled the md5 check for now
> until I figure out what is going on.
Is there possibly an old version of Perl and/or MD5 hanging around on
your system? And if so, did you doublecheck all your PERL settings in
config.data and make sure that you're pointing to the correct perl
executable, and all that fun stuff?
--
Dougal Campbell, Systems Manager, ADViCOM dougal@advicom.net
http://www.advicom.net/ http://advicom.net/~dougal/
See my homepage for anti-spam information!
QUOTE OF THE MOMENT:
As Zeus said to Narcissus, "Watch yourself."
Re: CleanFeed 0.95.1 blocking local posts as MD5 EMP
Author: Jeremy
Date: Mon, 05 Jan 1998 00:00
Date: Mon, 05 Jan 1998 00:00
16 lines
1184 bytes
1184 bytes
Lance A. Brown <brown9@niehs.nih.gov> wrote: > Nope. Even worse. Somehow I managed to leave out or back out the > patch to innd/perl.c that makes the article body available as a > paramter to HandleArticle. No wonder I was getting the same hash for > rejected articles. I was beginning to suspect that, actually. The next release shall have a sanity check. :) -- Jeremy | jeremy@exit109.com Here's a nickel, kid. Go buy yourself a real computer.
Re: CleanFeed 0.95.1 blocking local posts as MD5 EMP
Author: Lance A. Brown
Date: Mon, 05 Jan 1998 00:00
Date: Mon, 05 Jan 1998 00:00
19 lines
1156 bytes
1156 bytes
Jeremy <jeremy@exit109.com> writes: > Now post a couple of articles; make sure the body text is different. If > they get rejected, find the news.notice log entries for the rejections > and compare the hashes to see if the filter thinks they are identical > when in fact they are not. Did this and found that every rejection has the same hash value! Very disturbing. > Did "make test" on your MD5 installation work right? Yes. It passes all 14 tests. I've disabled the md5 check for now until I figure out what is going on. --[Lance]
Re: CleanFeed 0.95.1 blocking local posts as MD5 EMP
Author: Lance A. Brown
Date: Mon, 05 Jan 1998 00:00
Date: Mon, 05 Jan 1998 00:00
23 lines
1482 bytes
1482 bytes
Dougal Campbell <dougal@vespucci.advicom.net> writes: > Is there possibly an old version of Perl and/or MD5 hanging around on > your system? And if so, did you doublecheck all your PERL settings in > config.data and make sure that you're pointing to the correct perl > executable, and all that fun stuff? Nope. Even worse. Somehow I managed to leave out or back out the patch to innd/perl.c that makes the article body available as a paramter to HandleArticle. No wonder I was getting the same hash for rejected articles. So I went back to square one with fresh sources, applied the Insync1.1d patch, did 'make all' and 'make update' and now everything is working the way it is supposed to. I still can't figure out where I went wrong before to leave out that particular patch. --[Lance]
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