🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
404 messages
404 total messages Page 2 of 9 Started by Chris Morse Sun, 22 Dec 2002 04:25
Page 2 of 9 • 404 total messages
Re: xBin (Power-Post 2003 - requesting input from authorities..)
#62457
Author: Kjetil Torgrim Homme
Date: Fri, 27 Dec 2002 19:00
32 lines
2813 bytes
[Curt Welch]:
>
>   Here are three runs of my code calculating the tree hash of a 50MB
>   file (where the file is all in the memory cache of the server so
>   no disk IO happened):

if you access the file linearly, you shouldn't be able to measure any
difference.  if you process blocks in a random fashion, you may.  the
decode tool _should_ download and process the articles in server
arrival order (== by article number), in case the articles are
expiring while it's still running.  this means that blocks will be
written to the file in a non-sequential fashion.

the OS operates on memory pages the size of which is dependent on the
CPU.  UltraSPARC uses 8 KiB, x86 uses 4 KiB.  so, what happens when
you write a non-aligned 4500 byte block on an Intel machine?  worst
case, that block spans three memory pages.  if it's not in memory, the
OS will need to read 12 KiB, modify the 4500 bytes in the middle, and
write the 12 KiB out to disk.

of course, since the normal article actually contains on the order of
100 blocks, the _real_ overhead is only 2% (2 pages, one at each end).

>   I know a block size which is not a power of two seems "wrong".
>   But I think it's more than justified for this application.

I'm still not convinced that supporting uuencode is a good thing.

-- 
Kjetil T.			|  read and make up your own mind
				|  http://www.cactus48.com/truth.html
Re: xBin (Power-Post 2003 - requesting input from authorities..)
#62458
Author: Rene
Date: Fri, 27 Dec 2002 19:23
23 lines
2106 bytes
Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote:
> >   I know a block size which is not a power of two seems "wrong".
> >   But I think it's more than justified for this application.
>
> I'm still not convinced that supporting uuencode is a good thing.

Does this question arise actually? Up to now, xBin does not define how the
blocks must be encoded. They can be uuencoded, base64'ed, yenc'd...
whatever.

Now if the blocksize allows the most efficient use for all of them, thats
fine. yEnc does not have any restriction AFAIK, base64 probably is best
with a muliple of 3 and uuencode is seemingly best at multiples of 45.

4500 actually satisfies all of theese. That's not really supporting
uuencode but just making the best situation for all that there is.

Are there any more encodings in wide use than these three, by the way?

-- 
-------------------- http://NewsReader.Com/ --------------------
Usenet Newsgroup Service              New Rate! $9.95/Month 50GB
Re: xBin (Power-Post 2003 - requesting input from authorities..)
#62460
Author: Rene
Date: Fri, 27 Dec 2002 19:41
40 lines
2971 bytes
Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote:
> [Rene]:
> >   Sorry, it was defaulted to on in the webinterface here... should
> >   be off from now on unless I made a mistake.
> it was still on.

But not anymore, is it?

> >   But there is no need to add them all over and over again. That's
> >   the beauty of the hash'es one-way function. You post under the
> >   file hash, this is the single most important identifier. Then for
> >   example, send as the "0" part all the block-hashes, once only.
> I don't want a scheme which relies on part 0.

Right, it works but is not as robust as Curt's solution with the tree-hash.
I didn't see the use of the tree-hash when I wrote that solution. Both
versions would work but the tree-hash variant is clearly superior.

> not a problem.  that 1 GB file in 2000 500 kB chunks will have a hash
> tree which is only 11 levels deep.  adding the neighbouring hash means
> that each part needs to include 12 hashes, each 20 bytes large, for a
> total of 240 bytes.  the overhead is negligible, but the robustness is
> very much increased.

Level is not the important variable. Worst Case is. And I've now provided
the algorithm / the java programm to calculate those. A 2GB (2*10^9, not
2^..) file needs 444445 blocks if a block is 4500 bytes. That creates a
worst case of 36 hashes (not counting the root) 36*27 Bytes = 972 Bytes.
Damn close to the 1000 Byte-header limit. And you haven't said
"X-bin-Signature" then...

If a block were 4 times as large (18000 Bytes), then a 2GB file would span
111112 blocks, the worst case were 32, which is 864 Bytes for hashes alone.

A 20GB file would exceed 1000 Bytes with a worstcase of 39 though.

-- 
-------------------- http://NewsReader.Com/ --------------------
Usenet Newsgroup Service              New Rate! $9.95/Month 50GB
Re: xBin (Power-Post 2003 - requesting input from authorities..)
#62461
Author: Kjetil Torgrim Homme
Date: Fri, 27 Dec 2002 19:50
40 lines
2791 bytes
[Rene]:
>
>   Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote:
>   > I'm still not convinced that supporting uuencode is a good thing.
>   
>   Does this question arise actually? Up to now, xBin does not define
>   how the blocks must be encoded. They can be uuencoded, base64'ed,
>   yenc'd...  whatever.

right.  the issue is that some theoretical uudecode tool won't handle
a file where a line in the middle of it is short.  that tool is buggy,
since the first character on each line is the line length.  (the
uudecode on my Linux system handles it correctly.)

>   Now if the blocksize allows the most efficient use for all of
>   them, thats fine. yEnc does not have any restriction AFAIK, base64
>   probably is best with a muliple of 3

base64 doesn't care, except you get a one byte overhead.

>   and uuencode is seemingly best at multiples of 45.

for bug compatibility, yes.

>   4500 actually satisfies all of theese. That's not really
>   supporting uuencode but just making the best situation for all
>   that there is.

but what's the point?  the tool making these posts will probably be
using yEnc anyway.

>   Are there any more encodings in wide use than these three, by the
>   way?

binhex and xxencode?  not anymore, I think.

-- 
Kjetil T.			|  read and make up your own mind
				|  http://www.cactus48.com/truth.html
Re: xBin (Power-Post 2003 - requesting input from authorities..)
#62463
Author: Kjetil Torgrim Homme
Date: Fri, 27 Dec 2002 21:30
103 lines
5759 bytes
(btw, apologies for posting replies without reading the complete
thread first.)

[Curt Welch]:
>
>   Also, given only the signature data from one article, you don't
>   have enough information to calculate the hash, so you have no way
>   of knowning if the data from that article is valid.

right.  but it's _very_ hard to create a bogus tree which is not
trivially rejectable -- you'll need to find a hash collision, two 320
bit values hashing to the same 160 bit hash.  no such attack is known
for SHA-1, and if you manage to do it, the write-up would be a nice
doctoral thesis.

>   It turns into a complex problem that's really just a waste of time
>   to even try and write the code to solve.

probably, but _if_ someone starts doing attacks, it'd be nice if it
was possible to combat it using clever code.

there are two issues:

 * wasting people's bandwidth by posting articles with the hashes
   copied verbatim from the original, but containing bogus data.

there is no defence against this, but it is relatively benign from the
user's viewpoint.  it's worse for the server, since its stats on
completeness would be skewed, and this makes it harder to do
intelligent feeding or expire tricks.  it could try to verify the hash
and throw it out if its a fake.  this requires the part to include its
own hashes, since the server really don't want to look at several
articles to make decisions.

 * foiling the download program so that it keeps bad data and throws
   out good data

this is really only a problem if the download program tries to be too
intelligent for its own good :-)

as far as I can tell, it also requires an attack on SHA-1 to work.
the premise being that the article contains its own valid hash, the
attacker needs to calculate not just one, but log2(N) hashes which are
correct.  borrowing Rene's graphic:

       root
      /     \
     e       f
    / \     / \
   a   b   c   d
  / \ / \ / \ / \
  1 2 3 4 5 6 7 8

the attacker posts a fake 7.  it contains the hashes 7 (correct, but
bogus), 8, c, e and root (given).  now find values for 8, c and e such
that

  sha1(e + sha1(c + sha1(7 + 8))) == root

I think this is a phenomenal task, possibly worthy of a Nobel prize :-)

without correct values of 8, c and e, the fake part can be classified
as such by just inspecting the hashes found in the headers.  again,
the inclusion of the part's own hash in the headers is helpful.

>   The nice thing about adding the extra hash values to the signature
>   is that looking at the Signature: header alone, you would be able
>   to verify all those values were valid without the help of any
>   other data.  But for part sizes around 1MB, you might have to add
>   as many as 7 additional hash values to a header which I fear might
>   already be too large for very large posts.

worst case is 18, actually.  example: each part is 1022b (b=blocks)
large. consider the part at offset 1537b.  it needs to contain the
hashes for 1537/1 (/1 means just the one block), 1538/2, 1540/4,
1544/8, 1552/16, 1568/32, 1600/64, 1664/128, 1792/256, 2048/256,
2304/128, 2432/64, 2496/32, 2528/16, 2544/8, 2552/4, 2556/2, 2558/1.

okay, this could never happen, since the offset is an odd value while
the segment size is even, but 16 hashes is a real possibility.

I'm not sure we need this, though.  isn't a single hash of the entire
segment good enough?

>   I need to find out more about what the current news servers do
>   with large headers.  I know INN had limits in the 1000 byte range,
>   but that might only be for headers which the server was trying to
>   use and not for "other" headers.

I think that's only a limit for a single line, not a header.
typically a problem with References, which some clients still don't
fold or expect to be folded.

>   And it had line length limits when you posted an article, but it's
>   easy enough to fold the header to stay under the line length limit
>   if that's the only issue.

yes.

-- 
Kjetil T.			|  read and make up your own mind
				|  http://www.cactus48.com/truth.html
Re: xBin (Power-Post 2003 - requesting input from authorities..)
#62464
Author: Kjetil Torgrim Homme
Date: Fri, 27 Dec 2002 22:06
44 lines
3215 bytes
[Rene]:
>
>   But not anymore, is it?

no.  thanks.

>   Level is not the important variable. Worst Case is. And I've now
>   provided the algorithm / the java programm to calculate those. A
>   2GB (2*10^9, not 2^..) file needs 444445 blocks if a block is 4500
>   bytes. That creates a worst case of 36 hashes (not counting the
>   root) 36*27 Bytes = 972 Bytes.  Damn close to the 1000 Byte-header
>   limit. And you haven't said "X-bin-Signature" then...

and you need a space between each hash as well...

>   If a block were 4 times as large (18000 Bytes), then a 2GB file
>   would span 111112 blocks, the worst case were 32, which is 864
>   Bytes for hashes alone.

I think 4500 is too small, 64 KiB would be a good choice, or perhaps
32 KiB.  no one should be posting multipart binaries with full parts
smaller than 256 KiB, anyway.  to make articles sizes as similar as
possible, some parts will be smaller, of course:

 257 KiB -> 3+2 blocks (not optimal, since the actual size will be 192+65)
 513 KiB -> 3+3+3 blocks (actual size 192+192+129)
4097 KiB -> 4+4+3+3+3 blocks (actual size 256+256+192+192+129)

(I think a guideline regarding this should be part of the xBin
documentation.)

>   A 20GB file would exceed 1000 Bytes with a worstcase of 39 though.

likewise, there should be a guideline telling posting tools to try to
use power-of-two segment sizes (in blocks) to reduce the size of the
hash signature.  (when expressed in binary, the segment size should
have as many zeroes to the right as possible -- 12 (1100) is better
than 10 (1010).  8 is even better, but the smaller segment size
requires more parts, so 12 (ie., rounding up) is probably better.)

-- 
Kjetil T.			|  read and make up your own mind
				|  http://www.cactus48.com/truth.html
Re: xBin (Power-Post 2003 - requesting input from authorities..)
#62465
Author: Thomas
Date: Fri, 27 Dec 2002 22:15
34 lines
2964 bytes
Kjetil Torgrim Homme wrote:

>  * wasting people's bandwidth by posting articles with the hashes
>    copied verbatim from the original, but containing bogus data.
> 
> there is no defence against this, but it is relatively benign from the
> user's viewpoint.  it's worse for the server, since its stats on
> completeness would be skewed, and this makes it harder to do
> intelligent feeding or expire tricks.  it could try to verify the hash
> and throw it out if its a fake.  this requires the part to include its
> own hashes, since the server really don't want to look at several
> articles to make decisions.

