🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #57578

Re: [yEnc] A small MIME fix

#57578
From: Juergen Helbing
Date: Sun, 24 Mar 2002 08:10
58 lines
3121 bytes
"J.B. Moreno" <planb@newsreaders.com> wrote:

>> If this "protection" results in unusable downloads because
>> the "existing" software does scramble yEnc posts
>> as soon as MIME headers are headers, then this
>> type of "protection" is not what you really want.
>
>Could you give us some details on what program did the scrambling and
>exactly what it did?  I'm not at all convinced that it needs to be
>"protected" from MIME, but I don't see why it would make things worse.

The problem seems to be the "interpretation" of the MIME data itself.
Especially how to determine where an attachment (or MIME-part) ends.

AFAIK there are a few different types of MIME-messages:

Those where all MIME-headers are inside the msg-headers
- and the entire body is a encoded data. Here we have the problem
if the last CRLF belongs to the MIME data (is also stored to disk).
I dont know if there must be a blank line at the end.

The same as above - but as a multipart.
The MIME headers are only in the first message (1/n)

Those where some MIME-headers are in the body.
Same with multipart

Those with MIME-headers in the body with MIME-boundaries.
Same with multipart.

If you are creating these 6 types of different MIME messages
and retrieve them with OE/Agent/.... and use different variants
of CTE (Base64, X-yenc, Quoted Printable), other MIME headers,...
and store them all to disk then you will get a beautiful mixture
of results with/without missing/correct/additive CRLF in the
created files.

I was not able to find a combination which creates usable 
output data (for an external decoder).
Perhaps I was not patient enough - but I did try the lot.

And I am _not_ talking about the MIME-standard (how it should be)
but about real implementation (how it is actually).


>Could you give us some details on what program did the scrambling and
>exactly what it did?  

I did my tests with Agent 1.5, 1.8, and OE (Win98 original release)
and MyNews (my own tool).
I never made a detailled analysis which program did create which
output. But AFAIR OE was the program which created output with
missing CRLFs and Agent was the one which added CRLFs.

-- 
Juergen

Technical Details
Message-ID: <53109.o3220R@archiver.winews.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.alt.net!usenet
References: <87k7s9d7tr.fsf@iki.fi> <35458.k32201@archiver.winews.net> <87zo139hwp.fsf@iki.fi> <15158.l32205@archiver.winews.net> <1016727086.698074@ok-corral.gunslinger.net> <36299.m32200@archiver.winews.net> <220320021150205288%planb@newsreaders.com>

Show Full Headers
Complete Article Headers
Message-ID: <53109.o3220R@archiver.winews.net>
Subject: Re: [yEnc] A small MIME fix
Date: Sun, 24 Mar 2002 08:10:53 +0000
From: archiver@i3w.com (Juergen Helbing)
References: <87k7s9d7tr.fsf@iki.fi> <35458.k32201@archiver.winews.net> <87zo139hwp.fsf@iki.fi> <15158.l32205@archiver.winews.net> <1016727086.698074@ok-corral.gunslinger.net> <36299.m32200@archiver.winews.net> <220320021150205288%planb@newsreaders.com>
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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.alt.net!usenet
Newsgroups: news.software.nntp
Organization: Altopia Corp. - Usenet Access - http://www.altopia.com
Lines: 57
X-Newsreader: MyNews