🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
18 messages
18 total messages Started by Juergen Helbing Thu, 13 Feb 2003 11:39
Faking a MIME multipart Content-Type-ID
#64030
Author: Juergen Helbing
Date: Thu, 13 Feb 2003 11:39
45 lines
2257 bytes
During the ongoing work to integrate yEnc into MIME
I've found problem which I wanted to solve earlier
(and which xBin also wants to solve):

I am not too familiar with MIME, but some nice guys
here know far more about it. So perhaps you can help:

It seems that the basic concept of "multipart detection"
within MIME is to have an own "id=<..@..>" parameter
in the  Content-Type   header. There also "number=1;"
and "total=15;" are identifying the part number and the
total amount of parts. 

It seems that I am having now the same problem as 
earlier: If someone sends out a multipart - then an evil
person could fetch the first part as soon as it comes in.
He could again send out 'own fakes' with that content-id.
Again a client would not be able to find out which
message (the original or the faked ones) is correct
without downloading all of them and using additional
'methods' (exncrypted, xBin-ned) to identify which one
to use....

My question:
Am I right that also such 'yEnc-MIME-multiparts' should not
be invented without additional security (as xBin or similar) ?

That MIME-concept was designed for eMail (when the user
has all the parts together on his computer) and the risk of
fakes is zero. Here on Usenet we have different conditions.

The more I dig into that stuff the more I understand why
Usenet is still relying on that old, idiotic subject line
identification......  Users are far easier to fool than automatic
software which tries to collect multiparts automatically.

<sigh>

And ideas, help, comments ?

TIA
-- 
Juergen

Re: Faking a MIME multipart Content-Type-ID
#64054
Author: Jeremy
Date: Sat, 15 Feb 2003 23:33
17 lines
1509 bytes
Juergen Helbing <archiver@i3w.com> wrote:

> My question:
> Am I right that also such 'yEnc-MIME-multiparts' should not
> be invented without additional security (as xBin or similar) ?

No.  You're talking about two different problems -- multipart posts, and
security.

xBin solves the security problem, and there is no reason it can't be used
with any of the similar multipart-posting solutions which have been proposed
(mine and others).  There's not even any reason I can think of why an xBin
ID can't be used as the id parameter in my application/file-fragment spec.

-- 
Jeremy  |  jeremy@exit109.com
Re: Faking a MIME multipart Content-Type-ID
#64065
Author: Juergen Helbing
Date: Mon, 17 Feb 2003 07:46
32 lines
1985 bytes
Jeremy <jeremy@exit109.com> wrote:

>> My question:
>> Am I right that also such 'yEnc-MIME-multiparts' should not
>> be invented without additional security (as xBin or similar) ?
>
>No.  You're talking about two different problems -- multipart posts, and
>security.

In case of Usenet the problems are directly connected.
I never tried to send out MIME multiparts _plus_ some faked
messages with the same content-id. But I'm afraid that all existing
newsreaders/decoders would mess up the posts.

My problem is that I dont want to invent a method which is
unsecure from the beginning and an open door to abuse.


>xBin solves the security problem, and there is no reason it can't be used
>with any of the similar multipart-posting solutions which have been proposed
>(mine and others).  There's not even any reason I can think of why an xBin
>ID can't be used as the id parameter in my application/file-fragment spec.

The only reason is that xBin is not yet specified and released :-)
So it seems that I'm basically right:
Either we solve the multiparts properly - or we should keep fingers off.

Thanks for the answer.
-- 
Juergen

Re: Faking a MIME multipart Content-Type-ID
#64107
Author: Curt Welch
Date: Fri, 21 Feb 2003 21:28
38 lines
2723 bytes
archiver@i3w.com (Juergen Helbing) wrote:
> The more I dig into that stuff the more I understand why
> Usenet is still relying on that old, idiotic subject line
> identification......  Users are far easier to fool than automatic
> software which tries to collect multiparts automatically.

Exactly.

> <sigh>
>
> And ideas, help, comments ?

xBin.

When we started looking at trying to put machine readable information into
the headers to make automated download tools work, it was obvious (to me at
least) that any "automated" system would be easy to trick and this would be
an important probelm that would need to be solved before any type of
automated system would be useable.  Though I was meet with arguments like
"How often do you see that type of abuse and why is security so important",
it was still obvious to me that without a secure system, the automated
nature of finding and matching up parts could not work.  That's why we
started looking at hash systems and that's what led us to the tree-hash
which works so well to solve this very problem.

