diff --git a/apps/routerconsole/java/src/net/i2p/router/web/ConfigPeerHelper.java b/apps/routerconsole/java/src/net/i2p/router/web/ConfigPeerHelper.java index 647aaa3df..63fc1f5e5 100644 --- a/apps/routerconsole/java/src/net/i2p/router/web/ConfigPeerHelper.java +++ b/apps/routerconsole/java/src/net/i2p/router/web/ConfigPeerHelper.java @@ -1,5 +1,9 @@ package net.i2p.router.web; +import java.io.ByteArrayOutputStream; +import java.io.IOException; +import java.io.OutputStreamWriter; + import net.i2p.data.DataHelper; import net.i2p.router.RouterContext; @@ -21,4 +25,13 @@ public class ConfigPeerHelper { public ConfigPeerHelper() {} + public String getBlocklistSummary() { + ByteArrayOutputStream baos = new ByteArrayOutputStream(4*1024); + try { + _context.blocklist().renderStatusHTML(new OutputStreamWriter(baos)); + } catch (IOException ioe) { + ioe.printStackTrace(); + } + return new String(baos.toByteArray()); + } } diff --git a/apps/routerconsole/jsp/config.jsp b/apps/routerconsole/jsp/config.jsp index 0589e1035..e04b3dae5 100644 --- a/apps/routerconsole/jsp/config.jsp +++ b/apps/routerconsole/jsp/config.jsp @@ -105,6 +105,41 @@

Note: changing any of these settings will terminate all of your connections and effectively restart your router.


+ Reachability Help: +

+ 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 think you have opened up your firewall and I2P still thinks you are firewalled, remember + that you may have multiple firewalls, for example both software packages and external hardware routers. +

+

+