Feeders could possibly check correctness, and drop fakes that do not match their 
own hashes. Or send cancels for these fakes instead (dangerous in case of 
corruption). Or add a warning that the readers could react to.

That solves the problem for the servers - and for the readers. But only if the 
hash of the article is in the article itself.

> as far as I can tell, it also requires an attack on SHA-1 to work.
> the premise being that the article contains its own valid hash, the
> attacker needs to calculate not just one, but log2(N) hashes which are
> correct.

If (very big IF) SHA1 gets broken to any practical purpose in this regard, some 
new hash will be written.

Could it be an idea to include a version character someplace?


Thomas

Re: xBin (Power-Post 2003 - requesting input from authorities..)
#62467
Author: Kjetil Torgrim Homme
Date: Fri, 27 Dec 2002 23:29
17 lines
2163 bytes
[Thomas]:
>
>   If (very big IF) SHA1 gets broken to any practical purpose in this
>   regard, some new hash will be written.

agreed.

>   Could it be an idea to include a version character someplace?

there is: in the Message-ID convention for binary files, each value is
preceded by a one-character label.  the label for the SHA1 hash is "H"
in Curt's examples.  a new hash could use a different character.

-- 
Kjetil T.			|  read and make up your own mind
				|  http://www.cactus48.com/truth.html
Re: xBin (Power-Post 2003 - requesting input from authorities..)
#62468
Author: Curt Welch
Date: Sat, 28 Dec 2002 06:01
102 lines
6063 bytes
Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote:
> (btw, apologies for posting replies without reading the complete
> thread first.)
>
> [Curt Welch]:


> there are two issues:
>
>  * wasting people's bandwidth by posting articles with the hashes
>    copied verbatim from the original, but containing bogus data.

It's done now and there's no defense against.  The bogus posts not only
waste bandwidth downloading that one bogus article, the users end up with a
broken file and don't know way.  With the xBin hash system they would end
up with a valid file, and would simply have been forced to download a few
extra bogus parts.  And that's only before the servers start to filter the
bogus parts so they can't cause problems.

> there is no defence against this, but it is relatively benign from the
> user's viewpoint.  it's worse for the server, since its stats on
> completeness would be skewed,

If someone posts a fake the servers stats are skewed?  How?

> and this makes it harder to do
> intelligent feeding or expire tricks.

What are you talking about?

> it could try to verify the hash
> and throw it out if its a fake.  this requires the part to include its
> own hashes, since the server really don't want to look at several
> articles to make decisions.

With the xBin system, the server _can_ verify the article without looking
at any other articles and toss it out if it's bogus.  And the article does
not need to include it's own hashes for that.  The server does however have
to decode and hash all the data in the article, so it's some work.

The file hash is part of the Message-ID and the Signature header.  The
point of the signature header is that it includes everything you need to
calcuate the hash of the file using the data in the post.  When you
calcuate the hash, if it doesn't match the Message-ID and Signature, you
drop the article because it's either bogus or corrupted.

>  * foiling the download program so that it keeps bad data and throws
>    out good data

That, as you point out, is only possible if someone can break SHA-1.  The
odds of that happening any time soon are small enough that's it's fair to
just call it impossible.  If it happens, the system will still be usable
until then.

And most likely, even if a weaknees is found in SHA-1, it will still
require weeks of CPU time on a large distributed set of servers to create a
single hash collision, which means it's too hard for anyone to care about
on Usenet so it will still work fine for this application.

> okay, this could never happen, since the offset is an odd value while
> the segment size is even, but 16 hashes is a real possibility.

It still could.  There is no requirment to divide the file up evenly.
Though it's not very likely and even less so because you are talking about
a 6MB article which is seldom done.

> I'm not sure we need this, though.  isn't a single hash of the entire
> segment good enough?

nope.

If you want to verify all the hash values in the signature, you have to
have all partial tree hashes you talked about above.  All those values get
hashsed with other values in the signature and if you didn't include these,
and instead included some higher value node above these, you would have no
way of verifying the other hash values.  The point of including these hash
values in the signature is only so you can verify the other values.  If you
can't verify the other hash values in the signature, then I don't see any
point of including any hash for the blocks included in the post.

> >   I need to find out more about what the current news servers do
> >   with large headers.  I know INN had limits in the 1000 byte range,
> >   but that might only be for headers which the server was trying to
> >   use and not for "other" headers.
>
> I think that's only a limit for a single line, not a header.
> typically a problem with References, which some clients still don't
> fold or expect to be folded.

I think you might be right.  But INN I think had a limit on the max header
for any header it had to use.  I believe it unfolds those headers (like
Date, Newsgroups:) into a fixed sized buffer of around 1KB and if the
unfolded header was too long for one of those headers, it would be
rejected.

The question is are there any probelems like this for other headers?  How
about with XHDR?

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Re: xBin (Power-Post 2003 - requesting input from authorities..)
#62469
Author: Curt Welch
Date: Sat, 28 Dec 2002 06:14
20 lines
2375 bytes
Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote:
> but what's the point?  the tool making these posts will probably be
> using yEnc anyway.

The point is that it would be better for usenet if _every_ binary posted
was labeled like this.  People are still fighting yEnc.  Some people no
doubt will fight the use of this (there's always someone for some reason).
If you make it "unfrendly" for uuencode, it will encourage current uuencode
tools not to support it.  If _one_ uudecode tool chokes on the short line
it will cause a problem for some user, and will create negative publicity
for the posting convention.

Why, when picking a block size that works for uuencode is totaly harmless,
would you pick a block size that didn't work for uuencode - probably still
the most common posting format on Usenet?

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Re: xBin (Power-Post 2003 - requesting input from authorities..)
#62470
Author: Curt Welch
Date: Sat, 28 Dec 2002 07:33
156 lines
9145 bytes
Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote:
> [Rene]:
> >
> >   But not anymore, is it?
>
> no.  thanks.
>
> >   Level is not the important variable. Worst Case is. And I've now
> >   provided the algorithm / the java programm to calculate those. A
> >   2GB (2*10^9, not 2^..) file needs 444445 blocks if a block is 4500
> >   bytes. That creates a worst case of 36 hashes (not counting the
> >   root) 36*27 Bytes = 972 Bytes.  Damn close to the 1000 Byte-header
> >   limit. And you haven't said "X-bin-Signature" then...
>
> and you need a space between each hash as well...

Right, so with the full hash + the X-Bin-Signature" you end up with
16+37*28 or 1052 and you still haven't added the CR LF.  And that for a 2,
000,000,000 byte file and not a 2GB file.

> >   If a block were 4 times as large (18000 Bytes), then a 2GB file
> >   would span 111112 blocks, the worst case were 32, which is 864
> >   Bytes for hashes alone.

4500 is 100 uuencode lines.  4 times would make multipart uuencode posts a
multiple of 400 lines which is a bit odd.  5 times as large forcing
uuencode posts to be a multiple of 500 lines would be better.  That's a
block size of 22500 bytes.

How long would the total worse case header be for a hash block size of
22500 butes with a 2GB file when you include the "X-Bin-Signature:" (16
bytes) plus the total file hash and a space (28 bytes), and 28 bytes for
each tree-hash required?

That's going to be less than the 32 above, so that puts it under 940 bytes
total by my calculation.  It would be good if the header was less than 997
bytes for a 2GB file. (997 an INN magic number and 2GB a 32bit signed
pointer file size magic number).

I think it might also leave enough bytes to allow the header to be folded
at a resonable line legnth like 75 which as well and still keep the header
under the 997 number.

Knowing that the standard caused no header length problems for files up to
2GB in size would be nice.  Large files could be posted and would probably
work today as long as the header was folded so each line was under the 997
number.

But, unlike References: this is a header that we can not risk allowing it
to be corrupted. If it's corrupted on 50 posts out of a 2000 part set which
hits the worse case, and gets rejected all over the place as being invalid,
we would have a nasty little problem.

> I think 4500 is too small, 64 KiB would be a good choice, or perhaps
> 32 KiB.  no one should be posting multipart binaries with full parts
> smaller than 256 KiB, anyway.  to make articles sizes as similar as
> possible, some parts will be smaller, of course:
>
>  257 KiB -> 3+2 blocks (not optimal, since the actual size will be
>                         192+65)
>  513 KiB -> 3+3+3 blocks (actual size 192+192+129)
> 4097 KiB -> 4+4+3+3+3 blocks (actual size 256+256+192+192+129)

   577 Kib -> 4+3+3 blocks (actual size 256+192+129)

Last file is half the size of the first.  I don't like the looks of that.

And if you post in uuencode:

   577 Kib -> 4+3+3 blocks (actual size 358+268+180)

When you spread the blocks evenly, the last file will in the worst case be
one block less than the rest, be the last block in the last file can be as
small as 1 byte, so the worse cast is a size difference from the first post
the last of 2X the block size.  And if you post in uuencode, add 40% to
that.  A 4500 byte hash block means uuencoded posts can be as much as 12K
different in size.

A 64K hash block size means the article size difference can be as much as
180K different.  On average, you will expect a difference of 1.5 blocks
which would be 130KB for uuencoded posts (or 96K for yEnc).  That strikes
me as too large a difference.

I do like the effect of forcing the minimal multipart post size higher, but
I think leveling article sizes is more important in terms of helping usenet
run smoother.

For 22500 byte blocks (500 uu lines), the max part size difference would be
61K.  Or, for a 2000 line per post uuencoded file (126K article), the last
part could be as small as 1001 lines.  I don't really like seeing that much
difference in the article sizes of a multipart post.

Large hash blocks reduce the number of hash values, but the effect is small
because of the logrithmic nature of the number of hash values required.
You save what 4 out of 36 by going with a block size that is 4 times as
large.  But if it allows us to keep the header under a total size of 1000
bytes for a 2B file, that might be a valid justification for going larger
than 4500.

> (I think a guideline regarding this should be part of the xBin
> documentation.)

I agree.  And if we get into reed-solomon support (PAR files) as a built in
feature, then the "standard" way to split articles could be a very
important part of it all.

But I realized we have another big problem with the idea of PAR files as
part of this standard.  I see no way to verify them.  The idea of this
standard is to prevent people from posting fakes, yet I see no way to stop
them from posting a fake PAR file.

I see no way to prevent fake PARs from being posted or to spot them as fake
in-transit. If you download them and use them, then you can recreate a
missing segement, and once you have that, you could try to verify the
segment by itself if you had other partial hash values from other "known
good" segements.  But if you didn't already have enough "known good" hash
values from other articles, then all you could do is wait till you have all
the segments for the file and then recalculate the tree hash for the entire
file.  But if that failed to match, and you had a 2000 part post with 50
PAR files, the automatic download tool would have no easy way to find the
fakes other than download more par files (if it can find them), and then
use differetnt combinations of par files to recreate a "known good" segment
to see which combination of the 50 par files produced a vaild copy of the
known good one.  Of couse, if none did, then you would have to contine
downloading more PAR files an continue an potentially huge serach to weed
out the fakes from the real ones.

The use of PAR files could just be "unsafe" which is no worse than it is
now. But anyone wanting to cause trouble could then attack with bogus PAR
files which I think could lead to no one useing them which might mean it
would be stupid to spend the time to add support for them withing the xBin
system.  They could still be used as now external to the system, but they
just wouldn't be safe from attack.

> >   A 20GB file would exceed 1000 Bytes with a worstcase of 39 though.
>
> likewise, there should be a guideline telling posting tools to try to
> use power-of-two segment sizes (in blocks) to reduce the size of the
> hash signature.  (when expressed in binary, the segment size should
> have as many zeroes to the right as possible -- 12 (1100) is better
> than 10 (1010).  8 is even better, but the smaller segment size
> requires more parts, so 12 (ie., rounding up) is probably better.)

Yes, that would be wise as well.

If this gets to the point of people using it, what I would like to do is
create test data for developes which check all these worse case issues,
and, create a tool which examines every post to a test.xbin group and posts
an automatic follow-up text message telling the poster if the article was
valid and followed all required and recomended guidelines.  It would also
test for valid use of things like yEnc as well.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Re: xBin (Power-Post 2003 - requesting input from authorities..)
#62471
Author: Curt Welch
Date: Sat, 28 Dec 2002 07:54
24 lines
2554 bytes
Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote:
> [Thomas]:
> >
> >   If (very big IF) SHA1 gets broken to any practical purpose in this
> >   regard, some new hash will be written.
>
> agreed.
>
> >   Could it be an idea to include a version character someplace?
>
> there is: in the Message-ID convention for binary files, each value is
> preceded by a one-character label.  the label for the SHA1 hash is "H"
> in Curt's examples.  a new hash could use a different character.

And it would be wise to include some words in the documentation to warn of
this possibility so programs could behave in a resonable fashion if this
happened one day.  You wouldn't, for example, want news servers dropping
all xBin articles posted using a new hash because they thought the articles
were corrupted.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Re: xBin (Power-Post 2003 - requesting input from authorities..)
#62473
Author: Kjetil Torgrim Homme
Date: Sat, 28 Dec 2002 11:59
94 lines
5691 bytes
[Curt Welch]:
>
>   Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote:
>   > there is no defence against this, but it is relatively benign from the
>   > user's viewpoint.  it's worse for the server, since its stats on
>   > completeness would be skewed,
>   
>   If someone posts a fake the servers stats are skewed?  How?

the server might try to do some simple analysis on the Message-IDs to
see which files are complete and which ones are not.  first step is to
just add up the number of segments posted in the tuple (hash, rhs).
second step is to consider the actual intervals.  third step is to
look at all the parts and verify the signatures.  for heuristical and
statistical purposes, step one would probably suffice, if fake parts
were just thrown out.

>   > and this makes it harder to do intelligent feeding or expire
>   > tricks.
>   
>   What are you talking about?

if a peer is backlogged, prefer to send him complete files, rather
than just FIFO.  expire incomplete files before others (only a good
idea if you actually have _long_ (weeks) retention.)

>   > it could try to verify the hash and throw it out if its a fake.
>   > this requires the part to include its own hashes, since the
>   > server really don't want to look at several articles to make
>   > decisions.
>   
>   With the xBin system, the server _can_ verify the article without
>   looking at any other articles and toss it out if it's bogus.  And
>   the article does not need to include it's own hashes for that.
>   The server does however have to decode and hash all the data in
>   the article, so it's some work.

geez, I really knew that.  what was I thinking?

>   > okay, this could never happen, since the offset is an odd value
>   > while the segment size is even, but 16 hashes is a real
>   > possibility.
>   
>   It still could.  There is no requirment to divide the file up
>   evenly.

true, especially towards the end.

>   Though it's not very likely and even less so because you are
>   talking about a 6MB article which is seldom done.

yeah.  Rene has done a lot of fine work on this, but I must admit my
eyes sort of glazed over.  what was the conclusion?  worst case is
2*trunc(log2(N)), like above?  or was it worse?  (I can't imagine how
it can be.)  no wait, he was considering the other hashes, of course.
N blocks to a segment, M blocks to the file.  I think is an upper
bound for the others (including the root): 2*log2(ceil(M/N)) - 1.

>   > I'm not sure we need this, though.  isn't a single hash of the
>   > entire segment good enough?
>   
>   nope.
>   
>   If you want to verify all the hash values in the signature, you
>   have to have all partial tree hashes you talked about above.  All
>   those values get hashsed with other values in the signature and if
>   you didn't include these, and instead included some higher value
>   node above these, you would have no way of verifying the other
>   hash values.  The point of including these hash values in the
>   signature is only so you can verify the other values.  If you
>   can't verify the other hash values in the signature, then I don't
>   see any point of including any hash for the blocks included in the
>   post.

the point was to make the verification of a single part easier for the
server or client.  just one invocation of the hashing function, rather
than a lot of tree traversal.  forget it, it's just silly.

>   I think you might be right.  But INN I think had a limit on the
>   max header for any header it had to use.  I believe it unfolds
>   those headers (like Date, Newsgroups:) into a fixed sized buffer
>   of around 1KB and if the unfolded header was too long for one of
>   those headers, it would be rejected.
>   
>   The question is are there any probelems like this for other
>   headers?  How about with XHDR?

good question.  someone will have to go look in INN 1.7.2, 2.2 and 2.3
:-)

