% 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 tunnelDescription" /> | |||
> <% if ("streamrclient".equals(tunnelType)) { %> <%=intl._t("Target")%> <% } else { %> <%=intl._t("Access Point")%> <% } /* streamrclient */ %> | |||
<%=intl._t("Port")%>: <% String phelp = intl._t("Specify the local port this service should be accessible from"); String ptext = canChangePort ? phelp : bStopFirst; String pdisabled = canChangePort ? "" : " readonly=\"readonly\" "; %> " required <%=pdisabled%>/> | <% if ("streamrclient".equals(tunnelType)) { %><%=intl._t("Host")%>: <% String targetHost = editBean.getTargetHost(curTunnel); %> " value="<%=targetHost%>" class="freetext host" placeholder="<%=intl._t("required")%>" required /> | <% } else { String ihelp = intl._t("Local interface (ip address) the client tunnel will be reachable from"); String itext = canChangePort ? ihelp : bStopFirst; %><%=intl._t("Reachable by")%>: | <% } /* streamrclient */ %>|
<%=intl._t("Use SSL?")%> | |||
<%=intl._t("Outproxies")%> | |||
<% } else { %> | <% } %> <%=intl._t("For a random selection from a pool, separate with commas e.g. server1.i2p,server2.i2p")%>" value="<%=editBean.getClientDestination(curTunnel)%>" class="freetext proxyList" /> <% if ("sockstunnel".equals(tunnelType) || "socksirctunnel".equals(tunnelType)) { boolean isHTTPS = editBean.getOutproxyType(curTunnel).equals("connect"); %> | <%=intl._t("Outproxy Type")%>: <% } %> | |
<%=intl._t("SSL Outproxies")%> | |||
<%=intl._t("For a random selection from a pool, separate with commas e.g. server1.i2p,server2.i2p")%>" value="<%=editBean.getSslProxies(curTunnel)%>" class="freetext proxyList" /> | |||
<%=intl._t("Use Outproxy Plugin")%> | |||
<%=intl._t("Tunnel Destination")%> | |||
<%=intl._t("For a random selection from a pool, separate with commas e.g. server1.i2p,server2.i2p")%>" value="<%=editBean.getClientDestination(curTunnel)%>" class="freetext destination" placeholder="<%=intl._t("required")%>" required /> <%=intl._t("name, name:port, or destination")%> <% if ("streamrclient".equals(tunnelType)) { /* deferred resolution unimplemented in streamr client */ %> - <%=intl._t("b32 not recommended")%> <% } %> | |||
> <%=intl._t("Shared Client")%> | |||
<% // we don't actually disable the field for a new tunnel, but we provide a warning String shtitle = (canChangePort && isShared) ? intl._t("Traffic from all clients with this feature enabled will be routed over the same set of tunnels. This will make profiling the tunnels by an adversary more difficult, but will link the clients together.") : (isShared ? bStopFirst : aStopFirst); String shdisabled = canChangePort ? "" : " disabled=\"disabled\" "; %> <% if (isShared && !canChangePort) { // disabled checkbox won't come back in the form, stuff it in here // https://stackoverflow.com/questions/155291/can-html-checkboxes-be-set-to-readonly %><% } %> | |||
<%=intl._t("Enable DCC")%> | |||
<%=intl._t("Note: When this client proxy is configured to share tunnels, then these options are for all the shared proxy clients!")%> |
<%=intl._t("Tunnel Length Options")%> | |
---|---|
<%=intl._t("Length")%> | <%=intl._t("Variance")%> |
<%=intl._t("Tunnel Quantity Options")%> | |
---|---|
<%=intl._t("Count")%> | <%=intl._t("Backup Count")%> |
<%=intl._t("Tunnel Management Options")%> | |
---|---|
<%=intl._t("Profile")%> | <%=intl._t("Delay Connect")%> |
<% // TODO: Convey to users: Where is the (1s) delay introduced? What is the difference between delay connect and delay open? %> | |
<%=intl._t("Delay tunnel open until required")%> | |
<%=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" /> minutes |
<%=intl._t("Close tunnels when idle")%> | |
<%=intl._t("Idle period")%>: " value="<%=editBean.getCloseTime(curTunnel)%>" class="freetext period" /> minutes | |
> <%=intl._t("New Keys on Reopen")%>: | |
> <%=intl._t("Persistent private key")%> | |
<%=intl._t("File")%>: /> | |
<%=intl._t("Local destination")%> | |
" tabindex="0"><%=destb64%>
|
|
<%=intl._t("Local Base32")%>: <%=editBean.getDestHashBase32(curTunnel)%> |
<%=intl._t("Tunnel Filtering Options")%> | |
---|---|
<%=intl._t("HTTP Filtering")%> | |
<%=intl._t("Tunnel Cryptography Options")%> | |
---|---|
> <%=intl._t("Signature type")%> | |
> <%=intl._t("Encryption types")%> | |
<%=intl._t("Tunnel Authentication Options")%> | |
---|---|
<%=intl._t("Local Authorization")%> | |
<%=intl._t("Username")%>: " value="" class="freetext username" /> | <%=intl._t("Password")%>: " value="" class="freetext password" /> |
<%=intl._t("Outproxy Authorization")%> | |
<%=intl._t("Username")%>: " value="<%=editBean.getOutproxyUsername(curTunnel)%>" class="freetext username" /> | <%=intl._t("Password")%>: " value="<%=editBean.getOutproxyPassword(curTunnel)%>" class="freetext password" /> |
<%=intl._t("Tunnel Address Lookup Options")%> | |
---|---|
<%=intl._t("Jump URL List")%> | |
<%=intl._t("Router I2CP Address")%> | |
---|---|
<%=intl._t("Host")%>: " value="<%=editBean.getI2CPHost(curTunnel)%>" class="freetext host" /> | <%=intl._t("Port")%>: " value="<%=editBean.getI2CPPort(curTunnel)%>" class="freetext port" /> |
<%=intl._t("Custom options")%> | |
---|---|
" value="<%=editBean.getCustomOptions(curTunnel)%>" class="freetext" spellcheck="false"/> | |
<%=intl._t("Cancel")%> <% if (curTunnel >= 0) { %> <% } %> |