To make an automated system work, all you have to do is put the correct
information about the file segements anywere in the header (even the
subject).  But to prevent it's abuse, you will need to do something better.
That's what xBin provides.

Yeah, so it's not done.  Feel free to help motivate me and the others here
get it done.  Send me a few e-mails and kick my butt for not spending more
time on it.  We really don't have all that much left to hash out.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Re: Faking a MIME multipart Content-Type-ID
#64135
Author: Jeremy
Date: Sun, 23 Feb 2003 01:19
34 lines
2205 bytes
Juergen Helbing <archiver@i3w.com> wrote:
> Jeremy <jeremy@exit109.com> wrote:
> 
>> No.  You're talking about two different problems -- multipart posts, and
>> security.
> 
> In case of Usenet the problems are directly connected.

But it doesn't necessarily follow that they must both be solved by the
same idea.  Breaking the problem down into its components and solving
each one on its own is a basic technique for tackling large problems.

> I never tried to send out MIME multiparts _plus_ some faked
> messages with the same content-id. But I'm afraid that all existing
> newsreaders/decoders would mess up the posts.

Since no existing newsreaders use Content-ID to assemble multiparts,
and no one posts multiparts in MIME, I'm not sure what this has to do
with anything.

>> xBin solves the security problem, and there is no reason it can't be
>> used with any of the similar multipart-posting solutions which have
>> been proposed (mine and others).  There's not even any reason I can
>> think of why an xBin ID can't be used as the id parameter in my
>> application/file-fragment spec.
> 
> The only reason is that xBin is not yet specified and released :-)

Neither is anything else, so I don't see what this has to do with
anything, either.

-- 
Jeremy  |  jeremy@exit109.com
Re: Faking a MIME multipart Content-Type-ID
#64138
Author: Juergen Helbing
Date: Sun, 23 Feb 2003 10:10
109 lines
5139 bytes
Jeremy <jeremy@exit109.com> wrote:

>>> No.  You're talking about two different problems -- multipart posts, and
>>> security.
>> 
>> In case of Usenet the problems are directly connected.
>
>But it doesn't necessarily follow that they must both be solved by the
>same idea.  Breaking the problem down into its components and solving
>each one on its own is a basic technique for tackling large problems.

When we were talking about "identifying multiparts properly"
- with any technic - then I was told _instantly_ that this does not
work because it would be too easy to fake. And that there _are_
people who are ready to create faked message to disturb full
automatic multipart identification.

So I dont believe that the 'belongs together' problem can be
solved alone - for USENET !

>> I never tried to send out MIME multiparts _plus_ some faked
>> messages with the same content-id. But I'm afraid that all existing
>> newsreaders/decoders would mess up the posts.
>
>Since no existing newsreaders use Content-ID to assemble multiparts,

Then please answer me one question:
That stuff was invented a decade who.
For what ?
Are all mailreader relying also on the "subject" ?  

>and no one posts multiparts in MIME, I'm not sure what this has to do
>with anything.

There _are_ people out there posting multiparts in MIME.
And multiposts with content-id in MIME.

I believe that you are running a News->Web Interface which
pre-decodes. So you should get enough of that stuff all the time.
I am just monitoring 1% of the Binary Usenet - you are doing 
99.999% !   And even I am seeing much strange MIME stuff
all the time.

>> The only reason is that xBin is not yet specified and released :-)
>
>Neither is anything else, so I don't see what this has to do with
>anything, either.

I am not sure whether you've followed the various discussions here
about 'labelling multiparts' properly.
(And the 'Content-ID' _is_ a proper labelling of multiparts).

Please apologize if you are completely aware of the
issue. This is just an attempt to bring you up to date:


It seems that many people here agree that 'proper labelling'
and 'proper identification' of multiparts is essential to move
Binary Usenet from transporting just message to transporting 
files.
But as soon as be break up files into messages there is the
security hole that someone can intercept the 'partial file' 
while it is distributed over Usenet. He can send out own
faked messages with the same "file-identification" which
either disturbs the distribution overall - or adds garbage
which must be carefully sorted out (almost after downloading
entire messages by the user).....

Until today _nobody_ is properly identifying files as files.
So the users _always_ have to join 'manually' or the newsreaders
must offer that option.
If we offer "file-identification' (which the content-id is) then the
client programmers want to _use_ these IDs to properly 
detect, download and join files from messages. 
But if the proposed (and introduced) 'labelling' is a security
risk by definition, then it will not work.

