I checked in support for redundant SplitFiles for fproxy. FEC encoders and decoderes are loaded via a plugin mechanism. See Freenet/client/FECFactory.java, FECEncoder.java and FECDecoder.java.
I wrote encoder and decoder implementations based on the Onion Networks FEC library and checked them into Contrib/fecimpl/onion directory in CVS. For now you have to manually add the config lines for them to your freenet.conf. See the README for more info. http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/~checkout~/freenet/Contrib/fecimpl/onion/README?rev=1.2&content-type=text/plain If you are going to try to insert or retrieve really big files make sure that you set fproxy.tempDir in your freenet.conf/ini file to a directory with a lot of free space. Also, you might want to set fproxy.splitFileRetries=0 for the most efficient FEC downloading. It would be cool if someone could make the distro target, i.e run "make distro" from the Contrib/fecimpl/onion directory, and post the resulting zip to the snapshots ftp dir so that people don't have to build the jar themselves. Unfortunately, I don't have a password. Inserting really big files (>128M) is not very well tested. Inserting is pretty hard given the current state of the network. Retrieving works quite well. The redundancy is hard coded to 50% (for now). So you only need 2/3 of the available blocks to reconstruct a file. -- gj -- Freesites (0.3) freenet:MSK at SSK@enI8YFo3gj8UVh-Au0HpKMftf6QQAgE/homepage// (0.4) freenet:SSK at npfV5XQijFkF6sXZvuO0o~kG4wEPAgM/homepage// _______________________________________________ Devl mailing list Devl at freenetproject.org http://lists.freenetproject.org/mailman/listinfo/devl
