Thread View: news.software.nntp
77 messages
77 total messages
Page 2 of 2
Started by Nuutti Kotivuori
Mon, 18 Mar 2002 18:55
Page 2 of 2 • 77 total messages
Re: [yEnc] A small MIME fix
Author: Claus Färber
Date: Thu, 21 Mar 2002 14:34
Date: Thu, 21 Mar 2002 14:34
17 lines
1635 bytes
1635 bytes
Juergen Helbing <archiver@i3w.com> schrieb/wrote: > From my own (older) "MIME-proposals": > Content-Type: application/octet-stream; name="al_larsonbw026_stranger.jpg.ync" > Content-Transfer-Encoding: X-yEnc > Content-Disposition: attachment; filename="al_larsonbw026_stranger.jpg.ync" That's the worst of both worlds. Either, yEnc is a CTE, then the content type and [file]name paramaters should be the real type (image/jpeg here) and the real filename (without .ync) /or/ yEnc is a content type. Claus -- ------------------------ http://www.faerber.muc.de/ ------------------------ OpenPGP: DSS 1024/639680F0 E7A8 AADB 6C8A 2450 67EA AF68 48A5 0E63 6396 80F0
Re: [yEnc] A small MIME fix
Author: Eric A. Hall
Date: Thu, 21 Mar 2002 15:17
Date: Thu, 21 Mar 2002 15:17
21 lines
1934 bytes
1934 bytes
Nuutti Kotivuori wrote: > I just want every yEnc message in the world _right now_ to have a > content-type saying they are binary - and the easiest way to do this > is get the suggestion included in the draft and then whine to people > about not conforming to that - especially since there is only a need > to whine to the posting software writers. All you need for that is Content-Type: application/octet-stream Content-Transfer-Encoding: 8bit you don't need a new application type unless you want to pursue this as a direction instead of defining a transfer encoding -- Eric A. Hall http://www.ehsco.com/ Internet Core Protocols http://www.oreilly.com/catalog/coreprot/
Re: [yEnc] A small MIME fix
Author: Jeremy
Date: Thu, 21 Mar 2002 16:11
Date: Thu, 21 Mar 2002 16:11
35 lines
2309 bytes
2309 bytes
Juergen Helbing <archiver@i3w.com> wrote: > From my own (older) "MIME-proposals": > > Content-Type: application/octet-stream; name="al_larsonbw026_stranger.jpg.ync" > Content-Transfer-Encoding: X-yEnc > Content-Disposition: attachment; filename="al_larsonbw026_stranger.jpg.ync" That's not exactly what we're talking about. Use an 8bit CTE. Not for the "final" format, just for right now. > I have learned meanwhile that some software does not follow this rule. > It still corrupts the message-body. But that's a problem with that software, not with the encoding. Right now the problem lies with the encoding. > The same newsreaders do save a message properly if they > are are _not_ MIME, but simply text with a yEnc encoded > body. But that's still not right. The problem is this -- there is no "not MIME". Messages without MIME headers are assumed to be text/plain, 7bit. yEnc posts are not. That's the problem -- you simply can't send 8bit data without MIME headers. What is being proposed is *not* to solve the "yEnc within MIME" problem. Just to do yEnc exactly as you're doing it now, but without the problem of sending 8bit data without MIME headers. You are trying to use yEnc within MIME, which is why it seems so complex. All that is being proposed here is to *protect* yEnc from MIME. -- Jeremy | jeremy@exit109.com
Re: [yEnc] A small MIME fix
Author: Nuutti Kotivuori
Date: Thu, 21 Mar 2002 18:30
Date: Thu, 21 Mar 2002 18:30
21 lines
2163 bytes
2163 bytes
Eric A. Hall wrote: > All you need for that is > > Content-Type: application/octet-stream > Content-Transfer-Encoding: 8bit > > you don't need a new application type unless you want to pursue this > as a direction instead of defining a transfer encoding Yes - I don't need anything else. If that is added to the draft as a requirement for posts, I'm already happy. But saying it's application/octet-stream behaves exactly the same as saying it's application/x-yenc. So defining that it must read application/octet-stream seems like _intentionally_ depriving the user of the possibility of distinguishing the yenc posts from any other binary posts. If this really is the intention, then I'm fine with it. -- Naked
Re: [yEnc] A small MIME fix
Author: Nuutti Kotivuori
Date: Thu, 21 Mar 2002 18:56
Date: Thu, 21 Mar 2002 18:56
129 lines
6919 bytes
6919 bytes
Juergen Helbing wrote: > From my own (older) "MIME-proposals": > > Content-Type: application/octet-stream; name="al_larsonbw026_stranger.jpg.ync" > Content-Transfer-Encoding: X-yEnc > Content-Disposition: attachment; filename="al_larsonbw026_stranger.jpg.ync" But this is a completely different approach - it requires that the software understands that there is a CTE that is unknown. Many programs do not do this - and in any case, it's a half-way effort. My suggestion _only_ tags that the message is binary and that it is an yEnc binary. The software already knows how to decipher CTE: 8bit - since that _is_ required by the standard. >> Yes, we are entering the MIME world of handling for the article - >> and in there the unknown article must be rendered as >> application/octet-stream as by the standard - which is exactly what >> we want. > > I have learned meanwhile that some software does not follow this > rule. It still corrupts the message-body. I don't wonder if you tried to have that message with an unknown CTE. Are there some newsreaders that corrupt a simple application/octet-stream message with CTE 8bit? I don't know, there might be. >> You seem to be thinking that the MIME requires that there is enough >> information for the client to parse the message. It does not. To >> simplify my proposal - it just tags the message as binary so >> newsreaders won't show it as is to the user. > > From my own experience some newsreaders are treating MIME messages > completely different - especially when it comes to joining and > saving to disk. Does this mean your above proposal or just a simple application/octet-stream message? If it's the former, I can understand that - if it's the latter - well there's some mightily fucked up software in the world again. > The same newsreaders do save a message properly if they are are > _not_ MIME, but simply text with a yEnc encoded body. Well I can't deny this ofcourse since I don't have access to a wide variety of software. I do, however, doubt that there is software that fails to save a application/octet-stream message as-is - though there might be. > I did _realise_ what you are proposing - and my own tools have a > hidden "checkbox" which creates yEnc posts with a MIME embedding. But I am _not_ advocating MIME embedding - I'm only saying saying that the content needs to be tagged as binary - which is quite a lot simpler matter. > If it would have worked properly, then I would have help up my > proposals for MIME - and the pages which describe it would still be > on my website. But there are _additional_ problems - at least with > the newsreaders I am running. So I assume that for more MIME-clients > will have problems with this method. Making a new CTE from scratch is obviously bound to break a lot of clients that cannot handle it. If it is of an unknown CTE, the client does not know how to decode the message at all - and hence should not even allow for the posibility of saving it. Unless ofcourse it is saving the entire message with all headers without tranlating _anything_. Saying that the content is application/octet-stream or application/x-yenc does not do that - they should behave exactly the same and only tag the message as binary. The body of the message is not touched in the least. > This is the reason why I did not want to continue that way: > Creating a MIME embedding which causes even more problem > than 'raw' yEncoded messages would be a bad idea. Yes I agree - but I have yet to see any problems caused by the simple tagging method I'm proposing. I'm not ofcourse claiming that they cannot exist. > Just my own experiences - feel free to make your own tests. I do have quite a limited possibility of doing testing like this since I only run Linux. >> Well what I'm here trying to do is to keep exact compatibility with >> the current yEnc version - but still make the messages compatible >> with MIME - without requiring either. > > I dont know if you have read my own "MIME-embedding" proposal > which was earlier on www.yenc.org. It is hidden, but still there: > > http://www.winews.net/yenc/ymime.txt Well now I have - and I must say that it's good that that didn't get started. It breaks quite a lot of what MIME is trying to do. >> And I haven't seen anybody yet present good reasons why not do this. > > I dont remember all details. But my own proposal was discussed in > the comp.mail.mime group (and here). > > My latest investigations with an honoured MIME expert did only > add discouragement to the topic :-( Your own proposal is _very_ different from mine. I cannot say that I am a MIME expert, but I have done a _lot_ of stuff with it - in news, mail and HTTP, among others. Don't take this as a discouragement but it's quite obvious that the suggestion doesn't really work how you explain there. For example the CTE you specify makes it _impossible_ to save that part of the message - not so that it makes it possible to be saved unprocessed. And I do not know how robust the yEnc decoders are, but I'd rather not touch the body at all when trying to be compatible with old decoding software - and especially if the body contains MIME multiparts, it might be hard or impossible to get through to the actual body of the message. On the other hand - just about every mail program allows you to specify a program to handle a certain content-type, which would allow what you try to achieve. I don't think you should apply what you have found out by your own proposal directly to mine - since they are quite different. -- Naked
Re: [yEnc] A small MIME fix
Author: Nuutti Kotivuori
Date: Thu, 21 Mar 2002 19:18
Date: Thu, 21 Mar 2002 19:18
123 lines
5591 bytes
5591 bytes
Juergen Helbing wrote: > Nuutti Kotivuori <naked@iki.fi> wrote: > >> MIME-Version: 1 >> Content-Type: application/x-yyencoded >> Content-Transfer-Encoding: 8bit > > Just made a short test of this (to make sure what my own > tools - and others ;-) would do with such MIME-headers > in the messages - if they are invented: Oh thank you, this helps a lot. > It seems that my version OE is no longer able to join > multiparts automatically if such headers are used. > It permits to join & decode manually - and then > write the file with the full subject as filename to disk. Hmm, ponder. > It hides the parts - and there is not any text seen in the > message body pane. Just the attachment icon. This was exactly the intention. > Combining and storing the parts results in one large > file. But - as I noted previously - the CRLF between the > messages is removed. This creates one large line > which contains the =yend part=1 ....... =ybegin part=2 Ah, hmm. > So the external yDecoder cant decode this file. Obviously. > And additional empty line after =yend must be included to > make this work. (Some other newsreader might store this > line-seperator as an empty line into the file, but for yEnc > this is no problem because it is resistant to empty lines > outside the =ybegin-=yend clause. > Other formats (QPlite) have more problems with this. Hmm - I wonder if this is proper behaviour or not. The last line must be terminated with a CRLF in a 8bit message, but I do not know if that means that it should not be interpreted as a part of the message body. The MIME RFC's do not mention much about this. But in any case, that is not desired behaviour - the double CRLF at the end of an message might not be too much of a problem though. But - if you at all happen to have the time - could you repeat the test with having the CTE as binary instead: Content-Transfer-Encoding: binary That too is quite correct by MIME - it's just a more lenient transfer encoding than 8bit. Though in the end, the RFC's quite clearly say that 7bit, 8bit and binary must all be identity transformation - they must not modify the body. But maybe 'binary' triggers a bit better binary handling in news readers after all. So, if you have time, please test that - if that doesn't work any better, then I must say that OE is once again quite broken in that respect. > And - of course - it is not possible to display the "raw text" > quickly. So any raw text in front of the binary is never visible. > If the filename is not mentioned in the subject line then the user > will never see it again. Well the 'not possible to display raw text' part is wished, actually - atleast from my POV. > Single parts seems to work with this method. > Even without the additional CRLF. > But I dont know how many other decoders would have > problems with a last line which is not terminated by CRLF > but end-of-file. Yeah, that is a problem - the last line should be terminated. > I did make these test because I was not sure - as you said - > that your proposal is identical to one I made earlier. > But unfortunately I am running into the same problems all > the time: As soon as MIME is used the newsreaders all > work differently - as you see in this example even with > an "8bit" transfer encoding. True, there seems to be minute details that change - though see the test proposal above. > Perhaps it would work better with a "full" multipart definition > - but this has other consequences. (And even Jeremy is > meanwhile thinking about better solutions than > message/multipart ....) Well that is not the subject in this thing - it's further work to make yEnc a CTE. > My most favorite newsreader is able to handle such posts. > But this one has no problems with yEnc at all as long as it > is fully embedded into MIME. > > > Everybody might feel free to do similar tests. > Feel free to create such messages and post them to: > alt.binaries.test.yenc > I would download them and run all my own tools on them. > I am ready to _help_ in the verification of the different > possible variants - perhaps someone can find one which > really works. > But I'd better not try to create new ones myself. Thank you, that really helps. Even though there are some problems like this, I am quite confident that we can, in fact, find a suitable solution for this thing. -- Naked
Re: [yEnc] A small MIME fix
Author: Eric A. Hall
Date: Thu, 21 Mar 2002 21:22
Date: Thu, 21 Mar 2002 21:22
23 lines
2162 bytes
2162 bytes
Nuutti Kotivuori wrote: > > Eric A. Hall wrote: > > All you need for that is > > > > Content-Type: application/octet-stream > > Content-Transfer-Encoding: 8bit > But saying it's application/octet-stream behaves exactly the same as > saying it's application/x-yenc. Yeah, the specs say that any application/*unknown* is to be treated as application/octet-stream, so defining an app/x-yenc would have the exact same effect today. However, declaring app/x-yenc might unintentionally encourage some people to implement support for that media-type, which is not the long-term direction that appears to have consensus here. In that regard, actually defining app/x-yenc would be distracting. -- Eric A. Hall http://www.ehsco.com/ Internet Core Protocols http://www.oreilly.com/catalog/coreprot/
Re: [yEnc] A small MIME fix
Author: Juergen Helbing
Date: Fri, 22 Mar 2002 08:29
Date: Fri, 22 Mar 2002 08:29
36 lines
1937 bytes
1937 bytes
Jeremy <jeremy@exit109.com> wrote: >> From my own (older) "MIME-proposals": >> >> Content-Type: application/octet-stream; name="al_larsonbw026_stranger.jpg.ync" >> Content-Transfer-Encoding: X-yEnc >> Content-Disposition: attachment; filename="al_larsonbw026_stranger.jpg.ync" > >That's not exactly what we're talking about. Use an 8bit CTE. Not >for the "final" format, just for right now. As I said - this was an older proposal. I know that it should not be used. >> I have learned meanwhile that some software does not follow this rule. >> It still corrupts the message-body. > >But that's a problem with that software, not with the encoding. Right >now the problem lies with the encoding. You should realise that this problem is not limited to yEnc - but to all types of encodings. >All that is being proposed >here is to *protect* yEnc from MIME. 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. -- Juergen
Re: [yEnc] A small MIME fix
Author: Juergen Helbing
Date: Fri, 22 Mar 2002 08:39
Date: Fri, 22 Mar 2002 08:39
64 lines
3160 bytes
3160 bytes
Nuutti Kotivuori <naked@iki.fi> wrote: >> From my own (older) "MIME-proposals": >> >> Content-Type: application/octet-stream; name="al_larsonbw026_stranger.jpg.ync" >> Content-Transfer-Encoding: X-yEnc >> Content-Disposition: attachment; filename="al_larsonbw026_stranger.jpg.ync" > >But this is a completely different approach - it requires that the >software understands that there is a CTE that is unknown. Many >programs do not do this - and in any case, it's a half-way effort. As I said - this is and older proposal (which does not work either). I did try a lot of combinations of MIME headers. This one was the only one which worked properly on Agent and OE. This is reason why I did propose it earlier. I know that it is not acceptable either. >I don't wonder if you tried to have that message with an unknown >CTE. Are there some newsreaders that corrupt a simple >application/octet-stream message with CTE 8bit? I don't know, there >might be. Yes, of course. As soon as it comes to multipart. >> From my own experience some newsreaders are treating MIME messages >> completely different - especially when it comes to joining and >> saving to disk. > >Does this mean your above proposal or just a simple >application/octet-stream message? If it's the former, I can understand >that - if it's the latter - well there's some mightily fucked up >software in the world again. This does apply to _all_ MIME messages as soon as they are not BASE64/UUencode and are posted as a multipart. >> The same newsreaders do save a message properly if they are are >> _not_ MIME, but simply text with a yEnc encoded body. > >Well I can't deny this ofcourse since I don't have access to a wide >variety of software. I do, however, doubt that there is software that >fails to save a application/octet-stream message as-is - though there >might be. I am using OE and Agent as reference applications. (beside XNews and MyNews) If these two dont work properly, then I did discard methods. The result is..... yEnc ;-) >Don't take this as a >discouragement but it's quite obvious that the suggestion doesn't >really work how you explain there. That was just an older proposal. I did not want to "warm it up" again. -- Juergen
Re: [yEnc] A small MIME fix
Author: Juergen Helbing
Date: Fri, 22 Mar 2002 08:51
Date: Fri, 22 Mar 2002 08:51
57 lines
2833 bytes
2833 bytes
Nuutti Kotivuori <naked@iki.fi> wrote: >Hmm - I wonder if this is proper behaviour or not. The last line must >be terminated with a CRLF in a 8bit message, but I do not know if that >means that it should not be interpreted as a part of the message >body. The MIME RFC's do not mention much about this. The Data part of a MIME encoded message is starting with an empty line and ends with an empty line. Unfortunately at least one newsreader is adding that empty line to the resulting file when combining multiparts - if the CTE is not directly decodable (8bit, binarey, unknown, ....) >But - if you at all happen to have the time - could you repeat the >test with having the CTE as binary instead: > >Content-Transfer-Encoding: binary This behaviour is independent from the CTE. Only CTEs which are decoded by the newsreader are (hopefully) done correctly: UU & Base64. Also Quoted printable is scambled. >So, if you have time, please test that - if that doesn't work any >better, then I must say that OE is once again quite broken in that >respect. There are serious weakness in the implementation of mutliparts in MIME. Not in the spec - but in the implementations. And as nobody can check all the implementations out there other ways are necessayr for creating new methods of encoding (which ever). >> Perhaps it would work better with a "full" multipart definition >> - but this has other consequences. (And even Jeremy is >> meanwhile thinking about better solutions than >> message/multipart ....) > >Well that is not the subject in this thing - it's further work to make >yEnc a CTE. If you release a "fix" which sends multiparts without using the MIME-integrated "multipart method" then you'll subject to flames as well as I am now for a few months. You will also face the accusation of not "doing it right". (But fortunately this is not me this time ;-) >Even though there are some problems like this, I am quite confident >that we can, in fact, find a suitable solution for this thing. Great. -- Juergen
Re: [yEnc] A small MIME fix
Author: J.B. Moreno
Date: Fri, 22 Mar 2002 16:50
Date: Fri, 22 Mar 2002 16:50
21 lines
1841 bytes
1841 bytes
In article <36299.m32200@archiver.winews.net>, Juergen Helbing <archiver@i3w.com> wrote: > Jeremy <jeremy@exit109.com> wrote: > -snip- > >All that is being proposed > >here is to *protect* yEnc from MIME. > > 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. -- J.B. Moreno
Re: [yEnc] A small MIME fix
Author: J.B. Moreno
Date: Fri, 22 Mar 2002 16:56
Date: Fri, 22 Mar 2002 16:56
28 lines
2160 bytes
2160 bytes
In article <24399.m32201@archiver.winews.net>, Juergen Helbing <archiver@i3w.com> wrote: > Nuutti Kotivuori <naked@iki.fi> wrote: -snip- > >> The same newsreaders do save a message properly if they are are > >> _not_ MIME, but simply text with a yEnc encoded body. > > > >Well I can't deny this ofcourse since I don't have access to a wide > >variety of software. I do, however, doubt that there is software > >that fails to save a application/octet-stream message as-is - though > >there might be. > > I am using OE and Agent as reference applications. > (beside XNews and MyNews) > > If these two dont work properly, then I did discard methods. > The result is..... yEnc ;-) OE is NOT what you should use as a reference application for anything, Agent is another matter, but I wonder how it would effect it's new yEnc handling. Netscape would be better, and better yet would be Gnus and/or Turnpike. -- J.B. Moreno
Re: [yEnc] A small MIME fix
Author: Nuutti Kotivuori
Date: Fri, 22 Mar 2002 20:00
Date: Fri, 22 Mar 2002 20:00
35 lines
2619 bytes
2619 bytes
Eric A. Hall wrote: > Nuutti Kotivuori wrote: >> Eric A. Hall wrote: >>> All you need for that is >>> >>> Content-Type: application/octet-stream >>> Content-Transfer-Encoding: 8bit >> >> But saying it's application/octet-stream behaves exactly the same >> as saying it's application/x-yenc. > > Yeah, the specs say that any application/*unknown* is to be treated > as application/octet-stream, so defining an app/x-yenc would have > the exact same effect today. However, declaring app/x-yenc might > unintentionally encourage some people to implement support for that > media-type, which is not the long-term direction that appears to > have consensus here. In that regard, actually defining app/x-yenc > would be distracting. True, it may distract people from trying to come up with a proper solution. On the other hand, it may help people deal with the messages in an even more sane way. If we want to force it so that yEnc cannot be distinguished from other messages, it seems a bit self righteous - why make life hard for others on purpose? So that we can say "it's better for you anyway"? Well anyway, I don't really have an opinion about this - application/octet-stream is fine with me. -- Naked
Re: [yEnc] A small MIME fix
Author: Nuutti Kotivuori
Date: Fri, 22 Mar 2002 20:02
Date: Fri, 22 Mar 2002 20:02
48 lines
3009 bytes
3009 bytes
Juergen Helbing wrote: > Nuutti Kotivuori <naked@iki.fi> wrote: >> I don't wonder if you tried to have that message with an unknown >> CTE. Are there some newsreaders that corrupt a simple >> application/octet-stream message with CTE 8bit? I don't know, there >> might be. > > Yes, of course. As soon as it comes to multipart. Errr - I meant _without_ the multipart. >> Does this mean your above proposal or just a simple >> application/octet-stream message? If it's the former, I can >> understand that - if it's the latter - well there's some mightily >> fucked up software in the world again. > > This does apply to _all_ MIME messages as soon as they are > not BASE64/UUencode and are posted as a multipart. I meant posting _without_ the multipart - I can understand easily why that mangles the message. >>> The same newsreaders do save a message properly if they are are >>> _not_ MIME, but simply text with a yEnc encoded body. >> >> Well I can't deny this ofcourse since I don't have access to a wide >> variety of software. I do, however, doubt that there is software >> that fails to save a application/octet-stream message as-is - though >> there might be. > > I am using OE and Agent as reference applications. > (beside XNews and MyNews) > > If these two dont work properly, then I did discard methods. > The result is..... yEnc ;-) Well let's not give up hope yet :) >> Don't take this as a discouragement but it's quite obvious that the >> suggestion doesn't really work how you explain there. > > That was just an older proposal. > I did not want to "warm it up" again. Understood. -- Naked
Re: [yEnc] A small MIME fix
Author: Nuutti Kotivuori
Date: Fri, 22 Mar 2002 20:11
Date: Fri, 22 Mar 2002 20:11
80 lines
4519 bytes
4519 bytes
Juergen Helbing wrote: > Nuutti Kotivuori <naked@iki.fi> wrote: > >> Hmm - I wonder if this is proper behaviour or not. The last line >> must be terminated with a CRLF in a 8bit message, but I do not know >> if that means that it should not be interpreted as a part of the >> message body. The MIME RFC's do not mention much about this. > > The Data part of a MIME encoded message is starting with an empty > line and ends with an empty line. Unfortunately at least one > newsreader is adding that empty line to the resulting file when > combining multiparts - if the CTE is not directly decodable > (8bit, binarey, unknown, ....) Err - an unknown CTE is a completely different matter than 7bit, 8bit or binary. An unknown CTE is just that - you do not know how to decode it. The 7bit, 8bit and binary CTE's are identity transformations - the message is interpreted as is. If you save - or interpret - and unknown CTE as is, you are breaking the standard. That does not ofcourse apply to saving the whole message. >> But - if you at all happen to have the time - could you repeat the >> test with having the CTE as binary instead: >> >> Content-Transfer-Encoding: binary > > This behaviour is independent from the CTE. > Only CTEs which are decoded by the newsreader are > (hopefully) done correctly: UU & Base64. > Also Quoted printable is scambled. And this really wasn't inside a MIME multipart or anything? Since then I must say that some newsreaders are weird as hell. >> So, if you have time, please test that - if that doesn't work any >> better, then I must say that OE is once again quite broken in that >> respect. > > There are serious weakness in the implementation of mutliparts in > MIME. Not in the spec - but in the implementations. And as nobody > can check all the implementations out there other ways are necessayr > for creating new methods of encoding (which ever). Argh - I'm getting all confused here. Are you talking about MIME multiparts - or just many posts which make up a complete file? I do agree that the implementation of MIME multiparts is weak often - but that shouldn't bother us, since do _not_ want to post multiparts. >>> Perhaps it would work better with a "full" multipart definition - >>> but this has other consequences. (And even Jeremy is meanwhile >>> thinking about better solutions than message/multipart ....) >> >> Well that is not the subject in this thing - it's further work to >> make yEnc a CTE. > > If you release a "fix" which sends multiparts without using the > MIME-integrated "multipart method" then you'll subject to flames > as well as I am now for a few months. > You will also face the accusation of not "doing it right". > (But fortunately this is not me this time ;-) I do see the matter as a bit differently. yEnc is like spilled milk - and what tagging them binary could do is atleast have them behave with MIME, if not co-operate. That is ofcourse only if it is added to the draft and then complained often enough to the posting software writers. >> Even though there are some problems like this, I am quite confident >> that we can, in fact, find a suitable solution for this thing. > > Great. Hm, I'll try to make a few test messages myself, if I could manage to make them work properly. -- Naked
Re: [yEnc] A small MIME fix
Author: Jeremy
Date: Sat, 23 Mar 2002 19:34
Date: Sat, 23 Mar 2002 19:34
28 lines
1937 bytes
1937 bytes
> Nuutti Kotivuori <naked@iki.fi> wrote: > >> Hmm - I wonder if this is proper behaviour or not. The last line must >> be terminated with a CRLF in a 8bit message, but I do not know if that >> means that it should not be interpreted as a part of the message body. >> The MIME RFC's do not mention much about this. The final CRLF in a MIME entity is *not* part of the entity's datastream. This is explicitely stated in RFC 2046, section 5.1.1, and allows an entity to contain data which does not end with CRLF. Juergen Helbing <archiver@i3w.com> wrote: > The Data part of a MIME encoded message is starting with an empty > line and ends with an empty line. No, it doesn't. There are header fields, followed by a blank line which is *not* part of the data, followed by the body. If you're adding an empty line to the end of your data, or expecting one, or treating the initial blank line as part of the data, that is wrong, and won't work. Unfortunately, this was the Agent bug -- it didn't understand entities which did not end in CRLF, and corrupted them. Other implementations, such as Outlook Express, had no problem. -- Jeremy | jeremy@exit109.com
Re: [yEnc] A small MIME fix
Author: Andrew - Supernews
Date: Sat, 23 Mar 2002 19:57
Date: Sat, 23 Mar 2002 19:57
21 lines
1876 bytes
1876 bytes
In article <1016912087.989679@ok-corral.gunslinger.net>, Jeremy wrote: >> Nuutti Kotivuori <naked@iki.fi> wrote: >> >>> Hmm - I wonder if this is proper behaviour or not. The last line must >>> be terminated with a CRLF in a 8bit message, but I do not know if that >>> means that it should not be interpreted as a part of the message body. >>> The MIME RFC's do not mention much about this. > > The final CRLF in a MIME entity is *not* part of the entity's datastream. > This is explicitely stated in RFC 2046, section 5.1.1, and allows an > entity to contain data which does not end with CRLF. I think you're overgeneralising - in a multipart/* type, the boundary delimiter includes the preceeding CRLF, yes, but where a leaf entity constitutes the entire body of a message, the final CRLF is part of the entity. -- Andrew, Supernews http://www.supernews.com - individual and corporate NNTP services
Re: [yEnc] A small MIME fix
Author: Jeremy
Date: Sat, 23 Mar 2002 21:03
Date: Sat, 23 Mar 2002 21:03
18 lines
1495 bytes
1495 bytes
Andrew - Supernews <andrew@supernews.com> wrote: >> The final CRLF in a MIME entity is *not* part of the entity's >> datastream. This is explicitely stated in RFC 2046, section 5.1.1, >> and allows an entity to contain data which does not end with CRLF. > > I think you're overgeneralising - in a multipart/* type, the boundary > delimiter includes the preceeding CRLF, yes, but where a leaf entity > constitutes the entire body of a message, the final CRLF is part of > the entity. Ah, so. It is, however, ignored by the base64 transfer-encoding (and can be ignored in QP if you escape it). So, the potential New Transfer- Encoding should do the same. -- Jeremy | jeremy@exit109.com
Re: [yEnc] A small MIME fix
Author: Juergen Helbing
Date: Sun, 24 Mar 2002 07:48
Date: Sun, 24 Mar 2002 07:48
24 lines
1647 bytes
1647 bytes
"J.B. Moreno" <planb@newsreaders.com> wrote: >OE is NOT what you should use as a reference application for anything, >Agent is another matter, but I wonder how it would effect it's new yEnc >handling. I am (did) not using OE as a "reference" application. For me it is a "killer-application". If something cannot be handled by OE (80% of Usenet users) then I dont want to introduce it to the Internet (news+mail). I dont care how uncomfortable the handling might be - even storing 50 messages manually and decoding them externally is acceptable. But a format which is joined/stored scrambled by any of the "widely used" news-readers cannot be introduced to the Usenet at all. My opinion -- Juergen
Re: [yEnc] A small MIME fix
Author: Juergen Helbing
Date: Sun, 24 Mar 2002 08:10
Date: Sun, 24 Mar 2002 08:10
58 lines
3121 bytes
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
Re: [yEnc] A small MIME fix
Author: The Archiver
Date: Sun, 24 Mar 2002 08:18
Date: Sun, 24 Mar 2002 08:18
32 lines
1886 bytes
1886 bytes
Nuutti Kotivuori <naked@iki.fi> wrote: >>> I don't wonder if you tried to have that message with an unknown >>> CTE. Are there some newsreaders that corrupt a simple >>> application/octet-stream message with CTE 8bit? I don't know, there >>> might be. >> >> Yes, of course. As soon as it comes to multipart. > >Errr - I meant _without_ the multipart. I cant tell you exactly (brain memory lag/expiry). But it easy to imagine that some newsreader will require an empty line at the end for storing the last line at all - and that some others might store this CRLF additionally. >> This does apply to _all_ MIME messages as soon as they are >> not BASE64/UUencode and are posted as a multipart. > >I meant posting _without_ the multipart - I can understand easily why >that mangles the message. Please be careful what you are doing. Having a solution which does not work _perfectly_ for multiparts might be fatal. -- Juergen
Re: [yEnc] A small MIME fix
Author: Juergen Helbing
Date: Sun, 24 Mar 2002 08:30
Date: Sun, 24 Mar 2002 08:30
72 lines
3458 bytes
3458 bytes
Nuutti Kotivuori <naked@iki.fi> wrote: >Err - an unknown CTE is a completely different matter than 7bit, 8bit >or binary. An unknown CTE is just that - you do not know how to decode >it. And you dont know how to save it :-) >> This behaviour is independent from the CTE. >> Only CTEs which are decoded by the newsreader are >> (hopefully) done correctly: UU & Base64. >> Also Quoted printable is scambled. > >And this really wasn't inside a MIME multipart or anything? Sorry, I did not create a full "matrix" - and I did not make a comprehensive report that time. I simply gave up after a few days after fumbling around with a dozen of different approaches. You have a chance to find out the format I did not try. >> There are serious weakness in the implementation of mutliparts in >> MIME. Not in the spec - but in the implementations. And as nobody >> can check all the implementations out there other ways are necessayr >> for creating new methods of encoding (which ever). > >Argh - I'm getting all confused here. Are you talking about MIME >multiparts - or just many posts which make up a complete file? MIME. All my problems started always as soon as I've added "MIME-Version: 1.0". Because this starts "interpretation" of the body. >> If you release a "fix" which sends multiparts without using the >> MIME-integrated "multipart method" then you'll subject to flames >> as well as I am now for a few months. >> You will also face the accusation of not "doing it right". >> (But fortunately this is not me this time ;-) > >I do see the matter as a bit differently. yEnc is like spilled milk - >and what tagging them binary could do is atleast have them behave with >MIME, if not co-operate. That is ofcourse only if it is added to the >draft and then complained often enough to the posting software >writers. So you would even send out multiparts which are only identified by the (3/47) in the subject line without using the MIME procedures for multiparts ? Joining such messages and storing them to disk might be a demanding task for the newsreaders. The "believe" that you are having 20 "normal" MIME-messages - and now you want to join them. This would be _easy_ for UUencode or yEnc-V1 today. But the behavior of actual newsreaders when you try to join "single MIME messages" into a multipart is completely undefined (for me). >Hm, I'll try to make a few test messages myself, if I could manage to >make them work properly. This might be far better than relying on me. In my country we say: "I'm no longer able to see wood around all these trees here" :-) -- Juergen
Re: [yEnc] A small MIME fix
Author: Nuutti Kotivuori
Date: Sun, 24 Mar 2002 14:06
Date: Sun, 24 Mar 2002 14:06
96 lines
4838 bytes
4838 bytes
Juergen Helbing wrote: > Nuutti Kotivuori <naked@iki.fi> wrote: >> Err - an unknown CTE is a completely different matter than 7bit, >> 8bit or binary. An unknown CTE is just that - you do not know how to >> decode it. > > And you dont know how to save it :-) Exactly. >>> This behaviour is independent from the CTE. >>> Only CTEs which are decoded by the newsreader are >>> (hopefully) done correctly: UU & Base64. >>> Also Quoted printable is scambled. >> >> And this really wasn't inside a MIME multipart or anything? > > Sorry, I did not create a full "matrix" - and I did not make a > comprehensive report that time. > > I simply gave up after a few days after fumbling around > with a dozen of different approaches. > > You have a chance to find out the format I did not try. Hm, I will try to do that. >>> There are serious weakness in the implementation of mutliparts in >>> MIME. Not in the spec - but in the implementations. And as nobody >>> can check all the implementations out there other ways are >>> necessayr for creating new methods of encoding (which ever). >> >> Argh - I'm getting all confused here. Are you talking about MIME >> multiparts - or just many posts which make up a complete file? > > MIME. All my problems started always as soon as I've added > "MIME-Version: 1.0". Because this starts "interpretation" > of the body. Hmm. >>> If you release a "fix" which sends multiparts without using the >>> MIME-integrated "multipart method" then you'll subject to flames >>> as well as I am now for a few months. >>> You will also face the accusation of not "doing it right". >>> (But fortunately this is not me this time ;-) >> >> I do see the matter as a bit differently. yEnc is like spilled milk >> - and what tagging them binary could do is atleast have them behave >> with MIME, if not co-operate. That is ofcourse only if it is added >> to the draft and then complained often enough to the posting >> software writers. > > So you would even send out multiparts which are only identified > by the (3/47) in the subject line without using the MIME procedures > for multiparts ? Yes - because that is exactly what yEnc is _already_ doing. > Joining such messages and storing them to disk might be > a demanding task for the newsreaders. The "believe" that you > are having 20 "normal" MIME-messages - and now you want to > join them. I wonder... > This would be _easy_ for UUencode or yEnc-V1 today. > But the behavior of actual newsreaders when you try to join > "single MIME messages" into a multipart is completely undefined > (for me). Err - how do you join multiple yEnc-V1 messages today in a newsreader that does not specially handle yEnc? How, exactly, does MIME break it? I really don't know how these kind of things are done in OE or similar. My assumption is that you mark the messages and then pull a menu choice of save messages to a file or something? How does a simple Content-Type make this different - not a multipart, but a Content-Type? I really don't know - I don't have access to OE or Windows at all. >> Hm, I'll try to make a few test messages myself, if I could manage >> to make them work properly. > > This might be far better than relying on me. There is a problem though - the news server I'm using doesn't seem to carry alt.binaries.test.yenc. And I haven't been able to find a yEnc encoder for unix straight away. So it's a bit of work for me to get it working I think. -- Naked
Re: [yEnc] A small MIME fix
Author: J.B. Moreno
Date: Sun, 24 Mar 2002 23:00
Date: Sun, 24 Mar 2002 23:00
39 lines
2831 bytes
2831 bytes
In article <40488.o3220Q@archiver.winews.net>, Juergen Helbing <archiver@i3w.com> wrote: > "J.B. Moreno" <planb@newsreaders.com> wrote: > > >OE is NOT what you should use as a reference application for anything, > >Agent is another matter, but I wonder how it would effect it's new yEnc > >handling. > > I am (did) not using OE as a "reference" application. > For me it is a "killer-application". > > If something cannot be handled by OE (80% of Usenet users) > then I dont want to introduce it to the Internet (news+mail). First off, for news it's closer to 30% than to 80% -- just to be clear. But in this particular instance it wouldn't matter if it was 99.99%. The important factor here is NOT how many peope use the program for reading news, but rather how many people use it to download binaries. And there, the percentage is probably under 5%. Of course posting and leaching aren't quite the same thing, but check out just about any binary group and you'll see that /very/ few posts are made by OE users. > I dont care how uncomfortable the handling might be > - even storing 50 messages manually and decoding > them externally is acceptable. > But a format which is joined/stored scrambled by any of > the "widely used" news-readers cannot be introduced to the > Usenet at all. > > My opinion I'd consider Agent's handling of the Subject to be a more serious problem than anything OE could do -- for binaries OE is simply not important. My conclusion based upon perceived usage. -- J.B. Moreno
Re: [yEnc] A small MIME fix
Author: Luu Tran
Date: Mon, 25 Mar 2002 07:05
Date: Mon, 25 Mar 2002 07:05
22 lines
2450 bytes
2450 bytes
"J.B. Moreno" <planb@newsreaders.com> wrote in news:240320021800154048%planb@newsreaders.com... > First off, for news it's closer to 30% than to 80% -- just to be > clear. But in this particular instance it wouldn't matter if it was > 99.99%. The important factor here is NOT how many peope use the > program for reading news, but rather how many people use it to > download binaries. And there, the percentage is probably under 5%. > Of course posting and leaching aren't quite the same thing, but > check out just about any binary group and you'll see that /very/ few > posts are made by OE users. > That's probably true, otherwise we'd be seeing many more "what is this yenc cr*p" from OE users. However, I understand OE is quite nice for the pictures (single part binaries) groups and is more widely used there. -- luu author of Xnews - http://Xnews.3Dnews.net
Re: [yEnc] A small MIME fix
Author: J.B. Moreno
Date: Mon, 25 Mar 2002 09:37
Date: Mon, 25 Mar 2002 09:37
40 lines
3196 bytes
3196 bytes
In article <Xns91DBEAEC5EFBluutrangeocities@192.216.87.195>, Luu Tran <luutran@geocities_.com.invalid> wrote: > "J.B. Moreno" <planb@newsreaders.com> wrote in > > > First off, for news it's closer to 30% than to 80% -- just to be > > clear. But in this particular instance it wouldn't matter if it was > > 99.99%. The important factor here is NOT how many peope use the > > program for reading news, but rather how many people use it to > > download binaries. And there, the percentage is probably under 5%. > > Of course posting and leaching aren't quite the same thing, but > > check out just about any binary group and you'll see that /very/ few > > posts are made by OE users. > > That's probably true, otherwise we'd be seeing many more "what is this > yenc cr*p" from OE users. However, I understand OE is quite nice for the > pictures (single part binaries) groups and is more widely used there. Well, I'm not normally a big binary user, but following the release of yEnc I've been checking out quite a few -- looking at hundreds, and subscribed to a half dozen. I have seen some OE users, and they were indeed in a single part picture group (well, I've also seen a "binaries" group where only 1 post was non-OE -- there wasn't a single /binary/ in the group and it wasn't a ".d" group). I've also seen a group filled with b-news (bomma-news) posts which is intended to do the same thing as yEnc (use more bits), but is more CPU intensive. Anyway, you're right -- it's not completely out of the picture (no pun intended), but I don't think it's a dominating factor. It's possible, like I said posting and leaching aren't necessarily connected, but it just doesn't seem to be used enough that it should be considered to have a veto. -- J.B. Moreno
Page 2 of 2 • 77 total messages
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