I wrote script/program that generates Freenet config files, as discussed here the last couple of days. From the javadoc:
/** * A simple script that produces a .freenetrc. Note the simple, this * is not meant to be some generic autogenerating config file maker - * when a new entry to .freenetrc is added, you'll have to code it. * * When main() is run, it will set up the static fields, and then call all * static argumentless methods whose names begin with "setParam" in * alphabetical order. So to add the new setting "fooBar", all you need to do * is add a method called "setParamFooBar" that uses the provided streams and * methods to write the settings to the config file. * * @author oskar; */ It can execute in two modes, normal or expert. Expert is toggled giving "expert" as the second argument or giving "ask" as the second argument and answering yes when it asks. In Normal mode, almost all the settings are written with their default values automatically, only stopping to ask on things that I think would concern most user, where as Expert stops and asks on everything. If people add new options to this, you should require user input in expert only unless it is something very important. If somebody feels like going over the texts and making them a little clear that would probably be good (I copied them out of the sample.freenetrc file). Interestingly I found several very broken values in sample.freenetrc. For example, HandshakeLife was set 100000 milliseconds, meaning nodes using that value would rehandshake everybody on ever request, slowing down requests considerably. Thanks lmh for the listenPort finding code. -- \oskar _______________________________________________ Freenet-dev mailing list Freenet-dev at lists.sourceforge.net http://lists.sourceforge.net/mailman/listinfo/freenet-dev
