% String tunnelTypeName; String tunnelType; if (curTunnel >= 0) { tunnelTypeName = editBean.getTunnelType(curTunnel); tunnelType = editBean.getInternalType(curTunnel); %>
<%=intl._t("Name")%> | <%=intl._t("Type")%> | ||
---|---|---|---|
" value="<%=editBean.getTunnelName(curTunnel)%>" class="freetext tunnelName" /> | <%=tunnelTypeName%> | ||
<%=intl._t("Description")%> | <%=intl._t("Auto Start Tunnel")%> | ||
" value="<%=editBean.getTunnelDescription(curTunnel)%>" class="freetext tunnelDescriptionText" /> | |||
<% if ("streamrserver".equals(tunnelType)) { %> <%=intl._t("Access Point")%> <% } else { %> <%=intl._t("Target")%> <% } %> | |||
<%=intl._t("Host")%>: " value="<%=editBean.getTargetHost(curTunnel)%>" class="freetext host" /> | <% } /* !streamrserver */ %><%=intl._t("Port")%>: <% String value = editBean.getTargetPort(curTunnel); if (value == null || "".equals(value.trim())) { out.write(" ("); out.write(intl._t("required")); out.write(")"); } %> " value="<%=editBean.getTargetPort(curTunnel)%>" class="freetext port" placeholder="required" /> <% if (!"streamrserver".equals(tunnelType)) { %> <% } /* !streamrserver */ %> | <% if ("httpbidirserver".equals(tunnelType)) { %>||
<%=intl._t("Access Point")%> | |||
<%=intl._t("Port")%>: <% String value4 = editBean.getClientPort(curTunnel); if (value4 == null || "".equals(value4.trim())) { out.write(" ("); out.write(intl._t("required")); out.write(")"); } %> " value="<%=editBean.getClientPort(curTunnel)%>" class="freetext port" placeholder="required" /> | <% } /* httpbidirserver */ %> <% if ("httpbidirserver".equals(tunnelType) || "streamrserver".equals(tunnelType)) { %><%=intl._t("Reachable by")%>: | <% } /* httpbidirserver || streamrserver */ %>||
<%=intl._t("Website Hostname")%> | |||
" value="<%=editBean.getSpoofedHost(curTunnel)%>" class="freetext" /> <%=intl._t("(leave blank for outproxies)")%> | |||
<%=intl._t("Local destination")%> | <%=intl._t("Private key file")%> | ||
" tabindex="0" onblur="resetScrollLeft(this)"><%=editBean.getDestinationBase64(curTunnel)%>
|
<% String value3 = editBean.getPrivateKeyFile(curTunnel); if (value3 == null || "".equals(value3.trim())) { out.write(" ("); out.write(intl._t("required")); out.write(")"); } %> " value="<%=editBean.getPrivateKeyFile(curTunnel)%>" class="freetext" placeholder="required" /> | ||
" href="/imagegen/qr?s=320&t=<%=name%>&c=http%3a%2f%2f<%=name%>%2f%3fi2paddresshelper%3d<%=b64%>" target="_top"><%=intl._t("Generate QR Code")%> " href="/susidns/addressbook.jsp?book=private&hostname=<%=name%>&destination=<%=b64%>#add"><%=intl._t("Add to local addressbook")%> " href="register?tunnel=<%=curTunnel%>"><%=intl._t("Registration Authentication")%> | <% } else { %><%=intl._t("Note: In order to enable QR code generation or registration authentication, configure the Website Hostname field (for websites) or the Name field (everything else) above with an .i2p suffixed hostname e.g. mynewserver.i2p")%> | <% } // name %>
<%=intl._t("Tunnel Options")%> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
<%=intl._t("Inbound")%> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<%=intl._t("Length")%> | <%=intl._t("Variance")%> | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<%=intl._t("Count")%> | <%=intl._t("Backup Count")%> | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<%=intl._t("Outbound")%> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<%=intl._t("Length")%> | <%=intl._t("Variance")%> | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<%=intl._t("Count")%> | <%=intl._t("Backup Count")%> | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<%=intl._t("Profile")%> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<%=intl._t("Router I2CP Address")%> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<%=intl._t("Host")%>: " value="<%=editBean.getI2CPHost(curTunnel)%>" class="freetext" <% if (editBean.isRouterContext()) { %> readonly="readonly" <% } %> /> | <%=intl._t("Port")%>: " value="<%=editBean.getI2CPPort(curTunnel)%>" class="freetext" <% if (editBean.isRouterContext()) { %> readonly="readonly" <% } %> /> | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<%=intl._t("Encrypt Leaseset")%> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<%=intl._t("Encryption Key")%> | <%=intl._t("Generate New Key")%> (<%=intl._t("Tunnel must be stopped first")%>) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<%=intl._t("Restricted Access List")%> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<%=intl._t("Access List")%> (<%=intl._t("Specify clients, 1 per line")%>) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<%=intl._t("Server Access Options")%> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
" value="<%=editBean.getUserAgents(curTunnel)%>" class="freetext" /> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<%=intl._t("Server Throttling")%> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<%=intl._t("Reduce tunnel quantity when idle")%> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<%=intl._t("Reduced tunnel count")%>: " value="<%=editBean.getReduceCount(curTunnel)%>" class="freetext quantity" /> | <%=intl._t("Idle period")%>: " value="<%=editBean.getReduceTime(curTunnel)%>" class="freetext period" /> <%=intl._t("minutes")%> | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<%=intl._t("New Certificate type")%> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
" value="<%=editBean.getEffort(curTunnel)%>" class="freetext" /> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<%=intl._t("Hashcash Calc Time")%> | <%=intl._t("Hidden")%> | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||
"<%=(editBean.getCert(curTunnel)==2 ? " checked=\"checked\"" : "")%> class="tickbox" /> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<%=intl._t("Signed Certificate")%> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
" value="<%=editBean.getSigner(curTunnel)%>" class="freetext" /> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<%=intl._t("Modify Certificate")%> <%=intl._t("(Tunnel must be stopped first)")%> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<%=intl._t("Signature type")%> <%-- (<%=intl._t("Experts only! Changes B32!")%>) --%> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<% if (editBean.isSigTypeAvailable(1)) { %> <% } if (editBean.isSigTypeAvailable(2)) { %> <% } if (editBean.isSigTypeAvailable(3)) { %> <% } if (editBean.isSigTypeAvailable(7)) { %> <% } // isAvailable %> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<%=intl._t("Alternate private key file")%> (Ed25519-SHA-512) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
" value="<%=editBean.getAltPrivateKeyFile(curTunnel)%>" /> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<%=intl._t("Alternate local destination")%> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
" onblur="resetScrollLeft(this)"><%=ab64%>
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<%=editBean.getAltDestHashBase32(curTunnel)%> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
" href="/imagegen/qr?s=320&t=<%=name%>&c=http%3a%2f%2f<%=name%>%2f%3fi2paddresshelper%3d<%=ab64%>" target="_top"><%=intl._t("Generate QR Code")%> " href="/susidns/addressbook.jsp?book=private&hostname=<%=name%>&destination=<%=ab64%>#add"><%=intl._t("Add to local addressbook")%> <% } else { %> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<%=intl._t("Note: In order to enable QR code generation or registration authentication, configure the Website Hostname field (for websites) or the Name field (everything else) above with an .i2p suffixed hostname e.g. mynewserver.i2p")%> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<%=intl._t("Custom options")%> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
" value="<%=editBean.getCustomOptions(curTunnel)%>" /> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||