One of my proposals for 'proper multipart labelling' was to
use the message-id. But because this would result in
"forseeable id's" which can be easily faked I was told to
let it be.
Now the 'Content-ID' has exactly the same 'risk':
Someone who intercepts the first of 500 parts could
easily send out 450 faked parts confusing every 
newsreader.

xBin wants to solve this problem by 'encrypting the content'
with hashes. So a client (or a reader-server) could check posts
for validity. 

I am myself simply concerned whether it makes any sense to
introduce any kind of "proper multipart labelling" without
security. And xBin seems to be the only solution to that
problem. That's why I believe it might be wise to wait for
xBin to become ready even before I continue with 
"yENc+MIME+COntent-ID"...


If you believe that the risk is low - and that we can easily
start labelling multiparts properly _without_ security, then
please advice me. Life would be so much easier without
xBin. But I dont want to introduce or specify new things
without following the mainstream.

TIA
-- 
Juergen

Re: Faking a MIME multipart Content-Type-ID
#64139
Author: Juergen Helbing
Date: Sun, 23 Feb 2003 10:31
25 lines
1339 bytes
curt@kcwc.com (Curt Welch) wrote:

>xBin
>[...]
>To make an automated system work, 
>[...]

I've lost the overview for xBin entirely - but it seems that
I've understood the principle.

>[...]
>That's what xBin provides.
>
>Yeah, so it's not done.  Feel free to help motivate me and the others here
>get it done.  Send me a few e-mails and kick my butt for not spending more
>time on it.  We really don't have all that much left to hash out.

Actually your delay is a perfect excuse for the delay of yEnc-MIME.  :-)
So I am waiting for you....

CU
-- 
Juergen

Re: Faking a MIME multipart Content-Type-ID
#64143
Author: Rene
Date: Sun, 23 Feb 2003 15:47
82 lines
5075 bytes
archiver@i3w.com (Juergen Helbing) wrote:
> If we offer "file-identification' (which the content-id is) then the
> client programmers want to _use_ these IDs to properly
> detect, download and join files from messages.
> But if the proposed (and introduced) 'labelling' is a security
> risk by definition, then it will not work.

It will work until people start to disrupt it. The time until that happens
is directly proportional to the difficulty to do it. So if there is zero
security, then there's no improvement in that regard.

> xBin wants to solve this problem by 'encrypting the content'
> with hashes. So a client (or a reader-server) could check posts
> for validity.

Not encrypting, fingerprinting is what it does. xBin does not encrypt
anything at all (that would imply you could deduce the content from the
hash, ie. the operation would be reversible, but that is exactly what must
not be. That's why xBin is using a cryptographic secure hash. Its still not
encryption but the one-way function must be secure.)

> I am myself simply concerned whether it makes any sense to
> introduce any kind of "proper multipart labelling" without
> security. And xBin seems to be the only solution to that

Imho no ! Because we already have a multipart labelling today (although an
improper one) : subject naming. I mean, it *does* work, more or less.

> problem. That's why I believe it might be wise to wait for
> xBin to become ready even before I continue with
> "yENc+MIME+COntent-ID"...

xBin is not the only solution. It is one solution. There is always more
than one way to do it.

> If you believe that the risk is low - and that we can easily
> start labelling multiparts properly _without_ security, then
> please advice me. Life would be so much easier without

Well just set up a proper standard. Wheter that data is in the subject or
in another header is in that case not really relevant. (No I don't advocate
using the subject, my point is only that if the header is called Content-ID
or Subject is not really that much difference).

So you only need a standard. A binding one, on which everyone adheres to.
But in order for that to happen, you need people actually implementing it.
That's the main effort that needs to be done. And when you're already at it
getting various people implementing your new standard, you really should
provide a bit more than just a naming scheme. Throw in some bonus. Like
security, ease of use, etc. Because your implementors are not going to jump
at every single new idea. They might implement something once and then
they'll stay at that level for the next years.

And for a really binding standard, it does need more than just one program
that can do it. You need at least one for every platform out there. You
need people that program tools for these plattforms. You need these people
thinking "yes that's really cool I want that" and not needing to push them
to implement it.

xBin will have the same problem once it goes into final stage. But I do
think its benefits will get some people implement it on their own. Sure,
just doing a proper labeling standard would be easier. But I think that's
simply too few value for the effort.

> xBin. But I dont want to introduce or specify new things
> without following the mainstream.

Well xBin is no mainstream at all. It doesn't even exist yet, strictly
speaking. But if you meant security with mainstream, then you're doing the
right thing, imho. Too much has been done without any thought on security
in the IT business. And the knowledge of how to intercept, maipulate or
missuse is easily obtainable today (not that I'd advocate security by
obscurity alone...).

