I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 152f8247 authored by zzz's avatar zzz
Browse files

* config.jsp: Add more help

    * summary.jsp: Indicate if hidden
parent 68256930
No related branches found
No related tags found
No related merge requests found
...@@ -119,7 +119,9 @@ public class SummaryHelper { ...@@ -119,7 +119,9 @@ public class SummaryHelper {
public String getReachability() { public String getReachability() {
if (!_context.clock().getUpdatedSuccessfully()) if (!_context.clock().getUpdatedSuccessfully())
return "ERR-ClockSkew"; return "ERR-ClockSkew";
if (_context.router().isHidden())
return "Hidden";
int status = _context.commSystem().getReachabilityStatus(); int status = _context.commSystem().getReachabilityStatus();
switch (status) { switch (status) {
case CommSystemFacade.STATUS_OK: case CommSystemFacade.STATUS_OK:
......
...@@ -105,7 +105,7 @@ ...@@ -105,7 +105,7 @@
<p><b>Note: changing any of these settings will terminate all of your connections and effectively <p><b>Note: changing any of these settings will terminate all of your connections and effectively
restart your router.</b> restart your router.</b>
<hr /> <hr />
<b>Reachability Help: </b> <b><a name="help">Reachability Help:</a></b>
<p> <p>
While I2P will work adequately behind a firewall, your speeds and network integration will generally improve While I2P will work adequately behind a firewall, your speeds and network integration will generally improve
if you open up your port (generally 8887) to both UDP and TCP, and enable inbound TCP above. if you open up your port (generally 8887) to both UDP and TCP, and enable inbound TCP above.
...@@ -118,6 +118,8 @@ ...@@ -118,6 +118,8 @@
However, if it appears consistently, you should check whether both your external and internal However, if it appears consistently, you should check whether both your external and internal
firewalls are open on port 8887. firewalls are open on port 8887.
<li><b>Testing</b> - The router is currently testing whether your UDP port is firewalled. <li><b>Testing</b> - The router is currently testing whether your UDP port is firewalled.
<li><b>Hidden</b> - The router is not configured to publish its address,
therefore it does not expect incoming connections.
<li><b>WARN - Firewalled and Fast</b> - You have configured I2P to share more than 128KBps of bandwidth, <li><b>WARN - Firewalled and Fast</b> - You have configured I2P to share more than 128KBps of bandwidth,
but you are firewalled. While I2P will work fine in this configuration, if you really have but you are firewalled. While I2P will work fine in this configuration, if you really have
over 128KBps of bandwidth to share, it will be much more helpful to the network if over 128KBps of bandwidth to share, it will be much more helpful to the network if
...@@ -128,6 +130,8 @@ ...@@ -128,6 +130,8 @@
your UDP port is firewalled, and therefore it is likely that your TCP port is firewalled as well. your UDP port is firewalled, and therefore it is likely that your TCP port is firewalled as well.
If your TCP port is firewalled with inbound TCP enabled, routers will not be able to contact If your TCP port is firewalled with inbound TCP enabled, routers will not be able to contact
you via TCP, which will hurt the network. Please open your firewall or disable inbound TCP above. you via TCP, which will hurt the network. Please open your firewall or disable inbound TCP above.
<li><b>ERR - Clock Skew</b> - Your system's clock is skewed, which will make it difficult
to participate in the network. Correct your clock setting if this error persists.
<li><b>ERR - Private TCP Address</b> - You must never advertise an unroutable IP address such as <li><b>ERR - Private TCP Address</b> - You must never advertise an unroutable IP address such as
127.0.0.1 or 192.168.1.1 as your external address. Correct the address or disable inbound TCP above. 127.0.0.1 or 192.168.1.1 as your external address. Correct the address or disable inbound TCP above.
<li><b>ERR - SymmetricNAT</b> - I2P detected that you are firewalled by a Symmetric NAT. <li><b>ERR - SymmetricNAT</b> - I2P detected that you are firewalled by a Symmetric NAT.
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
<b>Version:</b> <jsp:getProperty name="helper" property="version" /><br /> <b>Version:</b> <jsp:getProperty name="helper" property="version" /><br />
<b>Uptime:</b> <jsp:getProperty name="helper" property="uptime" /><br /> <b>Uptime:</b> <jsp:getProperty name="helper" property="uptime" /><br />
<b>Now:</b> <jsp:getProperty name="helper" property="time" /><br /> <b>Now:</b> <jsp:getProperty name="helper" property="time" /><br />
<b>Reachability:</b> <a href="config.jsp"><jsp:getProperty name="helper" property="reachability" /></a><% <b>Reachability:</b> <a href="config.jsp#help"><jsp:getProperty name="helper" property="reachability" /></a><%
if (helper.updateAvailable()) { if (helper.updateAvailable()) {
// display all the time so we display the final failure message // display all the time so we display the final failure message
out.print("<br />" + update.getStatus()); out.print("<br />" + update.getStatus());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment