1.1 --- a/x86/prophet.ini Tue Dec 12 15:34:51 2006 +0000
1.2 +++ b/x86/prophet.ini Wed Dec 13 08:24:57 2006 +0000
1.3 @@ -1,37 +1,149 @@
1.4 -NODEID=50
1.5 -NODENAME=samonote.dtn
1.6 -NODEIP=192.168.10.44
1.7 -NODEIP2=192.168.0.3
1.8 -NODEBROADCAST=255.255.255.255
1.9 -BROADCASTTIMER=5000
1.10 -AGINGTIMER=60000
1.11 -PENCOUNTER=0.75
1.12 -BETA=0.25
1.13 +# ------------------------------------------
1.14 +# PRoPHET configuration file - prophet.ini
1.15 +# ------------------------------------------
1.16 +
1.17 +
1.18 +# -----------------
1.19 +# Node Parameters
1.20 +# -----------------
1.21 +
1.22 +# A unique number identifying this node.
1.23 +NODEID=50
1.24 +
1.25 +# A unique name identifying this node, should be the same as local_eid in
1.26 +# DTN-configuration but without the "dtn://" prefix.
1.27 +NODENAME=samonote.dtn
1.28 +
1.29 +# The IP number of this node.
1.30 +NODEIP=192.168.10.44
1.31 +
1.32 +# IP number of any secondary network interface on the same host. If there is no secondary interface, just set it to the same as NODEIP1.
1.33 +NODEIP2=192.168.0.3
1.34 +
1.35 +# The broadcast adress of this node. Should be as narrow as possible, ie rather use 192.168.10.255 than 255.255.255.255
1.36 +NODEBROADCAST=192.168.10.255
1.37 +
1.38 +
1.39 +# --------------------
1.40 +# PRoPHET parameters
1.41 +# --------------------
1.42 +
1.43 +# The type of routing to use
1.44 +# 0 = Epidemic
1.45 +# 1 = PRoPHET GRTR P_(B,D)>P_(A,D)
1.46 +ROUTING=0
1.47 +
1.48 +# The queuing policy to use
1.49 +# 0 = FIFO
1.50 +QUEUE=0
1.51 +
1.52 +# Initialization constant
1.53 +PENCOUNTER=0.75
1.54 +
1.55 +# Scaling constant. Controls how large an impact the transitivity should have
1.56 +# on delivery predictability.
1.57 +BETA=0.25
1.58 +
1.59 +# Aging constant
1.60 GAMMA=0.9989
1.61 -HELLO=10000
1.62 -ALIVE=15
1.63 -HELLOTIMER=60000
1.64 -INITIATORTIMER=60000
1.65 -LISTENERTIMER=60000
1.66 -DTNHOSTNAME=193.77.152.156
1.67 -DTNHOSTPORT=5050
1.68 -DTNTIMER=5000
1.69 -STORAGESIZE=80000
1.70 -MEMORYSTORAGESIZE=20000
1.71 -ROUTING=0
1.72 -QUEUE=0
1.73 -CONTINIUSUPDATE=1
1.74 -STORAGEPATH=c:\Samo\PRoPHET\win32\storage\
1.75 -LOGPATH=c:\Samo\PRoPHET\win32\log\
1.76 -MSGPATH=c:\Samo\PRoPHET\win32\list\
1.77 -AGEFILENODES=1
1.78 -USEFILENODES=1
1.79 -WRITETOFILETIMER=10000
1.80 -USEFILEBUNDLES=1
1.81 -LOGGING=1
1.82 -TTLVALUE=60
1.83 -USETTL=1
1.84 +
1.85 +# ?
1.86 +HELLO=10000
1.87 +
1.88 +# ?
1.89 +ALIVE=15
1.90 +
1.91 +
1.92 +# --------
1.93 +# Timers
1.94 +# --------
1.95 +
1.96 +# The interval in milliseconds between beacon broadcasts in neighbour awareness.
1.97 +BROADCASTTIMER=5000
1.98 +
1.99 +# The interval in milliseconds for performing aging.
1.100 +AGINGTIMER=60000
1.101 +
1.102 +# The time in milliseconds before the node leaves the Hello state.
1.103 +HELLOTIMER=60000
1.104 +
1.105 +# The time in milliseconds before the node leaves the Initiator state.
1.106 +INITIATORTIMER=60000
1.107 +
1.108 +# The time in milliseconds before the node leaves the Listener state.
1.109 +LISTENERTIMER=60000
1.110 +
1.111 +
1.112 +# ------------------------
1.113 +# DTN-related Parameters
1.114 +# ------------------------
1.115 +
1.116 +# The hostname where PRoPHET should connect to DTN. Usually the same as NODEIP1.
1.117 +DTNHOSTNAME=193.77.152.156
1.118 +
1.119 +# The port PRoPHET should connect to DTN on. Usually 5555 or 5050.
1.120 +DTNHOSTPORT=5050
1.121 +
1.122 +# ?
1.123 +DTNTIMER=5000
1.124 +
1.125 +
1.126 +# --------------------
1.127 +# Storage Parameters
1.128 +# --------------------
1.129 +
1.130 +# The maximum amount of disk space that PRoPHET should use for storing bundles
1.131 +# (in bytes).
1.132 +STORAGESIZE=80000
1.133 +
1.134 +# The maximum amount of memory PRoPHET should use for storing bundles (in bytes)
1.135 +MEMORYSTORAGESIZE=20000
1.136 +
1.137 +# The directory PRoPHET will use for storing bundles. It will be created on
1.138 +# startup if it does not already exist.
1.139 +STORAGEPATH=c:\Samo\PRoPHET\win32\storage\
1.140 +
1.141 +# The directory PRoPHET will use for logging. It will be created on startup if
1.142 +# it does not already exist.
1.143 +LOGPATH=c:\Samo\PRoPHET\win32\log\
1.144 +
1.145 +# The directory PRoPHET will use for storing the node list, bundle list etc. It
1.146 +# will be created on startup if it does not already exist.
1.147 +MSGPATH=c:\Samo\PRoPHET\win32\list\
1.148 +
1.149 +# Whether the node list should be stored to disk or not.
1.150 +USEFILENODES=1
1.151 +
1.152 +# Whether nodes in the node list on disk should be aged or not.
1.153 +AGEFILENODES=1
1.154 +
1.155 +# The interval at which information is written to disk.
1.156 +WRITETOFILETIMER=10000
1.157 +
1.158 +# Wheter bundles should be stored to disk or not.
1.159 +USEFILEBUNDLES=1
1.160 +
1.161 +# Logging on/off.
1.162 +LOGGING=1
1.163 +
1.164 +
1.165 +# ---------------
1.166 +# Misc features
1.167 +# ---------------
1.168 +
1.169 +# ?
1.170 +CONTINIUSUPDATE=1
1.171 +
1.172 +# Whether to use TTL or not.
1.173 +USETTL=1
1.174 +
1.175 +# The time to live for new bundles (in seconds).
1.176 +TTLVALUE=60
1.177 +
1.178 +# Use acks for bundles, on/off.
1.179 USEACKS=1
1.180 -SMARTOFFER=1
1.181 -
1.182 -
1.183 +
1.184 +# Use smartoffer on/off. Smartoffer is a feature where a bundle will not be
1.185 +# offered again to a node that has already received it.
1.186 +SMARTOFFER=1
1.187 +