🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #64941

Re: [BinFor] Splitting extra large files - slice method.

#64941
From: Curt Welch
Date: Sun, 20 Apr 2003 01:40
205 lines
12452 bytes
"Mirco Romanato" <painlord2k@yahoo.it> wrote:
> "Curt Welch" <curt@kcwc.com> ha scritto nel messaggio
> news:20030418190735.620$Mx@newsreader.com...

> OK.
> I have 2 points.
> 1) You need enought hash values to verify the data in the block against
> the root hash
> 2) You could want to include a few hash values to check against random
> corruption the data transmitted.

Yes, that's right, you could.

> If H12 fail and H13 success, you could retain H13 and redownload only
> H12. I don't think this will be very useful, because NNTP servers are not
> able to resume so if H12 is good and H13 is bad, we need to reDL all the
> post.

Well, on usenet, there's just not much point on trying to save part of the
data.

As an article is transported from server to server throughout usenet, the
idea is that one day, most servers will verify the data using the hash.  A
usenet server has no option of saving part of the data and throwing out the
rest.  It is realy forced to either accept the entire article as it is, and
pass it along to it's peers, or just throw it out completely.  It has no
viable option to reformat the article and send the good half out and throw
the rest away.  With the power of xBin, the server could generate a new
article which included only the good part of the data, and send that out to
usenet, but then, if 1000 servers all did this you would have 1000 extra
copies of that data in 1000 "new" articles.  That is just unworkable.  So
for Usenet, we only need to know if the entire article is good, or not, so
sending extra hash values is just adding more data to the article which has
little value to the network.

> > A flat SHA-1 hash of the file can not be verified, so people can post
> > articles which lie (it claims it's part of file with SHA-1 hash XYZ but
> > in fact is not).
> My SHA-1 point is for legacy reason only.
> As the URI of the original files is posted (TTH root, SHA-1, E2K, a
> combination of them like in a Magnet link) we could link the URI to the
> metadata of the file.
>
> E.G.
> magnet:?xt=urn:bitprint:66IK6RC62VHBWBUCHMDYVDDFWWG7MSUR.FBSCQCUWGLAUBBY2
> DIW KWA6LHQFO3YDQSG7VHSI&dn=Mandrake91-cd2-ext.i586.iso
>
> I can search in Bitzi database, or in other trusted services, for the URI
> and know what I'm downloading.
> This is very important, because people could post big files and lure
> people to download them, claiming that the file is good.

Right.  xBin lables make sure you get the data you are trying to get, but
doesn't solve the problem of knowing what the data is before you download
it.

Sending descriptions of the data though trusted channels help to solve that
problem.  In addition to using an external trusted database, or web site,
you can also use a digital signature system though Usenet.  You don't need
to identify who sent the information, you just use it to build up trust
that everything sent out by the guy in the past was good, so you trust that
the information he is sending out now is likely to be good.

Also, before you can "fake" somebody into downloading 500MB of data, you
have to post 500MB of data.  That's a higher cost than many of these
"hackers" are willing to pay.

But, for compatibility with other systems, I see no harm in allowing the
article to contain something useful like the SHA1 of the file so people can
construct a bitprint for lookup in a database like Bitzi.  However, you
have to always assume the SHA-1 can be bogus, so you should never use it
alone as a "trusted" ID for the file.

For example, if a usenet download tool is trying to collect all the parts
of a file with TTH of XYZ, it should never look at the SHA-1 value and
assume it's correct.  For example, the file file might have SHA-1 of ABC,
and TTH of XYZ.  But someone could post a fake segment of data from the
file and say the TTH is XYZ (which is true and can be proven to be true
using the hash values in the article), but then lie about the SHA1 and say
the SHA1 of the file is DEF.

If the download tool finds this fake article first, and falsely assumes the
data in the article is valid, it will "think" that the file it is trying to
download has a bitprint of DEF.XYZ.  What happens when the download tool
then finds a chunk which clames to be from ABC.XYZ?  In fact, this second
chunk is the real file and first is a fake.  But if the tool made the false
assumption the first bitprint was "valid" then it would end up "rejecting"
the second because the file had the wrong bitprint.  This is exactly what
you don't want to happen.  So the SHA1 value has to be ignored.

