
2005-03-29 jrandom * Decreased the initial RTT estimate to 10s to allow more retries. * Increased the default netDb store replication factor from 2 to 6 to take into consideration tunnel failures. * Address some statistical anonymity attacks against the netDb that could be mounted by an active internal adversary by only answering lookups for leaseSets we received through an unsolicited store. * Don't throttle lookup responses (we throttle enough elsewhere) * Fix the NewsFetcher so that it doesn't incorrectly resume midway through the file (thanks nickster!) * Updated the I2PTunnel HTML (thanks postman!) * Added support to the I2PTunnel pages for the URL parameter "passphrase", which, if matched against the router.config "i2ptunnel.passphrase" value, skips the nonce check. If the config prop doesn't exist or is blank, no passphrase is accepted. * Implemented HMAC-SHA256. * Enable the tunnel batching with a 500ms delay by default * Dropped compatability with 0.5.0.3 and earlier releases
26 lines
879 B
Plaintext
26 lines
879 B
Plaintext
<%@page contentType="text/html" import="net.i2p.i2ptunnel.web.EditBean" %>
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<% String tun = request.getParameter("tunnel");
|
|
if (tun != null) {
|
|
try {
|
|
int curTunnel = Integer.parseInt(tun);
|
|
if (EditBean.staticIsClient(curTunnel)) {
|
|
%><jsp:include page="editClient.jsp" /><%
|
|
} else {
|
|
%><jsp:include page="editServer.jsp" /><%
|
|
}
|
|
} catch (NumberFormatException nfe) {
|
|
%>Invalid tunnel parameter<%
|
|
}
|
|
} else {
|
|
String type = request.getParameter("type");
|
|
int curTunnel = -1;
|
|
if ("client".equals(type) || "httpclient".equals(type)) {
|
|
%><jsp:include page="editClient.jsp" /><%
|
|
} else if ("server".equals(type) || "httpserver".equals(type)) {
|
|
%><jsp:include page="editServer.jsp" /><%
|
|
} else {
|
|
%>Invalid tunnel type<%
|
|
}
|
|
}
|
|
%> |