Author: Jogy
Date: 2006-06-07 20:02:02 +0000 (Wed, 07 Jun 2006)
New Revision: 9073

Modified:
   trunk/freenet/src/freenet/clients/http/SimpleToadletServer.java
   trunk/freenet/src/freenet/node/TextModeClientInterfaceServer.java
   trunk/freenet/src/freenet/node/fcp/FCPServer.java
Log:
add clarification that TCMI/FProxy/FCP.allowedHosts can be comma separated list 
of multiple hostnames, IPs and CIDR masks

Modified: trunk/freenet/src/freenet/clients/http/SimpleToadletServer.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/SimpleToadletServer.java     
2006-06-07 16:10:25 UTC (rev 9072)
+++ trunk/freenet/src/freenet/clients/http/SimpleToadletServer.java     
2006-06-07 20:02:02 UTC (rev 9073)
@@ -138,7 +138,7 @@
                                new FProxyPortCallback());
                fproxyConfig.register("bindTo", "127.0.0.1", 2, true, "IP 
address to bind to", "IP address to bind to",
                                new FProxyBindtoCallback());
-               fproxyConfig.register("allowedHosts", "127.0.0.1", 2, true, 
"Allowed hosts", "Hostnames or IP addresses that are allowed to connect to 
FProxy",
+               fproxyConfig.register("allowedHosts", "127.0.0.1", 2, true, 
"Allowed hosts", "Hostnames or IP addresses that are allowed to connect to 
FProxy. May be a comma-separated list of hostnames, single IPs and even CIDR 
masked IPs like 192.168.0.0/24",
                                new FProxyAllowedHostsCallback());
                fproxyConfig.register("css", "clean", 1, true, "CSS Name", 
"Name of the CSS FProxy should use",
                                new FProxyCSSNameCallback());

Modified: trunk/freenet/src/freenet/node/TextModeClientInterfaceServer.java
===================================================================
--- trunk/freenet/src/freenet/node/TextModeClientInterfaceServer.java   
2006-06-07 16:10:25 UTC (rev 9072)
+++ trunk/freenet/src/freenet/node/TextModeClientInterfaceServer.java   
2006-06-07 20:02:02 UTC (rev 9073)
@@ -54,7 +54,7 @@
                                new TMCIEnabledCallback(node));
                TMCIConfig.register("bindTo", "127.0.0.1", 2, true, "IP address 
to bind to", "IP address to bind to",
                                new TMCIBindtoCallback(node));
-               TMCIConfig.register("allowedHosts", "127.0.0.1", 2, true, 
"Allowed hosts", "Hostnames or IP addresses that are allowed to connect to the 
TMCI",
+               TMCIConfig.register("allowedHosts", "127.0.0.1", 2, true, 
"Allowed hosts", "Hostnames or IP addresses that are allowed to connect to the 
TMCI.Hostnames or IP addresses that are allowed to connect to FProxy. May be a 
comma-separated list of hostnames, single IPs and even CIDR masked IPs like 
192.168.0.0/24",
                                new TMCIAllowedHostsCallback(node));
                TMCIConfig.register("port", 2323, 1, true, "Testnet port", 
"Testnet port number",
                        new TCMIPortNumberCallback(node));

Modified: trunk/freenet/src/freenet/node/fcp/FCPServer.java
===================================================================
--- trunk/freenet/src/freenet/node/fcp/FCPServer.java   2006-06-07 16:10:25 UTC 
(rev 9072)
+++ trunk/freenet/src/freenet/node/fcp/FCPServer.java   2006-06-07 20:02:02 UTC 
(rev 9073)
@@ -287,7 +287,7 @@
                fcpConfig.register("port", 9481 /* anagram of 1984, and 1000 up 
from old number */,
                                2, true, "FCP port number", "FCP port number", 
new FCPPortNumberCallback(node));
                fcpConfig.register("bindTo", "127.0.0.1", 2, true, "Ip address 
to bind to", "Ip address to bind the FCP server to", new 
FCPBindtoCallback(node));
-               fcpConfig.register("allowedHosts", "127.0.0.1", 2, true, 
"Allowed hosts", "Hostnames or IP addresses that are allowed to connect to the 
FCP server", new FCPAllowedHostsCallback(node));
+               fcpConfig.register("allowedHosts", "127.0.0.1", 2, true, 
"Allowed hosts", "Hostnames or IP addresses that are allowed to connect to the 
FCP server.Hostnames or IP addresses that are allowed to connect to FProxy. May 
be a comma-separated list of hostnames, single IPs and even CIDR masked IPs 
like 192.168.0.0/24", new FCPAllowedHostsCallback(node));
                PersistentDownloadsEnabledCallback cb1;
                PersistentDownloadsFileCallback cb2;
                PersistentDownloadsIntervalCallback cb3;


Reply via email to