source: apps/routerconsole/jsp/configtunnels.jsp @ b80cbbdd

Last change on this file since b80cbbdd was b80cbbdd, checked in by z3d <z3d@…>, 12 years ago

Return of the mia <hr>'s.

  • Property mode set to 100644
File size: 2.7 KB
Line 
1<%@page contentType="text/html"%>
2<%@page pageEncoding="UTF-8"%>
3<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4
5<html><head><title>I2P Router Console - config tunnels</title>
6<%@include file="css.jsp" %>
7</head><body>
8
9<%@include file="summary.jsp" %>
10
11<jsp:useBean class="net.i2p.router.web.ConfigTunnelsHelper" id="tunnelshelper" scope="request" />
12<jsp:setProperty name="tunnelshelper" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />
13<h1>I2P Tunnel Configuration</h1>
14<div class="main" id="main">
15 <%@include file="confignav.jsp" %>
16 <jsp:useBean class="net.i2p.router.web.ConfigTunnelsHandler" id="formhandler" scope="request" />
17 <jsp:setProperty name="formhandler" property="contextId" value="<%=(String)session.getAttribute("i2p.contextId")%>" />
18 <jsp:setProperty name="formhandler" property="shouldsave" value="<%=request.getParameter("shouldsave")%>" />
19 <jsp:setProperty name="formhandler" property="action" value="<%=request.getParameter("action")%>" />
20 <jsp:setProperty name="formhandler" property="nonce" value="<%=request.getParameter("nonce")%>" />
21 <jsp:setProperty name="formhandler" property="settings" value="<%=request.getParameterMap()%>" />
22 <jsp:getProperty name="formhandler" property="allMessages" />
23 <div class="configure"><p><i>
24 NOTE: The default settings work for most people.
25 There is a fundamental tradeoff between anonymity and performance.
26 Tunnels longer than 3 hops (for example 2 hops + 0-2 hops, 3 hops + 0-1 hops, 3 hops + 0-2 hops),
27 or a high quantity + backup quantity, may severely reduce performance or reliability.
28 High CPU and/or high outbound bandwidth usage may result.
29 Change these settings with care, and adjust them if you have problems.
30 </i></p><div class="wideload">
31 <form action="configtunnels.jsp" method="POST">
32 <% String prev = System.getProperty("net.i2p.router.web.ConfigTunnelsHandler.nonce");
33    if (prev != null) System.setProperty("net.i2p.router.web.ConfigTunnelsHandler.noncePrev", prev);
34    System.setProperty("net.i2p.router.web.ConfigTunnelsHandler.nonce", new java.util.Random().nextLong()+""); %>
35 <input type="hidden" name="nonce" value="<%=System.getProperty("net.i2p.router.web.ConfigTunnelsHandler.nonce")%>" />
36 <input type="hidden" name="action" value="blah" />
37 <jsp:getProperty name="tunnelshelper" property="form" />
38 <i>Note - Exploratory tunnel setting changes are stored in the router.config file.</i><br>
39 <i>Client tunnel changes are temporary and are not saved.</i><br>
40 <i>To make permanent client tunnel changes see the </i><a href="i2ptunnel/index.jsp">i2ptunnel page</a>.<br>
41 <hr><div class="formaction"><input type="submit" name="shouldsave" value="Save changes" /> <input type="reset" value="Cancel" /></div>
42 </form></div></div></div></body></html>
Note: See TracBrowser for help on using the repository browser.