Changeset 1669d17 for installer/java


Ignore:
Timestamp:
Jul 10, 2004 2:36:27 AM (16 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
809e12b
Parents:
3cfd28d
git-author:
jrandom <jrandom> (07/10/04 02:36:27)
git-committer:
zzz <zzz@…> (07/10/04 02:36:27)
Message:

use mihi's template engine to set a random timestamper password so people dont need to think about that stuff
don't use the dyndns anymore for seeding (use dev.i2p.net/i2pdb)

Location:
installer/java/src
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • installer/java/src/FetchSeeds.java

    r3cfd28d r1669d17  
    8080        switch (args.length) {
    8181        case 1:
    82             fetchSeeds(new File(args[0]), "http://i2p.dnsalias.net/i2pdb/");
     82            fetchSeeds(new File(args[0]), "http://dev.i2p.net/i2pdb/");
    8383            return;
    8484        case 2:
     
    9494            System.out.println("    or FetchSeeds <outDir> <seedURL>");
    9595            System.out.println("    or FetchSeeds <outDir> <seedURL> <secondsBetweenFetch>");
    96             System.out.println("The default seedURL is http://i2p.dnsalias.net/i2pdb/");
     96            System.out.println("The default seedURL is http://dev.i2p.net/i2pdb/");
    9797            return;
    9898        }
  • installer/java/src/Install.java

    r3cfd28d r1669d17  
    326326        _inBPS = ((Integer)_answers.get("inBPS")).intValue();
    327327        _outBPS = ((Integer)_answers.get("outBPS")).intValue();
     328        long num = new java.util.Random().nextLong();
     329        if (num < 0)
     330            num = 0 - num;
     331        _answers.put("timestamperPassword", new Long(num));
    328332    }
    329333
  • installer/java/src/reseed.bat.template

    r3cfd28d r1669d17  
    11cd ##_scripts_installdir##
    2 java -jar lib\fetchseeds.jar netDb
     2java -jar lib\fetchseeds.jar netDb http://dev.i2p.net/i2pdb/
    33pause
  • installer/java/src/reseed.sh.template

    r3cfd28d r1669d17  
    11#!/bin/sh
    22cd ##_scripts_installdir##
    3 java -jar lib/fetchseeds.jar netDb
     3java -jar lib/fetchseeds.jar netDb http://dev.i2p.net/i2pdb/
    44echo Router network database reseeded
  • installer/java/src/router.config.template

    r3cfd28d r1669d17  
    126126clientApp.0.name=Timestamper
    127127clientApp.0.onBoot=true
    128 clientApp.0.args=http://localhost:7655/setTime?putTheValueFromBelowHere pool.ntp.org pool.ntp.org pool.ntp.org
     128clientApp.0.args=http://localhost:7655/setTime?##timestamperPassword## pool.ntp.org pool.ntp.org pool.ntp.org
    129129
    130130# The admin time passphrase, used to prevent unauthorized people from updating your
     
    132132# otherwise it wont honor timestamp updates.  You shouldnt include any spaces or funky
    133133# characters - just pick some random numbers.
    134 adminTimePassphrase=pleaseSetSomeValueHere
     134adminTimePassphrase=##timestamperPassword##
    135135
    136136# SAM bridge (a simplified socket based protocol for using I2P - listens on port 7656.  see
Note: See TracChangeset for help on using the changeset viewer.