It seems our experimental evidence was wrong... somehow InetAddress gets initialized before entering Main(). So I moved the Security settings up to the start of the static section. Thanks Pascal. This should make the 1.4 and 1.3 Sun JVMs work...
Remaining issues: Should we eliminate DNS lookups on the network, by doing all DNS lookups on the node with the ipAddress set to a DNS address, and then sending the IP in the noderef over the network? This would limit any future problems, reduce centralization, and make it a bit harder to track a connection back to its source as there is no reverse DNS normally for dynamic DNS services. Another possibility is to discover addresses in the handshaking process, and also tell nodes whether they can receive connections, to detect firewalled nodes and deal with them. I honestly don't think this will gain us much unless we can make some actual use of firewalled nodes, which we can't in the current/1.0 architecture. -- Matthew Toseland [EMAIL PROTECTED]/[EMAIL PROTECTED] Full time freenet hacker. http://freenetproject.org/ Freenet Distribution Node (temporary) at http://80-192-4-23.cable.ubr09.na.blueyonder.co.uk:8889/SPmjEh6sH3Y/ ICTHUS.
pgp00000.pgp
Description: PGP signature