Changeset 7ef528b for installer/java


Ignore:
Timestamp:
Jun 25, 2004 5:18:21 PM (16 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
e6f610a
Parents:
a351a29
git-author:
jrandom <jrandom> (06/25/04 17:18:21)
git-committer:
zzz <zzz@…> (06/25/04 17:18:21)
Message:

add some minimal security to the admin console, requiring a passphrase to be entered when updating the clock offset
this works by a simple substring match of the URL - if the router.config contains the adminTimePassphrase=blah, the time update will only succeed if the URL contains "blah" in it
if the router.config does NOT contain an adminTimePassphrase, the time update WILL BE REFUSED.
aka to use the timestamper, you MUST set adminTimePassphrase AND update the clientApp.0.args= line to include the passphrase in the URL!
e.g.

clientApp.0.args=http://localhost:7655/setTime?blah pool.ntp.org pool.ntp.org pool.ntp.org

File:
1 edited

Legend:

Unmodified
Added
Removed
  • installer/java/src/router.config.template

    ra351a29 r7ef528b  
    169169clientApp.0.name=Timestamper
    170170clientApp.0.onBoot=true
    171 clientApp.0.args=http://localhost:7655/setTime?k=v pool.ntp.org pool.ntp.org pool.ntp.org
     171clientApp.0.args=http://localhost:7655/setTime?putTheValueFromBelowHere pool.ntp.org pool.ntp.org pool.ntp.org
     172
     173# The admin time passphrase, used to prevent unauthorized people from updating your
     174# routers time.  The value should be included in the timestamper's args above,
     175# otherwise it wont honor timestamp updates.  You shouldnt include any spaces or funky
     176# characters - just pick some random numbers.
     177adminTimePassphrase=pleaseSetSomeValueHere
    172178
    173179# 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.