Article View: news.software.nntp
Article #25637Re: innd dying - maybe a perl filter problem ?
From: Neil Murray
Date: Tue, 27 Jan 1998 00:00
Date: Tue, 27 Jan 1998 00:00
57 lines
2995 bytes
2995 bytes
bem@news.cmc.net (brian moore) writes:
>In article <f5fx.5$P7.1232@newsbastard.gunslinger.net>,
> Jeremy <jeremy@exit109.com> writes:
>> Someone else who experienced it managed to track down the exact
>> article that was causing the problem. It was a regular article,
>> with a few lines of quoted text, a few lines of reponse -- and
>> *fifty thousand* linefeeds at the end. That's more lines than
>> a 1-meg encoded binary. So what happens is, the article hits all
>> those body checks, lots of which are anchored to beginning-of-line,
>> and the filter loses its mind trying to run all those regexps on
>> it.
>I resemble that remark. :)
You resemble that remark I thought I resembled it! :-)
>> There aren't that many of these articles, but a problem can arise
>> when you have multiple feeds, and you'll kill and restart innd,
>> and the same article will end up getting sent to you by another
>> peer, causing the problem to happen all over again.
Yes, had that one. It reminded me of that "Wack-A-Mole" game.
Every time I restarted the news server that damn article appeared via a
different feed (hole).
>Though it did make it possible to find: I inserted the following:
> open(MSGID,">/tmp/msgid");
> print MSGID "$hdr{'Message-ID'}\n";
> close(MSGID);
>Restarted innd and sho' nuff I had the bogo-message ID captured. :)
Didn't think of that myself. When it occurred, I attached to the INND
process using gdb -p <inn pid> and did a backtrace. The backtrace shows the
arguments to each called routine, one of which had the message-id.
I tried restarting INND without cleanfeed so I could receive the
article but I wasn't able to do it in time.
I got the article by spelunking the various "open" news servers around
the world. (I think it was a UK one where I found the article).
As Jeremy mentioned I didn't realise it would eventually make it though
until I had the article and had done some testing on a test news machine.
Good to hear that a fix is due.
--
Neil Murray Email: Neil.Murray@aone.com.au
Access One Pty. Ltd. http://www.aone.net.au/
41 Malcolm Rd., Braeside Phone: +61 3 9239 1444
Victoria, Australia 3195 Fax: +61 3 9587 3954
Technical Details
Message-ID:
<neil.885889407@titanic.mel.aone.com.au>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<6a3ou5$1hgc@unix1.cc.ysu.edu> <f5fx.5$P7.1232@newsbastard.gunslinger.net> <6a40or$neh$1@news.cmc.net>Show Full Headers
Complete Article Headers
Message-ID: <neil.885889407@titanic.mel.aone.com.au> Subject: Re: innd dying - maybe a perl filter problem ? Date: Tue, 27 Jan 1998 00:00:00 +0000 From: neil@titanic.mel.aone.com.au (Neil Murray) References: <6a3ou5$1hgc@unix1.cc.ysu.edu> <f5fx.5$P7.1232@newsbastard.gunslinger.net> <6a40or$neh$1@news.cmc.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 319656130 Organization: Access-One Pty. Ltd., Melbourne, Australia Newsgroups: news.software.nntp