🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
9 messages
9 total messages Started by Rebel Emperor Thu, 02 Sep 2004 14:59
snecked References lines in tradspool!?!?
#69819
Author: Rebel Emperor
Date: Thu, 02 Sep 2004 14:59
27 lines
3457 bytes
I'm getting some odd behaviour reported concerning articles which have long 
References lines. Here's just one example from dozens:

Message-ID: <TFwZc.16336$D7.1186@news-server.bigpond.net.au>

References: <408859e81bc7@danger.diabolik>   <410794BD.1FF9C5C@hotmail.com> <opsburx9fhaiowgp@blue> <4108EAC0.8AC839B9@hotmail.com> <Xns9535CF07692E5meowth@the-way-of-the-parsnip.root-vegetables> <410B7B9E.98622232@hotmail.com> <opsb10nvqraiowgp@blue> <410F6444.76498C8F@hotmail.com> <opscdu7bx5aiowgp@blue> <4118A716.884A37E8@hotmail.com> <opscmkuynaaiowgp@blue> <9547BE37tricksareforkids@207.14.113.17> <opsctrirlzaiowgp@blue> <41230BB3.57CDF853@hotmail.com> <opscxd6smfaiowgp@blue> <EvUYc.14122$D7.9803@news-

Here's what it really is:

References: <408859e81bc7@danger.diabolik>   <410794BD.1FF9C5C@hotmail.com> <opsburx9fhaiowgp@blue> <4108EAC0.8AC839B9@hotmail.com> <Xns9535CF07692E5meowth@the-way-of-the-parsnip.root-vegetables> <410B7B9E.98622232@hotmail.com> <opsb10nvqraiowgp@blue> <410F6444.76498C8F@hotmail.com> <opscdu7bx5aiowgp@blue> <4118A716.884A37E8@hotmail.com> <opscmkuynaaiowgp@blue> <9547BE37tricksareforkids@207.14.113.17> <opsctrirlzaiowgp@blue> <41230BB3.57CDF853@hotmail.com> <opscxd6smfaiowgp@blue> <EvUYc.14122$D7.9803@news-server.bigpond.net.au> <Xns9556526722A7Emeowth@the-way-of-the-parsnip.root-vegetables> <1093944205.26045.4@echo.uk.clara.net> <Xns9556C2F8C7464meowth@the-way-of-the-parsnip.root-vegetables> <1093990455.82550.14@doris.uk.clara.net> <Xns95575DB02D1A5meowth@the-way-of-the-parsnip.root-vegetables> <1094032465.1378.5@iris.uk.clara.net> <Xns95577CD04EB4Dmeowth@the-way-of-the-parsnip.root-vegetables> <1094041150.9427.0@ersa.uk.clara.net> <Xns9557BFA56EBCBmeowth@the-way-of-the-parsnip.root
-vegetables>

These two extracts are from different servers running INN 2.4.0. As far as I 
can tell, the major difference is that the correct copy is being stored into 
CNFS, whereas the truncated copy goes into tradspool. The file itself has the 
line truncated so it's not a reader issue. Including the "References:" keyword
itself, each truncated line is 512 bytes long.

I just looked around briefly in storage/tradspool then back up to FromWireFmt 
in storage/interface.c, but can't see any obvious 512-byte buffers anywhere.

If this hasn't already been found, thrashed to death and fixed (does anyone
still use tradspool?), any tips about where else to look would be 'preciated.
I didn't see anything relevant in the 2.4.1 change log.

TIA.
Re: snecked References lines in tradspool!?!?
#69860
Author: Rebel Emperor
Date: Wed, 08 Sep 2004 15:20
19 lines
1864 bytes
In article <ppM0x.13524$32H.22124@spam.sucks>, Rebel Emperor
<RottenTomatoes@MrHormel> wrote:
>I'm getting some odd behaviour reported concerning articles which have long 
>References lines. Here's just one example from dozens:
>[...]
>These two extracts are from different servers running INN 2.4.0. 

I've now upgraded the server which has the truncated References lines to
2.4.1. Also enabled articlemmap (I assume this is OK for FreeBSD 4.10).
Still the same problem.

So, I've added an entry to newsfeeds writing all the headers for the group 
where I'm seeing this most frequently to a file. I'm hoping this will show
correct References, which should pin down the problem a little more.

It's come to something when even the tech support groups are write-only. ;)

