2005-10-10 dust

* Implemented a new I2PTunnelIRCClient which locally filters inbound and
      outbound IRC commands for anonymity and security purposes, removing all
      CTCP messages except ACTION, as well as stripping the hostname from the
      USER message (while leaving the nick and 'full name').  The IRC proxy
      doesn't use this by default, but you can enable it by creating a new
      "IRC proxy" tunnel on the web interface, or by changing the tunnel type
      to "ircclient" in i2ptunnel.config.
2005-10-10  jrandom
    * I2PTunnel http client config cleanup and stats
    * Minor SSU congestion tweaks and stats
    * Reduced netDb exploration period
This commit is contained in:
jrandom
2005-10-10 23:05:18 +00:00
committed by zzz
parent f30dc2b480
commit 197237aa32
2 changed files with 6 additions and 2 deletions

View File

@ -99,6 +99,8 @@ public class CLIPost {
out = new FileOutputStream(fData);
entry.write(out, true);
out.close();
fMeta.deleteOnExit();
fData.deleteOnExit();
} catch (IOException ioe) {
System.err.println("Error writing temp files: " + ioe.getMessage());
return;

View File

@ -487,12 +487,14 @@ public class EepGet {
_log.debug("Status line: [" + line + "]");
StringTokenizer tok = new StringTokenizer(line, " ");
if (!tok.hasMoreTokens()) {
System.err.println("ERR: status "+ line);
if (_log.shouldLog(Log.WARN))
_log.warn("ERR: status "+ line);
return -1;
}
String protocol = tok.nextToken(); // ignored
if (!tok.hasMoreTokens()) {
System.err.println("ERR: status "+ line);
if (_log.shouldLog(Log.WARN))
_log.warn("ERR: status "+ line);
return -1;
}
String rc = tok.nextToken();