forked from I2P_Developers/i2p.i2p

* More aggressively publish updated routerInfo. * Expose the flag to force SSU introductions on the router console * Don't give people the option to disable SNTP time sync, at least not through the router console, because there is no reason to disable it. No, not even if your OS is "ntp synced", because chances are, its not.
60 lines
3.1 KiB
Plaintext
60 lines
3.1 KiB
Plaintext
<%@page contentType="text/html" %>
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
|
|
<html><head>
|
|
<title>I2P Router Console - config networking</title>
|
|
<link rel="stylesheet" href="default.css" type="text/css" />
|
|
</head><body>
|
|
|
|
<%@include file="nav.jsp" %>
|
|
<%@include file="summary.jsp" %>
|
|
|
|
<jsp:useBean class="net.i2p.router.web.ConfigNetHelper" id="nethelper" scope="request" />
|
|
<jsp:setProperty name="nethelper" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />
|
|
|
|
<div class="main" id="main">
|
|
<%@include file="confignav.jsp" %>
|
|
|
|
<jsp:useBean class="net.i2p.router.web.ConfigNetHandler" id="formhandler" scope="request" />
|
|
<jsp:setProperty name="formhandler" property="*" />
|
|
<jsp:setProperty name="formhandler" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />
|
|
<font color="red"><jsp:getProperty name="formhandler" property="errors" /></font>
|
|
<i><jsp:getProperty name="formhandler" property="notices" /></i>
|
|
|
|
<form action="config.jsp" method="POST">
|
|
<% String prev = System.getProperty("net.i2p.router.web.ConfigNetHandler.nonce");
|
|
if (prev != null) System.setProperty("net.i2p.router.web.ConfigNetHandler.noncePrev", prev);
|
|
System.setProperty("net.i2p.router.web.ConfigNetHandler.nonce", new java.util.Random().nextLong()+""); %>
|
|
<input type="hidden" name="nonce" value="<%=System.getProperty("net.i2p.router.web.ConfigNetHandler.nonce")%>" />
|
|
<input type="hidden" name="action" value="blah" />
|
|
|
|
<b>External UDP address:</b> <i><jsp:getProperty name="nethelper" property="udpAddress" /></i><br />
|
|
<b>Require SSU introductions through NAT hole punching? </b>
|
|
<input type="checkbox" name="requireIntroductions" value="true" <jsp:getProperty name="nethelper" property="requireIntroductionsChecked" /> /><br />
|
|
<p>If you can't poke a hole in your NAT or firewall to allow unsolicited UDP packets to reach the
|
|
router, as detected with the <i>Status: ERR-Reject</i>, then you will need SSU introductions.
|
|
Users behind symmetric NATs, such as OpenBSD's pf, are not currently supported.</p>
|
|
<input type="submit" name="recheckReachability" value="Check network reachability..." />
|
|
<hr />
|
|
|
|
<b>Bandwidth limiter</b><br />
|
|
Inbound rate:
|
|
<input name="inboundrate" type="text" size="2" value="<jsp:getProperty name="nethelper" property="inboundRate" />" /> KBytes per second
|
|
bursting up to
|
|
<jsp:getProperty name="nethelper" property="inboundBurstFactorBox" /><br />
|
|
Outbound rate:
|
|
<input name="outboundrate" type="text" size="2" value="<jsp:getProperty name="nethelper" property="outboundRate" />" /> KBytes per second
|
|
bursting up to
|
|
<jsp:getProperty name="nethelper" property="outboundBurstFactorBox" /><br />
|
|
<i>A negative rate means a default limit of 16KBytes per second.</i><br />
|
|
Bandwidth share percentage:
|
|
<jsp:getProperty name="nethelper" property="sharePercentageBox" /><br />
|
|
Sharing a higher percentage will improve your anonymity and help the network
|
|
<hr />
|
|
<input type="submit" name="save" value="Save changes" /> <input type="reset" value="Cancel" /><br />
|
|
</form>
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|