🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #64931

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

#64931
From: Curt Welch
Date: Fri, 18 Apr 2003 23:07
170 lines
10155 bytes
"Mirco Romanato" <painlord2k@yahoo.it> wrote:
> Curt Welch wrote:

> You need to define how mauch data want in the header, then you will know
> how much hash levels use.

No, with what is need for Usenet, hash levels have nothing to do with it.
There is _never_ a need to transfer an entire top portion of the hash tree
with the data.  You only include enough hash values to allow the block of
data in the article to be verified.  What you inlude is the hash values
from the highest nodes of the data not included in the current article.

For example, if the full fill spans 4 hash blocks, the entire hash tree
looks like this:

        H1
      /    \
    H2      H3
   /  \    /  \
  H4  H5  H6  H7

H1 is the hash of (H2||H3).  It's the hash of the entire file aka the root
hash.

H4 though H7 are the hash values of the 4 blocks of the file.

If I send the data for the third block in an article, I have to include
with that article the correct hash values to allow anyone to recalcuate the
root hash (H1).  So what I include is H2, and H7.  With the data in the
article, and those extra hash values, I have everything I need to
recalcuate H1 and verify that the data is in fact part of the file with
root hash H1.

This is the entire point of using a tree hash.  It allows you to prove that
the data in the article is in fact part of the file with root hash of H1
even if the rest of the data from the file is not avaibale.

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). People are already doing this today on Usenet in an attempt
to distrubt the functioning of the network.  Abuse on Usenet only seems to
get worse over time if things are changed to prevent it.  The larger Usenet
becomes, the more likely someone, somewhere, is motivated to break it.
This is part of why we are looking for a system which either can't be
broken, or which would cost so much to break that the levels of abuse seen
will be small enough to ignore.

> If the posted chunks will be 256 you need only the TTH of the chunk, and
> not the hashes of all 1KB blocks.

You never need the TTH of the chunk.  I don't understand why you keep
saying that.  You need the TTH hash vales of all the chunks you don't have.

> Do You think big ISPs will give subscribers better internal Newsservers
> or they will prefer to reduce their newsservers service?

I can't really predict where the trend will take us.  Providing a good
full-feed server is expensive and only a small subset of most of a typical
ISPs customers will be interested in a good binary usenet server.  A much
larger percentage are interested in a good text server.

Do you charge everybody an extra $.50 for a service which only 10% of the
users are using?  That's the type of question which the ISPs are constantly
looking at.

Large ISPs can more easilly justify running their own servers, but they
still have less motivation to provide a good binary server.  It's just real
hard to justify investing in an expensive product which only 10% of your
paying customers are interested in it enough to be willing to pay what it
costs to provide.

Do any ISPs sell access to a good binary usenet server as an add-on
service?  This strikes me as something some would have done by now but I've
not heard of it.

One problem with Usenet is that people don't think of the text part as
being different from the binary part of usenet.  A usenet server should
carry everything (in the minds of many consumers).

One trend that could develop with new technoloy like xBin is to separate
the notition of the "file transport" portion of Usenet from the "article
transport" side.  This would make it far easier for an ISP to both run a
"text only" Usenet service, and for the customers to understand that the
ISP does not include access to "binary usenet".  Text usenet more closely
fits the needs of the typical ISP customer and allows the ISP to supply
only what most the users are willing to pay for and let the few that want
the higher cost P2P-like binary side of usenet pay for on top of the ISP
feeds.

> Demand will always outstrip supply because UP bw is near always half of
> the DL bw and the ratio will be worst in the future apparently.

I don't think bandwidth has anything to do with.  When you give something
of value away for free, demand will always outstrip supply no matter how
much supply you have.  Look at usenet. The total amount of people
downlaoding from usenet is not equal to the amout uploaded.  It's higher by
at leaat a factor of 100.  You would need ADSL lines with 100 times more
upload bandwidth than download bandwidth to get that ratio closer to
matching what happens on Usenet at the edge of the network.

> So we need someone to act like a BW "amplifier".
> The binary Newsgroups and the ISPs newsservers could be the amplifiers.

Do any of the P2P networks limit downloads based on what you have
"contributed" to the network in terms of server resources?  If you could
make people "pay" in terms of what they contribute to the network that
would solve the supply and demand problem without forcing the system to
reduce demand by lowering the quality of service like it does now (as I
understand it).

> I understand this and it is because I think that people that want
> download only new releases FAST will always pay for a good service.
> Paid services will be used like now, maybe more maybe less.
> They are not needed to this, but they could be very useful.

It would certainly be a nice feature of any file-sharing system if the
people that are willing to either pay more, or contibute more, can get
beter service from the network.  If paying for better access to usenet
helps make a P2P network work better for some people, that would be good.

> > The second problem of traceability is more complex and gets into a
> > complex social issue which the world is still trying to figure out
> > how to deal with.  I suspect the long term answer is going to be that
> > all communication must be traceable and it will be illegal to operate
> > any comunication system which is not able to identify the source of
> > the data.
> Are you from USA?

Yes.

> I'm from EU and I think things will go another way.
> This for economic pressure andother issue.
> When some idiots (danish I suppose) proposed the ISP must log all
> Internet communications (mail, etc.) the same ISPs reacted like crazy
> because the costs implied.

Logging is not the same as forcing people to identify the source of all
content.

Logging is one of the only ways you can in fact do it today, but in the
long run, it's more likely that all data "published" might need to be
signed.  I could see the world getting to a point where that would happen.
But, the majority of people today would vote that down, so it's not going
to happen any time soon.

> And there are Freenet and Mnet (ex-MojoNation) solutions.
> You can trace the source of data, but you can not trace the publisher,
> because there are many level of indirections.
> And the people holding the data can not know what they hold because is
> encrypted.
>
> But this is another tale...

Yeah, the social issue becomes one of trying to decide if anonymous
publishing of data is good or bad.  Right now, it's fairly easy to do and
any time one technology for doing it is stopped, two new ones pops up.  But
we could easily reach a day where any such technolgy was illegal and anyone
creating such a technology, or using it, could be charged with a crime.
(use the internet, go to jail :)).  Whether we get there or not depends a
lot on how much "harm" these sytems like Usenet and P2P networks do to
socieity.  Right now, even though some people are scared to death about how
much harm they will do, they have not yet done enough real harm to society
as a whole to justify many laws like that.  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.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/
Technical Details
Message-ID: <20030418190735.620$Mx@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!cyclone.bc.net!newsfeed.telusplanet.net!rip!news.webusenet.com!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>

Show Full Headers
Complete Article Headers
Message-ID: <20030418190735.620$Mx@newsreader.com>
Subject: Re: [BinFor] Splitting extra large files - slice method.
Date: Fri, 18 Apr 2003 23:07:35 +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>
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!cyclone.bc.net!newsfeed.telusplanet.net!rip!news.webusenet.com!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 W4M/Zqpngl.8fECeDf8fyqX/,_G_5hkTfAN2yEuxEKtWzE/bU,
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: 169