Author: nextgens
Date: 2007-03-24 16:44:19 +0000 (Sat, 24 Mar 2007)
New Revision: 12312
Modified:
trunk/freenet/src/freenet/clients/http/SimpleToadletServer.java
Log:
resolve #1252: Description of fproxy allow host is no longer true
Modified: trunk/freenet/src/freenet/clients/http/SimpleToadletServer.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/SimpleToadletServer.java
2007-03-24 15:45:49 UTC (rev 12311)
+++ trunk/freenet/src/freenet/clients/http/SimpleToadletServer.java
2007-03-24 16:44:19 UTC (rev 12312)
@@ -244,11 +244,9 @@
new FProxyPortCallback());
fproxyConfig.register("bindTo", "127.0.0.1", configItemOrder++,
true, false, "IP address to bind to", "IP address to bind to",
new FProxyBindtoCallback());
- fproxyConfig.register("allowedHosts",
"127.0.0.1,0:0:0:0:0:0:0:1", configItemOrder++, true, false, "Allowed hosts
(read warning)",
+ fproxyConfig.register("allowedHosts",
"127.0.0.1,0:0:0:0:0:0:0:1", configItemOrder++, true, false, "Allowed hosts",
"Hostnames or IP addresses that are allowed to
connect to FProxy. " +
- "May be a comma-separated list of single IPs
and CIDR masked IPs like 192.168.0.0/24. " +
- "WARNING: Anyone who can access fproxy can shut
down the node, upload files from disk, download files to the download
directory... " +
- "Be careful who you give fproxy access to!",
new FProxyAllowedHostsCallback());
+ "May be a comma-separated list of single IPs
and CIDR masked IPs like 192.168.0.0/24. ", new FProxyAllowedHostsCallback());
fproxyConfig.register("css", "clean", configItemOrder++, false,
false, "CSS Name", "Name of the CSS FProxy should use "+themes.toString(),
new FProxyCSSNameCallback());
fproxyConfig.register("advancedModeEnabled", false,
configItemOrder++, false, false, "Enable Advanced Mode?", "Whether to show or
not informations meant for advanced users/devs. This setting should be turned
to false in most cases.",
@@ -266,7 +264,10 @@
else
SimpleToadletServer.isPanicButtonToBeShown = value;
}
});
- fproxyConfig.register("allowedHostsFullAccess",
"127.0.0.1,0:0:0:0:0:0:0:1", configItemOrder++, true, true, "Hosts allowed full
access to Fproxy", "Hosts allowed full access (i.e. change config settings,
restart, etc) to the node",
+ fproxyConfig.register("allowedHostsFullAccess",
"127.0.0.1,0:0:0:0:0:0:0:1", configItemOrder++, true, true, "Hosts having a
full access to Fproxy (read warning)",
+ "Hosts allowed full access (i.e. change config
settings, restart, etc) to the node" +
+ "WARNING: Anyone from these hosts can shut down
the node, upload files from disk, download files to the download directory... "
+
+ "Be very careful who you give full fproxy
access to!",
new StringCallback() {
public String get() {