diff --git a/apps/routerconsole/java/src/net/i2p/router/web/SummaryHelper.java b/apps/routerconsole/java/src/net/i2p/router/web/SummaryHelper.java index 5d23e18c1..90511bb8b 100644 --- a/apps/routerconsole/java/src/net/i2p/router/web/SummaryHelper.java +++ b/apps/routerconsole/java/src/net/i2p/router/web/SummaryHelper.java @@ -13,6 +13,7 @@ import java.util.Locale; import net.i2p.data.DataHelper; import net.i2p.data.Destination; +import net.i2p.data.Hash; import net.i2p.data.LeaseSet; import net.i2p.data.RouterAddress; import net.i2p.router.CommSystemFacade; @@ -346,23 +347,32 @@ public class SummaryHelper extends HelperBase { for (Iterator iter = clients.iterator(); iter.hasNext(); ) { Destination client = (Destination)iter.next(); String name = getName(client); + Hash h = client.calculateHash(); - buf.append("\"Server\""); - buf.append("\"Server\""); + else + buf.append("client.png\" alt=\"Client\" title=\"Client\" />"); + buf.append(""); if (name.length() < 16) buf.append(name); else buf.append(name.substring(0,15)).append("…"); buf.append("\"status\"\n"); - LeaseSet ls = _context.netDb().lookupLeaseSetLocally(client.calculateHash()); + LeaseSet ls = _context.netDb().lookupLeaseSetLocally(h); if (ls != null) { long timeToExpire = ls.getEarliestLeaseDate() - _context.clock().now(); if (timeToExpire < 0) { + // red or yellow light buf.append(" expired ").append(DataHelper.formatDuration(0-timeToExpire)); buf.append(" ago\n"); + } else { + // green light } } else { + // yellow light buf.append(" No leases\n"); } } diff --git a/history.txt b/history.txt index a3d7fb0df..990e710eb 100644 --- a/history.txt +++ b/history.txt @@ -1,3 +1,35 @@ +2009-08-11 zzz + * Android: + - Merge in the branch + - Build instructions in the android/ dir + - Rename HMac to I2PHMac to avoid android lib conflicts + - Configurable number of PRNG buffers in AsyncFortunaStandalone + (router.prng.buffers=16) to control memory use - these + are 256KB each. + - Configurable size of the DecayingBloomFilters + (router.decayingBloomFilterM=23) to control memory use - there + are 4 pairs of these (8 total), each 2**(M-3) bytes, + or 8MB total for M=23. + - There's at least two unsolved fatal problems: + 1) Most of the routerinfo signature verifications fail, + including our own + 2) It randomly dies after a while + * Console: + - Rename the shitlist and the blocklist + - Try to reduce servlet problems on iframe + - Select server or client icon for local dests + * EepHead: New + * Move StatsGenerator from router to routerconsole + * Move the unused AdminManager from router to the apps directory + * NetDb stats: Hide part. tunnel total events, effective next release + * Router: Comment out dead oldconsole code + * Updater: + - Add new unsigned update option, triggered by + last-modified date, using the new EepHead. + Buttons still are not hidden after download complete. + - Make the .sud updater use the temp dir when proxied + - Several cleanups + 2009-08-11 dr|z3d * Extensive sidepanel overhaul - Ensure all sidepanel headings link to pertinent pages diff --git a/router/java/src/net/i2p/router/RouterVersion.java b/router/java/src/net/i2p/router/RouterVersion.java index 1440f81c0..217d41d54 100644 --- a/router/java/src/net/i2p/router/RouterVersion.java +++ b/router/java/src/net/i2p/router/RouterVersion.java @@ -18,7 +18,7 @@ public class RouterVersion { /** deprecated */ public final static String ID = "Monotone"; public final static String VERSION = CoreVersion.VERSION; - public final static long BUILD = 10; + public final static long BUILD = 11; /** for example "-test" */ public final static String EXTRA = ""; public final static String FULL_VERSION = VERSION + "-" + BUILD + EXTRA;