<%@page contentType="text/html" import="net.i2p.i2ptunnel.web.EditBean"%> <% String tun = request.getParameter("tunnel"); int curTunnel = -1; if (tun != null) { try { curTunnel = Integer.parseInt(tun); } catch (NumberFormatException nfe) { curTunnel = -1; } } %> I2PTunnel Webmanager - Edit <% if (editBean.allowCSS()) { %> <% } %>
<% String tunnelTypeName = ""; String tunnelType = ""; if (curTunnel >= 0) { tunnelTypeName = editBean.getTunnelType(curTunnel); tunnelType = editBean.getInternalType(curTunnel); %>

Edit proxy settings

<% } else { tunnelTypeName = editBean.getTypeName(request.getParameter("type")); tunnelType = request.getParameter("type"); %>

New proxy settings

<% } %> " />

<%=tunnelTypeName%>

<% if ("streamrclient".equals(tunnelType)) { %> <% } else { %> <% } %>
<% String otherInterface = ""; String clientInterface = editBean.getClientInterface(curTunnel); if ("streamrclient".equals(tunnelType)) { otherInterface = clientInterface; } else { %>
<% } // streamrclient %>

<% if ("httpclient".equals(tunnelType) || "connectclient".equals(tunnelType)) { %>
<% } else if ("client".equals(tunnelType) || "ircclient".equals(tunnelType) || "streamrclient".equals(tunnelType)) { %>
(name or destination)
<% } %> <% if (!"streamrclient".equals(tunnelType)) { %>
class="tickbox" /> (for request/response connections)
class="tickbox" /> (Share tunnels with other clients and irc/httpclients? Change requires restart of client proxy)
<% } // !streamrclient %>
class="tickbox" /> (Check the Box for 'YES')

Advanced networking options


(NOTE: when this client proxy is configured to share tunnels, then these options are for all the shared proxy clients!)


<% if (!"streamrclient".equals(tunnelType)) { // streamr client sends pings so it will never be idle %>

class="tickbox" />

class="tickbox" />
class="tickbox" /> Enable class="tickbox" /> Disable

class="tickbox" />
<% } // !streamrclient %>

<% if ("client".equals(tunnelType) || "ircclient".equals(tunnelType)) { %>
class="tickbox" />
(if known)

<% } %>