diff --git a/installer/java/src/FetchSeeds.java b/installer/java/src/FetchSeeds.java index 010b6b691c..e3cbbd7933 100644 --- a/installer/java/src/FetchSeeds.java +++ b/installer/java/src/FetchSeeds.java @@ -79,7 +79,7 @@ public class FetchSeeds { public static void main(String[] args) { switch (args.length) { case 1: - fetchSeeds(new File(args[0]), "http://i2p.dnsalias.net/i2pdb/"); + fetchSeeds(new File(args[0]), "http://dev.i2p.net/i2pdb/"); return; case 2: fetchSeeds(new File(args[0]), args[1]); @@ -93,7 +93,7 @@ public class FetchSeeds { System.out.println("Usage: FetchSeeds "); System.out.println(" or FetchSeeds "); System.out.println(" or FetchSeeds "); - System.out.println("The default seedURL is http://i2p.dnsalias.net/i2pdb/"); + System.out.println("The default seedURL is http://dev.i2p.net/i2pdb/"); return; } } diff --git a/installer/java/src/Install.java b/installer/java/src/Install.java index 28de764e79..37a6b92bb1 100644 --- a/installer/java/src/Install.java +++ b/installer/java/src/Install.java @@ -325,6 +325,10 @@ public abstract class Install { _i2cpPort = ((Integer)_answers.get("i2cpPort")).intValue(); _inBPS = ((Integer)_answers.get("inBPS")).intValue(); _outBPS = ((Integer)_answers.get("outBPS")).intValue(); + long num = new java.util.Random().nextLong(); + if (num < 0) + num = 0 - num; + _answers.put("timestamperPassword", new Long(num)); } private void useTemplate(String templateName, File destFile) { diff --git a/installer/java/src/reseed.bat.template b/installer/java/src/reseed.bat.template index 11b03252eb..fe0374b745 100644 --- a/installer/java/src/reseed.bat.template +++ b/installer/java/src/reseed.bat.template @@ -1,3 +1,3 @@ cd ##_scripts_installdir## -java -jar lib\fetchseeds.jar netDb +java -jar lib\fetchseeds.jar netDb http://dev.i2p.net/i2pdb/ pause \ No newline at end of file diff --git a/installer/java/src/reseed.sh.template b/installer/java/src/reseed.sh.template index ee2aa8a726..8382c7b0e6 100644 --- a/installer/java/src/reseed.sh.template +++ b/installer/java/src/reseed.sh.template @@ -1,4 +1,4 @@ #!/bin/sh cd ##_scripts_installdir## -java -jar lib/fetchseeds.jar netDb +java -jar lib/fetchseeds.jar netDb http://dev.i2p.net/i2pdb/ echo Router network database reseeded \ No newline at end of file diff --git a/installer/java/src/router.config.template b/installer/java/src/router.config.template index de65a09452..3737111e81 100644 --- a/installer/java/src/router.config.template +++ b/installer/java/src/router.config.template @@ -125,13 +125,13 @@ tunnels.tunnelDuration=600000 clientApp.0.main=net.i2p.time.Timestamper clientApp.0.name=Timestamper clientApp.0.onBoot=true -clientApp.0.args=http://localhost:7655/setTime?putTheValueFromBelowHere pool.ntp.org pool.ntp.org pool.ntp.org +clientApp.0.args=http://localhost:7655/setTime?##timestamperPassword## pool.ntp.org pool.ntp.org pool.ntp.org # The admin time passphrase, used to prevent unauthorized people from updating your # routers time. The value should be included in the timestamper's args above, # otherwise it wont honor timestamp updates. You shouldnt include any spaces or funky # characters - just pick some random numbers. -adminTimePassphrase=pleaseSetSomeValueHere +adminTimePassphrase=##timestamperPassword## # SAM bridge (a simplified socket based protocol for using I2P - listens on port 7656. see # the specs at http://www.i2p.net/node/view/144 for more info)