lede-packages-rs

git clone git://archive.git.mtrnord.blog/MTRNord/lede-packages-rs.git
Log | Files | Refs | README | LICENSE

ibrdtn.uci (4356B)


      1 #####################################
      2 # IBR-DTN daemon                    #
      3 #####################################
      4 
      5 config 'daemon' 'main'
      6 	# The local eid of the dtn node. Default is the hostname.
      7 #	option uri			dtn://node.dtn
      8 	
      9 	# logfile for standard output
     10 	option logfile		/tmp/ibrdtn.log
     11 	option errfile		/tmp/ibrdtn.err
     12 	
     13 	# debug level
     14 #	option debug		20
     15 
     16 	# block size limit
     17 #	option blocksize		512M
     18 #	option foreign_blocksize	128M
     19 
     20 
     21 #
     22 # If something bad happened, the safe mode will be activated.
     23 # These are the restrictions for safe mode only.
     24 #
     25 config 'daemon' 'safemode'
     26 	option forwarding	no
     27 	option storage		64M
     28 	option maxblock		16M
     29 #	option wait_mount	/dev/sda1
     30 
     31 
     32 #####################################
     33 # storage configuration             #
     34 #####################################
     35 
     36 config 'daemon' 'storage'
     37 	# possible engines are: simple, sqlite
     38 	option engine		simple
     39 	option blobs		/tmp/ibrdtn/blobs
     40 	option bundles		/tmp/ibrdtn/bundles
     41 #	option container	/tmp/ibrdtn/container.img
     42 #	option path			/tmp/ibrdtn/container
     43 #	option limit		1G
     44 
     45 
     46 #####################################
     47 # routing configuration             #
     48 #####################################
     49 
     50 #
     51 # In the "default" the daemon only delivers bundles to neighbors and static
     52 # available nodes. The alternative module "epidemic" spread all bundles to
     53 # all available neighbors.
     54 #
     55 config 'daemon' 'main'
     56 	# values: none | default | epidemic | flooding | prophet
     57 	option	routing		prophet
     58 #	option	forwarding	no
     59 #	option	fragmentation	yes
     60 
     61 #
     62 # static routing rules
     63 # - a rule is a regex pattern
     64 # - format is <target-scheme> <routing-node>
     65 #
     66 #config 'static-route'
     67 #	list pattern		^dtn://[[:alpha:]].moon.dtn/[[:alpha:]]
     68 #	option destination	dtn://router.dtn
     69 
     70 
     71 #####################################
     72 # static connections
     73 #####################################
     74 
     75 #config 'static-connection'
     76 #	option uri			dtn://node-five.dtn
     77 #	option address		10.0.0.5
     78 #	option port			4556
     79 #	option protocol		tcp
     80 #	option immediately	yes
     81 
     82 #config 'static-connection'
     83 #	option uri			dtn://node-ten
     84 #	option address		10.0.0.10
     85 #	option port			4556
     86 #	option protocol		udp
     87 #	option immediately	no
     88 
     89 
     90 #####################################
     91 # convergence layer configuration   #
     92 #####################################
     93 
     94 #
     95 # You can specify an multicast address to listen to for discovery announcements.
     96 # If no address is specified the multicast equivalent of broadcast is used.
     97 #
     98 config 'daemon' 'discovery'
     99 #	option address		224.0.0.1
    100 #	option timeout		5
    101 #	option crosslayer	yes
    102 
    103 config 'daemon' 'tcptuning'
    104 #	option 'idle_timeout'	120
    105 #	option 'nodelay'		yes
    106 #	option 'chunksize'		4096
    107 
    108 config 'network'
    109 	option type			tcp
    110 	option interface	eth0
    111 	option port			4556
    112 	option global		yes
    113 	
    114 #config 'network'
    115 #	option type			tcp
    116 #	option interface	wlan0
    117 #	option port			4556
    118 
    119 
    120 #####################################
    121 # bundle security protocol          #
    122 #####################################
    123 
    124 #
    125 # the level specifies the security constains
    126 #
    127 # 0 = no constrains (default)
    128 # 1 = accept only BAB authenticated bundles
    129 # 2 = accept only encrypted bundles
    130 # 3 = accept only BAB authenticated and encrypted bundles
    131 #
    132 
    133 #config 'daemon' 'security'
    134 #	option level		0
    135 #	option bab_key		/path/to/default-bab-key.mac
    136 #	option key_path		/path/to/security-keys
    137 #	option generate_dh	yes
    138 	
    139 #config 'daemon' 'tls'
    140 #	option certificate	/path/to/tls-cert.crt
    141 #	option key			/path/to/tls-key.key
    142 #	option trustedpath	/path/to/tls-ca
    143 #	option required		no
    144 #	option noencryption no
    145 
    146 
    147 #####################################
    148 # time synchronization              #
    149 #####################################
    150 
    151 #config 'daemon' 'timesync'
    152 #	option reference		yes
    153 #	option synchronize		yes
    154 #	option discovery_announcement	yes
    155 #	option sigma			1.001
    156 #	option psi			0.9
    157 #	option sync_level		0.1
    158 
    159 #####################################
    160 # DHT                               #
    161 #####################################
    162 
    163 config 'daemon' 'dht'
    164 #	option 'enabled'	'yes'
    165 #	option 'id'		'<enter your unique id here>'
    166 	option 'bootstrap'	'yes'
    167 #	option 'nodesfile'	'/tmp/dht_nodes.dat'
    168 	option 'port' 		'9999'
    169 	option 'enable_ipv6'	'no'
    170 #	option 'enable_ipv4'	'no'
    171 #	option 'bind_ipv4'	'127.0.0.1'
    172 #	option 'bind_ipv6'	'::1'
    173 	option 'ignore_neighbour_informations'		'yes'
    174 	option 'allow_neighbours_to_announce_me'	'no'
    175 	option 'allow_neighbour_announcement'		'no'
    176