Changeset 8244bdb4


Ignore:
Timestamp:
May 2, 2004 5:11:06 AM (16 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
8d17ba4
Parents:
bc3b7ff
git-author:
jrandom <jrandom> (05/02/04 05:11:06)
git-committer:
zzz <zzz@…> (05/02/04 05:11:06)
Message:

include the timestamper (and fire the client on startup, using a pair of arbitrary NTP hosts - to be configured later)

Location:
installer/java/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • installer/java/src/install.config

    rbc3b7ff r8244bdb4  
    8989
    9090
    91 libs.count=13
     91libs.count=14
    9292libs.0001.name=i2p.jar
    9393    libs.0001.islib=true
     
    116116libs.0013.name=heartbeat.config
    117117    libs.0013.islib=false
     118libs.0014.name=timestamper.jar
     119    libs.0014.islib=true
  • installer/java/src/router.config.template

    rbc3b7ff r8244bdb4  
    157157# ones you want (revising the numbers and ports accordingly)
    158158
     159clientApp=0.main=net.i2p.time.Timestamper
     160clientApp.0.name=Timestamper
     161clientApp.0.onBoot=true
     162clientApp.0.args=http://localhost:7655/setTime?k=v ntp1.sth.netnod.se ntp2.sth.netnod.se
     163
    159164# Network monitor (harvests data from the network database and stores it under
    160165# monitorData/, and with the netviewer GUI you can browse through its results)
    161 clientApp.0.main=net.i2p.netmonitor.NetMonitor
    162 clientApp.0.name=NetMonitor
    163 clientApp.0.args=
     166clientApp.1.main=net.i2p.netmonitor.NetMonitor
     167clientApp.1.name=NetMonitor
     168clientApp.1.args=
    164169
    165170# SAM bridge (a simplified socket based protocol for using I2P - listens on port 7656.  see
    166171# the specs at http://www.i2p.net/node/view/144 for more info)
    167 clientApp.1.main=net.i2p.sam.SAMBridge
    168 clientApp.1.name=SAMBridge
    169 clientApp.1.args=0.0.0.0 7656 i2cp.tcp.host=localhost i2cp.tcp.port=##_router_i2cp_port##
     172clientApp.2.main=net.i2p.sam.SAMBridge
     173clientApp.2.name=SAMBridge
     174clientApp.2.args=0.0.0.0 7656 i2cp.tcp.host=localhost i2cp.tcp.port=##_router_i2cp_port##
    170175
    171176# EepProxy (HTTP proxy that lets you browse both eepsites and the normal web via squid.i2p)
    172 clientApp.2.main=net.i2p.i2ptunnel.I2PTunnel
    173 clientApp.2.name=EepProxy
    174 clientApp.2.args=-nogui -e "config localhost ##_router_i2cp_port##" -e "httpclient 4444"
     177clientApp.3.main=net.i2p.i2ptunnel.I2PTunnel
     178clientApp.3.name=EepProxy
     179clientApp.3.args=-nogui -e "config localhost ##_router_i2cp_port##" -e "httpclient 4444"
    175180
    176181# Heartbeat engine (uber-simple ping/pong system, configured in heartbeat.config.  By itself
    177182# it just writes out stat data where its told to, but there's a seperate HeartbeatMonitor
    178183# GUI to let you visualize things)
    179 #clientApp.3.main=net.i2p.heartbeat.Heartbeat
    180 #clientApp.3.name=Heartbeat
    181 #clientApp.3.args=heartbeat.config
     184#clientApp.4.main=net.i2p.heartbeat.Heartbeat
     185#clientApp.4.name=Heartbeat
     186#clientApp.4.args=heartbeat.config
  • installer/java/src/startRouter.bat.template

    rbc3b7ff r8244bdb4  
    66REM replace java with javaw if you don't want a window to pop up
    77
    8 javaw -cp lib\i2p.jar;lib\router.jar;lib\mstreaming.jar;lib\heartbeat.jar;lib\i2ptunnel.jar;lib\netmonitor.jar;lib\sam.jar -Djava.library.path=. -DloggerFilenameOverride=logs\log-router-#.txt -XX:NewSize=4M -XX:MaxNewSize=8M -XX:PermSize=8M -XX:MaxPermSize=32M net.i2p.router.Router
     8javaw -cp lib\i2p.jar;lib\router.jar;lib\mstreaming.jar;lib\heartbeat.jar;lib\i2ptunnel.jar;lib\netmonitor.jar;lib\sam.jar;lib\timestamper.jar -Djava.library.path=. -DloggerFilenameOverride=logs\log-router-#.txt -XX:NewSize=4M -XX:MaxNewSize=8M -XX:PermSize=8M -XX:MaxPermSize=32M net.i2p.router.Router
    99echo Router started up, please see http://localhost:7655/
  • installer/java/src/startRouter.sh.template

    rbc3b7ff r8244bdb4  
    33export LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH
    44# the -XX args are workarounds for bugs in java 1.4.2's garbage collector
    5 nohup nice java -cp lib/i2p.jar:lib/router.jar:lib/mstreaming.jar:lib/heartbeat.jar:lib/i2ptunnel.jar:lib/netmonitor.jar:lib/sam.jar -Djava.library.path=. -DloggerFilenameOverride=logs/log-router-#.txt -XX:NewSize=4M -XX:MaxNewSize=8M -XX:PermSize=8M -XX:MaxPermSize=32M net.i2p.router.Router --quiet > /dev/null &
     5nohup nice java -cp lib/i2p.jar:lib/router.jar:lib/mstreaming.jar:lib/heartbeat.jar:lib/i2ptunnel.jar:lib/netmonitor.jar:lib/sam.jar:lib/timestamper.jar -Djava.library.path=. -DloggerFilenameOverride=logs/log-router-#.txt -XX:NewSize=4M -XX:MaxNewSize=8M -XX:PermSize=8M -XX:MaxPermSize=32M net.i2p.router.Router --quiet > /dev/null &
    66# Save the pid just in case we ever want to stop the router
    77echo $! > router.pid
Note: See TracChangeset for help on using the changeset viewer.