2008-06-09 zzz

* Reachability: Restrict peers with no SSU address at all from inbound tunnels
    * News:
      - Add display of last updated and last checked time
        on index.jsp and configupdate.jsp
      - Add a function to get update version (unused for now)
    * config.jsp: Add another warning
This commit is contained in:
zzz
2008-06-09 13:14:52 +00:00
parent f3b8c73e96
commit 2404078bfa
8 changed files with 44 additions and 3 deletions

View File

@@ -17,7 +17,7 @@ import net.i2p.CoreVersion;
public class RouterVersion {
public final static String ID = "$Revision: 1.548 $ $Date: 2008-02-10 15:00:00 $";
public final static String VERSION = "0.6.1.33";
public final static long BUILD = 2004;
public final static long BUILD = 2005;
public static void main(String args[]) {
System.out.println("I2P Router version: " + VERSION + "-" + BUILD);
System.out.println("Router ID: " + RouterVersion.ID);

View File

@@ -459,7 +459,11 @@ public class ProfileOrganizer {
l.add(peer);
else {
RouterAddress ra = info.getTargetAddress("SSU");
if (ra == null) continue;
// Definitely don't want peers with no SSU address at all
if (ra == null) {
l.add(peer);
continue;
}
// This is the quick way of doing UDPAddress.getIntroducerCount() > 0
Properties props = ra.getOptions();
if (props != null && props.getProperty("ihost0") != null)