Before we release 0.3, I would like to add some size limits on fields,
messages, and the largest datalength tolerated at all. This is rather
important for fields and messages since they are read directly into
memory (you can probably crash a Freenet node currently by just connecting
and sending several megabytes of data without a newline).

What size is appropriate depends a little the length of the PK fields, and
the possiblity of a rules language like Ian's Sesil which inflates it
quite a bit.

A 4096 bit public key is 1024 chars in the current system - so we need to
have the limit for fields at at least double that. I'm even less sure of
total message size, but 32k chars should be enough I think.

And what about the trailing? A hundred megs? Two hundred? I _could_
implement something where it can tunnel arbitrarily large files but
limiting the size of the file on disk and then overwriting the beginning
when it reaches the end, but it would be pretty complicated.


-- 
\oskar

_______________________________________________
Freenet-dev mailing list
Freenet-dev at lists.sourceforge.net
http://lists.sourceforge.net/mailman/listinfo/freenet-dev

Reply via email to