-- 
"Rebellion against tyrants is obedience to God." -- Benjamin Franklin.
Re: snecked References lines in tradspool!?!?
#69861
Author: Rebel Emperor
Date: Wed, 08 Sep 2004 16:02
26 lines
2152 bytes
In article <JKDtu.12871$XDF.18538@spam.sucks>, Rebel Emperor
<RottenTomatoes@MrHormel> wrote:
>In article <ppM0x.13524$32H.22124@spam.sucks>, Rebel Emperor
><RottenTomatoes@MrHormel> wrote:
>>I'm getting some odd behaviour reported concerning articles which have long 
>>References lines. Here's just one example from dozens:
>>[...]
>>These two extracts are from different servers running INN 2.4.0. 
>
>I've now upgraded the server which has the truncated References lines to
>2.4.1. Also enabled articlemmap (I assume this is OK for FreeBSD 4.10).
>Still the same problem.
>
>So, I've added an entry to newsfeeds writing all the headers for the group 
>where I'm seeing this most frequently to a file. I'm hoping this will show
>correct References, which should pin down the problem a little more.

Drat. They're truncated there, too. Hmm. So how come they're OK on the
other servers? Bah.

>It's come to something when even the tech support groups are write-only. ;)

No problem, you can always talk to yourself.

-- 
"Rebellion against tyrants is obedience to God." -- Benjamin Franklin.
Re: snecked References lines in tradspool!?!?
#69862
Author: Russ Allbery
Date: Wed, 08 Sep 2004 17:16
25 lines
2233 bytes
Rebel Emperor <RottenTomatoes@MrHormel> writes:
> Rebel Emperor <RottenTomatoes@MrHormel> wrote:

>> So, I've added an entry to newsfeeds writing all the headers for the
>> group where I'm seeing this most frequently to a file. I'm hoping this
>> will show correct References, which should pin down the problem a
>> little more.

> Drat. They're truncated there, too. Hmm. So how come they're OK on the
> other servers? Bah.

>> It's come to something when even the tech support groups are
>> write-only. ;)

> No problem, you can always talk to yourself.

I'm listening, I just don't have a clue, since I've never seen this
before.  Could you paste the headers of one of the affected articles into
a post here so that we can peer at it and check our own servers?

-- 
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: snecked References lines in tradspool!?!?
#69863
Author: Rebel Emperor
Date: Wed, 08 Sep 2004 19:14
56 lines
4420 bytes
In article <87zn404r6e.fsf@windlord.stanford.edu>, Russ Allbery
<rra@stanford.edu> wrote:
>I'm listening

I knew you were, really. 

>I just don't have a clue, since I've never seen this
>before.  Could you paste the headers of one of the affected articles into
>a post here so that we can peer at it and check our own servers?

OK. Since posting the previous article I got the idea that it might be
the peer box doing the truncation (it's running Diablo) so I rejigged
a low-volume feed so that a "good" inn box (CNFS) was feeding the "bad" 
(tradspool) one instead. And waited... still the same problem. Damn! 

Here's a sample article from the "good" box:

From: Craig Oldfield <craig@craigoldfield.co.uk>
Newsgroups: demon.local
Subject: Re: Senorized bungalows
Date: Wed, 8 Sep 2004 19:20:49 +0100
Organization: thebrink
Lines: 16
Message-ID: <MPG.1ba95ddaa9401fe8989f61@localhost>
References: <F7y2GxAVVlIBFwMD@marage.demon.co.uk> <3kySQlC+gHJBJAre@mail-man.urbed.com> <LXjC7aAN0IJBFw3k@casakaye.com> <E6D+HpA7wJJBJAN8@mail-man.urbed.com> <sEV7f3BUILJBFwDl@casakaye.com> <MPG.1b8ec732bf12fb36989f4c@localhost> <HCtRedA05NJBFwHe@casakaye.com> <ch502r$kji$1@newsg2.svr.pol.co.uk> <q$4KBMAxQgNBFwRo@casakaye.com> <ch51fu$oe3$1@newsg2.svr.pol.co.uk> <iokC4AHC5gNBFwx5@chris-h.demon.co.uk> <ch55au$6v5$1@newsg4.svr.pol.co.uk> <sMOUaKBeAvNBJALu@mail-man.urbed.com> <ltudj0pmf0r6n98g7dfune2vjgm15ma3bh@4ax.com> <8zMg1eAUFwNBJAaL@mail-man.urbed.com> <850544518wnr@nemesis.nu> <ugoUxHCOxDPBJA4H@mail-man.urbed.com> <204022658wnr@nemesis.nu> <C6n$HIDyOZPBJA88@mail-man.urbed.com> <702827435wnr@nemesis.nu> <g$FnmEJ5PuPBJApW@mail-man.urbed.com> <499874657wnr@nemesis.nu>
X-Trace: news.uni-berlin.de wcDMlIq1Yxo8XumuojAZdQyF74DZi9yyvB1V6FmbwN/7MCLcW+
Cancel-Lock: sha1:FqpBbTn0y0Zpn2eKfcptzObIVmE=
X-Newsreader: MicroPlanet Gravity v2.60
X-NFilter: 1.2.0

And here's the same header from the "bad" box:

From: Craig Oldfield <craig@craigoldfield.co.uk>
Newsgroups: demon.local
Subject: Re: Senorized bungalows
Date: Wed, 8 Sep 2004 19:20:49 +0100
Organization: thebrink
Lines: 16
Message-ID: <MPG.1ba95ddaa9401fe8989f61@localhost>
References: <F7y2GxAVVlIBFwMD@marage.demon.co.uk> <3kySQlC+gHJBJAre@mail-man.urbed.com> <LXjC7aAN0IJBFw3k@casakaye.com> <E6D+HpA7wJJBJAN8@mail-man.urbed.com> <sEV7f3BUILJBFwDl@casakaye.com> <MPG.1b8ec732bf12fb36989f4c@localhost> <HCtRedA05NJBFwHe@casakaye.com> <ch502r$kji$1@newsg2.svr.pol.co.uk> <q$4KBMAxQgNBFwRo@casakaye.com> <ch51fu$oe3$1@newsg2.svr.pol.co.uk> <iokC4AHC5gNBFwx5@chris-h.demon.co.uk> <ch55au$6v5$1@newsg4.svr.pol.co.uk> <sMOUaKBeAvNBJALu@mail-man.urbed.com> <ltudj0pmf0r6n98g7dfune2vjgm15ma3
X-Trace: news.uni-berlin.de wcDMlIq1Yxo8XumuojAZdQyF74DZi9yyvB1V6FmbwN/7MCLcW+
Cancel-Lock: sha1:FqpBbTn0y0Zpn2eKfcptzObIVmE=
X-Newsreader: MicroPlanet Gravity v2.60
X-NFilter: 1.2.0

Now, if it was truncating EVERY References line to 512 chars I'd feel a
bit happier. But that's not the case. And what's more, this problem has
only started quite recently, shortly after I moaned at an anon-remailer
troll about stripping all the references from his followups. 

<cue twilight zone theme>

-- 
"Rebellion against tyrants is obedience to God." -- Benjamin Franklin.

Re: snecked References lines in tradspool!?!?
#69864
Author: Russ Allbery
Date: Wed, 08 Sep 2004 21:02
18 lines
2138 bytes
Rebel Emperor <RottenTomatoes@MrHormel> writes:

> Now, if it was truncating EVERY References line to 512 chars I'd feel a
> bit happier. But that's not the case. And what's more, this problem has
> only started quite recently, shortly after I moaned at an anon-remailer
> troll about stripping all the references from his followups.

This one is really boggling me.  INN uses a 1024-character limit on header
lines, and it rejects messages with longer header lines.  It certainly
doesn't truncate.  I don't see any way the header parsing *could* do this,
and the tradspool backend just writes out an iovec that the rest of innd
gives it; it doesn't do any parsing or use a separate buffer.

-- 
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: snecked References lines in tradspool!?!?
#69868
Author: Rebel Emperor
Date: Wed, 08 Sep 2004 23:00
12 lines
1626 bytes
In article <87pt4wzd6k.fsf@windlord.stanford.edu>, Russ Allbery
<rra@stanford.edu> wrote:
>This one is really boggling me.

I feel your pain, but worse, since I didn't write it. :)

Thanks anyways. I'll keep poking at it and post if I find anything.

Why does this always happen to *me*? Bah.

-- 
"Rebellion against tyrants is obedience to God." -- Benjamin Franklin.
Re: snecked References lines in tradspool!?!?
#69873
Author: Andrew - Supernews
Date: Thu, 09 Sep 2004 03:56
17 lines
1733 bytes
On 2004-09-08, Rebel Emperor <RottenTomatoes@MrHormel> wrote:
> In article <87pt4wzd6k.fsf@windlord.stanford.edu>, Russ Allbery
><rra@stanford.edu> wrote:
>>This one is really boggling me.
>
> I feel your pain, but worse, since I didn't write it. :)
>
> Thanks anyways. I'll keep poking at it and post if I find anything.
>
> Why does this always happen to *me*? Bah.

You're not using any sort of sucking feed tool, are you? Some versions of
those have had 512-byte truncation bugs (due to misreading of the nntp spec)

-- 
Andrew, Supernews
http://www.supernews.com - individual and corporate NNTP services
Re: snecked References lines in tradspool!?!?
#69884
Author: Rebel Emperor
Date: Thu, 09 Sep 2004 09:57
8 lines
1381 bytes
In article <slrncjvl3e.2j33.andrew+nonews@trinity.supernews.net>,
andrew@supernews.com wrote:
>You're not using any sort of sucking feed tool, are you? 

Nope. :)

-- 
"Rebellion against tyrants is obedience to God." -- Benjamin Franklin.
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