-- 
Kjetil T.			|  read and make up your own mind
				|  http://www.cactus48.com/truth.html
Re: xBin (Power-Post 2003 - requesting input from authorities..)
#62474
Author: Kjetil Torgrim Homme
Date: Sat, 28 Dec 2002 12:07
33 lines
2849 bytes
[Curt Welch]:
>
>   Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote:
>   > but what's the point?  the tool making these posts will probably be
>   > using yEnc anyway.
>   
>   The point is that it would be better for usenet if _every_ binary
>   posted was labeled like this.  People are still fighting yEnc.
>   Some people no doubt will fight the use of this (there's always
>   someone for some reason).

do we care about "people"?  we only need to get through to the authors
of Power-Post et al.  this isn't a feature which needs an On/Off
switch in the preferences.

>   If you make it "unfrendly" for uuencode, it will encourage current
>   uuencode tools not to support it.  If _one_ uudecode tool chokes
>   on the short line it will cause a problem for some user, and will
>   create negative publicity for the posting convention.

a lot of hypotheticals, there.

>   Why, when picking a block size that works for uuencode is totaly
>   harmless, would you pick a block size that didn't work for
>   uuencode - probably still the most common posting format on
>   Usenet?

but it _does_ work for uuencode.

-- 
Kjetil T.			|  read and make up your own mind
				|  http://www.cactus48.com/truth.html
Re: xBin (Power-Post 2003 - requesting input from authorities..)
#62475
Author: Kjetil Torgrim Homme
Date: Sat, 28 Dec 2002 12:31
47 lines
3492 bytes
[Curt Welch]:
>
>   I think it might also leave enough bytes to allow the header to be
>   folded at a resonable line legnth like 75 which as well and still
>   keep the header under the 997 number.

each hash is 27 characters, so when you put two of them on a folded
line it will be SPC + 27 + SPC + 27 + CRLF == 58 characters.  the
"real" length of the ASCII representation of a hash is thus 29
characters.

>   But, unlike References: this is a header that we can not risk
>   allowing it to be corrupted. If it's corrupted on 50 posts out of
>   a 2000 part set which hits the worse case, and gets rejected all
>   over the place as being invalid, we would have a nasty little
>   problem.

good point.

>   > I think 4500 is too small, 64 KiB would be a good choice, or
>   > perhaps 32 KiB.
>   [...]
>   A 64K hash block size means the article size difference can be as
>   much as 180K different.  On average, you will expect a difference
>   of 1.5 blocks which would be 130KB for uuencoded posts (or 96K for
>   yEnc).  That strikes me as too large a difference.

that was why I went back and added "or perhaps 32 KiB" after seeing my
own numbers :-)

>   For 22500 byte blocks (500 uu lines), the max part size difference
>   would be 61K.  Or, for a 2000 line per post uuencoded file (126K
>   article), the last part could be as small as 1001 lines.

I think we need to specify a better algorithm.  that last part should
be 1501 lines, really.  the degenerate case is 3001 lines, which leads
1500+1501, which is odd, but not problematic.  anyway, I'd argue that
this should not have been sent as a multipart in the first place.  if
the number of blocks in the minimally sized multipart file is 8, you
only need ways of dividing 9 or more blocks evenly across parts.

(8 blocks of 22500 == 240 kB after adding uuencode overhead.)

-- 
Kjetil T.			|  read and make up your own mind
				|  http://www.cactus48.com/truth.html
Re: xBin (Power-Post 2003 - requesting input from authorities..)
#62476
Author: Kjetil Torgrim Homme
Date: Sat, 28 Dec 2002 12:34
23 lines
2602 bytes
[Curt Welch]:
>
>   Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote:
>   > there is: in the Message-ID convention for binary files, each
>   > value is preceded by a one-character label.  the label for the
>   > SHA1 hash is "H" in Curt's examples.  a new hash could use a
>   > different character.
>   
>   And it would be wise to include some words in the documentation to
>   warn of this possibility so programs could behave in a resonable
>   fashion if this happened one day.  You wouldn't, for example, want
>   news servers dropping all xBin articles posted using a new hash
>   because they thought the articles were corrupted.

another option is to make an extension mechanism more explicit, e.g.,
use "Hs" rather than just "H" so that we could start using "Hm" later.
tools could continue to work, they just wouldn't be able to verify the
integrity of the file.

-- 
Kjetil T.			|  read and make up your own mind
				|  http://www.cactus48.com/truth.html
Re: xBin (Power-Post 2003 - requesting input from authorities..)
#62477
Author: Dr.Ruud
Date: Sat, 28 Dec 2002 13:49
13 lines
1651 bytes
Curt Welch skribis:

> leveling article sizes is more important in terms of helping
> usenet run smoother.


Why is that?

-- 
Affijn, Ruud


Re: xBin (Power-Post 2003 - requesting input from authorities..)
#62480
Author: Bas Ruiter
Date: Sat, 28 Dec 2002 16:39
26 lines
2158 bytes
> > leveling article sizes is more important in terms of helping
> > usenet run smoother.

> Why is that?

It's a propagation / control thing:

If articles are the same, they get treated the same as they make their
way accross Usenet. If one of the articles turn up somewhere, then the
others should turn up as well.

Or, if articles are all the same, you can treat them all the same. You
can filter them according to size.



 Bas Ruiter

-- 

[ l o r d s n o w @home.nl    http://members.home.nl/ l o r d s n o w ]

 Only when the population of 50 mysteriously dropped to 7 did the
 remainder start to suspect Hungry.
Re: xBin (Power-Post 2003 - requesting input from authorities..)
#62481
Author: Rene
Date: Sat, 28 Dec 2002 17:31
119 lines
6963 bytes
curt@kcwc.com (Curt Welch) wrote:
> > and you need a space between each hash as well...
> Right, so with the full hash + the X-Bin-Signature" you end up with
> 16+37*28 or 1052 and you still haven't added the CR LF.  And that for a
> 2, 000,000,000 byte file and not a 2GB file.

Actually I was wondering all the time why that space character? Can't we
just leave that out? I mean, we know how big a hash is, why do we need a
start/stop token?

> How long would the total worse case header be for a hash block size of
> 22500 butes with a 2GB file when you include the "X-Bin-Signature:" (16
> bytes) plus the total file hash and a space (28 bytes), and 28 bytes for
> each tree-hash required?

That's 88888.888... -> 88889 blocks. That produces a worst case of 31. Add
one for the root hash makes 32 hashes. So thats 32*27 (without spaces) =
864 Bytes. Add the Header-Name + 16 = 880 Bytes. Now if we really need
those spaces, its +32 = 912.

So that fits with a comfortable distance towards the critical value. Also,
22500 is a multiple of 45 and 3 (well anything that is a multiple of 45
is...)

For the hash code efficency, 22500 is 351 rounds a 64 Bytes making 22464,
just short of 36 Bytes for the last round (the last round in SHA-1, MD4,
MD5 may only use 55 Bytes and 7 bits, the rest is padding)

So that would be 352 rounds in the hash algorithm / block. 19 more Bytes
could have stuffed into the last round but its better than 4500. Time
difference for one more round is neglectable though.

> Knowing that the standard caused no header length problems for files up
> to 2GB in size would be nice.  Large files could be posted and would
> probably work today as long as the header was folded so each line was
> under the 997 number.

Yep. Question is what we want to permit as max file size then. 2GB? 20?
200? 2TB?

2GB is a nice value for today's use, because many still widespread end-user
filesystems can't handle files larger than 2GB anyway. But they are dying
out (the filesystems, not the users :) ) It is therefor reasonable to
assume that by 2010, any filesystem in use can handle files larger than
2GB.

Today, most P2P apps contain ISO-images (1:1 image) of CDs, they are in the
range of 600-800MB. It is sensible to assume, that people will start (if
they haven't already) to distribute DVD-images, which will have a size of
upwards to 16GB.

So for my liking being able to handle 20GB easily would be the way to go.
Going further past that limit is then possible if the servers can handle
more than 1000 Bytes in that header.

Actually I just went to see where the next higher value occurs. The largest
block number which still gives a worstcase of 32 is 131072. Dividing
2*10^10 (20GB) through that value gives 152587.89... So to handle a 20GB
file means the block size must be at least 152588 Bytes, a whopping 152K !

> But, unlike References: this is a header that we can not risk allowing it
> to be corrupted. If it's corrupted on 50 posts out of a 2000 part set
> which hits the worse case, and gets rejected all over the place as being
> invalid, we would have a nasty little problem.

little? :)

