As much as I like the idea of zipping containers together, to ensure
that a site is entirely downloaded, I'm a bit worried about a
vulerability with massive zip files, that compress very small.

In theory, I could build a zip file with a 10GB file full of Zeros..
Zipping it up, it would be microscopic.. Easily less than the 1MB
Freenet can handle. If I were to have this 10GB zip file in there, and
also add in a index.html, then upload that as a container package, how
would freenet deal with that?

I suspect Bzip2 would have the same problem.. Is there an easy solution
to avoid this I haven't thought of? 

Colin

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ian Clarke
Sent: Friday, August 01, 2003 1:22 PM
To: [EMAIL PROTECTED]
Subject: Re: [freenet-dev] To zip or not to zip


On Fri, Aug 01, 2003 at 11:38:00AM -0500, Edgar Friendly wrote:
> The node will not be compressing data for people; it's definitely 
> better to have clients that support compressed keys, but the node 
> should stay out of the way of this kind of thing, as it just 
> needlessly complicates the node.  And we all know fred is complicated 
> enough.

I don't see why the whole compression thing is generating so much debate
- most of the material on Freenet is already compressed, images, audio,
video - all are as compressed as they are going to get, and attempting
to compress them further is a waste of CPU resources.  Realistically the
only thing that will be compressed significantly are HTML files - and I
suspect that this constitutes a tiny fraction of the total data stored
on Freenet.

As for the benefits of globbing a bunch of files together - I am 
sceptical about that too - it will force text-based browsers to download

unnecessary data, and we will lose the benefits of individual caching of

images which are reused in different places.

Ian.

-- 
Ian Clarke                                                  [EMAIL PROTECTED]
Coordinator, The Freenet Project              http://freenetproject.org/
Founder, Locutus                                        http://locut.us/
Creator, WhittleBit                               http://whittlebit.com/
Personal Homepage                                   http://locut.us/ian/

_______________________________________________
devl mailing list
[EMAIL PROTECTED]
http://hawk.freenetproject.org:8080/cgi-bin/mailman/listinfo/devl

Reply via email to