So, the download tool uses only the TTH value to correctly identify, and
download all the chunks of the file.  Then, it can calcuate the SHA-1 of
the full file if it needs it.

The good thing about including the SHA-1 in the article is that if you have
a trusted database of bitprints, you can look up the file in the data base,
and if you get a positive hit, you know something about the file before you
download it.

However, for Usenet, it would be best if the tree hash was the only hash
used.  If you feel like you don't have a large enough hash, they should add
a second tree hash using the same block size but a different underlying
hash function.

> What will happen if a Telco (hundred of billions) cannot sell
> subscriptions because people can not share cause the Music/Movie industry
> (tens of billions) bust them.
> Telcos will buy the politics or the Movie Industry and will shut up the
> problems.

Maybe something like that will happen.

However, the larger issue is that unrestricted copying will kill the
recorded music industry (as we know it) so no telco will want to buy it.
The real issue here is once again the "Tragedy of the Common" problem.
People acting in their self interest cound end up destroying the thing they
like.  Like kids fighting over a toy who end up breaking the toy so nobody
gets to play with it.

If any industry can not control the distribution of the content they
create, then they will not be able to get paid for it.  If they can't get
paid for it, they will stop making it.  If this technology gets easy
enough, and cheap enough, it will kill industries like the recorded music
business.  There will always be people making music, it will not kill that.
But the billions of dollars that go to fund the current "pop" muscians will
be gone.  And thouands of people that can currently make a good living as a
muscian will no longer be able to do so.  You will still be able to see
people play live, and you will have recorded copies of live performances
for free, but the range, and quality of the music available will be very
different.  Maybe what will happen is that that there will be more live
concerts since that's the only way muscians can get paid.  Maybe this is a
good thing.  But, I suspect, that overall, the death of the recorded music
industry will mean there there is a lot less music in the world.

Same thing for software.  If compaines like Microsoft can't control the
distribution of their product, then they will stop distributing it.  They
will either have to find a way to distribute it in a form that can't be
copied, or they will go out of business.  You might for example only be
able to get a "computer" like devices which work like TVs and VCRs.  All
the software is built-in and nothing can be copied or changed.

The video tape and DVD markets would vanish as well.  The only way to see a
move will be in a theater, and you will be searched to make sure you aren't
bringing in a recording device every time you go to a movie.

Forget watching vidoes or listening to music at home.  You will be giving
up that right if you decide that anonymous broadcasting of data should be
legal.

And all this ties into the free speech issue.  What I think it boils down
to is that free speech comes with a price.  If you aren't willing to
identify yourself when you speak, you don't deserve the right to speek
freely.

The problem with this however is that there is still a lof of evil people
in the world which can, and will, do us harm, and anonymous free speach is
currently a very good defense against these evils.  And this is why people
feel so strong about their privacy, and their right to "anonymous free
speech".

If the world doesn't find another solution to these evils, it may end
limiting our ability to create information markets (like the the recorded
music business and video business).  And as all this digital technology
advances, there will be huge potentials for information markets which may
never materialize because we have decided people don't have the right to
trade these types of "goods".

Like I've said, it's all very interesting trying to guess how this is going
to evolve.

> >But as the networks get
> > cheaper, and faster, the amount of "harm" tends to increase.  Where
> > will this increase in power take us? That's the interesting question.
> Maybe we need to think about car industry, and cigarette and drink
> industries.
> They do harm around?
> Yes.
> The work?
> Yes.
>
> Because is not an option to close them.

Mostly, it's not an option to close these because people want them.  People
really should have the right to harm themself (at least I believe that).
However, when the industry does harm to the world (like the pollution
caused by the cars), then goverments really need to step in and make the
people who support the industry (the customers), pay for the damage they
create.  If you buy a product which causes the air to be polluted, you have
the responsibilty to pay for the air to be cleaned.