Bringing something new that should become widespread (whatever that means)
without any thought and provision for security is plain and simply
unresposible, insensible and dangerous. But that's all imho.

-- 
-------------------- http://NewsReader.Com/ --------------------
Usenet Newsgroup Service              New Rate! $9.95/Month 50GB
Re: Faking a MIME multipart Content-Type-ID
#64146
Author: Curt Welch
Date: Sun, 23 Feb 2003 17:16
55 lines
3573 bytes
archiver@i3w.com (Juergen Helbing) wrote:
> Jeremy <jeremy@exit109.com> wrote:

> >Since no existing newsreaders use Content-ID to assemble multiparts,
>
> Then please answer me one question:
> That stuff was invented a decade who.
> For what ?
> Are all mailreader relying also on the "subject" ?

I've always assumed it was done for Usenet to replace Multiplart binaries.
I don't see any real value in using multipart e-mail messages.  Any file
that's too large to send as a single e-mail message probably souldn't be
send by e-mail at all.  I suspect that's mostly how it works in real life
so even if some e-mail clients support it, I doub't it used much.  I've
never seen it done.

And on Usenet, it just never caught on.  MIME added a lot to e-mail, it was
the first standard way to attach files to e-mail messages.  Before mime,
people just didn't move very many files by e-mail.  You put files on ftp
servers and sent e-mail messages telling people were to find the file.
However, usenet found ways to attach files and to do multipart files and
everone was already doing it before MIME came along.  And most of what MIME
added on top of what Usenet software had already achieved was either not
very important for Usenet or not wanted.  So there has been very little
motivation to change.

Compatiblity with e-mail clients is a good reason to change and a big
reason why MIME is sometimes used on Usenet.  It seems to be the
dual-client Mail/Usenet tools like OE that have caused MIME to show up on
Usenet in the first place.

> >and no one posts multiparts in MIME, I'm not sure what this has to do
> >with anything.
>
> There _are_ people out there posting multiparts in MIME.
> And multiposts with content-id in MIME.

Yeah, I've seen a few as well.  Wasn't that 80 (?) part post by Bill from
ultrafeed in alt.binaries.news-server-comparison a MIME multipart? :)

However, I think most multipart usenet tools don't understand MIME
multiparts so it's fairly stupid to post a multipart message on USENET in
that format.

> I believe that you are running a News->Web Interface which
> pre-decodes.

Jeremy works for Supernews.  They don't have a web inteface (anymore) as
far as I know.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Re: Faking a MIME multipart Content-Type-ID
#64152
Author: Jeremy
Date: Sun, 23 Feb 2003 22:21
100 lines
5345 bytes
Juergen Helbing <archiver@i3w.com> wrote:

> When we were talking about "identifying multiparts properly"
> - with any technic - then I was told _instantly_ that this does not
> work because it would be too easy to fake. And that there _are_
> people who are ready to create faked message to disturb full
> automatic multipart identification.
> 
> So I dont believe that the 'belongs together' problem can be
> solved alone - for USENET !

Of course it can.  It just apparently needs another component bolted
onto it to solve security.

You're a programmer, right?  Do you break down a program into component
parts, writing classes and/or subroutines for each part of the problem
you're solving?  Or do you insist that the entire functionality of the
program must be addressed by a single subroutine?

I *really* don't even understand what you're getting at, here.  I came
up with one possible method of posting, identifying, and assembling
multiparts.  Someone else came up with a secure content-id.  You can't
really be saying that both ideas are invalid because each of them doesn't
solve the entire problem on its own?  That using both of them together
isn't a valid idea because the entire problem must be solved by one idea?

>> Since no existing newsreaders use Content-ID to assemble multiparts,
> 
> Then please answer me one question:
> That stuff was invented a decade who.
> For what ?

For mail.

Content-ID is used mainly in MIME multiparts, which, despite having the
same word as their name ("multipart"), are a differen thing from what
we're talking about as "multipart binaries".  A MIME multipart is a single
message with multiple parts.  Content-ID is used to address the individual
entities within a single message.

For example, if you have a message with type multipart/related, with the
"main" message being a text/html part, you can have another file, a jpeg,
attached to the message as another MIME entity.  That jpeg entity is given
a Content-ID.  Then, from within the text/html message, you can use an
<img src="cid:blabla"> tag to reference the jpeg.

> Are all mailreader relying also on the "subject" ?  

Mail readers, by and large, do not assemble "multipart binaries" of the
type we're discussing.  If they do, they can use message/partial, which
was delveloped for that purpose in mail.