> I do like the effect of forcing the minimal multipart post size higher,
> but I think leveling article sizes is more important in terms of helping
> usenet run smoother.

Well its possible to level the difference for the last article to one
blocksize by making the last N articles short of 1 blocks. But less is not
possible. Thats the cheapest price, 1 blocksize difference.

> times as large.  But if it allows us to keep the header under a total
> size of 1000 bytes for a 2B file, that might be a valid justification for
> going larger than 4500.

I think we can agree that a 2GB file is a "must have". I'm the opinion we
should strive for more (20) but the exact value is debateable.

It is clear that it is a compromise between max filesize under the
condition the header may not be larger than 1000 Bytes and the min/max
difference between the articles.

> > (I think a guideline regarding this should be part of the xBin
> > documentation.)
> I agree.  And if we get into reed-solomon support (PAR files) as a built
> in feature, then the "standard" way to split articles could be a very
> important part of it all.

RS-Raiding adds some complexity to the system. For example, the PAR's
virtual segement size must be fixed, otherwise when 2 par files from the
same file but with different virtual segment sizes were created by two
users, you can't mix them. I can expand on why that is, but I need to leave
the house in some minutes so I can't write that now :)

So since the virtual segement size must be fixed, we need either to define
it at a fix value, or we define it to a value which is a function of the
original's file size. (actually of the original's file block number, for
the par file's virtual segement size must be a multiple of the block size)

> But I realized we have another big problem with the idea of PAR files as
> part of this standard.  I see no way to verify them.  The idea of this
> standard is to prevent people from posting fakes, yet I see no way to
> stop them from posting a fake PAR file.

You can't verify them, yes. I thought about that. But you can download
them, "fix" the file and then verify, if the file was fixed or not
(calculate the hash tree..). If it was not fixed, then simply kill the par
files and act as if you haven't downloaded them.

More to come on that, need to go now :)

-- 
-------------------- http://NewsReader.Com/ --------------------
Usenet Newsgroup Service              New Rate! $9.95/Month 50GB
Re: xBin (Power-Post 2003 - requesting input from authorities..)
#62482
Author: Curt Welch
Date: Sat, 28 Dec 2002 17:51
49 lines
4118 bytes
Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote:
> >   Why, when picking a block size that works for uuencode is totaly
> >   harmless, would you pick a block size that didn't work for
> >   uuencode - probably still the most common posting format on
> >   Usenet?
>
> but it _does_ work for uuencode.

Sure, and "it _does_" work with any block size.

The need for picking a hash block size which is a multiple of 45 is small,
but what you haven't shown me is that the justification for making it not a
multiple of 45 is greater.  When you make a decission,you need to weigh the
advantages and disadvantages of all your options.  The advantage for using
a block size which is a multiple of 45 are clear (better backward
compatibility with current practice), even though they are not huge.  What
are the advantages for picking a block size which is not a multiple of 45?
Show me why that would be more important to usenet, or to the success of
this standard?

Before I wrote some xBin code, my thought was "of couse you would use a po2
block size".  After writing the code, I realized the only difference in my
code was the value in a #define which defined the size of a buffer.  And
using different values had no performance implications to the code other
than "larger was better".  4500, or 4096, both worked the same.

From years of dealing with blocks on disks and pages in memory I've been
conditioned to think that when you attack these problems you always want to
keep your blocks aligned with other block sizes in the system.  But, most
of the xBin hash work is sequential.  You scan the article sequentially,
not randomly block by block.  And when you scan it sequentially, the io
package and OS does a fine job of optimizing evertything (like it does when
you read variable length lines from a file) so there is no messy code to
deal with or any significant performance difference.

Even when combining received parts out-of-order to create the finished
file, the IO will be done sequenctially for the length of the part which
will be >100K of IO done sequentially in a middle section of a larger file.

Even though it "feels wrong" to use a non po2 block size, I just can't find
a good reason not to use something that works well with uuencode.  Not only
a multiple of 45 to deal with the line problem, but a multiple which gives
users the type of line counts they are use to (multiples of 100 lines or
500 lines or 1000 lines for example).

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Re: xBin (Power-Post 2003 - requesting input from authorities..)
#62483
Author: Curt Welch
Date: Sat, 28 Dec 2002 18:10
38 lines
3409 bytes
Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote:
> >   For 22500 byte blocks (500 uu lines), the max part size difference
> >   would be 61K.  Or, for a 2000 line per post uuencoded file (126K
> >   article), the last part could be as small as 1001 lines.
>
> I think we need to specify a better algorithm.  that last part should
> be 1501 lines, really.

Good point.  When I first thought about this "equilize the parts" problem I
thought it was obviously trivial.  Then I started writing the code. :)

Your idea above makes it even more interesting.  This makes the last file
slightly larger than all the rest of the small files in the set, and in the
worse case, makes it up to a full block size larger (i.e. almost the same
size as the first parts in the set).

But by doing that, the file sizes are never more than +- 1 hash block size
in size instead of a max of +- 2.  So they are a lot more equal in size.

However, there is another issue here.   Smaller files generally tend to
move throught Usenet faster.  By making the first files the largest, and
the last ones a block smaller, and the very last one the smallest of all -
up to almost 2 blocks smaller, then the files posted later will tend to
"catch up" with the larger posts as the set moves through usenet, helping
to close the window of time from the arrivial of the first article in a
multipart set to the time when all parts are available on a server.

Making the last post larger, means the article posted last might take
longer than many of the parts posted in front of it.

Speed of articles moving though usenet is part of the argument for trying
to equalize the part sizes, so maybe in fact, for this problem, having the
last post up to 2 blocks smaller is actually not a bad thing?

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Re: xBin (Power-Post 2003 - requesting input from authorities..)
#62484
Author: Curt Welch
Date: Sat, 28 Dec 2002 18:23
47 lines
3955 bytes
Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote:
> [Curt Welch]:
> >
> >   Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote:
> >   > there is: in the Message-ID convention for binary files, each
> >   > value is preceded by a one-character label.  the label for the
> >   > SHA1 hash is "H" in Curt's examples.  a new hash could use a
> >   > different character.
> >
> >   And it would be wise to include some words in the documentation to
> >   warn of this possibility so programs could behave in a resonable
> >   fashion if this happened one day.  You wouldn't, for example, want
> >   news servers dropping all xBin articles posted using a new hash
> >   because they thought the articles were corrupted.
>
> another option is to make an extension mechanism more explicit, e.g.,
> use "Hs" rather than just "H" so that we could start using "Hm" later.
> tools could continue to work, they just wouldn't be able to verify the
> integrity of the file.

That might be worth the extra character.

Or maybe because of the format of using single characters as identifiers
that would only confuse things and make some people think the "s" was part
of the hash (which in a way it is), but then would still not cause them to
correctly deal with the fact that the file wasn't verified correctly.
Their code would still just reject the article as trash instead of
"unverified but possibly good".

We need to think more later about all the possible ways the standard may
need to change over time and see what seems to make the most sense in terms
of allowing that and making sure the code base will do what it needs to
when change happens.  This for example gets into the issues of the format
of the Message-ID and requirements for the order of the fields, and the
issues of allowing fields to be omitted, and the issues of how to react to
new "unknown" fields in the Message-ID, etc.

Then all that ties into the needs of the Signature header data. and if
future changes may need to add more headers etc.

I think it's wise to work hard at keeping it as simple as possible and to
add in "extras" only if they are really, really, justified.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Re: xBin (Power-Post 2003 - requesting input from authorities..)
#62485
Author: Curt Welch
Date: Sat, 28 Dec 2002 19:00
101 lines
6760 bytes
"Dr.Ruud" <rvtol@isolution.nl> wrote:
> Curt Welch skribis:
>
> > leveling article sizes is more important in terms of helping
> > usenet run smoother.
>
> Why is that?

There are a few reasons.

Usenet volume is so high that news feeds between servers must be done in
multiple parallel TCP streams.  When a server, or the bandwdith, gets
overloaded, things start to backlog.  And this is common, because usenet
volume grows exponentially, and you have to upgrade your hardware on a
yearly basis to keep up.   But you seldom know when you hardware is actully
going to run out of steam.  And nobody wants to waste time and money on
buying new hardware before it's needed.  So, mostly, we decided when to
upgrade when the old machine can't keep up anymore.

Because usetnet volume peeks at different times of the day, we can tell
when the machine is reaching it's limit because the peeks start to flatten
out, the the machine backloggs durring the busy times.  But, still,
spending the money on new hardware, or larger bandwdith is a big
commitment, so we don't do it the first time we see a little backlog
develop.  We wait for it to get bad enough tthat we can't justify not doing
it.

And then there are many that say - "I don't care of the server needs an
upgrade, we just spend X on it 6 months ago and I'm not going to spend in
more on it now".

Because of all this, a very large percentage of news feeds and servers
across usenet are running near, or over, their limits.  And, since you are
already running multiple parallel feeds, it was long ago figure out that if
you split the feeds by artile size, (so articles <10K go over one set of
connections, articles <50K go over another, articles <200K a third etc),
and you limit the number of connections per type, you can control what
articles backlog, and which get "priority".

Most sites want the smaller articles to get priority when servers backlog,
so they configure the number of connections to make this happen
intentionally.

Even when not done intenntially, it happens by default to some extent
because when you have an outgoing feed to a peer, and you see it constantly
backlogging, admins tends to cut down the size of the feed to keep it from
backlogging because a backlogged feed puts more disk load on the server
than a feed which is not backlogged.  So, when servers backlog, some peers
will tend to only send smaller articles to that peer.

Also, because of the store and forward nature of usenet small articles move
faster on their own. This is because a server will not start to send an
article to it's peers until it has received the entire thing.  A 2KB text
article moves 100 times faster though usenet than a 200KB binary.  i.e., a
2GB article could travel 100 hops in the time a single 200KB binary takes 1
hop.

Because of all these effects, smaller articles tend to have more feed paths
to travel over, and those paths tend to be less backlogged, and because of
their size, they naturally propigate faster around Usenet, and make it to
more servers.

So, when you post a multipart set, like is commonly done now, and the last
article is very small (say 10K when the rest are 200K), you have a problem
that that small tail part speeds it's way around usenet in seconds, where
as the rest of the monster parts take much longer.  From some servers with
poor connetions or large backloggs, this effect can cause the tail article
to show up many hours before all the other articles make it to the server,
even though the tail article was posted last.

This creates a larger time window from when the first part arrives and all
the parts are on the server.  The larger that time window, the more
problems users have with seeing "incomplete" sets of posts on a server.

And because most servers expire articles based on when they show up, the
larger the time window is waiting for all the parts to show up, the longer
the time window will be as they expire - the first parts will exipre hours
before the last parts, which means more problems with "incomplete posts".

So, keeping all the parts of a multipart set as close as size as possible
helps to keep all the parts moving at the same speed though usenet, and
helps to reduce these time windows of how long the set will exist on
servers as "incomplete".  And the side effect of equalizing the part sizes
is that all the parts tend to be smaller (instead of 200K+200K+20K, you get
(140K+140K+140K) so the entire post not only moves together as a set, it
moves faster and to more servers.

The second problem is related to the first in the fact that many servers
don't even try to get a full feed.  And the most common way (beause it's
the most practical) is to filter the feed by article size.  If you have a
150K size limit, with the example above, the server would get a copy of
that 20K tail aritcle, but not the rest.  With the size equilzed post, the
server would get the entire post.

