Author: toad
Date: 2008-09-03 21:43:44 +0000 (Wed, 03 Sep 2008)
New Revision: 22385

Modified:
   trunk/freenet/src/freenet/node/Node.java
Log:
Don't tie publishOurPeersLocation to any seclevel. Explain why in comment.


Modified: trunk/freenet/src/freenet/node/Node.java
===================================================================
--- trunk/freenet/src/freenet/node/Node.java    2008-09-03 21:34:18 UTC (rev 
22384)
+++ trunk/freenet/src/freenet/node/Node.java    2008-09-03 21:43:44 UTC (rev 
22385)
@@ -929,6 +929,16 @@
                });
                enableSwapping = nodeConfig.getBoolean("enableSwapping");

+               /*
+                * Publish our peers' locations is enabled, even in MAXIMUM 
network security and/or HIGH friends security,
+                * because a node which doesn't publish its peers' locations 
will get dramatically less traffic.
+                * 
+                * Publishing our peers' locations does make us slightly more 
vulnerable to some attacks, but I don't think
+                * it's a big difference: swapping reveals the same 
information, it just doesn't update as quickly. This 
+                * may help slightly, but probably not dramatically against a 
clever attacker.
+                * 
+                * FIXME review this decision.
+                */
                nodeConfig.register("publishOurPeersLocation", true, 
sortOrder++, true, false, "Node.publishOurPeersLocation", 
"Node.publishOurPeersLocationLong", new BooleanCallback() {

                        public Boolean get() {


Reply via email to