Root/ibrdtnd/files/ibrdtn.uci

1#####################################
2# IBR-DTN daemon #
3#####################################
4
5config 'daemon' 'main'
6    # The local eid of the dtn node. Default is the hostname.
7# option uri dtn://node.dtn
8    
9    # timezone offset in hours
10# option timezone +1
11    
12    # logfile for standard output
13    option logfile /tmp/ibrdtn.log
14    option errfile /tmp/ibrdtn.err
15    
16    # debug level
17# option debug 20
18
19    # block size limit
20# option blocksize 512M
21
22
23#
24# If something bad happened, the safe mode will be activated.
25# These are the restrictions for safe mode only.
26#
27config 'daemon' 'safemode'
28    option forwarding no
29    option storage 64M
30    option maxblock 16M
31
32
33#####################################
34# storage configuration #
35#####################################
36
37config 'daemon' 'storage'
38    # possible engines are: simple, sqlite
39    option engine simple
40    option blobs /tmp/ibrdtn/blobs
41    option bundles /tmp/ibrdtn/bundles
42# option container /tmp/ibrdtn/container.img
43# option path /tmp/ibrdtn/container
44# option limit 1G
45
46
47#####################################
48# statistic logging #
49#####################################
50
51config 'daemon' 'statistic'
52    # types: stdout | syslog | plain | csv | stat | udp
53    option type stat
54    option interval 2
55    option file /tmp/ibrdtn.stats
56# option address 127.0.0.1
57# option port 1234
58
59
60#####################################
61# routing configuration #
62#####################################
63
64#
65# In the "default" the daemon only delivers bundles to neighbors and static
66# available nodes. The alternative module "epidemic" spread all bundles to
67# all available neighbors.
68#
69config 'daemon' 'main'
70    # values: default | epidemic | flooding
71    option routing default
72# option forwarding no
73
74#
75# static routing rules
76# - a rule is a regex pattern
77# - format is <target-scheme> <routing-node>
78#
79#config 'static-route'
80# list pattern ^dtn://[[:alpha:]].moon.dtn/[[:alpha:]]
81# option destination dtn://router.dtn
82
83
84#####################################
85# static connections
86#####################################
87
88#config 'static-connection'
89# option uri dtn://node-five.dtn
90# option address 10.0.0.5
91# option port 4556
92# option protocol tcp
93# option immediately yes
94
95#config 'static-connection'
96# option uri dtn://node-ten
97# option address 10.0.0.10
98# option port 4556
99# option protocol udp
100# option immediately no
101
102
103#####################################
104# convergence layer configuration #
105#####################################
106
107#
108# You can specify an address to listen to for discovery announcements.
109# Multicast addresses are supported. If no address is specified the default
110# broadcast address is used.
111#
112config 'daemon' 'discovery'
113    option address 225.0.12.5
114# option timeout 5
115
116config 'network'
117    option type tcp
118    option interface eth0
119    option port 4556
120# option discovery yes
121    
122#config 'network'
123# option type tcp
124# option interface wlan0
125# option port 4556
126# option discovery no
127
128
129#####################################
130# bundle security protocol #
131#####################################
132
133#
134# the level specifies the security constains
135#
136# 0 = no constrains (default)
137# 1 = accept only BAB authenticated bundles
138# 2 = accept only encrypted bundles
139# 3 = accept only BAB authenticated and encrypted bundles
140#
141
142config 'daemon' 'security'
143    option level 0
144    option bab_key /path/to/default-bab-key.mac
145    option key_path /path/to/security-keys
146

Archive Download this file



interactive