Thread View: news.software.nntp
25 messages
25 total messages
Started by Klaas
Thu, 07 Mar 2002 03:14
Re: Proposed new binaries hierarchy: alt.binaries.yenc-sucks.* [was: Re: "yenc-sucks"?...]
Author: Klaas
Date: Thu, 07 Mar 2002 03:14
Date: Thu, 07 Mar 2002 03:14
58 lines
4155 bytes
4155 bytes
[Removing a.b.n-s-c and alt.config from the crosspost list] Curt Welch <curt@kcwc.com> wrote in message news:20020306163227.384$Sx@newsreader.com... > "Klaas" <spamhole@klaas.ca> wrote: > > Insignificantly, small, I'm afraid. The space savings over UU are > > huge enough that more size-efficiency won't win over people on its > > own. The most significant place to save space now, however, is not in > > the message body, but in the headers. Headers in multi-part posts is > > now hugely wasteful and largely redundant. > > Well, don't get confused there. The headers in the multipart messagea > are not bad at all. It's far too small of a percentage to even look > at. It's the fact that people have to download thousands of XOVER records > for files that they then never use which is an easy-of use problem. Thanks - I had my wires crossed somewhat there. I _did_ have overviews in mind when composing that message ;). It seems to me that efficiency/size is practically a non-issue now, considering the UU overhead is gone. Sure, more can be done on that front when doing it right (2-3% overhead on all binary files is still greater than the total text volume, for instance) but the problems facing binary usenet no longer include body overhead. > And > from the NSP side, if you look at total bandwidth used downloading headers > vs downloading article bodies, the ratio still isn't bad. That was going to be my next question. Could you give a very rough guess at the ratio? > Making XOVER headers work better for the user will make usenet much better, > but it's not going to really solve or change any bandwidth problems. It's > just going to prevent users from having to download headers for 10 minutes > before they figure out there's nothing in the group they want to download. If such a modification was made to the overview, what do you think the best way to implementing the changes would be? A new MODE is the first thing that springs to mind. I guess the big problem is that the overview headers are mostly not useful for binary posts. References and line count could be replaced with CRC, unique posting id, part num, etc. Obviously this would be more useful than a Message-ID or References hack, though would necessitate major changes to news server software as well as readers. -Mike
Where and how to best include multi-part info
Author: J.B. Moreno
Date: Thu, 07 Mar 2002 05:00
Date: Thu, 07 Mar 2002 05:00
37 lines
3251 bytes
3251 bytes
In article <3c86dad9$0$64532$892e7fe2@authen.yellow.readfreenews.net>, Klaas <spamhole@klaas.ca> wrote: > Curt Welch <curt@kcwc.com> wrote in message > > > Making XOVER headers work better for the user will make usenet much > > better, but it's not going to really solve or change any bandwidth > > problems. It's just going to prevent users from having to download > > headers for 10 minutes before they figure out there's nothing in the > > group they want to download. > > If such a modification was made to the overview, what do you think the > best way to implementing the changes would be? A new MODE is the > first thing that springs to mind. I guess the big problem is that the > overview headers are mostly not useful for binary posts. References > and line count could be replaced with CRC, unique posting id, part > num, etc. Obviously this would be more useful than a Message-ID or > References hack, though would necessitate major changes to news server > software as well as readers. You could put all of that info and more /into/ the References or Message-ID, and you wouldn't need a new MODE -- just a new X-command. Xfiles for instance, could return the overview info for the article that contains part 0/1 of files which are complete. The advantage of this would be that not only does it help with servers that are aware of the new standard/format, it helps if just the client is aware of it. I'm not so sure about using the References header, but I do think a standard for creating Message-ID's would be useful (Claus you listening?) and since such info wouldn't be out of place there... -- J.B. Moreno
Re: Where and how to best include multi-part info
Author: Klaas
Date: Thu, 07 Mar 2002 06:42
Date: Thu, 07 Mar 2002 06:42
70 lines
4462 bytes
4462 bytes
J.B. Moreno <planb@newsreaders.com> wrote in message news:070320020000041019%planb@newsreaders.com... > In article <3c86dad9$0$64532$892e7fe2@authen.yellow.readfreenews.net>, > Klaas <spamhole@klaas.ca> wrote: > > If such a modification was made to the overview, what do you think the > > best way to implementing the changes would be? A new MODE is the > > first thing that springs to mind. I guess the big problem is that the > > overview headers are mostly not useful for binary posts. References > > and line count could be replaced with CRC, unique posting id, part > > num, etc. Obviously this would be more useful than a Message-ID or > > References hack, though would necessitate major changes to news server > > software as well as readers. > > You could put all of that info and more /into/ the References or > Message-ID, and you wouldn't need a new MODE -- just a new X-command. I agree that Message-ID would be ideal, but we have a potentially huge hurdle of servers rewriting the message ID. Would admins that currently forbid this practice start allowing it for this purpose? What about Message-ID uniqueness? The LHS would have to contain a random component since so much of it is deterministic. > Xfiles for instance, could return the overview info for the article > that contains part 0/1 of files which are complete. Perhaps more useful would be to include all multipart posts, and indicate missing segments. Else a server missing one part of every article shows nothing on an XFILES command, which is not useful for people looking for missing parts. > The advantage of this would be that not only does it help with servers > that are aware of the new standard/format, it helps if just the client > is aware of it. > I'm not so sure about using the References header, but I do think a > standard for creating Message-ID's would be useful (Claus you > listening?) and since such info wouldn't be out of place there... The disadvantages that I see in using References are that it makes the field less useable for threading the message (as putting more than one msgID in the field endagers the contents on services like Airnews), it is not supposed to contain imaginary msgIDs (not too much of a concern), and as mentioned, the References field is not inviolate--at least one NSP chops it quite severely. Advantages are that it can be freely written on any server which allows posting, and contains no danger of violating Message-ID uniqueness (if properly designed, neither would a Message-ID hack either, however). Both seem somewhat hackish if you're going to implement an additional server command based on it, however. If you're going to modify servers, it might be worth defining a specific header that would contain the info without piggybacking on an existing one that is used. -Mike
Re: Where and how to best include multi-part info
Author: The Archiver
Date: Thu, 07 Mar 2002 07:00
Date: Thu, 07 Mar 2002 07:00
41 lines
2858 bytes
2858 bytes
"J.B. Moreno" <planb@newsreaders.com> wrote: >You could put all of that info and more /into/ the References or >Message-ID, and you wouldn't need a new MODE -- just a new X-command. Perhaps we should do some tests with the "References" header. This one seems to be most favorized - and all we need to find out is if (how) it affects current newsreaders (and web-interfaces). Using the References headers is mostly a "compatibility" problem. >Xfiles for instance, could return the overview info for the article >that contains part 0/1 of files which are complete. I've got the information that server-soft-writers dont like special OVERVIEW commands which require the scanning of the over- view and deleiver only partial information. >The advantage of this would be that not only does it help with servers >that are aware of the new standard/format, it helps if just the client >is aware of it. I'm afraid that this would be the next "user-based" solution. Using the existing servers/infrastructure and adding information into the message itself. The same way yEnc uses - and which is heavily attacked. Again it would work - and people would hate us for doing it. >I'm not so sure about using the References header, but I do think a >standard for creating Message-ID's would be useful (Claus you >listening?) and since such info wouldn't be out of place there... I am having a very simple approach: <crc12345678sum123456789len45234date020307@binary.news> This is very similar to '42' ;-) -- Juergen
Re: Where and how to best include multi-part info
Author: J.B. Moreno
Date: Thu, 07 Mar 2002 20:30
Date: Thu, 07 Mar 2002 20:30
83 lines
5711 bytes
5711 bytes
In article <a6723g$c6j4q$1@ID-26705.news.dfncis.de>, Klaas <spamhole@klaas.ca> wrote: > J.B. Moreno <planb@newsreaders.com> wrote in message > > Klaas <spamhole@klaas.ca> wrote: > > > > If such a modification was made to the overview, what do you > > > think the best way to implementing the changes would be? A new > > > MODE is the first thing that springs to mind. I guess the big > > > problem is that the overview headers are mostly not useful for > > > binary posts. References and line count could be replaced with > > > CRC, unique posting id, part num, etc. Obviously this would be > > > more useful than a Message-ID or References hack, though would > > > necessitate major changes to news server software as well as > > > readers. > > > > You could put all of that info and more /into/ the References or > > Message-ID, and you wouldn't need a new MODE -- just a new > > X-command. > > I agree that Message-ID would be ideal, but we have a potentially huge > hurdle of servers rewriting the message ID. Would admins that > currently forbid this practice start allowing it for this purpose? > What about Message-ID uniqueness? The LHS would have to contain a > random component since so much of it is deterministic. If it included an MD5 of the file being posted, and a couple of other things, uniqueness shouldn't be a problem As for servers that rewrite message-id's -- no idea what they would or would not do. It might also be that they are not common enough to be worth worrying about. > > Xfiles for instance, could return the overview info for the article > > that contains part 0/1 of files which are complete. > > Perhaps more useful would be to include all multipart posts, and > indicate missing segments. Else a server missing one part of every > article shows nothing on an XFILES command, which is not useful for > people looking for missing parts. Well, looking for missing parts would be better done with XPAT looking for whatever is the file id. > > The advantage of this would be that not only does it help with > > servers that are aware of the new standard/format, it helps if just > > the client is aware of it. > > > I'm not so sure about using the References header, but I do think a > > standard for creating Message-ID's would be useful (Claus you > > listening?) and since such info wouldn't be out of place there... > > The disadvantages that I see in using References are that it makes the > field less useable for threading the message (as putting more than one > msgID in the field endagers the contents on services like Airnews), it > is not supposed to contain imaginary msgIDs (not too much of a > concern), and as mentioned, the References field is not inviolate--at > least one NSP chops it quite severely. If you put it in the References header then you probably won't include a part number, if you don't include a part number then it makes threading /easier/ as all of the parts have the same References header -- they appear to be followups to an article that isn't present. > Advantages are that it can be freely written on any server which > allows posting, and contains no danger of violating Message-ID > uniqueness (if properly designed, neither would a Message-ID hack > either, however). > > Both seem somewhat hackish if you're going to implement an additional > server command based on it, however. If you're going to modify > servers, it might be worth defining a specific header that would > contain the info without piggybacking on an existing one that is used. The problem with that is that it /requires/ changes on the server end, instead of simply working /better/ with such changes -- and then you get into the chicken and the egg problems: why should servers implement it if the clients aren't going to take advantage of it, why should clients implement it if the servers don't provide it. -- J.B. Moreno
Re: Proposed new binaries hierarchy: alt.binaries.yenc-sucks.* [was: Re: "yenc-sucks"?...]
Author: Curt Welch
Date: Fri, 08 Mar 2002 04:53
Date: Fri, 08 Mar 2002 04:53
97 lines
6324 bytes
6324 bytes
"Klaas" <spamhole@klaas.ca> wrote: > [Removing a.b.n-s-c and alt.config from the crosspost list] > > Curt Welch <curt@kcwc.com> wrote in message > news:20020306163227.384$Sx@newsreader.com... > > And > > from the NSP side, if you look at total bandwidth used downloading > headers > > vs downloading article bodies, the ratio still isn't bad. > > That was going to be my next question. Could you give a very rough > guess at the ratio? 15% I think is a good rough guess. i.e, 15% of all data downloaded by the users is XOVER traffic. > > Making XOVER headers work better for the user will make usenet much > better, > > but it's not going to really solve or change any bandwidth problems. > It's > > just going to prevent users from having to download headers for 10 > minutes > > before they figure out there's nothing in the group they want to > download. > > If such a modification was made to the overview, what do you think the > best way to implementing the changes would be? A new MODE is the > first thing that springs to mind. Don't mode me. :) MODES suck. New commands are clean and simple. That allows clients to use both without having to toggle modes constantly. > I guess the big problem is that the > overview headers are mostly not useful for binary posts. References > and line count could be replaced with CRC, unique posting id, part > num, etc. Obviously this would be more useful than a Message-ID or > References hack, though would necessitate major changes to news server > software as well as readers. There aren't any easy solutions. One clean fast hack is to just add compression to XOVER. i.e. a ZXOVER command. The nice thing about xover data being redundant is that it makes it compress well. A quick test for example on 57,000 XOVER records from alt.binaries.sounds.mp3 showed an 88% compression with gzip. That could turn a 30 minute header download into a 4 mintute download. The more logical forms of fixing the problem require the server to match up multiplart articles and send one larger and more complex XOVER-like record for the entire set. That's very complex because there's no right way to match up multipart articles. It's an art, not a science, and all newsreader do it slightly differently. If you move that to the server, then all newsreaders that tried to use it would be forced to use the logic of matching up multipart artices which is built into the server. However, if we designed a usenet standard multipart article format where all the required information was stored in the header, then servers could start doing things like that. They could for example separte the text articles from the data articles. you could add new XOVER commands like TXOVER and DXOVER where one would only show the XOVER records for text files (and would work just like XOVER works today, but ther ewould be big gaps in the numbers where all the data articles were skipped). Then DXOVER would be a new format which had one record not for each article, but one reacod for each contigus file segment. So if you had parts 12 to 55 of a 100 part post, it would show up as one "segment" which was available for download. You would add a new DATA command for downloading the raw data for that segment as well and it would include byte range arguments to allow the server to download any byte range from the complete segment. newsreaders which supported this new type news server would show two article lists for each group, one would be a normal article list (but only listed text articles - or binary articles not correctly posted in the new format), the other would be a file list. For old style newsreaders, the server would still support the old XOVER command which would list all the files like they do now. Something like this is my vision of a new "binary usenet". It would be a lot harder to make this happen than something simple like ZXOVER. You have to start with a new article format which puts a lot of important information into the header. Then you have to find a newsreader author willing to create the files in that format. Then you have to get a news server author willing to spend the time to support these ideas. And that's a lot of work. And then a newsreader author willing to take advantage of all this - and that's a lot of work. And in the end, you end up with something that's only slightly better than what the user could get if we just added a ZXOVER command. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: Proposed new binaries hierarchy: alt.binaries.yenc-sucks.* [was: Re: "yenc-sucks"?...]
Author: Andrew - Supernews
Date: Fri, 08 Mar 2002 05:09
Date: Fri, 08 Mar 2002 05:09
34 lines
3057 bytes
3057 bytes
In article <20020307235334.683$15@newsreader.com>, Curt Welch wrote: > 15% I think is a good rough guess. i.e, 15% of all data downloaded by > the users is XOVER traffic. that sounds high - our stats show about 8% of individual user traffic, and about 5% of outsource traffic, is XOVER/XHDR/XPAT data rather than actual article headers and bodies. > There aren't any easy solutions. One clean fast hack is to just add > compression to XOVER. i.e. a ZXOVER command. The nice thing about > xover data being redundant is that it makes it compress well. A quick > test for example on 57,000 XOVER records from alt.binaries.sounds.mp3 > showed an 88% compression with gzip. That could turn a 30 minute header > download into a 4 mintute download. the CPU cost of that on the server could well be an obstacle. > However, if we designed a usenet standard multipart article format > where all the required information was stored in the header, guess what? this already exists! It's called message/partial, and all the required information is in the Content-Type header. We don't output that in the XOVER because too many clients deal only with the standard fields and we don't want to bloat overview downloads, but we allow XHDR and XPAT on the field. The required parameters for message/partial include a content-id and part number, so I believe that reassembly could be done tolerably well given only the Content-Type fields without having to download the XOVER data at all. -- Andrew, Supernews http://www.supernews.com - individual and corporate NNTP services
Re: Proposed new binaries hierarchy: alt.binaries.yenc-sucks.* [was: Re: "yenc-sucks"?...]
Author: Curt Welch
Date: Fri, 08 Mar 2002 05:35
Date: Fri, 08 Mar 2002 05:35
56 lines
4747 bytes
4747 bytes
andrew@supernews.com wrote: > > However, if we designed a usenet standard multipart article format > > where all the required information was stored in the header, > > guess what? this already exists! It's called message/partial, and all the > required information is in the Content-Type header. Last time I looked at it, I didn't think it did what was needed for Usenet, but like I've said elsewhere, I need to just find the time to read all the MIME standards. Anyhow, I have no problem with using MIME for this if it has what we need. But I think it would require a spec to make it every clear what was required and what was not to meet the "Usenet Standard". Just saying "use MIME message/partial" might be enough, but like I said, last time I looked it over, it seemed quite broken for use on Usenet. > We don't output that in the XOVER because too many clients deal only > with the standard fields and we don't want to bloat overview downloads, > but we allow XHDR and XPAT on the field. The required parameters for > message/partial include a content-id and part number, so I believe that > reassembly could be done tolerably well given only the Content-Type > fields without having to download the XOVER data at all. Does it include the byte range for the current part? Or can it? That's very imporant for being able to deal correctly with missing posts. That's an example of the type of thing that I think was missing from the standard. The standard was designed to work only under the assumption that all the parts showed up. I, I think I remeber my big issue with it. Doesn't message-partial worked on the concept that a single large mime message which was split into multiple segments - not a single file. Can't a message-partial be a multipart/mixed with any combination of files and text and html segments? If this is so, it just shows how that is not at all the type of thing I'm taking about. I want a standard which would allow usenet servers to transport _files_ broken into multiple segments, not MIME messages broken into multiple segments. I want a standard that will put the file size into the header so we can add feed commands for filtering articles based on the size of the file being transported and not on the size of the article. I want admins that want to run servers that get a lot of binaries but not all of them to be able take out all multipart files where the file size is > X instead of the article size. If I'm right about what mesage-partial does, then maybe we can still use message-partial, but require other stuff to be added to the header as well, and to only allow the mime article to be a single large binary file, etc. And the article would need to be marked somehow to show it conformed to the "usenet file" standard. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: Where and how to best include multi-part info
Author: Klaas
Date: Fri, 08 Mar 2002 05:50
Date: Fri, 08 Mar 2002 05:50
93 lines
5349 bytes
5349 bytes
J.B. Moreno <planb@newsreaders.com> wrote in message news:070320021530029586%planb@newsreaders.com... > In article <a6723g$c6j4q$1@ID-26705.news.dfncis.de>, > Klaas <spamhole@klaas.ca> wrote: > > > I agree that Message-ID would be ideal, but we have a potentially huge > > hurdle of servers rewriting the message ID. Would admins that > > currently forbid this practice start allowing it for this purpose? > > What about Message-ID uniqueness? The LHS would have to contain a > > random component since so much of it is deterministic. > > If it included an MD5 of the file being posted, and a couple of other > things, uniqueness shouldn't be a problem But identical files are posted routinely. I thought about requiring the RHS to be the FQDN of the poster's computer, but I doubt some would be happy with that ;) > As for servers that rewrite message-id's -- no idea what they would or > would not do. It might also be that they are not common enough to be > worth worrying about. Does anyone here know if this is the case? > > Perhaps more useful would be to include all multipart posts, and > > indicate missing segments. Else a server missing one part of every > > article shows nothing on an XFILES command, which is not useful for > > people looking for missing parts. > > Well, looking for missing parts would be better done with XPAT looking > for whatever is the file id. True. Recently a server dropped support for that command... lets hope that isn't a trend setter. > > The disadvantages that I see in using References are that it makes the > > field less useable for threading the message (as putting more than one > > msgID in the field endagers the contents on services like Airnews), it > > is not supposed to contain imaginary msgIDs (not too much of a > > concern), and as mentioned, the References field is not inviolate--at > > least one NSP chops it quite severely. > > If you put it in the References header then you probably won't include > a part number, if you don't include a part number then it makes > threading /easier/ as all of the parts have the same References header > -- they appear to be followups to an article that isn't present. It's pretty easy to accomplish that with the Message-ID hack too, by sticking the Id of part 1 into References of parts 2 and up. > > Both seem somewhat hackish if you're going to implement an additional > > server command based on it, however. If you're going to modify > > servers, it might be worth defining a specific header that would > > contain the info without piggybacking on an existing one that is used. > > The problem with that is that it /requires/ changes on the server end, > instead of simply working /better/ with such changes -- and then you > get into the chicken and the egg problems: why should servers implement > it if the clients aren't going to take advantage of it, why should > clients implement it if the servers don't provide it. True. Especially seeing that clients tend to evolve quicker than servers. I see complaints about Typhoon not having updates let alone major feature additions, and I doubt Russ has time to add a major feature to INN in the near future. I definately predict reluctance to add an nntp extention command based on a References hack, though, but less so for a Message ID hack (not that I have any basis for that, just a feeling about the way things work). It definately seems that Message ID would be the better header ti hijack, assuming we can discount server re-writing. -Mike
Re: Proposed new binaries hierarchy: alt.binaries.yenc-sucks.* [was: Re: "yenc-sucks"?...]
Author: Eric A. Hall
Date: Fri, 08 Mar 2002 08:01
Date: Fri, 08 Mar 2002 08:01
70 lines
5330 bytes
5330 bytes
Curt Welch wrote: > Does it include the byte range for the current part? Or can it? No, the message/partial parameters do not specify a byte-range, and there aren't any MIME-standard header fields which do this. > That's very imporant for being able to deal correctly with missing > posts. That's an example of the type of thing that I think was missing > from the standard. The standard was designed to work only under the > assumption that all the parts showed up. Not exactly accurate. message/partial provides an "ID" parameter which is common across all message fragments, thereby providing a way to programmatically associate each fragment from a source message. It also provides a "number" parameter which identifies the current fragment�s position in the overall sequence and a "total" parameter which identifies the total number of fragments in a sequence. You can fill holes with this scheme, if all of the posts are from the same fragmentation process. You can't fill holes using reposts. > I think I remeber my big issue with it. Doesn't message-partial worked > on the concept that a single large mime message which was split into > multiple segments - not a single file. That's correct, although there's nothing that says the message body can't contain an application/* or some other non-text entity. When the fragments are reassembled you get an original message (with an original Message-ID and everything) but the body of that message can be anything. > Can't a message-partial be a multipart/mixed with any combination of > files and text and html segments? Yes > If this is so, it just shows how that is not at all the type of thing > I'm taking about. I want a standard which would allow usenet servers > to transport _files_ broken into multiple segments, not MIME messages > broken into multiple segments. I want a standard that will put the > file size into the header so we can add feed commands for filtering > articles based on the size of the file being transported and not on > the size of the article. I want admins that want to run servers that > get a lot of binaries but not all of them to be able take out all > multipart files where the file size is > X instead of the article size. The end-of-line conversion problem makes all such efforts only slightly better than guesses. Even Lines is heading towards outright deprecation. You can only do this accurately if you exclude EOL from the calculations. > If I'm right about what mesage-partial does, then maybe we can still > use message-partial, but require other stuff to be added to the > header as well, and to only allow the mime article to be a single > large binary file, etc. And the article would need to be marked > somehow to show it conformed to the "usenet file" standard. The biggest problem with message/partial in the context of yEnc is that message/partial is limited to a content-transfer-encoding value of "7bit" since the encapsulated fragmented message is expected to be base64 or QP encoded prior to encapsulation. With that in mind, and considering your items above, it would probably be best to define a new application/partial media-type that allowed for what you want. You could even specify an offset= parameter or something. It's not like we've run out of MIME types. -- Eric A. Hall http://www.ehsco.com/ Internet Core Protocols http://www.oreilly.com/catalog/coreprot/
multipart posts via MIME (was: Re: Proposed new binaries hierarchy: alt.binaries.yenc-sucks.* [was: Re: "yenc-sucks"?...])
Author: Andrew - Supernews
Date: Fri, 08 Mar 2002 08:57
Date: Fri, 08 Mar 2002 08:57
20 lines
2482 bytes
2482 bytes
In article <3C886FF0.A2DFE1A2@ehsco.com>, Eric A. Hall wrote: > The biggest problem with message/partial in the context of yEnc is that > message/partial is limited to a content-transfer-encoding value of "7bit" however, the reasons for that limitation do not apply to news; the limit is there because an intermediate _mail_ system that could not handle 8bit would not be able to process a fragmented 8bit message. All news transports, however, are expected to be able to cope with 8bit. > With that in mind, and considering your items above, it would probably be > best to define a new application/partial media-type that allowed for what > you want. You could even specify an offset= parameter or something. It's > not like we've run out of MIME types. hmm, yes -- Andrew, Supernews http://www.supernews.com - individual and corporate NNTP services
Re: multipart posts via MIME (was: Re: Proposed new binaries hierarchy: alt.binaries.yenc-sucks.* [was: Re: "yenc-sucks"?...])
Author: remove 'nospam' to reply
Date: Fri, 08 Mar 2002 12:50
Date: Fri, 08 Mar 2002 12:50
16 lines
2244 bytes
2244 bytes
Andrew - Supernews wrote: > In article <3C886FF0.A2DFE1A2@ehsco.com>, Eric A. Hall wrote: > > The biggest problem with message/partial in the context of yEnc is that > > message/partial is limited to a content-transfer-encoding value of "7bit" > > however, the reasons for that limitation do not apply to news; the limit > is there because an intermediate _mail_ system that could not handle 8bit > would not be able to process a fragmented 8bit message. All news transports, > however, are expected to be able to cope with 8bit. What about moderated groups?
Re: multipart posts via MIME
Author: Claus Färber
Date: Fri, 08 Mar 2002 15:21
Date: Fri, 08 Mar 2002 15:21
17 lines
2424 bytes
2424 bytes
Andrew - Supernews <andrew+nonews@supernews.com> schrieb/wrote: > In article <3C886FF0.A2DFE1A2@ehsco.com>, Eric A. Hall wrote: >> The biggest problem with message/partial in the context of yEnc is that >> message/partial is limited to a content-transfer-encoding value of "7bit" > however, the reasons for that limitation do not apply to news; the limit > is there because an intermediate _mail_ system that could not handle 8bit > would not be able to process a fragmented 8bit message. All news transports, > however, are expected to be able to cope with 8bit. Yes, and gateways to mail would corrupt the messages anyway. Claus -- ------------------------ http://www.faerber.muc.de/ ------------------------ OpenPGP: DSS 1024/639680F0 E7A8 AADB 6C8A 2450 67EA AF68 48A5 0E63 6396 80F0
Re: Where and how to best include multi-part info
Author: asif
Date: Fri, 08 Mar 2002 18:38
Date: Fri, 08 Mar 2002 18:38
13 lines
1669 bytes
1669 bytes
In article <3c89ec43.2659925@news>, =-lordsnow-= <lordsnow@home.nl> wrote: \> But identical files are posted routinely. I thought about requiring \> the RHS to be the FQDN of the poster's computer, but I doubt some \> would be happy with that ;) \ \RHS = Right-Hand Side... but what is FQDN? Fully Qualified Domain Name? /whatever
Re: Where and how to best include multi-part info
Author: Klaas
Date: Fri, 08 Mar 2002 19:13
Date: Fri, 08 Mar 2002 19:13
20 lines
2002 bytes
2002 bytes
asif <whatever@nevermind.invalid> wrote in message news:080320021338179058%whatever@nevermind.invalid... > In article <3c89ec43.2659925@news>, =-lordsnow-= <lordsnow@home.nl> > wrote: > > \> But identical files are posted routinely. I thought about requiring > \> the RHS to be the FQDN of the poster's computer, but I doubt some > \> would be happy with that ;) > \ > \RHS = Right-Hand Side... but what is FQDN? > > Fully Qualified Domain Name? Right. Sorry for being lazy ;) -MIke
Re: Where and how to best include multi-part info
Author: J.B. Moreno
Date: Fri, 08 Mar 2002 22:20
Date: Fri, 08 Mar 2002 22:20
94 lines
6088 bytes
6088 bytes
In article <a69je9$cdqtv$1@ID-26705.news.dfncis.de>, Klaas <spamhole@klaas.ca> wrote: > J.B. Moreno <planb@newsreaders.com> wrote in message > > In article <a6723g$c6j4q$1@ID-26705.news.dfncis.de>, > > Klaas <spamhole@klaas.ca> wrote: > > -snip uniqueness?- > > If it included an MD5 of the file being posted, and a couple of other > > things, uniqueness shouldn't be a problem > > But identical files are posted routinely. I thought about requiring > the RHS to be the FQDN of the poster's computer, but I doubt some > would be happy with that ;) Well, I did say that it would contain other stuff -- that date in B64 or something. > > As for servers that rewrite message-id's -- no idea what they would > > or would not do. It might also be that they are not common enough to > > be worth worrying about. > > Does anyone here know if this is the case? Not me -- Airnews is the only server I know of offhand that rewrites the message-id, there are certainly others but I couldn't name them (OTOH I'm not familiar with all that many servers). > > > Perhaps more useful would be to include all multipart posts, and > > > indicate missing segments. Else a server missing one part of every > > > article shows nothing on an XFILES command, which is not useful for > > > people looking for missing parts. > > > > Well, looking for missing parts would be better done with XPAT > > looking for whatever is the file id. > > True. Recently a server dropped support for that command... lets hope > that isn't a trend setter. I don't think it is. > > > The disadvantages that I see in using References are that it makes > > > the field less useable for threading the message (as putting more -snip- > > If you put it in the References header then you probably won't > > include a part number, if you don't include a part number then it > > makes threading /easier/ as all of the parts have the same References > > header -- they appear to be followups to an article that isn't > > present. > > It's pretty easy to accomplish that with the Message-ID hack too, by > sticking the Id of part 1 into References of parts 2 and up. True, and it seems like this should have been done a *long* time ago -- but there haven't been any real standards for posting binaries. > > > Both seem somewhat hackish if you're going to implement an > > > additional server command based on it, however. If you're going to > > > modify servers, it might be worth defining a specific header that > > > would contain the info without piggybacking on an existing one that > > > is used. > > > > The problem with that is that it /requires/ changes on the server > > end, instead of simply working /better/ with such changes -- and then > > you get into the chicken and the egg problems [...] > > True. Especially seeing that clients tend to evolve quicker than > servers. I see complaints about Typhoon not having updates let alone > major feature additions, and I doubt Russ has time to add a major > feature to INN in the near future. I definately predict reluctance to > add an nntp extention command based on a References hack, though, but > less so for a Message ID hack (not that I have any basis for that, > just a feeling about the way things work). It definately seems that > Message ID would be the better header ti hijack, assuming we can I disagree -- IMO reluctance would be based upon how widespread it's use is and hard it was to do, plus how effects the server (i.e. if it uses a lot of server resources, then it'd probably be right out, but you'd have to ask the people working on server, Curt or Russ, about that). The fact that it is a "hack" wouldn't really be that important, and which header was hacked would make even less (except that one or the other might be more or less efficient). ps: as long as you are using OE, I'd like to suggest taking a look at CopyLF (may require using Hamster) in order to clean up your post -- it looks like you've told it to wrap at 72 chars, and OE's bad wrapping routine is messing up every other line text you are quoting. It'd be even worse except I'm using my newsreaders ability to clean up such post before responding, so there's no second layer of garbage to deal with. -- J.B. Moreno
Re: Proposed new binaries hierarchy: alt.binaries.yenc-sucks.* [was: Re: "yenc-sucks"?...]
Author: Klaas
Date: Fri, 08 Mar 2002 22:48
Date: Fri, 08 Mar 2002 22:48
63 lines
3834 bytes
3834 bytes
Curt Welch <curt@kcwc.com> wrote: > "Klaas" <mike@klaas.ca> wrote: > > That was going to be my next question. Could you give a very rough > > guess at the ratio? > > 15% I think is a good rough guess. i.e, 15% of all data downloaded by > the users is XOVER traffic. <> > > I guess the big problem is that the > > overview headers are mostly not useful for binary posts. References > > and line count could be replaced with CRC, unique posting id, part > > num, etc. Obviously this would be more useful than a Message-ID or > > References hack, though would necessitate major changes to news server > > software as well as readers. > > There aren't any easy solutions. One clean fast hack is to just add > compression to XOVER. i.e. a ZXOVER command. The nice thing about > xover data being redundant is that it makes it compress well. A quick > test for example on 57,000 XOVER records from alt.binaries.sounds.mp3 > showed an 88% compression with gzip. That could turn a 30 minute header > download into a 4 mintute download. I seems to me that regardless of the computational cost, that avenue would be well worth exploring. According to you and Andrew, XOVER data is somewhere between 8% and 15%. If all clients took advantage of the ZXOVER, that amounts to a reduction of 7%-13% of reader bandwidth, which is significant. Modem users would see less of an advantage, of course. <snip interesting text/file XOVER split idea> > a lot of work. And then a newsreader author willing to take advantage of > all this - and that's a lot of work. And in the end, you end up with > something that's only slightly better than what the user could get if we > just added a ZXOVER command. I think such a system would be significantly better. If you returned results for a busy group that averaged fifty parts a file, that's 98% savings, which could be _further_ increased by compression if necessary (dialup users would see the whole benefit as well). More important, you've got a reliable means of detecting and assembling multi-part postings, which in my view is a greater benefit than overview size savings. -MIke
Re: Proposed new binaries hierarchy: alt.binaries.yenc-sucks.* [was: Re: "yenc-sucks"?...]
Author: Curt Welch
Date: Sat, 09 Mar 2002 03:25
Date: Sat, 09 Mar 2002 03:25
52 lines
4580 bytes
4580 bytes
"Eric A. Hall" <ehall@ehsco.com> wrote: > Curt Welch wrote: > > > I want admins that want to run servers that > > get a lot of binaries but not all of them to be able take out all > > multipart files where the file size is > X instead of the article size. > > The end-of-line conversion problem makes all such efforts only slightly > better than guesses. Even Lines is heading towards outright deprecation. > You can only do this accurately if you exclude EOL from the calculations. I want to make sure you understand what I was refering to there. If someone posts a 3MB MP3 file to usenet (that's the size of the mp3 before it was encoded or split or anything), I want news servers to "know" that the articles they are transporting are segments of a 3MB file. So any server that is configured to drop all files over 2.5MB in size, would drop all the articles associated with that posting - including the 0/X segment which only contains a sort text message, and including the N/N segment that is only 100 lines long. This is simple to do if the headers of all the segments include the size of the file before encoding. It makes no difference what encoding is used, or how many segments the file was split into, if it includes the file size as part of the header, this becomes (technically) trivial to do on any feed server. And reducing feed sizes, or splitting feeds into parallel streams based on this number is a far far better way to deal with feed problems than the current system of splitting it based on article size. If this functionalaty was common on news servers today, the missing "part" problem bascially wouldn't exist. However, I suspect MIME has nothing we could use for this because it was not designed to solve this problem. I'm guessing that there is nothing in MIME that would fit this requirement. But, I'm sure that one way or another, we could find a place to put this number into the header. Whether it could become a documented MIME standard at some point would be harder to figure out I presume. You have to understand that what I'm looking for is a way to make usenet servers transport FILES and not just e-mail messages. It's a somewhat fine distinction at times, but this example of not knowing that an article is part of a 3MB mp3 file demonstrates what I'm talking about. If servers had the ability to transport files, then that opens the door to allow servers to combine and re-split files as they saw fit. Their job would change from one of only transporting articles (unchanged), into one of transporting both articles and files (unchanged). -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: Proposed new binaries hierarchy: alt.binaries.yenc-sucks.* [was: Re: "yenc-sucks"?...]
Author: Eric A. Hall
Date: Sat, 09 Mar 2002 03:55
Date: Sat, 09 Mar 2002 03:55
28 lines
2930 bytes
2930 bytes
Curt Welch wrote: > I want to make sure you understand what I was refering to there. Yeah, I understood. MIME doesn't do that. HTTP has a Content-Length header field, but that's specific to HTTP. > You have to understand that what I'm looking for is a way to make usenet > servers transport FILES and not just e-mail messages. I would argue that MIME goes one better than that by passing DATA. It is typically encpasulated within a message but that is an artifact of email and netnews, not an artifact of MIME. > It's a somewhat fine distinction at times, but this example of not > knowing that an article is part of a 3MB mp3 file demonstrates what > I'm talking about. It seems like you are arguing that nobody has defined a MIME handler that does what you want, ergo MIME sucks. I would argue the opposite, that MIME is a heavily generalized data-declaration syntax, and that defining a handler will be easier than defining another syntax. -- Eric A. Hall http://www.ehsco.com/ Internet Core Protocols http://www.oreilly.com/catalog/coreprot/
Re: Proposed new binaries hierarchy: alt.binaries.yenc-sucks.* [was: Re: "yenc-sucks"?...]
Author: Curt Welch
Date: Sat, 09 Mar 2002 06:45
Date: Sat, 09 Mar 2002 06:45
42 lines
3772 bytes
3772 bytes
"Eric A. Hall" <ehall@ehsco.com> wrote: > Curt Welch wrote: > > > I want to make sure you understand what I was refering to there. > > Yeah, I understood. MIME doesn't do that. HTTP has a Content-Length > header field, but that's specific to HTTP. And that's the content length. I need to size of the file before it was encoded, not the size of the mime message. > It seems like you are arguing that nobody has defined a MIME handler that > does what you want, ergo MIME sucks. Well, mostly I just like to whine at times and today it's MIME. :) > I would argue the opposite, that > MIME is a heavily generalized data-declaration syntax, and that defining > a handler will be easier than defining another syntax. Yeah, there's probably value to that. My anti-mime point in this context is about the fact that I'm talking about a news server design where I'm trying to work towards removing the "article" level from the equation when transporting files. Right now, NNTP transports articles. And articles sometimes include files. My ideal here is to try and give NNTP the power to transport files directly and not get articles mixed up in the problem when users simply want to transport files. And instead of working to remove articles from the picture, we are instead talking about replacing a simple article with a complex MIME article. That's heading in the wrong direction from my ideal. We are adding a complex level into the solution when my goal was to take that level out completely. However, my goal may be total impractical for backwards compatibility reasions, and if we have to stick with fairly normal articles to hold this data, MIME may well be the most logical way to pack the data into articles. -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Where and how to best include multi-part info (was: Proposed new binaries hierarchy: alt.binaries.yenc-sucks.*)
Author: J.B. Moreno
Date: Sat, 09 Mar 2002 08:29
Date: Sat, 09 Mar 2002 08:29
37 lines
3538 bytes
3538 bytes
In article <20020308222528.477$mA@newsreader.com>, Curt Welch <curt@kcwc.com> wrote: > However, I suspect MIME has nothing we could use for this because > it was not designed to solve this problem. I'm guessing that there is > nothing in MIME that would fit this requirement. But, I'm sure that one > way or another, we could find a place to put this number into the header. > Whether it could become a documented MIME standard at some point would > be harder to figure out I presume. MIME is big on data being included in position independent parameters, and for unknown parameters to be ignored. When yEnc was being discussed, one of the alternatives was quoted-printable (or to be exact, qp-lite), with the error correction info included in the Content-Type. Content-Type: message/multipart; size=123 But it'll require more than that to get it accepted -- Andrew says that yEnc was a bad idea because it'll prevent progress in the future, and I might agree: if I saw any signs that progress on other fronts was going to happen. Now I think it's a good thing simply because it shakes up the status quo and shows that change is /possible/ if people work on it. Now it's just necessary to get people to work on something better. It can't all (IMO) be done simply in MIME, because it has to offer some benefits to those that don't do MIME, but yeah, things like the size and error detection can be done as MIME parameters easily enough. So (IMO) start with a simple statement: this is a binary, not a regular article. And make that infallibly detectable via the overview. And then go on from there. -- J.B. Moreno
Re: Proposed new binaries hierarchy: alt.binaries.yenc-sucks.* [was: R
Author: Claus Färber
Date: Sat, 09 Mar 2002 10:43
Date: Sat, 09 Mar 2002 10:43
48 lines
3555 bytes
3555 bytes
Curt Welch <curt@kcwc.com> schrieb/wrote:
> And that's the content length. I need to size of the file before it
> was encoded, not the size of the mime message.
Well, in HTTP, Content-Length is only allowed if both lenghts are
the same. Furhter, HTTP does not use a Content-Transfer-Encoding
but a Transfer-Encoding, which is quite different.
If we would introduce Content-Length to RFC 2822/1036 messages, we
could also define it as being the length of the file.
Basically, I see two options:
. Use message/partial and add parameters that specify which parts
of which files can be found where in the message (which would be
backwards compatible, e.g.:
Content-Type: message/partial; total=10; number=1;
id="bla@example.com";
content-id-1="<bla1@example.com>";
content-md5-1="sdpfjksfjslfjsdlkfj"; (imagine a valid MD5 here)
content-disposition-1="attachment";
content-disposition-1-filename="Nice Song.mp3";
content-transfer-encoding-1="base64"; (parts must be split at lines)
content-range-1="1-100000/1000000"; (range found in this message)
content-pos-1="4-20000"; (line numbers)
content-type-1="audio/mp3"
Yeah, ugly and bulky, but backwards-compatible with newsreaders
that handle message/partial.
. Just introduce Content-Range from HTTP and send all parts as
seperate MIME entities, e.g.:
Content-Type: audio/mp3
Content-Disposition: attachment; filename="Nice Song.mp3"
Content-Range: 1-100000/1000000
Content-ID: <bla1@example.com>
Content-MD5: sdpfjksfjslfjsdlkfj
Content-Transfer-Encoding: Base64
More elegant, but not backwards-compatible.
Claus
--
------------------------ http://www.faerber.muc.de/ ------------------------
OpenPGP: DSS 1024/639680F0 E7A8 AADB 6C8A 2450 67EA AF68 48A5 0E63 6396 80F0
Re: Where and how to best include multi-part info
Author: Jeffrey M. Vinocur
Date: Sat, 09 Mar 2002 21:48
Date: Sat, 09 Mar 2002 21:48
19 lines
1717 bytes
1717 bytes
In article <a69je9$cdqtv$1@ID-26705.news.dfncis.de>, Klaas <spamhole@klaas.ca> wrote: > >True. Especially seeing that clients tend to evolve quicker than >servers. I see complaints about Typhoon not having updates let alone >major feature additions, and I doubt Russ has time to add a major >feature to INN in the near future. I'm only vaguely following this discussion, but are you just looking for a header to be added to overview? That doesn't require any code changes -- simply a configuration change. (And the space to support it.) -- Jeffrey M. Vinocur jeff@litech.org
Re: Where and how to best include multi-part info
Author: Klaas
Date: Sun, 10 Mar 2002 04:25
Date: Sun, 10 Mar 2002 04:25
33 lines
2572 bytes
2572 bytes
Jeffrey M. Vinocur <jeff@litech.org> wrote in message news:a6dvvr$cvi$6@marduk.litech.org... > In article <a69je9$cdqtv$1@ID-26705.news.dfncis.de>, > Klaas <spamhole@klaas.ca> wrote: > > > >True. Especially seeing that clients tend to evolve quicker than > >servers. I see complaints about Typhoon not having updates let alone > >major feature additions, and I doubt Russ has time to add a major > >feature to INN in the near future. > > I'm only vaguely following this discussion, but are you just > looking for a header to be added to overview? That doesn't > require any code changes -- simply a configuration change. > > (And the space to support it.) That's one option - but not the one I was referring to. We were discussing adding a new nntp command, XFILES, that would function like an overview but return one record per _file_, rather than part. This would reduce the overview download size in huge multi-part binary groups, as well as allow for much better binary part matching. Adding a new header to the overview would have the disadvantage of still requiring huge overview downloads that aren't necessary since the server can (theoretically) join parts reliably and return _files_ instead. If an XFILES or similar command wasn't implemented, why not simply add the data to a header already in the overview, guaranteeing the same benefit will work on all servers? -Mike
Re: Where and how to best include multi-part info
Author: J.B. Moreno
Date: Sun, 10 Mar 2002 06:36
Date: Sun, 10 Mar 2002 06:36
25 lines
2139 bytes
2139 bytes
In article <a6dvvr$cvi$6@marduk.litech.org>, Jeffrey M. Vinocur <jeff@litech.org> wrote: > Klaas <spamhole@klaas.ca> wrote: > > > >True. Especially seeing that clients tend to evolve quicker than > >servers. I see complaints about Typhoon not having updates let alone > >major feature additions, and I doubt Russ has time to add a major > >feature to INN in the near future. > > I'm only vaguely following this discussion, but are you just > looking for a header to be added to overview? That doesn't > require any code changes -- simply a configuration change. > > (And the space to support it.) Well, yes and no -- part of the discussion is about having some information available from the overview, WITHOUT requiring changes in the servers (and without clients being recoded in order to recognize extra overview data; except for Gnus newsreaders seem to just ignore extra headers at best). -- J.B. Moreno
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