If people harm themself, and that harm creates a burden to society, (drug
adicts which turn to a life of crime to support their habit, alcoholics
which drive drunk and kill people), then ways need to be created to make
sure that those people end up paying for the burden they create.  If the
goverment has to spend billions stoping drunk drivers and setting up road
blocks to keep them off the street, then the goverment should find ways to
make the alcoholics pay for this.  If you can't find a way to make just the
people that abuse alcohol pay, then the entire alcohol industry should be
taxed to pay for it.  A lot of this stuff is done in the US, but not nearly
as much as it should be.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Technical Details
Message-ID: <20030419214047.772$gU@newsreader.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!news.maxwell.syr.edu!feed1.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
References: <1048a.143208@archiver.winews.net> <mgsp8v8oo1rf5gua0po4ikbmgj18tjd36c@4ax.com> <04018.443200@archiver.winews.net> <9poq8v8cj6ovato7vj015te4bg2truq7ve@4ax.com> <34037.743202@archiver.winews.net> <r_Cka.19194$iy5.537583@twister2.libero.it> <01216.943204@archiver.winews.net> <Xns93582C172A68Dnothing@209.98.50.131> <58128.a43205@archiver.winews.net> <4qbla.24414$iy5.689256@twister2.libero.it> <09527.b43208@archiver.winews.net> <Ckyla.27817$DT4.798840@twister1.libero.it> <5643a.f43203@archiver.winews.net> <GsYma.39933$DT4.1191512@twister1.libero.it> <20030415160127.078$n3@newsreader.com> <20030415165907.236$Ox@newsreader.com> <Nfuna.45138$DT4.1322599@twister1.libero.it> <20030417173059.648$Gg@newsreader.com> <AoVna.49210$DT4.1422425@twister1.libero.it> <20030418190735.620$Mx@newsreader.com> <aSgoa.52301$iy5.1513820@twister2.libero.it>

Show Full Headers
Complete Article Headers
Message-ID: <20030419214047.772$gU@newsreader.com>
Subject: Re: [BinFor] Splitting extra large files - slice method.
Date: Sun, 20 Apr 2003 01:40:47 +0000
From: curt@kcwc.com (Curt Welch)
References: <1048a.143208@archiver.winews.net> <mgsp8v8oo1rf5gua0po4ikbmgj18tjd36c@4ax.com> <04018.443200@archiver.winews.net> <9poq8v8cj6ovato7vj015te4bg2truq7ve@4ax.com> <34037.743202@archiver.winews.net> <r_Cka.19194$iy5.537583@twister2.libero.it> <01216.943204@archiver.winews.net> <Xns93582C172A68Dnothing@209.98.50.131> <58128.a43205@archiver.winews.net> <4qbla.24414$iy5.689256@twister2.libero.it> <09527.b43208@archiver.winews.net> <Ckyla.27817$DT4.798840@twister1.libero.it> <5643a.f43203@archiver.winews.net> <GsYma.39933$DT4.1191512@twister1.libero.it> <20030415160127.078$n3@newsreader.com> <20030415165907.236$Ox@newsreader.com> <Nfuna.45138$DT4.1322599@twister1.libero.it> <20030417173059.648$Gg@newsreader.com> <AoVna.49210$DT4.1422425@twister1.libero.it> <20030418190735.620$Mx@newsreader.com> <aSgoa.52301$iy5.1513820@twister2.libero.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!news.maxwell.syr.edu!feed1.newsreader.com!newsreader.com!news2.newsreader.com!ellis.newsreader.com!not-for-mail
Organization: NewsReader.Com
Newsgroups: news.software.nntp
X-Trace: NewsReader.Com +0Zu8Dt5PXcLKNzIWj-kWG.jf@Cp7xaw_XO5DCFTzQCPcF1
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5
  %IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
X-Url: http://CurtWelch.Com/
User-Agent: NewsReader.Com
Lines: 204