So, things just run smoother for many reasons if all the articles in a
multpart set are as close as possible to being the same size.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Re: xBin (Power-Post 2003 - requesting input from authorities..)
#62487
Author: Bas Ruiter
Date: Sat, 28 Dec 2002 20:33
32 lines
2653 bytes
> Yep. Question is what we want to permit as max file size then. 2GB? 20?
> 200? 2TB?
> 
> 2GB is a nice value for today's use, because many still widespread end-user
> filesystems can't handle files larger than 2GB anyway. But they are dying
> out (the filesystems, not the users :) ) It is therefor reasonable to
> assume that by 2010, any filesystem in use can handle files larger than
> 2GB.
> 
> Today, most P2P apps contain ISO-images (1:1 image) of CDs, they are in the
> range of 600-800MB. It is sensible to assume, that people will start (if
> they haven't already) to distribute DVD-images, which will have a size of
> upwards to 16GB.

You can use 2GB as a max limit.

If someone is going to post a DVD ISO (4.7GB to 18.8GB) it's just a
matter of splitting them up into 2GB parts, like they're doing these
days with those RAR posts.



 Bas Ruiter

-- 

[ l o r d s n o w @home.nl    http://members.home.nl/ l o r d s n o w ]

 Only when the population of 50 mysteriously dropped to 7 did the
 remainder start to suspect Hungry.
Re: Power-Post 2003 - requesting input from authorities..
#62488
Author: Jeremy
Date: Sat, 28 Dec 2002 21:38
20 lines
1697 bytes
Curt Welch <curt@kcwc.com> wrote:

> It's not relevant for checking integrity for accidential corruption in
> transport, but it is a bit relevant for catching intentional corruption
> intended to cause problems, and that is one of the things we are looking
> at.

I'm missing something significant.  This thread is giving me a headache.
The whole thing seems awfully complicated, and I can't figure out why any
of it is necessary.

Why not just use a cryptographic signature on the posts?  Such a signature
could easily be placed in a header; I'm not aware of a standard for doing
this other than for control messages, but it should be trivial to work out.

How is all this stuff better than that simple solution?

-- 
Jeremy  |  jeremy@exit109.com
Re: xBin (Power-Post 2003 - requesting input from authorities..)
#62490
Author: Thomas
Date: Sat, 28 Dec 2002 21:39
22 lines
2356 bytes
Bas Ruiter wrote:

> You can use 2GB as a max limit.
> 
> If someone is going to post a DVD ISO (4.7GB to 18.8GB) it's just a
> matter of splitting them up into 2GB parts, like they're doing these
> days with those RAR posts.

This is a bad idea. Different splits will lead to different hashes for what 
should be the same file.

I would see more in moving the tree out of the headers. Or leaving the top 
levels of the tree out of the headers.

Splitting huge files pre-posting is something we want to get rid of. It also 
negates filtering on total file size that could be used by providers catering 
for the dial-up users.


Thomas

Re: xBin (Power-Post 2003 - requesting input from authorities..)
#62492
Author: Kjetil Torgrim Homme
Date: Sun, 29 Dec 2002 01:18
64 lines
4570 bytes
[Curt Welch]:
>
>   Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote:
>   > another option is to make an extension mechanism more explicit, e.g.,
>   > use "Hs" rather than just "H" so that we could start using "Hm" later.
>   > tools could continue to work, they just wouldn't be able to verify the
>   > integrity of the file.
>   
>   That might be worth the extra character.

I actually don't think so.  if SHA1 is cracked, it is such a
groundbreaking and unlikely event I think we can handle the hassle of
switching.

btw, a different approach is to add a new field naming the hash
mechanism.  this could have a default value of SHA1, and so wouldn't
add to the length in the normal case.  if SHA1 is broken, every msgid
will be at least 3 characters longer ("$MS").

>   Or maybe because of the format of using single characters as
>   identifiers that would only confuse things and make some people
>   think the "s" was part of the hash (which in a way it is), but
>   then would still not cause them to correctly deal with the fact
>   that the file wasn't verified correctly.  Their code would still
>   just reject the article as trash instead of "unverified but
>   possibly good".

there's no defence against code which isn't written to spec :-)

so what should the spec say?  "in the future, the hash mechanism may
need replacement.  if the hash mechanism is unknown, the program
should accept the part as is, and not make any attempts to verify its
contents."

>   We need to think more later about all the possible ways the
>   standard may need to change over time and see what seems to make
>   the most sense in terms of allowing that and making sure the code
>   base will do what it needs to when change happens.  This for
>   example gets into the issues of the format of the Message-ID and
>   requirements for the order of the fields, and the issues of
>   allowing fields to be omitted, and the issues of how to react to
>   new "unknown" fields in the Message-ID, etc.

yeah.  perhaps a nomenclature where lowercase letters can be ignored
by an implementation, but the meaning of uppercase letters must be
known.  except we really don't want to reject msgids due to unknown
fields _ever_.

>   Then all that ties into the needs of the Signature header
>   data. and if future changes may need to add more headers etc.

right.  for instance, _if_ we decide to put the internal hashes of a
part in the headers, I think it's natural to keep it separate from the
hash tree.  but I think you've convinced me it's superfluous.

>   I think it's wise to work hard at keeping it as simple as possible
>   and to add in "extras" only if they are really, really, justified.

"Things should be as simple as possible -- but no simpler."  A. Einstein.

-- 
Kjetil T.			|  read and make up your own mind
				|  http://www.cactus48.com/truth.html
Re: xBin (Power-Post 2003 - requesting input from authorities..)
#62493
Author: Kjetil Torgrim Homme
Date: Sun, 29 Dec 2002 01:34
29 lines
2714 bytes
[Curt Welch]:
>
>   The need for picking a hash block size which is a multiple of 45
>   is small, but what you haven't shown me is that the justification
>   for making it not a multiple of 45 is greater.

esthetics!  a tiny teeny bit of performance!

>   Even though it "feels wrong" to use a non po2 block size, I just
>   can't find a good reason not to use something that works well with
>   uuencode.  Not only a multiple of 45 to deal with the line
>   problem, but a multiple which gives users the type of line counts
>   they are use to (multiples of 100 lines or 500 lines or 1000 lines
>   for example).

there is something to be said for the esthetics of that as well.  ok,
you win :-)

22500, then?

(reminds me of NTSC's 59.94 Hz framerate. "the block size used in xBin
is 21.973 KiB.  this number was chosen since it is a multiple 45
bytes, which was benificial for compatibility with something called
uuencode used in the late 20th century." ;-)

-- 
Kjetil T.			|  read and make up your own mind
				|  http://www.cactus48.com/truth.html
Re: xBin (Power-Post 2003 - requesting input from authorities..)
#62494
Author: Kjetil Torgrim Homme
Date: Sun, 29 Dec 2002 02:33
85 lines
4030 bytes
[Curt Welch]:
>
>   This makes the last file slightly larger than all the rest of the
>   small files in the set, and in the worse case, makes it up to a
>   full block size larger (i.e. almost the same size as the first
>   parts in the set).

yes.  actually, it can be larger than _all_ the other parts in the
set, but this only happens to multiparts with less than 8 parts.  (see
code below.)

>   However, there is another issue here.  Smaller files generally
>   tend to move throught Usenet faster.  By making the first files
>   the largest, and the last ones a block smaller, and the very last
>   one the smallest of all - up to almost 2 blocks smaller, then the
>   files posted later will tend to "catch up" with the larger posts
>   as the set moves through usenet, helping to close the window of
>   time from the arrivial of the first article in a multipart set to
>   the time when all parts are available on a server.

this is a good thing, right?  the effect should be small unless the
article sizes straddle a feed divider, though.

>   Speed of articles moving though usenet is part of the argument for
>   trying to equalize the part sizes, so maybe in fact, for this
>   problem, having the last post up to 2 blocks smaller is actually
>   not a bad thing?

agreed.  but it's bad if it's the only part being fed to the server in
question.  I think the race effect is so slight, it's better to keep
the parts as similar as possible.

here's my suggestion.  this will make all parts the same size within a
block.

#! /usr/bin/perl -w

$block_size = 500*45;
$part_size = 8 * $block_size;

$file_size = shift;

while (1) {
        $no_parts = int(($file_size-1)/$part_size) + 1;
        $too_much = $no_parts*$part_size - $file_size;
        if ($too_much >= $block_size * $no_parts) {
                $part_size -= $block_size;
        } else {
                last;
        }
}

@parts = ($part_size) x $no_parts;
$index = $#parts;
$parts[$index--] -= $too_much % $block_size;
$too_much -= $too_much % $block_size;
while ($too_much) {
        $parts[$index--] -= $block_size;
        $too_much -= $block_size;
}

print join ("\n", @parts), "\n";

## ends

$ ./partsplit 181001
90000
91001
$ ./partsplit 1801001
180000
180000
180000
157500
157500
157500
157500
157500
157500
157500
158501

-- 
Kjetil T.			|  read and make up your own mind
				|  http://www.cactus48.com/truth.html
Re: Power-Post 2003 - requesting input from authorities..
#62495
Author: Kjetil Torgrim Homme
Date: Sun, 29 Dec 2002 02:52
34 lines
2643 bytes
[Jeremy]:
>
>   This thread is giving me a headache.

let me try to explain it once more.

we have a file, posted in four parts.  the hash of the data in each
part is designated A, B, C and D.  we want to combine these hashes to
a single value, and we do this by calculating the hash of A+B (the
concatenation of the hash values A and B) and C+D.  these two hashes
(AB and CD) are then concatenated and hashed once more.  this top or
root hash identifies the file.

now, each part contains the hashes needed to verify the root.  so part
1 contains hashes B and CD.  the tool calculates hash A from the data
contained in the part, then combines it with the supplied B to get AB,
and finally hashes AB + CD.  if this matches the root hash, the part
is valid.

>   Why not just use a cryptographic signature on the posts?

how do you distribute keys?  this also rules out third-party fills.

>   Such a signature could easily be placed in a header; I'm not aware
>   of a standard for doing this other than for control messages, but
>   it should be trivial to work out.

I'm still hoping somebody will pick up Matt Dillon's work on DGP, but
that's a completely different story.

-- 
Kjetil T.			|  read and make up your own mind
				|  http://www.cactus48.com/truth.html
Re: Power-Post 2003 - requesting input from authorities..
#62497
Author: Curt Welch
Date: Sun, 29 Dec 2002 04:28
115 lines
7239 bytes
Jeremy <jeremy@exit109.com> wrote:

> I'm missing something significant.  This thread is giving me a headache.
> The whole thing seems awfully complicated, and I can't figure out why any
> of it is necessary.
>
> Why not just use a cryptographic signature on the posts?

That solves a completly different problem than what we are trying to solve.

A cryptographic signature proves the post came from someone holding the
key.  But to veryify that, you have to go get his key and check it against
his post.  Otherwise, by itself, the crypto signature tells you nothing.

This xBin convention does a bunch of things, but I'll point out the big
ones related to the hash and the "crypto" issues.

The first is simply to define a uniqe file identifier.  Not a uniq message
identifyer, but a file identifier.  Any hash standard hash could be used
for that.

The idea is to put this unique identifier in the header so download tools
would have a "real" way to identify parts of a file and not have to play
the subject guessing game" that is used now.  And to pick a convention what
could be used for all binary files posted to Usenet.  This way, if the same
file is posted a week later in a different group, by a different user, the
download tool could spot it on it's own, and automatically use this second
post to fill in missing parts.

So, to make that work, you need not only the unique identifier in the
header, but you need to know the segment offset, and size, so you know
exactly which bytes from the file are included in each article so the
download tool can make use of the article even if the file is split up
differently in a repost or a second post of the same file.

All this is to make downloading multipart files, and reposts, completly
automatic and fool-proof.  The download tool has all the machine-readable
information it needs to find and automatically download parts.  If you see
one article of a multipart file you "want", you don't have to wait for all
the parts to show up, you just tell your download tool to "get it".  It
puts the uniqe file-id in it's list of files it's looking for, and starts
searching for parts and downloading them.  Even if you don't get all the
parts, the tool can keep the file-id and partially built file in it's "to
get" list, and if it sees the same file reposted a month later, it can grap
the parts and complete the set.

And, if someone wants to post a 2000 part file, 100 parts per day over 3
weeks, they can do that.  Everyone can just starts downlading and waits for
all the parts to show up.  Anyone can do a repost of various parts, even if
the file name and article size and Subject is all different from the
original and everyone trying to get this 2000 part file will be able to
take advantage of the repost.

Partial reposts can even intentially be done in smaller part sizes to help
make sure the guys that missed the large articles the first time get the
repost.

But here comes the probem.  If you make it all this automatic, then posting
forged messages to intentially fuck up someones multipart post becomes real
easy. The download tool won't be smart about looking at the headers to
figure out if the parts are real, or fakes.  And if you just downloaded
2000 parts, and 20 were fakes, knowing the convential hash of the entire
file is not going to make life easy for the tool to automatcially figure
out which parts are the fakes.

Enter the tree hash.

The tree hash is a type of hash which like any hash, will give us a unique
hash ID to identify the entire file.  So that's our File-ID.

But, with a standard hash, the only way to verify an individual chunk of a
file, is to combine it with the rest of the file data, and calcuate the
hash for all the data, and then see if the hash matches.  We could do this
of course. For everh 200KB post, we could include 20MB of "extra" data in
the headers so each part could be verified as valid. :)