>> and no one posts multiparts in MIME, I'm not sure what this has to do
>> with anything.
> 
> There _are_ people out there posting multiparts in MIME.

No one is doing it who actually knows what they're doing.  Any which are
posted are done out of ignorance or cluelessness, because almost no one
can make use of them.

> I believe that you are running a News->Web Interface which
> pre-decodes.

No, you have me confused with Easynews.  Supernews has no web interface
at the moment.

>>> The only reason is that xBin is not yet specified and released :-)
>>
>> Neither is anything else, so I don't see what this has to do with
>> anything, either.
> 
> I am not sure whether you've followed the various discussions here
> about 'labelling multiparts' properly.
> (And the 'Content-ID' _is_ a proper labelling of multiparts).

xBin is a secure implementation of Content-ID, placed into the wrong
header for various reasons.  But, it *is* a Content-ID.  It can be
used as one, either within the specification, or "bending" it by
putting it in the wrong place.

> One of my proposals for 'proper multipart labelling' was to
> use the message-id. But because this would result in
> "forseeable id's" which can be easily faked I was told to
> let it be.

I disagree with the use of the Message-ID for other reasons, but that's
neither here nor there.  It doesn't matter *what* method you eventually
end up using.  There are two distinct problems: what to do with the ID,
and how to generate it.  xBin solves the second part.  The first part
has a number of potential solutions already on the table.  It seems to
me that the next step is to take xBin and add it into one of those
solutions.

I see no need to start over and try to invent something new, unless you
have something new which does the job much better.

-- 
Jeremy  |  jeremy@exit109.com
Re: Faking a MIME multipart Content-Type-ID
#64153
Author: Jeremy
Date: Sun, 23 Feb 2003 22:25
22 lines
1834 bytes
Curt Welch <curt@kcwc.com> wrote:

> I've always assumed it was done for Usenet to replace Multiplart binaries.
> I don't see any real value in using multipart e-mail messages.

No, message/partial was invented for email.  The idea was to be able to
break up large messages to get them through gateways which can't handle
messages of that size.

It turned out to be very rarely needed.

The whole Content-ID thing is completely different.  It is mainly used
in MIME multiparts (as opposed to Usenet multipart binaries).

We have a naming problem here.  A MIME multipart is *one* message, with
multiple parts.  A Usenet multipart binary is several messages, encoding
a single file.  We're calling them both "multiparts", and there is some
confusion resulting from this.

-- 
Jeremy  |  jeremy@exit109.com
Re: Faking a MIME multipart Content-Type-ID
#64163
Author: Juergen Helbing
Date: Tue, 25 Feb 2003 12:33
87 lines
4143 bytes
Rene <invalid@email.addr> wrote:

>> xBin wants to solve this problem by 'encrypting the content'
>> with hashes. So a client (or a reader-server) could check posts
>> for validity.
>
>Not encrypting, fingerprinting is what it does. 

Pardon, thats what I wanted to say - but was not able to do.


>> I am myself simply concerned whether it makes any sense to
>> introduce any kind of "proper multipart labelling" without
>> security. And xBin seems to be the only solution to that
>
>Imho no ! Because we already have a multipart labelling today (although an
>improper one) : subject naming. I mean, it *does* work, more or less.

Thanks for the confirmation.


>> problem. That's why I believe it might be wise to wait for
>> xBin to become ready even before I continue with
>> "yENc+MIME+COntent-ID"...
>
>xBin is not the only solution. It is one solution. There is always more
>than one way to do it.

It is the one solution someone is actively working on.
Solutions which do exist only in fantasy and are not even
discussed do not even exist (for all practival purposes).  :-)


>> If you believe that the risk is low - and that we can easily
>> start labelling multiparts properly _without_ security, then
>> please advice me. Life would be so much easier without
>
>Well just set up a proper standard. Wheter that data is in the subject or
>in another header is in that case not really relevant. (No I don't advocate
>using the subject, my point is only that if the header is called Content-ID
>or Subject is not really that much difference).

It would make a _huge_ difference for the acceptance by the neticens.
IMHO every identification scheme which is not anchored in the
existing standard XOVER headers is doomed to fail.


>xBin will have the same problem once it goes into final stage. But I do
>think its benefits will get some people implement it on their own. Sure,
>just doing a proper labeling standard would be easier. But I think that's
>simply too few value for the effort.

Things are changing faster than expected.
Perhaps we can catch three flies with one hit soon.

>> xBin. But I dont want to introduce or specify new things
>> without following the mainstream.
>
>Well xBin is no mainstream at all. It doesn't even exist yet, strictly
>speaking. 

"Mainstream" would be the majority of people here talking about
secure multipart identification. The only alternative concepts
came from myself and got negative feedback.

Is there any other mainstream I've missed ?


>But if you meant security with mainstream, then you're doing the
>right thing, imho. Too much has been done without any thought on security
>in the IT business. And the knowledge of how to intercept, maipulate or
>missuse is easily obtainable today (not that I'd advocate security by
>obscurity alone...).
>
>Bringing something new that should become widespread (whatever that means)
>without any thought and provision for security is plain and simply
>unresposible, insensible and dangerous. But that's all imho.

We agree fully in the need of security.

btw.: The new name of yEnc+MIME seems to be: gzip-8bit secure-mp :-)

So long
-- 
Juergen

Re: Faking a MIME multipart Content-Type-ID
#64167
Author: Juergen Helbing
Date: Tue, 25 Feb 2003 12:45
75 lines
3813 bytes
curt@kcwc.com (Curt Welch) wrote:

>> Are all mailreader relying also on the "subject" ?
>
>I've always assumed it was done for Usenet to replace Multiplart binaries.
>I don't see any real value in using multipart e-mail messages.  Any file
>that's too large to send as a single e-mail message probably souldn't be
>send by e-mail at all.  I suspect that's mostly how it works in real life
>so even if some e-mail clients support it, I doub't it used much.  I've
>never seen it done.

As a 'hostmaster' for a small company I am also the 'postmaster'.
And my tiny mailserver had often enough problems to send out
50 meg large eMail - because the other side did not accept them - 
(or to receive them).
Activating policy to forbid this caused nothing more than fire under
my ass. 

I'm familair with multipart mail :-)
But - of course - not with faked mail. This does not happen.


>Compatiblity with e-mail clients is a good reason to change and a big
>reason why MIME is sometimes used on Usenet.  It seems to be the
>dual-client Mail/Usenet tools like OE that have caused MIME to show up on
>Usenet in the first place.

Yes - and if we create any kind of 'MIME' standard which is not recognized
and/or accepted by OE, then we dont need to spent any time on it.

I wanted to test yEnc+MIME+fakes+OE4-6 right now - but I postponed it.

>> There _are_ people out there posting multiparts in MIME.
>> And multiposts with content-id in MIME.
>
>Yeah, I've seen a few as well.  Wasn't that 80 (?) part post by Bill from
>ultrafeed in alt.binaries.news-server-comparison a MIME multipart? :)

I dont decode binaries in that group :-)  It is flagged as a text group.

>However, I think most multipart usenet tools don't understand MIME
>multiparts so it's fairly stupid to post a multipart message on USENET in
>that format.

The good question might be how these are handled then.
The 'worst case imaginable' would be that such tools are joining
messages (with their integrated JOIN function) by assembling just 
the bodies and writing them to a diskfile. Without the headers
of the messages we will have a big mess then (backward compatibility).

This is -btw - exactly the reason why yEnc is including the part-info
into the body. Then even OE users are able to decode them externally.


>> I believe that you are running a News->Web Interface which
>> pre-decodes.
>
>Jeremy works for Supernews.  They don't have a web inteface (anymore) as
>far as I know.

<funny speculation joke>
He is waiting for a good standard to assemble automatically :-)
Now I understand why he is so angry about yEnc.
It could have been so much better.
</funny speculation joke>

Those poor idiots as you and me who are running news->web gateways
are discussing about it all the time and don't come to an end.
LOL - what an irony....

CU
-- 
Juergen

Re: Faking a MIME multipart Content-Type-ID
#64168
Author: Juergen Helbing
Date: Tue, 25 Feb 2003 12:50
31 lines
1929 bytes
Jeremy <jeremy@exit109.com> wrote:

>No, message/partial was invented for email.  The idea was to be able to
>break up large messages to get them through gateways which can't handle
>messages of that size.
>
>It turned out to be very rarely needed.

This is true since M$ did change the default setup to UU for posting
to Usenet. :-)

>The whole Content-ID thing is completely different.  It is mainly used
>in MIME multiparts (as opposed to Usenet multipart binaries).
>
>We have a naming problem here.  A MIME multipart is *one* message, with
>multiple parts.  A Usenet multipart binary is several messages, encoding
>a single file.  We're calling them both "multiparts", and there is some
>confusion resulting from this.

