-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi, list. Recently I realized that my node's ARK version hasn't increased for some time now though my IP address changes quite frequently. After digging through the source I think I found that new ARKs are never generated even if a new IP address is found. When Fred starts it generated a new node reference with the detected IP address (around Main.java:365). When comparing this address with the old address from the node file it correctly decides to call newTcpAddress(), but newTcpAddress() checks the new address against the address from the current node reference which already contains the new IP. Thus it thinks nothing is changed and no new ARK is generated. http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/freenet/freenet/src/freenet/node/Main.java.diff?r1=1.204&r2=1.205&only_with_tag=MAIN After removing this patch from my node (and short tampering with my node file) Fred generated a new ARK and inserted it successfully. I think it would be more elegant to create the node reference on start up solely from the values in the node file, including the old IP and detect new IPs after that but I'm not familiar enough with Moloch Fred to even find out how and what to change appropriately. Any ideas other than simply reversing that patch? David - -- * Freenet Distribution: http://213.39.210.220:8891/E5DK~1DPhIQ/ * Need For Seed: http://todesbaum.dyndns.org/seednode.ref * GnuPG Fingerprint: 60B4 1CDB B1BB CE24 C8B7 9C24 B21F 0782 9E53 C243 * URL: http://www.todesbaum.de/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+1WRcsh8Hgp5TwkMRAljqAJ9obFUs+VE3mEof9r7HyYBH28VCvwCgwAg8 jpXfs8jFgmdBZxan6bh5iOw= =I9pM -----END PGP SIGNATURE----- _______________________________________________ devl mailing list devl at freenetproject.org http://hawk.freenetproject.org:8080/cgi-bin/mailman/listinfo/devl
