<%
} %>
<%
// these are four keys that are generated automatically on first save,
// and we want to persist in i2ptunnel.config, but don't want to
// show clogging up the custom options form.
String key = editBean.getKey1(curTunnel);
if (key != null && key.length() > 0) { %>
<% }
key = editBean.getKey2(curTunnel);
if (key != null && key.length() > 0) { %>
<% }
key = editBean.getKey3(curTunnel);
if (key != null && key.length() > 0) { %>
<% }
key = editBean.getKey4(curTunnel);
if (key != null && key.length() > 0) { %>
<% }
%>
<%=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 ("httpclient".equals(tunnelType)) {
%>
<%=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" />
<% String value2 = editBean.getClientDestination(curTunnel);
if (value2 == null || "".equals(value2.trim())) {
out.write(" (");
out.write(intl._t("required"));
out.write(")");
}
%>
<%=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="required" />
<%=intl._t("name, name:port, or destination")%>
<%
if ("streamrclient".equals(tunnelType)) {
/* deferred resolution unimplemented in streamr client */
%>
- <%=intl._t("b32 not recommended")%>
<%
}
%>
<%
}
if (!"streamrclient".equals(tunnelType)) {
%>
>
<%=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
%><%
}
%>
<%
} // !streamrclient
if ("ircclient".equals(tunnelType)) {
%>
<%=intl._t("Enable DCC")%>
<%
} // ircclient
%>
<%=intl._t("Advanced networking options")%>
<%
if (!"streamrclient".equals(tunnelType) && (canChangePort || isShared)) {
// no shared client tunnels for streamr
// If running and not shared, this doesn't apply.
%>
<%=intl._t("Note: When this client proxy is configured to share tunnels, then these options are for all the shared proxy clients!")%>
<%
} // !streamrclient
%>
<%=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")%>
<%
if ("client".equals(tunnelType)) {
%>
<%=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? %>
<%
} // client
%>
<%
if (!"streamrclient".equals(tunnelType)) {
// streamr client sends pings so it will never be idle
%>