Nice trap. Lots of confusion.
Of course I am using "MIME+multipart" in the way I am using 
"Usenet+multipart".....
But for avoiding future confusion:  What is the correct identifier
for 20 mail messages which contain 1 file ?  
Or for 50 mail messages which contain 30 files ?

CU
-- 
Juergen

Re: Faking a MIME multipart Content-Type-ID
#64170
Author: Juergen Helbing
Date: Tue, 25 Feb 2003 13:20
122 lines
5954 bytes
Jeremy <jeremy@exit109.com> wrote:

>> So I dont believe that the 'belongs together' problem can be
>> solved alone - for USENET !
>
>Of course it can.  It just apparently needs another component bolted
>onto it to solve security.
>
>You're a programmer, right?  Do you break down a program into component
>parts, writing classes and/or subroutines for each part of the problem
>you're solving?  Or do you insist that the entire functionality of the
>program must be addressed by a single subroutine?

You say that these are two different problems - and you would be right
if we could send out identifyable multiparts also without security.

But this might be the same as to say:  "Hey - I can accept credit cards
on the webserver now without security".

Technically it would be possible to label just the mps.
But the job cannot be done this way alone.  
So in fact I personally would even prefer NOT to label
multiparts in clear text - and to hide all that labelling info
into the secure hashes. Then it would be just ONE routine.  :-)

(In practice this would never work - we need at least to continue
to label multiparts in the subject)


>I *really* don't even understand what you're getting at, here.  I came
>up with one possible method of posting, identifying, and assembling
>multiparts.  Someone else came up with a secure content-id.  You can't
>really be saying that both ideas are invalid because each of them doesn't
>solve the entire problem on its own?  That using both of them together
>isn't a valid idea because the entire problem must be solved by one idea?

Sorry, the conclusion that we need secure labelling is the result of a bunch
of discussions and threads here in n.s.n from the last few weeks.
Some people here agree that _proper_ Usenet multipart identification
requires security. And I agree to that point of view. Dont you ?

>>> Since no existing newsreaders use Content-ID to assemble multiparts,
>> 
>> Then please answer me one question:
>> That stuff was invented a decade who.
>> For what ?
>
>For mail.
>
>Content-ID is used mainly in MIME multiparts, which, despite having the
>same word as their name ("multipart"), are a differen thing from what
>we're talking about as "multipart binaries".  A MIME multipart is a single
>message with multiple parts.  Content-ID is used to address the individual
>entities within a single message.

It seems that I am completely uninformed here.
I always thought that all existing news-readers which are able to post
Usenet-multiparts in MIME are using the content-id to identify that
messages belong together. The few I know seem to do this (during
posting, I'm not sure for assembly).


>For example, if you have a message with type multipart/related, with the
>"main" message being a text/html part, you can have another file, a jpeg,
>attached to the message as another MIME entity.  That jpeg entity is given
>a Content-ID.  Then, from within the text/html message, you can use an
><img src="cid:blabla"> tag to reference the jpeg.

WOW - now I even understand your method to attach thumbnails
to picture-posts.

>> Are all mailreader relying also on the "subject" ?  
>
>Mail readers, by and large, do not assemble "multipart binaries" of the
>type we're discussing.  If they do, they can use message/partial, which
>was delveloped for that purpose in mail.

Finding out what mail- and newsreaders are really doing with 
mail+usenet multiposts will be a nice job.

>> There _are_ people out there posting multiparts in MIME.
>
>No one is doing it who actually knows what they're doing.  Any which are
>posted are done out of ignorance or cluelessness, because almost no one
>can make use of them.

You made my day with this comment.
Of course you are right - these people are doing this because they
dont know what they are doing :-)
However the newsreaders/posters _have_ the setup to post that way.

In my nitemare the worst scenario would be that all news-readers
are programmed to handle MIME they way "they like most".... 

Does anybody remember the big 'MIME-War' from the mid 90's
when many people posted MIME bianries to Usenet ?

Was there ever a conclusion - other than neticens did not accept
the method ?

>[...]
>I disagree with the use of the Message-ID for other reasons, but that's
>neither here nor there.  It doesn't matter *what* method you eventually
>end up using.  There are two distinct problems: what to do with the ID,
>and how to generate it.  xBin solves the second part.  The first part
>has a number of potential solutions already on the table.  It seems to
>me that the next step is to take xBin and add it into one of those
>solutions.
>
>I see no need to start over and try to invent something new, unless you
>have something new which does the job much better.

So if I understand you right then you propose to make labelling
of multiparts independent from xBin. Right ?

In this case I need your expertise about the risks.