However, unlike a conventional hash, the advantage of the tree hash is that
it allows us to add just a little bit more information to every post to
allow the entire file hash to be recalcuated given only the data in the
article, plus and handfull of extra hash information.  That "extra
information" is bascially the hash value for the rest of the missing file
data.  And beacuse of how the tree hash works, we can use that to
recalcuate the hash, which proves that the data in the article is truely
what it says it is - part of the larger file with the unique-file-hash we
are looking for. For typical posts, we are talking about adding only 500
bytes of data in the header to allow this.

This prevents anyone from disrupting this totally automated system of
finding parts of a multipart post.

People can still post fakes of course.  And to figure out if they are a
fake, the download tool will still have to download the entire article.
But, unlike with the conventional hash, the download can verify that the
article is valid without the help of any other external information.  Just
be looking at the article, you can "prove" that the data matches the
file-hash.

And because of that, we can put this hash verification code into popular
spam filters, and/or post fitlers, and reject all posts that are marked as
xBin format articles, but which have invalid data.  And that is done only
by looking at the article without any help of external keys, or external
"hash set articles" etc.

So, if the article says it's a segment of file with hash-id XYZYXYYZ, then
by looking at that article, and that article alone, we can prove if it is
or isn't part of that file.

The tree hash may seem complicated when we debate fine points for hours,
but it is in fact very simple.  And the power it gives us to make all
binary files on usenet work better is really quite neat.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Re: xBin (Power-Post 2003 - requesting input from authorities..)
#62496
Author: Curt Welch
Date: Sun, 29 Dec 2002 04:44
75 lines
5387 bytes
Bas Ruiter <lordsnow@home.nl> wrote:
> > Yep. Question is what we want to permit as max file size then. 2GB? 20?
> > 200? 2TB?
> >
> > 2GB is a nice value for today's use, because many still widespread
> > end-user filesystems can't handle files larger than 2GB anyway. But
> > they are dying out (the filesystems, not the users :) ) It is therefor
> > reasonable to assume that by 2010, any filesystem in use can handle
> > files larger than 2GB.
> >
> > Today, most P2P apps contain ISO-images (1:1 image) of CDs, they are in
> > the range of 600-800MB. It is sensible to assume, that people will
> > start (if they haven't already) to distribute DVD-images, which will
> > have a size of upwards to 16GB.
>
> You can use 2GB as a max limit.
>
> If someone is going to post a DVD ISO (4.7GB to 18.8GB) it's just a
> matter of splitting them up into 2GB parts, like they're doing these
> days with those RAR posts.

That defeats a major advantage of this system.

Now, people don't download posts until all the parts show up.  The reason
they wait is because if all the parts arn't available, it's real hard to
fill in the missing parts.  Most binary download tools have no way to
correctly identify and use a r-post unless the Subject and content is
exaxtly what it was for the orginal.

With xbin. filling in missing posts is automatic and simple because all the
information the download tool needs to know is in a machine readable form
in the headers.  Anyone can repost segments of a file and anyone using an
xBin compatibale download tool can take advantage of the reposted parts.

So, with xBin technology, people won't wait for all the parts to show up.
When they see one part of an file they want, they can mark it and ask their
tool to download it. The tool can queue all the parts it can find for, but
even if all the parts are not there, it will keep looking for reposts, and
for all the parts to show up.  This will work automatically with no help
from the user.  Nothing like this has been done on Usenet before.

A big reason why people go to the hassel of breaking up huge files into rar
parts is because if you post a 500 part set, it's hard for anyone to
download it because you have to wait for all the parts to show up on the
sever before most download tools will even try to download the set.  And,
to deal with missing parts, reposting indiviual articles is a pain and not
supported by most download tools.  So with the huge file broken into
multiple small files, you can just repost the the entire rar parts.

With xBin, it will be easy to post a huge file as 5000 parts if need be.
And you can do it a few hundred parts a day for weeks.  And even someone on
a server with 4 hours of rention, you will still be able to get the entire
post, automatcially, without having to play with rar files, or without
having to tell the download tool what to do.

We never want to foce someone to have to split a file up again.  So xBin
needs to work for any size file.  So we will not put a 2GB hard limit on
the technology.

But, we also don't need to.  There is no reason while news servers couldn't
support larger headers.  Most already do.  It's only important that to
start with, xBin needs to work for reasonable large files, on all the
current servers.

That is what we are looking at with the 2GB limit.  That's a resonable
number for today.  If we can make current servers support large enough
headers to allow up to 2GB files to work today, then that should be enough
to get the convention rolling.  If it takes off, and people find posting
10GB DVDs isn't working, then we will force everyone to fix the broken
servers.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Re: xBin (Power-Post 2003 - requesting input from authorities..)
#62498
Author: Curt Welch
Date: Sun, 29 Dec 2002 04:52
35 lines
3424 bytes
Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote:

> there's no defence against code which isn't written to spec :-)
>
> so what should the spec say?  "in the future, the hash mechanism may
> need replacement.  if the hash mechanism is unknown, the program
> should accept the part as is, and not make any attempts to verify its
> contents."

Something like that.  We first have to figure out what the spec is
recomending the code "should do" in the first place for the current
version.  Then from there, we look at, and think about, what all code
written today should do for things it doesn't know about.  Once we think
about that a bit, we can conclude what todays code should do and 1), design
the system so the obvious way of writing the code will produce the desired
effect, and 2) document it just so the obvious is also obvious to the
programmer.

For the above for example, if a tool is asked to downloads a file which has
a hash it doesn't know about, then what can it do?  What should it do?  You
answer those questions first, and then decide what to put in the spec.

But, I think that should be put off until later.  First, we figure out what
it should now.  And we haven't finished that yet.  Once you figure out what
should be in the spec now, to start with, then you look to make sure that
we have done everything resonable to be ready for the future and add any
words as required to make sure all the code is written to be ready for it.

This is the type of stuff that didn't get the attention it should have with
the design of yEnc.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Re: xBin (Power-Post 2003 - requesting input from authorities..)
#62500
Author: Bas Ruiter
Date: Sun, 29 Dec 2002 05:33
35 lines
2514 bytes
> > You can use 2GB as a max limit.
> > 
> > If someone is going to post a DVD ISO (4.7GB to 18.8GB) it's just a
> > matter of splitting them up into 2GB parts, like they're doing these
> > days with those RAR posts.

> This is a bad idea. Different splits will lead to different hashes for what 
> should be the same file.

No, of course not. A 2GB part will always have the same hash.

All you have to do is specify that 2GB is a obligatory limit / part
size.

> Splitting huge files pre-posting is something we want to get rid of.

We do?

> It also negates filtering on total file size that could be used by
> providers catering for the dial-up users.

