🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
16 messages
16 total messages Started by Curt Welch Tue, 04 Dec 2001 20:24
Corrupted articles from t-online.de - LF in headers issues
#55468
Author: Curt Welch
Date: Tue, 04 Dec 2001 20:24
128 lines
7303 bytes
I've noticed my server has been rejecting some messages because they didn't
have a Message-ID when I received them.  When I added some debug code
to dump the article as received, I found the problem wasn't with the
Message-ID: header, but with the Lines: header that came before it which
  was terminated with only a LF instead of a CR LF.

Here's an example of what I've been receiving: (Path folded by me,
and ^M added to show which lines have CR LF pairs and which don't).

  Path: netnews.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!
        newsfeed01.sul.t-online.de!t-online.de!news.netobjects.com!
        subtronics.com^M
  From: "turtle - <TNO>" <newsgroupsupport@gotfusion.com>^M
  Newsgroups: netobjects.fusionmx.gen-discuss^M
  Subject: Re: did ya miss me?^M
  Date: Mon, 3 Dec 2001 15:02:55 -0500^M
  Organization: --^M
  Lines: 191
  Message-ID: <3c0bdae6@subtronics.com>^M

That was from a peer running NNTPRelay which passed me the article
with a Lines: header that was terminated with only a line feed instead
of a CR LF pair.  My server requires a CR LF to end the header, so my
server thought the Message-ID was really part of the Lines: header,
so it rejected the article because it had no Message-ID: header.

A second version of the same article was passed to me from a peer runing
Diablo:

  Path: news-out.visi.com!hermes.visi.com!news.maxwell.syr.edu!
        newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!
        t-online.de!news.netobjects.com!subtronics.com^M
  From: "turtle - <TNO>" <newsgroupsupport@gotfusion.com>^M
  Newsgroups: netobjects.fusionmx.gen-discuss^M
  Subject: Re: did ya miss me?^M
  Date: Mon, 3 Dec 2001 15:02:55 -0500^M
  Organization: --^M
  Lines: 191^M
  essage-ID: <3c0bdae6@subtronics.com>^M

In this version of the article, the Lines: header has both a CR and a LF,
but the M from the Message-ID: header has been removed.  I'm guessing that
is a bug in the code which tried to fix the LF problem but ended up
overwriting the M in the processes.  I'm assuming this is a Diablo bug
because the diablo server that offered me the article "knew" it's correct
Message-ID, and if the Message-ID header had been corrupted by some other
server, diablo would never had offered me the article.

I then received a good copy of the article from this rather long path:

  Path: news2.newsreader.com!feed1.newsreader.com!portc03.blue.aol.com!
        uunet!dca.uu.net!ash.uu.net!npeer.kpnqwest.net!
        lnewspeer00.lnd.ops.eu.uu.net!emea.uu.net!
        newsfeed01.sul.t-online.de!t-online.de!
        news.netobjects.com!subtronics.com

I'm assuming that some server in that path managed to add the missing CR to
the Lines: header, or maybe the newsfeed00.sul.t-online.de server is the
one corrupting the articles since the above "good" version of the article
didn't pass though it.

I've received maybe 40 articles like this in the past few days, and the
only thing they seem to have in common is that they all share this segment
of path:

   newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de

They all have come from different servers, and were posted with different
newsreaders.  The only ones I'm seeing rejected are the ones where the
Message-ID follows the Lines: header, but I suspect more articles are
comming though with problems with the Lines: header as well, but the header
after it isn't as important, so it's not being rejected.

This points to multiple problems.

First, some server, probably something at t-oneline.de is messing up Lines:
headers as article pass though them.  That of course is not good.  I'm
guessing it's a bug in some code which is attempting to fix Lines: headers.
Anyone know the people that run the t-online.de servers? Anybody know what
software they use?

Second, it looks like the visi Diablo servers have a nasty little bug
in them where the first character from the next line is lost.  Is this
a general Diablo bug or just one in the version that visi is running? Joe?
Mike?

Second, what is the correct thing to do with these articles?  As it is,
with some servers passing these articles and some rejecting, and some
cleaning up the headers incorrectly, and some fixing the headers, there's a
lot of bandwidth being wasted as N copies of these articles are being
passed around and rejected.  I received at least 3 copies of the above
article for example.  For small text articles (which seems to be mostly
what I've seen this bug in so far), it's not all that much of a problem,
but if it starts to happen to huge multipart binary posts, that will waste
a lot of bandwidth.

There are multiple ways in which I could change my server to fix my
problem, but what is correct?  I can for example change the code for
parsing headers to allow them to end with only an LF.  I would then stop
rejecting the articles above and that would prevent me from getting
multiple copies of the same article sent to me.  But if I pass them along
un-changed to my peers, I would risk wasting bandwidth sending stuff that
they would then reject.  I could accept the article, but then not pass it
along.  But then my readers would not get to see any version of the
article.  Currently, they end up seeing the version which someone along the
path "fixed".  Or I could write code to "fix" these articles - which would
have the best results for this example, but which is clearly not the
"right" thing to do.

I wonder how all the other servers of the world deal with these?

It looks like NNTPRelay considers headers to end with an LF and is able to
pass the articles unchanged with LF or CR LF at the end of each header.
And the maxwell.syr.edu server seems to do the same.

I would have expected Diablo to change the LF to a CR LF but in this case,
it looks likes it's even more broken than that.

I haven't noticed any of these broken articles from my Cyclone peers, so
I'm guessing Cyclone is rejecting these articles.  But it might be fixing
them instead by changing the LF to a CR LF.  Anybody know?

What does INN do with these?

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Re: Corrupted articles from t-online.de - LF in headers issues
#55470
Author: Andrew Gierth
Date: Tue, 04 Dec 2001 21:41
29 lines
2109 bytes
>>>>> "Curt" == Curt Welch <curt@kcwc.com> writes:

 Curt> I've received maybe 40 articles like this in the past few days,
 Curt> and the only thing they seem to have in common is that they all
 Curt> share this segment of path:

 Curt>    newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de

 Curt> They all have come from different servers, and were posted with
 Curt> different newsreaders.

t-online.de are one of the biggest offenders in the practice of
sucking off news from specialised private-hierarchy servers and
propagating it into the general news feed. Were all the articles
involved sucked in this way?

 Curt> This points to multiple problems.

 Curt> First, some server, probably something at t-oneline.de is
 Curt> messing up Lines: headers as article pass though them.  That of
 Curt> course is not good.  I'm guessing it's a bug in some code which
 Curt> is attempting to fix Lines: headers.

My guess it's a bug in their suck-feed, and the fix is to stop doing
that.

-- 
Andrew.
Re: Corrupted articles from t-online.de - LF in headers issues
#55469
Author: Curt Welch
Date: Tue, 04 Dec 2001 22:00
49 lines
3123 bytes
Andrew Gierth <andrew@erlenstar.demon.co.uk> wrote:
> >>>>> "Curt" == Curt Welch <curt@kcwc.com> writes:
>
>  Curt> I've received maybe 40 articles like this in the past few days,
>  Curt> and the only thing they seem to have in common is that they all
>  Curt> share this segment of path:
>
>  Curt>    newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de
>
>  Curt> They all have come from different servers, and were posted with
>  Curt> different newsreaders.
>
> t-online.de are one of the biggest offenders in the practice of
> sucking off news from specialised private-hierarchy servers and
> propagating it into the general news feed. Were all the articles
> involved sucked in this way?

Looks like they probably were.  The newsgroups which the articles
were posted to were all from one of these these hierarchies:

 ibm.software.*
 netobjects.*
 netscape.public.mozilla.*
 novell.support.*

>  Curt> This points to multiple problems.
>
>  Curt> First, some server, probably something at t-oneline.de is
>  Curt> messing up Lines: headers as article pass though them.  That of
>  Curt> course is not good.  I'm guessing it's a bug in some code which
>  Curt> is attempting to fix Lines: headers.
>
> My guess it's a bug in their suck-feed, and the fix is to stop doing
> that.

Yeah, whatever the bug is, it needs to be fixed at their end for those
articles.  But it still shows that we have general inconsistencies with how
news server deal with a LF in a header, and the complex types of problems
(lost articles, wasted bandwidth) which this causes.  It would be nice if
we could figure out the correct solution to that problem as well.

I'm going to add some code in my server to identify all the articles which
have an LF in the headers to see how much of problem this might be in
general.]

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Re: Corrupted articles from t-online.de - LF in headers issues
#55474
Author: Russell Vincent
Date: Tue, 04 Dec 2001 23:53
17 lines
1674 bytes
Curt Welch <curt@kcwc.com> wrote:
> Second, it looks like the visi Diablo servers have a nasty little bug
> in them where the first character from the next line is lost.  Is this
> a general Diablo bug or just one in the version that visi is running? Joe?
> Mike?

Yeah - Mike is probably running the very latest dev code with
wireformat handling. I have just fixed the bug in the dnewslink
process that was mishandling header lines with a missing CR.

Thanks for the report.

Mike: You want to update your dnewslink.c.

 -Russell

Re: Corrupted articles from t-online.de - LF in headers issues
#55478
Author: J.B. Moreno
Date: Wed, 05 Dec 2001 04:18
18 lines
1802 bytes
In article <20011204170029.729$fH@newsreader.com>,
 Curt Welch <curt@kcwc.com> wrote:

> I'm going to add some code in my server to identify all the articles which
> have an LF in the headers to see how much of problem this might be in
> general.]

I don't know if it's related, but Luu Tran recently pointed out a
somewhat similar problem (X-Face with missing CRLF) with my articles as
posted to news.cis.dfn.de (which shows the path as uni-berlin.de).

See his article <Xns9169C4A42EBD8luutrangeocities@63.169.72.7> and my
followups <1f3po8l.rsnckf11xrrzbN%planb@newsreaders.com> and
<1f3pq84.1dvxs2fxzt7ydN%planb@newsreaders.com> for more details.

-- 
J.B Moreno
Re: Corrupted articles from t-online.de - LF in headers issues
#55484
Author: The Archiver
Date: Wed, 05 Dec 2001 08:47
19 lines
1653 bytes
Andrew Gierth <andrew@erlenstar.demon.co.uk> wrote:

>t-online.de are one of the biggest offenders in the practice of
>sucking off news from specialised private-hierarchy servers and
>propagating it into the general news feed. 

Please allow me an off-topic question here:

Is the downloading from private hierarchy servers a bad behavior
or the propagation to the rest of Usenet?

T-Online is a very large service (>9 Mio customers) and I believe
that their method to offer also all the private hierarchies is a great
reduction of workload on the servers which offer it.

-- 
The Archiver

Re: Corrupted articles from t-online.de - LF in headers issues
#55486
Author: M. Buchenrieder
Date: Wed, 05 Dec 2001 09:01
35 lines
2116 bytes
Andrew Gierth <andrew@erlenstar.demon.co.uk> writes:

> "Curt" == Curt Welch <curt@kcwc.com> writes:

> Curt> They all have come from different servers, and were posted with
> Curt> different newsreaders.

>t-online.de are one of the biggest offenders in the practice of
>sucking off news from specialised private-hierarchy servers and
>propagating it into the general news feed. 

[...]

And what's worse, they are _the_ big provider of Internet and
Usenet access in Germany, with an estimated 10 million customers.
T-Online is/was a subsidiary of Germany's TelCo monopolist
Deutsche Telekom AG, unless they split up their business two years
ago.

As far as I can see, the article provided by Curt originated
from the NetObjects server (AFAIR, the netobjects.* hierarchy
is maintained by NetObjects, software company (Fusion, MX etc.).

>My guess it's a bug in their suck-feed, and the fix is to stop doing
>that.

And it's not very likely that they'll listen to you.
:-(

Michael
-- 
Michael Buchenrieder * mibu@scrum.greenie.muc.de * http://www.muc.de/~mibu
          Lumber Cartel Unit #456 (TINLC) & Official Netscum
    Note: If you want me to send you email, don't munge your address.
Re: Corrupted articles from t-online.de - LF in headers issues
#55487
Author: The Archiver
Date: Wed, 05 Dec 2001 09:39
14 lines
1409 bytes
curt@kcwc.com (Curt Welch) wrote:

>I wonder how all the other servers of the world deal with these?

My own toy (MyNews) is always treating CRLF or LF as a line 
terminator on incoming articles - and it is always storing and sending 
articles with the CRLF - so it converts LF into CRLF automatically.

I hope this is an acceptable strategy (as it might alter bodies).

-- 
The Archiver
  
Re: Corrupted articles from t-online.de - LF in headers issues
#55494
Author: Curt Welch
Date: Wed, 05 Dec 2001 17:01
21 lines
1920 bytes
M. Buchenrieder <mibu@scrum.muc.de> wrote:
> Andrew Gierth <andrew@erlenstar.demon.co.uk> writes:

> As far as I can see, the article provided by Curt originated
> from the NetObjects server (AFAIR, the netobjects.* hierarchy
> is maintained by NetObjects, software company (Fusion, MX etc.).
>
> >My guess it's a bug in their suck-feed, and the fix is to stop doing
> >that.
>
> And it's not very likely that they'll listen to you.
> :-(

I received a e-mail from them saying they had stopped their suck feeds and
will fix the problem.  I haven't noticed any more of those articles showing
up here since I received the letter.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Re: Corrupted articles from t-online.de - LF in headers issues
#55495
Author: Curt Welch
Date: Wed, 05 Dec 2001 17:53
49 lines
3074 bytes
curt@kcwc.com (Curt Welch) wrote:
> M. Buchenrieder <mibu@scrum.muc.de> wrote:
> > Andrew Gierth <andrew@erlenstar.demon.co.uk> writes:
>
> > As far as I can see, the article provided by Curt originated
> > from the NetObjects server (AFAIR, the netobjects.* hierarchy
> > is maintained by NetObjects, software company (Fusion, MX etc.).
> >
> > >My guess it's a bug in their suck-feed, and the fix is to stop doing
> > >that.
> >
> > And it's not very likely that they'll listen to you.
> > :-(
>
> I received a e-mail from them saying they had stopped their suck feeds
> and will fix the problem.  I haven't noticed any more of those articles
> showing up here since I received the letter.

And I've also received a second letter saying it is now fixed.  It was
caused by an obscure bug in suck which sometimes omitted the CR characters
in lines which were 10 characters long.  i.e. "Lines: NNN".  Checking my
logs, I see every article that had the problem did have a 3 digit number
in the Lines: header so that's consistent.

And so far today, I haven't seen any more articles with the problem.

I have some code looking for all articles with extra LFs in the header and
since yesterday, it has seen less than 300 total.  I haven't noticed any
which falsely tried to end a header with only a LF (which was the cause of
the orginal problem in this thread).  All the LFs were incorrectly used on
multiline headers. The number of headers of each type seen in the past 12
hours or so are which contain a LF character:

   1 Mime-Version:
   1 Return-Path:
   1 X-Newsreader-location:
   1 X-NoSpam-IT:
   1 X-NoSpam-US:
   4 X-Mailer:
  11 User-Agent:
  13 References:
  34 Subject:
  78 X-Face:
  81 Content-Type:

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Propagating sucked hierarchies
#55663
Author: earl of surl
Date: Tue, 18 Dec 2001 07:50
18 lines
1997 bytes
In article <38479.5c1202@archiver.winews.net>,
The Archiver <archiver@i3w.com> wrote:
>Please allow me an off-topic question here:
>Is the downloading from private hierarchy servers a bad behavior
>or the propagation to the rest of Usenet?

Sucking down a whole hierarchy (without permission) is in bad taste
but tolerable.  Sucking down a whole hierarchy and then propagating is
utterly impolite.  I have blocked entire sites which i've caught doing
that.

rone
-- 
   This .signature file was manufactured to meet critical quality standards.
	      If you believe the file has a manufacturing defect,
       please email our Quality Management Department at <QM@ennui.org>.
	    New Jersey residents should email <jjaschke@verio.net>.
Re: Propagating sucked hierarchies
#55677
Author: The Archiver
Date: Wed, 19 Dec 2001 08:55
17 lines
1543 bytes
"earl of surl" <^#*&$@ennui.org> wrote:

>>Please allow me an off-topic question here:
>>Is the downloading from private hierarchy servers a bad behavior
>>or the propagation to the rest of Usenet?
>
>Sucking down a whole hierarchy (without permission) is in bad taste
>but tolerable.  Sucking down a whole hierarchy and then propagating is
>utterly impolite.  I have blocked entire sites which i've caught doing
>that.

Thanks for this background information.

-- 
The Archiver

Re: Corrupted articles from t-online.de - LF in headers issues
#58486
Author: Joe Greco
Date: Fri, 26 Apr 2002 02:05
7 lines
1392 bytes
In news.software.nntp article <SF%x8.50946$vm6.8323032@ruti.visi.com>, drechsau+usenet@yuck.net (Mike Horwath) wrote:
:I am a dumbass, ignore my postings.

We already knew that, and generally we all do anyways.  :-)

... JG
Re: Corrupted articles from t-online.de - LF in headers issues
#58500
Author: Matthias Watermann
Date: Sat, 27 Apr 2002 11:31
11 lines
1650 bytes
On Wed, 24 Apr 2002 00:07:01 +0200, Curt Welch wrote:

> And I've also received a second letter saying it is now fixed.  It was
> caused by an obscure bug in suck which sometimes omitted the CR
> characters in lines which were 10 characters long.  i.e. "Lines: NNN".

Did they say whether they'll make that suck-patch publically available?

-- 
	Matthias
Re: Corrupted articles from t-online.de - LF in headers issues
#58503
Author: Curt Welch
Date: Sat, 27 Apr 2002 15:29
19 lines
2068 bytes
Matthias Watermann <matthias@OLN.ComLink.APC.org> wrote:
> On Wed, 24 Apr 2002 00:07:01 +0200, Curt Welch wrote:
>
> > And I've also received a second letter saying it is now fixed.  It was
> > caused by an obscure bug in suck which sometimes omitted the CR
> > characters in lines which were 10 characters long.  i.e. "Lines: NNN".
>
> Did they say whether they'll make that suck-patch publically available?

It wasn't discussed.

BTW, the article you are following up to was posted back in Decmeber of
2001.  It was recently reposted (along with a few hundred other messages),
with an invalid date because of a mis-configued server somewhere.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Re: Corrupted articles from t-online.de - LF in headers issues
#58531
Author: Joe Greco
Date: Mon, 29 Apr 2002 17:57
18 lines
1840 bytes
In news.software.nntp article <GCgy8.52289$vm6.8487902@ruti.visi.com>, drechsau+usenet@yuck.net (Mike Horwath) wrote:
:Joe Greco <jgreco@ns.sol.net> wrote:
:: In news.software.nntp article <SF%x8.50946$vm6.8323032@ruti.visi.com>,
:drechsau+usenet@yuck.net (Mike Horwath) wrote:
:: :I am a dumbass, ignore my postings.
:
:: We already knew that, and generally we all do anyways.  :-)
:
:I thought perhaps I was getting out of my hole a little bit, thanks
:for clarifying that for me.
:
::)

I'll send a crew up to MN right away to weld the covers on all the manholes
so you can't get out again, ok?  :-)

... JG
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