CU
-- 
Juergen

Re: Faking a MIME multipart Content-Type-ID
#64175
Author: Jeremy
Date: Tue, 25 Feb 2003 19:24
20 lines
1735 bytes
Juergen Helbing <archiver@i3w.com> wrote:

>> We have a naming problem here.  A MIME multipart is *one* message, with
>> multiple parts.  A Usenet multipart binary is several messages, encoding
>> a single file.  We're calling them both "multiparts", and there is some
>> confusion resulting from this.
> 
> Nice trap. Lots of confusion.
> Of course I am using "MIME+multipart" in the way I am using 
> "Usenet+multipart".....
> But for avoiding future confusion:  What is the correct identifier
> for 20 mail messages which contain 1 file ?  
> Or for 50 mail messages which contain 30 files ?

Unfortunately, the naming problem isn't just a matter of some people using
the wrong word.  The name for both things is indeed "multipart".

-- 
Jeremy  |  jeremy@exit109.com
Re: Faking a MIME multipart Content-Type-ID
#64176
Author: Jeremy
Date: Tue, 25 Feb 2003 19:47
71 lines
4213 bytes
Juergen Helbing <archiver@i3w.com> wrote:

> You say that these are two different problems - and you would be right
> if we could send out identifyable multiparts also without security.
> 
> But this might be the same as to say:  "Hey - I can accept credit cards
> on the webserver now without security".

Exactly!  And you can.  The problems are different.

The solution to the problem of "how do I charge this credit card?" and to
the problem of "how do I make sure someone can't steal this information?"
are completely different.  They can be implemented with different code, by
different people, at a different level of the application, and they more or
less have nothing to do with each other -- except that you can't have one
without the other.

(Actually, in that example, there are two different security problems --
security during transmission, and security of the stored data.  Even those
two are solved on their own.  You don't have to re-invent SSL every time
you write a shopping cart, and you don't say a shopping cart solution is
incomplete because it doesn't re-invent SSL.)

> Some people here agree that _proper_ Usenet multipart identification
> requires security. And I agree to that point of view. Dont you ?

Sure.  But I don't agree that both problems need to be solved by the
same solution.  That doesn't even sound like a good idea to me.

> It seems that I am completely uninformed here.
> I always thought that all existing news-readers which are able to post
> Usenet-multiparts in MIME are using the content-id to identify that
> messages belong together. The few I know seem to do this (during
> posting, I'm not sure for assembly).

I don't know of any existing newsreaders which use MIME message/partial
to post binaries, but if they do, they very well may be using Content-ID
to identify things.  It doesn't actually matter so much, though, since
message/partial is not suitable for what we want to do.

>> For example, if you have a message with type multipart/related, with the
>> "main" message being a text/html part, you can have another file, a
>> jpeg, attached to the message as another MIME entity.  That jpeg entity
>> is given a Content-ID.  Then, from within the text/html message, you can
>> use an <img src="cid:blabla"> tag to reference the jpeg.
> 
> WOW - now I even understand your method to attach thumbnails
> to picture-posts.

See, I told you, once you understand MIME, you suddenly discover that you
have all these cool features, for free. :)

>> I see no need to start over and try to invent something new, unless you
>> have something new which does the job much better.
> 
> So if I understand you right then you propose to make labelling
> of multiparts independent from xBin. Right ?

That's the right way to do it, especially since "labelling multiparts" and
"security" (xBin) have each been solved, and the two can easily work
together.  Just because you don't want to do one without the other doesn't
mean you can't use two components together.

> In this case I need your expertise about the risks.

What risks?  I see no risks, apart from the security being compromised, and
that's a known quantity, and already discussed.

-- 
Jeremy  |  jeremy@exit109.com
Re: Faking a MIME multipart Content-Type-ID
#64179
Author: J.B. Moreno
Date: Tue, 25 Feb 2003 20:16
20 lines
1889 bytes
In article <1046202428.21070@ok-corral.gunslinger.net>, 
 Jeremy <jeremy@exit109.com> wrote:

> Juergen Helbing <archiver@i3w.com> wrote:
> 
> > So if I understand you right then you propose to make labelling
> > of multiparts independent from xBin. Right ?
> 
> That's the right way to do it, especially since "labelling multiparts" and
> "security" (xBin) have each been solved, and the two can easily work
> together.  Just because you don't want to do one without the other doesn't
> mean you can't use two components together.

xBin is the multi-part labeling, the Content-Hash-Tree is the security
part, and although they are being developed in conjunction, they are
somewhat independent.

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