You foresee a situation where a provider may allow a 2GB file, and not
a (let's say) 20GB file?



 Bas Ruiter

-- 

[ l o r d s n o w @home.nl    http://members.home.nl/ l o r d s n o w ]

 Only when the population of 50 mysteriously dropped to 7 did the
 remainder start to suspect Hungry.
Re: xBin (Power-Post 2003 - requesting input from authorities..)
#62501
Author: Bas Ruiter
Date: Sun, 29 Dec 2002 05:53
57 lines
3527 bytes
> > You can use 2GB as a max limit.
> >
> > If someone is going to post a DVD ISO (4.7GB to 18.8GB) it's just a
> > matter of splitting them up into 2GB parts, like they're doing these
> > days with those RAR posts.

> That defeats a major advantage of this system.

No, it doesn't.


> With xbin. filling in missing posts is automatic and simple because all the
> information the download tool needs to know is in a machine readable form
> in the headers.  Anyone can repost segments of a file and anyone using an
> xBin compatibale download tool can take advantage of the reposted parts.

HashTree's (xBin) will work whether it's a complete file, or one of the
pieces of a chopped up file.


> So, with xBin technology, people won't wait for all the parts to show up.
> When they see one part of an file they want, they can mark it and ask their
> tool to download it. The tool can queue all the parts it can find for, but
> even if all the parts are not there, it will keep looking for reposts, and
> for all the parts to show up.  This will work automatically with no help
> from the user.  Nothing like this has been done on Usenet before.

That still applies, tho.

>  ... without having to play with rar files, or without
> having to tell the download tool what to do.

I'm not suggesting using RAR files. I only mentioned chopping up files
into 2GB parts, *like* they do nowadays with RAR parts.

Maybe I didn't explain myself very well. Let's say I have a 5GB file. I
chop these up into max 2GB parts: part A, 2GB, part B, 2GB, and part C,
1GB.

part A is posted using "xBin", and so are part B and C.

Users can mark any article belonging to a part to get that whole part
downloaded. What the user ends up with on his HD are parts A, B, and C.
Which he (his software) will have to combine.



 Bas Ruiter

-- 

[ l o r d s n o w @home.nl    http://members.home.nl/ l o r d s n o w ]

 Only when the population of 50 mysteriously dropped to 7 did the
 remainder start to suspect Hungry.
Re: xBin (Power-Post 2003 - requesting input from authorities..)
#62502
Author: Curt Welch
Date: Sun, 29 Dec 2002 06:59
41 lines
3263 bytes
Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> wrote:
> [Curt Welch]:
> >
> >   The need for picking a hash block size which is a multiple of 45
> >   is small, but what you haven't shown me is that the justification
> >   for making it not a multiple of 45 is greater.
>
> esthetics!  a tiny teeny bit of performance!

Yeah.  But esthetics and success seldom correlate like we would hope they
would. Look at yEnc.

> >   Even though it "feels wrong" to use a non po2 block size, I just
> >   can't find a good reason not to use something that works well with
> >   uuencode.  Not only a multiple of 45 to deal with the line
> >   problem, but a multiple which gives users the type of line counts
> >   they are use to (multiples of 100 lines or 500 lines or 1000 lines
> >   for example).
>
> there is something to be said for the esthetics of that as well.  ok,
> you win :-)
>
> 22500, then?

That looks like the front-runner at the moment.

> (reminds me of NTSC's 59.94 Hz framerate. "the block size used in xBin
> is 21.973 KiB.  this number was chosen since it is a multiple 45
> bytes, which was benificial for compatibility with something called
> uuencode used in the late 20th century." ;-)

Most TCP packets hold 1.42578125 KB of data per packet for strange
historical reasons as well yet no one using the internet seems to notice
except the people writting IP stacks.  With luck, this xBin hash size will
become something that no one using the technolgoy will notices because
binary transfers, like TCP, will "just work".

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Re: xBin (Power-Post 2003 - requesting input from authorities..)
#62503
Author: Curt Welch
Date: Sun, 29 Dec 2002 07:08
18 lines
2257 bytes
Bas Ruiter <lordsnow@home.nl> wrote:
> You foresee a situation where a provider may allow a 2GB file, and not
> a (let's say) 20GB file?

Sure.  Down the road, 2GB files will be the "little ones" - like how we
think about jpgs today.  They used to be the huge articles a few years
back.

Typical file size will never stop growing.  It, along with usenet volume,
will just keep increasing forever.  Exponentially.  If you put any limit in
the file size this technology supports, then one day, usenet will just pass
the technolgy by.  Why include built-in obsolescence when you don't need
to?

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Re: xBin (Power-Post 2003 - requesting input from authorities..)
#62504
Author: Curt Welch
Date: Sun, 29 Dec 2002 07:24
68 lines
4949 bytes
Bas Ruiter <lordsnow@home.nl> wrote:
> Maybe I didn't explain myself very well. Let's say I have a 5GB file. I
> chop these up into max 2GB parts: part A, 2GB, part B, 2GB, and part C,
> 1GB.
>
> part A is posted using "xBin", and so are part B and C.

Each part will have a different xBin hash.

> Users can mark any article belonging to a part to get that whole part
> downloaded. What the user ends up with on his HD are parts A, B, and C.
> Which he (his software) will have to combine.

If you see the first article of part A, and think, "Oh, I want that", and
tell you download tool to get it, you will only get part A.  If part A is
posted over the next 3 days, part B the three days after that, and part C,
the two days after that, you have to remember that the think you want is
comming in 3 parts and the next part wont show up until sometimes wednsday
so you have to remeber to check back then to get it.

If it's posted as one file, all you have to do is see the first article, or
the announcement of the upcomming post in the text group, and click your
"download this for me" button, to have the whole thing collected and stored
for you when you check again in a week.

The point is to prevent people from ever having to paly "find the parts"
again.  They ask once, and only once, to "get that file", and the software
does the rest.

Now, on a related subject - file sets.  We might want to look at how to
support that.

We have talked about added a "set ID" and a "file X of N" type of
information to the Message-ID as well to enable the sets of files to be
specified.

But thinking more abot this now, I'm thinking it would be best left out of
xBin.  I think it's probaly better to handle that at the applicaion level
outside of the xBin standard.  You can post "set files" like the cvs files
now, to list all the xBin ids for the files in the set.  And this standard
can be developed later, or just let ad-hoc systems be created - like simply
text articles which list xBin ids and download tools that can load an
entire set of xBin IDs from a text article into it's "to get" list.

I like the sound of pushing that support off to the application because I'm
not seeing a lot of need for the news server to know about sets of files.
Just the basic ability to "know about" transporting files I think is all
that's needed at this level.  You could filter file sets based on total
size, and that would make sense when people split a "real file" into a file
set like they do now.  But if the idea is to not split for transport into
sets, then the "file" is the point where the data is useful by itself -
like a jpg is useful by itself most the time even if it is part of a set.

And, if you did want to post a set where everything was needed together to
be useful (like a set of source files), then it would probably be best to
bundle them with tar to zip and post it as one "file" on usenet.

And of the set doesn't need to be kept together to be useful, then they
should be posted as individual files and "grouped" with the help of cvs
like files which are supported at the application level.

Any other thoughts on the ideas of what support in xBin is needed for file
sets?

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Re: Power-Post 2003 - requesting input from authorities..
#62506
Author: Jeremy
Date: Sun, 29 Dec 2002 08:54
84 lines
4545 bytes
Curt Welch <curt@kcwc.com> wrote:

>> Why not just use a cryptographic signature on the posts?
> 
> That solves a completly different problem than what we are trying to solve.

Well, it offers a solution from a different direction.

> A cryptographic signature proves the post came from someone holding the
> key.

Technically, it also proves that the post is intact and hasn't been modified
in transit.

But, that's actually the point.  The idea is to prevent atttacks against
a series of posts.  If you can see that they all came from the same
person, the job is done -- no one is going to attack his own posts, and
anyone can attack his own posts in any case, so no big deal.  Downloading
something is, after all, placing some level of trust in the poster
(depending on what it is you're downloading) anyway.

As for third-party fills, you are again trusting the poster, no matter
what system is in use, which is what cryptographic authentication is
made for.

>  But to veryify that, you have to go get his key and check it against
> his post.

Any verification would have to be checked against the post, and getting
the key takes, what, five seconds?

[...]
> All this is to make downloading multipart files, and reposts, completly
> automatic and fool-proof.
[...]

Hey, I think I'm getting d�j� vu.  Isn't this all pretty much exactly
what I was saying earlier this year?  If you thought I had it wrong, you
could have just said so. :)

> But here comes the probem.  If you make it all this automatic, then posting
> forged messages to intentially fuck up someones multipart post becomes real
> easy.

Exactly.  Cryptographic signatures make "forged" posts impossible.

Of course, you're talking about verifying the data and I'm talking about
verifying the poster, but I see downloading random binaries as an act of
placing trust in the poster anyway -- sure, you can "prove" that the data
goes with the file, but you can't show that the poster was honest about
what the file *is* until you assemble it and try to use it.  Even two
posts of the same "thing" are not unlikely to hash differently.

So, yeah, we're both talking about solutions to the same problem, but I
was thinking socially, and you were thinking technically.  In the end,
of course, both approaches could be useful.

> People can still post fakes of course.  And to figure out if they are a
> fake, the download tool will still have to download the entire article.
> But, unlike with the conventional hash, the download can verify that the
> article is valid without the help of any other external information.  Just
> be looking at the article, you can "prove" that the data matches the
> file-hash.

I see where this would be useful.  My concern is that the detailed
discussion was pretty hairy, and you may be creating something which will
be "defeated" by virtue of being too complex to understand and implement.

> So, if the article says it's a segment of file with hash-id XYZYXYYZ, then
> by looking at that article, and that article alone, we can prove if it is
> or isn't part of that file.

Also a terribly useful thing.  Thanks for the brief explanation.  This
could probably have been extracted from the thread, but I just started
mumbling things like "what the hell are these people *talking* about??" :)

> The tree hash may seem complicated when we debate fine points for hours,
> but it is in fact very simple.

I hope so. :)

-- 
Jeremy  |  jeremy@exit109.com
Re: Power-Post 2003 - requesting input from authorities..
#62511
Author: Rene
Date: Sun, 29 Dec 2002 12:41
153 lines
8222 bytes
Jeremy <jeremy@exit109.com> wrote:
> > A cryptographic signature proves the post came from someone holding the
> > key.
> Technically, it also proves that the post is intact and hasn't been
> modified in transit.

Yes, that's the common point of the two proposals.

> But, that's actually the point.  The idea is to prevent atttacks against
> a series of posts.  If you can see that they all came from the same
> person, the job is done -- no one is going to attack his own posts, and
> anyone can attack his own posts in any case, so no big deal.  Downloading
> something is, after all, placing some level of trust in the poster
> (depending on what it is you're downloading) anyway.

I'm pretty sure, many people don't want to be directly associated by their
posts :)

Your systems creates a strong link from article <-> poster
xBin creates a strong link from article <-> file.

So with xBin, the poster is irrelevant. It could be one person, it could be
10 different persons. What matters is the file. And downloaders want a
file, not a poster's personal data...

> As for third-party fills, you are again trusting the poster, no matter
> what system is in use, which is what cryptographic authentication is
> made for.

How do I find a trusted fill-poster for a file?

> >  But to veryify that, you have to go get his key and check it against
> > his post.
> Any verification would have to be checked against the post, and getting
> the key takes, what, five seconds?

How do I get the poster's public key to verify his signature ? Setting up a
PKI?

And even if you'd use a public key infrastructure, that is already in
place, like PGP for example, I think that many posters don't want to be
traced back as the originator (since they hold the private signature key).
So they would need to change the keys often, making the whole system of
"trust" unusable.

Also, with this system, a poster needs to create a key set (public +
private), publish the public key, sign the postings and send the posting
signed. Most if not all of these steps can be automated, yes.

But with xBin, none of that is necessary. All the information is created
using the original file's data. There's no out-of-band information (the
public key) relying on another system (the PKI).

Download one article of a file, and you already have all the information
you need to verify that article. You won't need additional keys, additional
systems, nothing. You have all you need.

So is xBin more complex? Yes, a little bit. But only if we look at the
final steps a decoder/download tool has to perform. If we include a fully
working PKI, then your system is far more complex to set up and/or
maintain.

> > But here comes the probem.  If you make it all this automatic, then
> > posting forged messages to intentially fuck up someones multipart post
> > becomes real easy.
> Exactly.  Cryptographic signatures make "forged" posts impossible.

Yes, but the system has the same problems... you need a safe way of ensure
the keys you hold and use are secure.

I mean, using your system, you can cut out the PKI, just post an article,
sign it with your key, post the result AND the public key, so everyone can
verify the article without the use of a cumbersome PKI, right?

No - that's wrong. For in that case, an attacker simply creates a block of
junk data, creates his own key, signs his junk and creates an article with
that junk-data, the (correct) signature of that junk data and his public
key. Now if a downloader gets that article first, how can it decide if that
is the wrong part or yours ? It simply cannot know which signature it
should trust.

You see, for your system to work, you really need a PK-Infrastructure and a
way to express trust-relationships (called web of trust in PGP, IIRC) So
that in the end makes your system far more complex than xBin.

Especially considering the more complex parts we've been discussing lately
are things like "what is the worst case number of hashes if we have x
blocks with a blocksize of y each". This was a not-so trivial problem.
However, a encoder/decoder for xBin will *never* need to perform that,
although I now have the code to do that. This was only necessary to be able
to find a good blocksize. Once an xBin standard is done, the blocksize will
be fixed in that standard and client software won't have to bother.

All they will have to do is build up a tree structure in memory and
traverse that structure in a special way. And being able to calculate a
hash.

But xBin is no standard yet. And we need to determine what additional data
must be transmitted and how much of that will ever be there and what we can
omit, to be able to find good parameters so that xBin won't be only a good
standard today, but also tomorrow.

> Of course, you're talking about verifying the data and I'm talking about
> verifying the poster, but I see downloading random binaries as an act of
> placing trust in the poster anyway -- sure, you can "prove" that the data
> goes with the file, but you can't show that the poster was honest about
> what the file *is* until you assemble it and try to use it.  Even two

That is true. xBin ensures only that you will get a file completely, but
not what the content of the file actually is. But neither does your system.
So that's a trust thing anyway.

> posts of the same "thing" are not unlikely to hash differently.

With xBin, if "the same thing" means a file that is bit for bit the same,
then the file MUST have the same hash.

> So, yeah, we're both talking about solutions to the same problem, but I
> was thinking socially, and you were thinking technically.  In the end,
> of course, both approaches could be useful.

You can slap a signature identifying the poster on top of an
xBin-transferred file. You can't do the reverse though. At least I don't
see an easy way.

> I see where this would be useful.  My concern is that the detailed
> discussion was pretty hairy, and you may be creating something which will
> be "defeated" by virtue of being too complex to understand and implement.

For an encoder/decoder the job won't be too hard. There are some
non-trivial problems in these trees, as I stated, yes. But they are not
really of importance for a final decoder/encoder.

We're currently tackling on desing issues, and to have data to base
opinions thereupon, we need to perform some of the complexer operations on
the trees.

Final software will never need to do that, because it will use the
parameters that will be mandated by the standard. But we need to find
optimal values for these parameters to define the standard. That's more or
less what we're currently discussing.

> > The tree hash may seem complicated when we debate fine points for
> > hours, but it is in fact very simple.
> I hope so. :)

Let me put it that way: If you can implement a heap-sort algorithm, you can
implement xBin in the form it is currently considered.

-- 
-------------------- http://NewsReader.Com/ --------------------
Usenet Newsgroup Service              New Rate! $9.95/Month 50GB
Re: xBin (Power-Post 2003 - requesting input from authorities..)
#62513
Author: Rene
Date: Sun, 29 Dec 2002 12:57
41 lines
3121 bytes
Bas Ruiter <lordsnow@home.nl> wrote:
> > Today, most P2P apps contain ISO-images (1:1 image) of CDs, they are in
> > the range of 600-800MB. It is sensible to assume, that people will
> > start (if they haven't already) to distribute DVD-images, which will
> > have a size of upwards to 16GB.
>
> You can use 2GB as a max limit.
>
> If someone is going to post a DVD ISO (4.7GB to 18.8GB) it's just a
> matter of splitting them up into 2GB parts, like they're doing these
> days with those RAR posts.

No splitting files is "just wrong".

It is done *only* on NNTP.

On IRC, large files are transfered unsplitted
On FTP, large files are transfered unsplitted
On HTTP, ...                       unsplitted
On P2P-networks ....               unsplitted

So why on earth do you need to split large files on usenet? The reason is:
usenet cannot guarantee completion. Some articles containing part of the
large file may get lost on the way. Enter PAR-files. The parity system
pro-actively fixes the problem. However, at a cost: A par file must be of
the size of the largest part. So PAR-technology actually mandates that
large files be splitted.

Now xBin strives to solve the completion problem. It cannot magically
prevent articles getting lost, but it does make it easy to retrieve the
missing parts automatically if they get retransmitted.

Also with xBins other features which guarantee integrity of the file, you
no longer need splitting. You can still split, if you really like, but then
you're back at the status-quo today: How do you mark those parts to belong
to the same file? Happy subject guessing again?? Manually? Automatically?

-- 
-------------------- http://NewsReader.Com/ --------------------
Usenet Newsgroup Service              New Rate! $9.95/Month 50GB
Re: xBin (Power-Post 2003 - requesting input from authorities..)
#62514
Author: greg andruk
Date: Sun, 29 Dec 2002 13:19
32 lines
2675 bytes
Rene wrote:

> No splitting files is "just wrong".

Hmmmm, no.

> It is done *only* on NNTP.

And mail, and uucp, and gnutella.

> On IRC, large files are transfered unsplitted
> On FTP, large files are transfered unsplitted

Not quite.  Files can be and are often transferred in sections.

> On HTTP, ...                       unsplitted

HTTP/1.1 has ranges too.

> On P2P-networks ....               unsplitted

Swarming transfers are all about splitting.

The real difference between (most) other media and news is in _how_ the 
splitting is done.  The reading/posting part of NNTP is seriously deficient 
in this area.

A more useful approach than "how do I last decent file transfer stuff atop 
NNTP?" might be "how can I use a news-like store/forward scheme with a 
decent binary-orianted protocol?"
 
Re: xBin (Power-Post 2003 - requesting input from authorities..)
#62517
Author: Rene
Date: Sun, 29 Dec 2002 13:50
81 lines
4790 bytes
greg andruk <gja@meowing.net> wrote:
> > No splitting files is "just wrong".
> Hmmmm, no.

Well yes, in my opinion it is wrong :) You don't watch a splitted movie,
you don't listen to splitted music, you don't play a splitted game and you
don't look at a splitted picture.

You always need to "un-split" the files to be able to do what you intended
with the file.

> > It is done *only* on NNTP.
> And mail, and uucp, and gnutella.

Mail - yes, but its done by the mua's automatically, the user does not see
it is being splitted.

UUCP - can't say, that protocol is older than I am :)

Gnutella: No the *original* gnutella was only a system to find a peer. You
  had to download one file from one and only one peer. There was no mixing.
  Download was also sequential, from start to end. No splits.

Later there was the addition to find and retrieve files from different
sources. Therefor, file need an identification scheme. Bitprint is being
used, that's a big hash (consisting of a Tiger and a SHA-1 hash) Again, the
system (the clients) hide the fact that a file is splitted, they
concatenate the parts and present either a complete file or none at all to
the user.

Also there is no "static" split, like 14 parts. There are only splits in
regard to from how many peers it is concurrently pulling data. That's a
difference.

> > On IRC, large files are transfered unsplitted
> > On FTP, large files are transfered unsplitted
> Not quite.  Files can be and are often transferred in sections.

Actually that's always the case. A part can never be greater than a
UDP-packet data size or an TCP-packet data size. The point is if that
splitting is transparent to the user or not. If the system is able to split
and re-join parts without the user ever needing to intervene, then that's
fine.

If the user ends up with 300 parts, then that's cumbersome, unnatural and
plain and simply "wrong" in my eyes.

xBin isn't going to not-split the file too. But it hides that from the
user. It automatically splits one big file - the user does not need to run
a packer / file splitter. And it automatically re-assembles the parts.

You feed one file to usenet and you get one file out of usenet. Today its
you split a file into x parts, then you feed it x parts. And you get x
parts from usenet and then you combine the x parts into a file. That step
is superflous, if we can solve the problems that caused files to get
splitted.

> > On HTTP, ...                       unsplitted
> HTTP/1.1 has ranges too.

Yes, to enable a user to stop mid-transfer and resume later.
Or for download tools to fetch the same file from different servers. Again,
you won't get splitted files, the tool concatenates them for you.

> > On P2P-networks ....               unsplitted
> Swarming transfers are all about splitting.

Yes, but transparently. No manual intervention needed. That's all fine. We
want to reacreate that behaviour for usenet too !

> A more useful approach than "how do I last decent file transfer stuff
> atop NNTP?" might be "how can I use a news-like store/forward scheme with
> a decent binary-orianted protocol?"

Send only a URL/link of an binary-oriented protocol (FTP, HTTP) over
usenet.

-- 
-------------------- http://NewsReader.Com/ --------------------
Usenet Newsgroup Service              New Rate! $9.95/Month 50GB
Re: xBin (Power-Post 2003 - requesting input from authorities..)
#62521
Author: Rene
Date: Sun, 29 Dec 2002 14:51
16 lines
2101 bytes
curt@kcwc.com (Curt Welch) wrote:
> Most TCP packets hold 1.42578125 KB of data per packet for strange
> historical reasons as well yet no one using the internet seems to notice
> except the people writting IP stacks.  With luck, this xBin hash size
> will become something that no one using the technolgoy will notices
> because binary transfers, like TCP, will "just work".

That's actually a limitation imposed from the ethernet max frame length.

1500 IIRC, minus Ethernetheader minus IP header minus TCP header is then
the max data payload size.

-- 
-------------------- http://NewsReader.Com/ --------------------
Usenet Newsgroup Service              New Rate! $9.95/Month 50GB
Re: xBin (Power-Post 2003 - requesting input from authorities..)
#62524
Author: Dr.Ruud
Date: Sun, 29 Dec 2002 15:35
12 lines
1846 bytes
Curt Welch skribis:

> So, things just run smoother for many reasons if all the articles in a
> multpart set are as close as possible to being the same size.

OK, thanks (Bas too). What is the optimal maximum?

-- 
Affijn, Ruud (part-size of course)


Re: xBin (Power-Post 2003 - requesting input from authorities..)
#62526
Author: Thomas
Date: Sun, 29 Dec 2002 16:29
25 lines
2399 bytes
Dr.Ruud wrote:

>>So, things just run smoother for many reasons if all the articles in a
>>multpart set are as close as possible to being the same size.
> 
> 
> OK, thanks (Bas too). What is the optimal maximum?

Depends on your ISP, and on what other ISPs use, and what ISPs use thatare on 
the path from poster to recipients.

1 megabyte is the default in INN I think. But ISTR 512 kilobytes also being 
used, or values in between.

And then there are peers who have trouble keeping up and get fed 300 kilobyte 
articles max. And so on.

Keep in mind that bigger is better - blocking large articles has reasons 
separate from the size, but having to do with the streams these articles belong 
to (bulk data so to say).


Thomas

Re: xBin (Power-Post 2003 - requesting input from authorities..)
#62529
Author: Bas Ruiter
Date: Sun, 29 Dec 2002 16:51
19 lines
1895 bytes
> OK, thanks (Bas too). What is the optimal maximum?

As large as possible, within excisting limits.

A limit may be the max size accepted by a news server. For example,
my own provider (@home) has a limit of about 500kB per article.



 Bas Ruiter

-- 

[ l o r d s n o w @home.nl    http://members.home.nl/ l o r d s n o w ]

 Only when the population of 50 mysteriously dropped to 7 did the
 remainder start to suspect Hungry.
Re: xBin (Power-Post 2003 - requesting input from authorities..)
#62533
Author: Russ Allbery
Date: Sun, 29 Dec 2002 19:11
26 lines
2641 bytes
Rene <invalid@email.addr> writes:
> greg andruk <gja@meowing.net> wrote:

>> Not quite.  Files can be and are often transferred in sections.

> Actually that's always the case. A part can never be greater than a
> UDP-packet data size or an TCP-packet data size. The point is if that
> splitting is transparent to the user or not. If the system is able to
> split and re-join parts without the user ever needing to intervene, then
> that's fine.

> If the user ends up with 300 parts, then that's cumbersome, unnatural
> and plain and simply "wrong" in my eyes.

People used to split files intended to be transferred over FTP all the
time.  I certainly remember downloading multiple parts and combining them.

FTP also has the ability to resume downloads, which is in essence
user-initiated splitting.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Power-Post 2003 - requesting input from authorities..
#62558
Author: General Identity
Date: Mon, 30 Dec 2002 00:50
69 lines
4050 bytes
In article <cdda0v4h6t52ov7abf1j0qkpo843itf4se@4ax.com>
 Chris Morse <chris@invalid.com> wrote:

>
>
>Hello,
>
>I wrote the original Power-Post 2000 application for windows about 3
>years ago.  Right now, I am designing and implementing a whole new
>version; completely rewritten.
>
>I once again have asked for the help of a group of beta testers; many
>are well known in their respective groups.  But I would also like to
>get feedback from those who see things from the server end.
>
>Please let me first say that I respect usenet as a whole, and I also
>respect the opinions and experience of those in this newsgroup.  I
>want to be very careful about the new implementation.  The beta
>testing of the new version will be more formal than before.  I believe
>it will be better for everyone if extra time and care is taken; and
>not releasing anything before it is really ready.  I have heard some
>horror stories of yEnc hacks of my old code.  This time around, I will
>not be releasing the source code.  I think that was a mistake..
>
>One feature I am implementing is something I have labeled "part
>levelling", to eradicate small/tiny "last part" articles.  (eg,  Say a
>max article size has been set for 10,000 lines.  A file being posted
>that ends up being 20,004 lines total will normally be posted as 3
>parts:  (1/3) 10,000 lines, (2/3) 10,000 lines (3/3) 4 lines.  With
>part leveling, it will instead be posted as 3 parts of 6,668 lines
>each.)
>
>I am not sure I should attempt to implement a "cancel" feature.  
>My experience with cancelling is very basic; should I even attempt to
>have this feature?  (maybe it's not a good idea..)
>
>I would very much like to hear any ideas, suggestions or comments.
>Best practices, application client/server behaviour changes, etc.  My
>goal is to provide a quality free posting tool for the usenet
>community, but to also "play nice" with the servers.  I realize that a
>lot of people use Power-Post, so I feel that extra care should be
>taken.  Your input will directly affect it's implementation, as will
>the input from the beta team.
>
>Thank you!
>// CHRIS

Is there any way you can compile Power Poster to have a token field of
the current directory instead of the full path it currently doesnow?

Currently it does $D (inserts full directory name from c:/ prompt)
(i.e: "D:/program files/temp folder/superduper-neeto.app [1/1]
filesize (1/18)")
It does the full path, which is a pain in the arse when you are queing
up a lot of folders, say 20 or more..

Would like to have it so it only does:
(i.e: superduper-neeto.app [1/1] filesize (1/18 )
with the $D token to only put the current dir folder only.  This saves
time and for queing up folders when you have a number to queue
without all the editing of the current fields.

Additionally, can it be set to automatically choose the posting group
without having to check the group you want to post in for each posting
queued item.

Addtionally, Optional header fields for custom postings.

Re: Power-Post 2003 - requesting input from authorities..
#62564
Author: Curt Welch
Date: Mon, 30 Dec 2002 02:00
39 lines
3135 bytes
Jeremy <jeremy@exit109.com> wrote:
> Curt Welch <curt@kcwc.com> wrote:

> As for third-party fills, you are again trusting the poster, no matter
> what system is in use, which is what cryptographic authentication is
> made for.

I think you caught on by the the end of the article, but the beauty of the
hash tree is that it does prove that a third party fill is part of the same
file with out the need for any external information other than the
File-Hash-Id itself.  Crytographic signature would not premit that.

In addittion, most people that post binaries to Usenet don't want "clear
proof" that they posted it, so even though crypto signatures would be a
"good thing" for much of Usenet, and for all copyright holders, it would
not likely go far with the Usenet binary community.

> Of course, you're talking about verifying the data and I'm talking about
> verifying the poster,

Right.  One fits nicely into Usenet.  The other would be nicely rejected by
Usenet.  Both very simlar and both achieve much of the same thing, but one
has a chance of being accepted and one doesn't.

> I see where this would be useful.  My concern is that the detailed
> discussion was pretty hairy, and you may be creating something which will
> be "defeated" by virtue of being too complex to understand and implement.

Yeah, I said just that in one of these 100 or so posts.  It might be too
complicated to be accepted by enough developers.  It will make things
easier for the users, so unelss they fear it out of a lack of knowledge, I
think the users will jump on it quicker than they jumped on yEnc provided
they are given good tools for it's use.  It only takes one good posting and
download tool to get this started.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Page 2 of 9 • 404 total messages
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads