forked from I2P_Developers/i2p.i2p

* Create different strategies for exploratory tunnels (which are difficult to create) and client tunnels (which are much easier) * Gradually increase number of parallel build attempts as tunnel expiry nears. * Temporarily shorten attempted build tunnel length if builds using configured tunnel length are unsuccessful * React more aggressively to tunnel failure than routine tunnel replacement * Make tunnel creation times randomized - there is existing code to randomize the tunnels but it isn't effective due to the tunnel creation strategy. Currently, most tunnels get built all at once, at about 2 1/2 to 3 minutes before expiration. The patch fixes this by fixing the randomization, and by changing the overlap time (with old tunnels) to a range of 2 to 4 minutes. * Reduce number of excess tunnels. Lots of excess tunnels get created due to overlapping calls. Just about anything generated a call which could build many tunnels all at once, even if tunnel building was already in process. * Miscellaneous router console enhancements
38 lines
1.6 KiB
Plaintext
38 lines
1.6 KiB
Plaintext
<% response.setHeader("Pragma", "no-cache");
|
|
response.setHeader("Cache-Control","no-cache");
|
|
response.setDateHeader("Expires", 0);
|
|
// the above will b0rk if the servlet engine has already flushed
|
|
// the response prior to including nav.jsp, so nav should be
|
|
// near the top
|
|
|
|
if (request.getParameter("i2p.contextId") != null) {
|
|
session.setAttribute("i2p.contextId", request.getParameter("i2p.contextId"));
|
|
}%>
|
|
|
|
<div class="logo">
|
|
<a href="index.jsp"><img src="i2plogo.png" alt="Router Console" width="187" height="35" /></a><br />
|
|
[<a href="config.jsp">configuration</a> | <a href="help.jsp">help</a>]
|
|
</div>
|
|
|
|
<h4>
|
|
<a href="susimail/susimail">Susimail</a> |
|
|
<a href="susidns/index.jsp">SusiDNS</a> |
|
|
<a href="syndie/">Syndie</a> |
|
|
<a href="http://localhost:7658/">My Eepsite</a> <br>
|
|
<a href="i2ptunnel/index.jsp">I2PTunnel</a> |
|
|
<a href="tunnels.jsp">Tunnels</a> |
|
|
<a href="profiles.jsp">Profiles</a> |
|
|
<a href="netdb.jsp">NetDB</a> |
|
|
<a href="logs.jsp">Logs</a> |
|
|
<a href="jobs.jsp">Jobs</a> |
|
|
<a href="oldstats.jsp">Stats</a> |
|
|
<a href="oldconsole.jsp">Internals</a>
|
|
<jsp:useBean class="net.i2p.router.web.NavHelper" id="navhelper" scope="request" />
|
|
<jsp:setProperty name="navhelper" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />
|
|
<jsp:getProperty name="navhelper" property="clientAppLinks" />
|
|
</h4>
|
|
|
|
<jsp:useBean class="net.i2p.router.web.NoticeHelper" id="noticehelper" scope="request" />
|
|
<jsp:setProperty name="noticehelper" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />
|
|
<b><jsp:getProperty name="noticehelper" property="systemNotice" /></b>
|