stuff
[oweals/gnunet.git] / contrib / defaults.conf
1 [PATHS]
2 SERVICEHOME = ~/.gnunet/
3 # SERVICEHOME = /var/lib/gnunet/
4 # DEFAULTCONFIG = /etc/gnunet.conf
5 # If 'DEFAULTCONFIG' is not defined, the current
6 # configuration file is assumed to be the default,
7 # which is what we want by default...
8
9 [gnunetd]
10 HOSTKEY = $SERVICEHOME/.hostkey
11
12 [TESTING]
13 WEAKRANDOM = NO
14
15 [client]
16 HOME = $SERVICEHOME
17
18 [transport-tcp]
19 # Use 0 to ONLY advertise as a peer behind NAT (no port binding)
20 PORT = 2086
21
22 # Should we use ICMP-based NAT traversal to try connect to NATed peers?
23 ALLOW_NAT = YES
24
25 # Are we behind NAT and should use ICMP-based NAT traversal?
26 BEHIND_NAT = YES
27
28 # IP address of the interface connected to the NAT box; IPv4 dotted-decimal ONLY;
29 # normal interface IP address for non-NATed peers; 
30 # likely auto-detected (via interface list) if not specified (!)
31 # INTERNAL_ADDRESS = 
32
33 # External IP address of the NAT box (if known); IPv4 dotted-decimal ONLY at this time (should allow DynDNS!)
34 # normal interface IP address for non-NATed peers; 
35 # possibly auto-detected (using UPnP) if possible if not specified
36 # EXTERNAL_ADDRESS = 
37
38 # Only bind to a specific IP address; if both are given, this should be idential to INTERNAL_ADDRESS
39 # (but use different: this one restricts our bind!)
40 # BINDTO =
41
42 TIMEOUT = 300000
43
44 # Are we allowed to try UPnP/PMP?
45 ENABLE_UPNP = YES
46 # Disable IPv6 support
47 # DISABLEV6 =
48 # ACCEPT_FROM =
49 # ACCEPT_FROM6 =
50 # REJECT_FROM =
51 # REJECT_FROM6 =
52
53 [transport-udp]
54 PORT = 2086
55 # BEHIND_NAT = 
56 # BINDTO = 
57 # ALLOW_NAT = 
58 # ONLY_NAT_ADDRESSES = 
59 # INTERNAL_ADDRESS = 
60 # EXTERNAL_ADDRESS = 
61
62 [transport-http]
63 PORT = 1080
64
65 [transport-https]
66 PORT = 4433
67
68 [arm]
69 PORT = 2087
70 HOSTNAME = localhost
71 HOME = $SERVICEHOME
72 CONFIG = $DEFAULTCONFIG
73 BINARY = gnunet-service-arm
74 ACCEPT_FROM = 127.0.0.1;
75 ACCEPT_FROM6 = ::1;
76 DEFAULTSERVICES = topology hostlist
77 UNIXPATH = /tmp/gnunet-service-arm.sock
78 # GLOBAL_POSTFIX = -l $SERVICEHOME/{}-logs
79 # GLOBAL_PREFIX =
80 # USERNAME =
81 # MAXBUF =
82 # TIMEOUT =
83 # DISABLEV6 =
84 # BINDTO =
85 # REJECT_FROM =
86 # REJECT_FROM6 =
87 # PREFIX =
88
89 [statistics]
90 AUTOSTART = YES
91 PORT = 2088
92 HOSTNAME = localhost
93 HOME = $SERVICEHOME
94 CONFIG = $DEFAULTCONFIG
95 BINARY = gnunet-service-statistics
96 ACCEPT_FROM = 127.0.0.1;
97 ACCEPT_FROM6 = ::1;
98 UNIXPATH = /tmp/gnunet-service-statistics.sock
99 # DISABLE_SOCKET_FORWARDING = NO
100 # USERNAME = 
101 # MAXBUF =
102 # TIMEOUT =
103 # DISABLEV6 =
104 # BINDTO =
105 # REJECT_FROM =
106 # REJECT_FROM6 =
107 # PREFIX =
108
109 [resolver]
110 AUTOSTART = YES
111 PORT = 2089
112 HOSTNAME = localhost
113 HOME = $SERVICEHOME
114 CONFIG = $DEFAULTCONFIG
115 BINARY = gnunet-service-resolver
116 ACCEPT_FROM = 127.0.0.1;
117 ACCEPT_FROM6 = ::1;
118 UNIXPATH = /tmp/gnunet-service-resolver.sock
119 # DISABLE_SOCKET_FORWARDING = NO
120 # USERNAME = 
121 # MAXBUF =
122 # TIMEOUT =
123 # DISABLEV6 =
124 # BINDTO =
125 # REJECT_FROM =
126 # REJECT_FROM6 =
127 # PREFIX =
128
129 [peerinfo]
130 AUTOSTART = YES
131 PORT = 2090
132 HOSTNAME = localhost
133 HOME = $SERVICEHOME
134 CONFIG = $DEFAULTCONFIG
135 BINARY = gnunet-service-peerinfo
136 ACCEPT_FROM = 127.0.0.1;
137 ACCEPT_FROM6 = ::1;
138 UNIXPATH = /tmp/gnunet-service-peerinfo.sock
139 # DISABLE_SOCKET_FORWARDING = NO
140 # USERNAME = 
141 # MAXBUF =
142 # TIMEOUT =
143 # DISABLEV6 =
144 # BINDTO = 
145 # REJECT_FROM =
146 # REJECT_FROM6 =
147 # PREFIX =
148 HOSTS = $SERVICEHOME/data/hosts/
149
150
151 [transport]
152 AUTOSTART = YES
153 PORT = 2091
154 HOSTNAME = localhost
155 HOME = $SERVICEHOME
156 CONFIG = $DEFAULTCONFIG
157 BINARY = gnunet-service-transport
158 NEIGHBOUR_LIMIT = 50
159 ACCEPT_FROM = 127.0.0.1;
160 ACCEPT_FROM6 = ::1;
161 PLUGINS = tcp
162 UNIXPATH = /tmp/gnunet-service-transport.sock
163 # DISABLE_SOCKET_FORWARDING = NO
164 # USERNAME = 
165 # MAXBUF =
166 # TIMEOUT =
167 # DISABLEV6 =
168 # BINDTO =
169 # REJECT_FROM =
170 # REJECT_FROM6 =
171 # PREFIX =
172
173 [core]
174 AUTOSTART = YES
175 PORT = 2092
176 HOSTNAME = localhost
177 HOME = $SERVICEHOME
178 CONFIG = $DEFAULTCONFIG
179 BINARY = gnunet-service-core
180 ACCEPT_FROM = 127.0.0.1;
181 ACCEPT_FROM6 = ::1;
182 # quotas are in bytes per second now!
183 TOTAL_QUOTA_IN = 65536
184 TOTAL_QUOTA_OUT = 65536
185 UNIXPATH = /tmp/gnunet-service-core.sock
186 # DISABLE_SOCKET_FORWARDING = NO
187 # DEBUG = YES
188 # USERNAME = 
189 # MAXBUF =
190 # TIMEOUT =
191 # DISABLEV6 =
192 # BINDTO =
193 # REJECT_FROM =
194 # REJECT_FROM6 =
195 # PREFIX =
196
197
198 [topology]
199 MINIMUM-FRIENDS = 0
200 FRIENDS-ONLY = NO
201 AUTOCONNECT = YES
202 TARGET-CONNECTION-COUNT = 16
203 FRIENDS = $SERVICEHOME/friends
204 CONFIG = $DEFAULTCONFIG
205 BINARY = gnunet-daemon-topology
206
207 [hostlist]
208 # port for hostlist http server
209 HTTPPORT = 8080
210 HOME = $SERVICEHOME
211 HOSTLISTFILE = $SERVICEHOME/hostlist/learned.data
212 CONFIG = $DEFAULTCONFIG
213 BINARY = gnunet-daemon-hostlist
214 # consider having "-e" as default as well once implemented
215 OPTIONS = -b
216 SERVERS = http://v9.gnunet.org:58080/
217 # proxy for downloading hostlists
218 HTTP-PROXY = 
219
220
221 [datastore]
222 AUTOSTART = YES
223 UNIXPATH = /tmp/gnunet-service-datastore.sock
224 PORT = 2093
225 HOSTNAME = localhost
226 HOME = $SERVICEHOME
227 CONFIG = $DEFAULTCONFIG
228 BINARY = gnunet-service-datastore
229 ACCEPT_FROM = 127.0.0.1;
230 ACCEPT_FROM6 = ::1;
231 QUOTA = 100000000
232 BLOOMFILTER = $SERVICEHOME/fs/bloomfilter
233 DATABASE = sqlite
234 # DISABLE_SOCKET_FORWARDING = NO
235
236 [datastore-sqlite]
237 FILENAME = $SERVICEHOME/datastore/sqlite.db
238
239 [datastore-postgres]
240 CONFIG = connect_timeout=10; dbname=gnunet
241
242 [datastore-mysql]
243 DATABASE = gnunet
244 CONFIG = ~/.my.cnf
245 # USER = gnunet
246 # PASSWORD = 
247 # HOST = localhost
248 # PORT = 3306
249
250 [datacache-mysql]
251 DATABASE = gnunetcheck
252 CONFIG = ~/.my.cnf
253 # USER = gnunet
254 # PASSWORD =
255 # HOST = localhost
256 # PORT = 3306
257
258
259 [fs]
260 AUTOSTART = YES
261 INDEXDB = $SERVICEHOME/idxinfo.lst
262 TRUST = $SERVICEHOME/data/credit/
263 IDENTITY_DIR = $SERVICEHOME/identities/
264 STATE_DIR = $SERVICEHOME/persistence/
265 UPDATE_DIR = $SERVICEHOME/updates/
266 PORT = 2094
267 HOSTNAME = localhost
268 HOME = $SERVICEHOME
269 CONFIG = $DEFAULTCONFIG
270 BINARY = gnunet-service-fs
271 ACCEPT_FROM = 127.0.0.1;
272 ACCEPT_FROM6 = ::1;
273 ACTIVEMIGRATION = YES
274 UNIXPATH = /tmp/gnunet-service-fs.sock
275 # DISABLE_SOCKET_FORWARDING = NO
276 # DEBUG = YES
277 MAX_PENDING_REQUESTS = 65536
278 MIN_MIGRATION_DELAY = 1000
279 EXPECTED_NEIGHBOUR_COUNT = 128
280
281 [dht]
282 AUTOSTART = YES
283 PORT = 2095
284 HOSTNAME = localhost
285 HOME = $SERVICEHOME
286 CONFIG = $DEFAULTCONFIG
287 BINARY = gnunet-service-dht
288 ACCEPT_FROM = 127.0.0.1;
289 ACCEPT_FROM6 = ::1;
290 UNIXPATH = /tmp/gnunet-service-dht.sock
291 # DISABLE_SOCKET_FORWARDING = NO
292 # DEBUG = YES
293 # USERNAME = 
294 # MAXBUF =
295 # TIMEOUT =
296 # DISABLEV6 =
297 # BINDTO =
298 # REJECT_FROM =
299 # REJECT_FROM6 =
300 # PREFIX =
301 # DO_FIND_PEER =
302 # STRICT_KADEMLIA =
303 # USE_MAX_HOPS =
304 # MAX_HOPS =
305 # REPUBLISH = YES
306 # REPLICATION_FREQUENCY = 60 
307 # STOP_ON_CLOSEST =
308 # STOP_FOUND =
309 # CONVERGE_MODIFIER =
310
311
312 [dhtcache]
313 DATABASE = sqlite
314 QUOTA = 1024000
315
316 [block]
317 PLUGINS = fs