diff options
author | Anonymized <anonymous@example.com> | 2018-01-07 20:27:10 +0100 |
---|---|---|
committer | Anonymized <anonymous@example.com> | 2018-01-07 20:27:10 +0100 |
commit | 16268cb7d9921da5e8f5135d806ccd8b2ae9df0f (patch) | |
tree | d8af9386bf4a276942fb2e164a534fb633811d0d | |
parent | 224137229ccb7a3c6727e2d7085c0edb89311049 (diff) | |
download | gnunet-guile2-16268cb7d9921da5e8f5135d806ccd8b2ae9df0f.tar.gz gnunet-guile2-16268cb7d9921da5e8f5135d806ccd8b2ae9df0f.zip |
add configuration for a gnunet node
requires the directory /tmp/gnunet/p2/ to be present
-rw-r--r-- | etc/p2.conf | 1593 |
1 files changed, 1593 insertions, 0 deletions
diff --git a/etc/p2.conf b/etc/p2.conf new file mode 100644 index 0000000..e3b3e81 --- /dev/null +++ b/etc/p2.conf | |||
@@ -0,0 +1,1593 @@ | |||
1 | [arm] | ||
2 | PORT = 12087 | ||
3 | HOSTNAME = localhost | ||
4 | BINARY = gnunet-service-arm | ||
5 | ACCEPT_FROM = 127.0.0.1; | ||
6 | ACCEPT_FROM6 = ::1; | ||
7 | |||
8 | # Special case, uses user runtime dir even for per-system service. | ||
9 | UNIXPATH = $GNUNET_USER_RUNTIME_DIR/gnunet-service-arm.sock | ||
10 | UNIX_MATCH_UID = YES | ||
11 | UNIX_MATCH_GID = YES | ||
12 | |||
13 | # In the "-l" option, format characters from 'strftime' are allowed; | ||
14 | # In the GLOBAL_POSTFIX, "{}" stands for the name of the respective | ||
15 | # service. Thus the following option would introduce per-service | ||
16 | # logging with a new log file each day. Note that only the last 3 | ||
17 | # log files are preserved. | ||
18 | # GLOBAL_POSTFIX = -l $GNUNET_CACHE_HOME/{}-%Y-%m-%d.log | ||
19 | GLOBAL_PREFIX = | ||
20 | |||
21 | # If set to YES, ARM will only start services that are marked as | ||
22 | # system-level services (and we'll expect a second ARM to be | ||
23 | # run per-user to run user-level services). Note that in this | ||
24 | # case you must have manually created a different configuration | ||
25 | # file with the user where at least this and the USER_ONLY | ||
26 | # options differ. | ||
27 | # SYSTEM_ONLY = YES | ||
28 | |||
29 | # If set to YES, ARM will only start services that are marked as | ||
30 | # per-user services (and we'll expect a system user to run ARM to | ||
31 | # provide system-level services). Per-user services enable | ||
32 | # better personalization and priviledge separation and in particular | ||
33 | # ensures that personal data is stored under $HOME, which might | ||
34 | # be important in a multi-user system (or if $HOME is encrypted | ||
35 | # and /var/ is not). | ||
36 | # | ||
37 | # Note that if you have different ARM services for SYSTEM and USER, | ||
38 | # and you are not on UNIX, you need to change the PORT option for the | ||
39 | # USER ARM instances to some free port (counting down from 2085 should | ||
40 | # be sane). | ||
41 | # | ||
42 | # USER_ONLY = YES | ||
43 | |||
44 | # File where we should log per-service resource consumption on exit. | ||
45 | # RESOURCE_DIAGNOSTICS = resource.log | ||
46 | |||
47 | |||
48 | # Name of the user that will be used to provide the service | ||
49 | # USERNAME = | ||
50 | # MAXBUF = | ||
51 | # TIMEOUT = | ||
52 | # DISABLEV6 = | ||
53 | # BINDTO = | ||
54 | # REJECT_FROM = | ||
55 | # REJECT_FROM6 = | ||
56 | # PREFIX = | ||
57 | [ats] | ||
58 | AUTOSTART = YES | ||
59 | PORT = 12098 | ||
60 | HOSTNAME = localhost | ||
61 | BINARY = gnunet-service-ats | ||
62 | ACCEPT_FROM = 127.0.0.1; | ||
63 | ACCEPT_FROM6 = ::1; | ||
64 | UNIXPATH = $GNUNET_HOME/gnunet-service-ats.sock | ||
65 | UNIX_MATCH_UID = NO | ||
66 | UNIX_MATCH_GID = YES | ||
67 | # PREFIX = valgrind | ||
68 | # Designated assignment mode: PROPORTIONAL / MLP / RIL | ||
69 | MODE = proportional | ||
70 | |||
71 | # Network specific inbound/outbound quotas | ||
72 | UNSPECIFIED_QUOTA_IN = 64 KiB | ||
73 | UNSPECIFIED_QUOTA_OUT = 64 KiB | ||
74 | # LOOPBACK | ||
75 | LOOPBACK_QUOTA_IN = unlimited | ||
76 | LOOPBACK_QUOTA_OUT = unlimited | ||
77 | # LAN | ||
78 | LAN_QUOTA_IN = unlimited | ||
79 | LAN_QUOTA_OUT = unlimited | ||
80 | # WAN | ||
81 | WAN_QUOTA_IN = 64 KiB | ||
82 | WAN_QUOTA_OUT = 64 KiB | ||
83 | # WLAN | ||
84 | WLAN_QUOTA_IN = 1 MiB | ||
85 | WLAN_QUOTA_OUT = 1 MiB | ||
86 | # BLUETOOTH | ||
87 | BLUETOOTH_QUOTA_IN = 128 KiB | ||
88 | BLUETOOTH_QUOTA_OUT = 128 KiB | ||
89 | # ATS options | ||
90 | |||
91 | # Proportional specific settings | ||
92 | # How proportional to preferences is bandwidth distribution in a network | ||
93 | # 1.0: Fair with respect to addresses without preferences | ||
94 | # > 1.0: The bigger, the more respect is payed to preferences | ||
95 | PROP_PROPORTIONALITY_FACTOR = 2.00 | ||
96 | # Should we stick to existing connections are prefer to switch? | ||
97 | # [1.0...2.0], lower value prefers to switch, bigger value is more tolerant | ||
98 | PROP_STABILITY_FACTOR = 1.25 | ||
99 | |||
100 | # MLP specific settings | ||
101 | # MLP defaults | ||
102 | |||
103 | # Maximum duration for a solution process (both LP and MILP) | ||
104 | # MLP_MAX_DURATION = 3 s | ||
105 | # Maximum numbero of iterations for a solution process (only LP) | ||
106 | # MLP_MAX_ITERATIONS = | ||
107 | # Tolerated MIP Gap [0.0 .. 1.0], default 0.025 | ||
108 | MLP_MAX_MIP_GAP = 0.025 | ||
109 | # Tolerated LP/MIP Gap [0.0 .. 1.0], default 0.025 | ||
110 | MLP_MAX_LP_MIP_GAP = 0.025 | ||
111 | |||
112 | |||
113 | # Maximum number of iterations for a solution process | ||
114 | # MLP_MAX_ITERATIONS = 1024 | ||
115 | # MLP_COEFFICIENT_D = 1.0 | ||
116 | # MLP_COEFFICIENT_U = 1.0 | ||
117 | # MLP_COEFFICIENT_R = 1.0 | ||
118 | # MLP_MIN_BANDWIDTH = 1024 | ||
119 | # MLP_MIN_CONNECTIONS = 4 | ||
120 | |||
121 | # MLP Log settings | ||
122 | # Dump all problems to disk | ||
123 | # MLP_DUMP_PROBLEM_ALL = YES | ||
124 | # Dump all solution to disk | ||
125 | # MLP_DUMP_SOLUTION_ALL = YES | ||
126 | # Print GLPK output | ||
127 | # MLP_GLPK_VERBOSE = YES | ||
128 | |||
129 | # Dump all problems to disk | ||
130 | MLP_DUMP_PROBLEM_ON_FAIL = YES | ||
131 | # Dump all solution to disk | ||
132 | MLP_DUMP_SOLUTION_ON_FAIL = YES | ||
133 | |||
134 | # RIL specifc settings | ||
135 | RIL_STEP_TIME_MIN = 500 ms | ||
136 | RIL_STEP_TIME_MAX = 1000 ms | ||
137 | |||
138 | # SARSA or Q-LEARNING | ||
139 | RIL_ALGORITHM = Q-LEARNING | ||
140 | RIL_DISCOUNT_BETA = 0.7 | ||
141 | RIL_GRADIENT_STEP_SIZE = 0.3 | ||
142 | RIL_TRACE_DECAY = 0.2 | ||
143 | RIL_EXPLORE_RATIO = 0.1 | ||
144 | RIL_GLOBAL_REWARD_SHARE = 1 | ||
145 | [cadet] | ||
146 | FORCESTART = YES | ||
147 | AUTOSTART = YES | ||
148 | PORT = 12096 | ||
149 | HOSTNAME = localhost | ||
150 | BINARY = gnunet-service-cadet | ||
151 | # PREFIX = valgrind --leak-check=yes | ||
152 | ACCEPT_FROM = 127.0.0.1; | ||
153 | ACCEPT_FROM6 = ::1; | ||
154 | UNIXPATH = $GNUNET_HOME/gnunet-service-cadet.sock | ||
155 | UNIX_MATCH_UID = YES | ||
156 | UNIX_MATCH_GID = YES | ||
157 | |||
158 | |||
159 | # How often do we send KEEPALIVE messages on connections to keep them | ||
160 | # from timing out? | ||
161 | REFRESH_CONNECTION_TIME = 5 min | ||
162 | |||
163 | # Percentage of packets CADET is artificially dropping. Used for testing only! | ||
164 | # DROP_PERCENT = | ||
165 | |||
166 | # How frequently do we usually anounce our presence in the DHT? | ||
167 | ID_ANNOUNCE_TIME = 1 h | ||
168 | |||
169 | # FIXME: document | ||
170 | CONNECT_TIMEOUT = 30 s | ||
171 | |||
172 | # What is the replication level we give to the DHT when announcing our | ||
173 | # existence? Usually there is no need to change this. | ||
174 | DHT_REPLICATION_LEVEL = 3 | ||
175 | |||
176 | # FIXME: not implemented | ||
177 | # MAX_TUNNELS = 1000 | ||
178 | |||
179 | # FIXME: not implemented, replaced by MAX_ROUTES in NEW CADET! | ||
180 | MAX_CONNECTIONS = 1000 | ||
181 | |||
182 | # How many routes do we participate in at most? Should be smaller | ||
183 | # than MAX_MSGS_QUEUE | ||
184 | MAX_ROUTES = 5000 | ||
185 | |||
186 | # FIXME: not implemented | ||
187 | MAX_MSGS_QUEUE = 10000 | ||
188 | |||
189 | # FIXME: not implemented | ||
190 | MAX_PEERS = 1000 | ||
191 | |||
192 | # How often do we advance the ratchet even if there is not | ||
193 | # any traffic? | ||
194 | RATCHET_TIME = 1 h | ||
195 | |||
196 | # How often do we advance the ratched if there is traffic? | ||
197 | RATCHET_MESSAGES = 64 | ||
198 | [consensus] | ||
199 | AUTOSTART = YES | ||
200 | PORT = 12103 | ||
201 | HOSTNAME = localhost | ||
202 | BINARY = gnunet-service-consensus | ||
203 | ACCEPT_FROM = 127.0.0.1; | ||
204 | ACCEPT_FROM6 = ::1; | ||
205 | UNIXPATH = $GNUNET_HOME/gnunet-service-consensus.sock | ||
206 | UNIX_MATCH_UID = YES | ||
207 | UNIX_MATCH_GID = YES | ||
208 | [core] | ||
209 | AUTOSTART = YES | ||
210 | PORT = 12092 | ||
211 | HOSTNAME = localhost | ||
212 | BINARY = gnunet-service-core | ||
213 | ACCEPT_FROM = 127.0.0.1; | ||
214 | ACCEPT_FROM6 = ::1; | ||
215 | UNIXPATH = $GNUNET_HOME/gnunet-service-core.sock | ||
216 | UNIX_MATCH_UID = NO | ||
217 | UNIX_MATCH_GID = YES | ||
218 | # DISABLE_SOCKET_FORWARDING = NO | ||
219 | # USERNAME = | ||
220 | # MAXBUF = | ||
221 | # TIMEOUT = | ||
222 | # DISABLEV6 = | ||
223 | # BINDTO = | ||
224 | # REJECT_FROM = | ||
225 | # REJECT_FROM6 = | ||
226 | # PREFIX = | ||
227 | |||
228 | # Note: this MUST be set to YES in production, only set to NO for testing | ||
229 | # for performance (testbed/cluster-scale use!). | ||
230 | USE_EPHEMERAL_KEYS = YES | ||
231 | [datacache-postgres] | ||
232 | CONFIG = connect_timeout=10; dbname=gnunet | ||
233 | [datastore] | ||
234 | AUTOSTART = YES | ||
235 | UNIXPATH = $GNUNET_HOME/gnunet-service-datastore.sock | ||
236 | UNIX_MATCH_UID = NO | ||
237 | UNIX_MATCH_GID = YES | ||
238 | PORT = 2093 | ||
239 | HOSTNAME = localhost | ||
240 | BINARY = gnunet-service-datastore | ||
241 | ACCEPT_FROM = 127.0.0.1; | ||
242 | ACCEPT_FROM6 = ::1; | ||
243 | QUOTA = 5 GB | ||
244 | BLOOMFILTER = $GNUNET_DATA_HOME/datastore/bloomfilter | ||
245 | DATABASE = sqlite | ||
246 | # DISABLE_SOCKET_FORWARDING = NO | ||
247 | |||
248 | [datastore-sqlite] | ||
249 | FILENAME = $GNUNET_DATA_HOME/datastore/sqlite.db | ||
250 | |||
251 | [datastore-postgres] | ||
252 | CONFIG = connect_timeout=10; dbname=gnunet | ||
253 | |||
254 | [datastore-mysql] | ||
255 | DATABASE = gnunet | ||
256 | CONFIG = ~/.my.cnf | ||
257 | # USER = gnunet | ||
258 | # PASSWORD = | ||
259 | # HOST = localhost | ||
260 | PORT = 3306 | ||
261 | |||
262 | |||
263 | [datastore-heap] | ||
264 | HASHMAPSIZE = 1024 | ||
265 | [dht] | ||
266 | FORCESTART = YES | ||
267 | AUTOSTART = YES | ||
268 | PORT = 12095 | ||
269 | HOSTNAME = localhost | ||
270 | BINARY = gnunet-service-dht | ||
271 | ACCEPT_FROM = 127.0.0.1; | ||
272 | ACCEPT_FROM6 = ::1; | ||
273 | BUCKET_SIZE = 4 | ||
274 | UNIXPATH = $GNUNET_HOME/gnunet-service-dht.sock | ||
275 | UNIX_MATCH_UID = NO | ||
276 | UNIX_MATCH_GID = YES | ||
277 | # DISABLE_SOCKET_FORWARDING = NO | ||
278 | # USERNAME = | ||
279 | # MAXBUF = | ||
280 | # TIMEOUT = | ||
281 | # DISABLEV6 = | ||
282 | # BINDTO = | ||
283 | # REJECT_FROM = | ||
284 | # REJECT_FROM6 = | ||
285 | # PREFIX = | ||
286 | |||
287 | # Should the DHT cache results that we are routing in the DATACACHE as well? | ||
288 | CACHE_RESULTS = YES | ||
289 | |||
290 | # Special option to disable DHT calling 'try_connect' (for testing) | ||
291 | DISABLE_TRY_CONNECT = NO | ||
292 | |||
293 | |||
294 | [dhtcache] | ||
295 | DATABASE = heap | ||
296 | QUOTA = 50 MB | ||
297 | |||
298 | # Disable RC-file for Bloom filter? (for benchmarking with limited IO availability) | ||
299 | DISABLE_BF_RC = NO | ||
300 | [dns] | ||
301 | AUTOSTART = YES | ||
302 | HOSTNAME = localhost | ||
303 | BINARY = gnunet-service-dns | ||
304 | UNIXPATH = $GNUNET_HOME/gnunet-service-dns.sock | ||
305 | PORT = 2122 | ||
306 | # Access to this service can compromise all DNS queries in this | ||
307 | # system. Thus access should be restricted to the same UID. | ||
308 | # (see https://gnunet.org/gnunet-access-control-model) | ||
309 | UNIX_MATCH_UID = YES | ||
310 | UNIX_MATCH_GID = YES | ||
311 | |||
312 | # As there is no sufficiently restrictive access control for TCP, | ||
313 | # we never use it, even if # is not set (just to be safe) | ||
314 | PORT = 0 | ||
315 | |||
316 | # Name of the virtual interface we use to intercept DNS traffic. | ||
317 | IFNAME = gnunet-dns | ||
318 | |||
319 | # Use RFC 3849-style documentation IPv6 address (RFC 4773 might provide an alternative in the future) | ||
320 | # FIXME: or just default to a site-local address scope as we do for VPN!? | ||
321 | IPV6ADDR = 2001:DB8::1 | ||
322 | IPV6PREFIX = 126 | ||
323 | |||
324 | # Use RFC 3927-style link-local address | ||
325 | IPV4ADDR = 169.254.1.1 | ||
326 | IPV4MASK = 255.255.0.0 | ||
327 | |||
328 | # Enable GNUnet-wide DNS-EXIT service by setting this value to the IP address (IPv4 or IPv6) | ||
329 | # of a DNS resolver to use. Only works if "PROVIDE_EXIT" is also set to YES. Must absolutely | ||
330 | # NOT be an address of any of GNUnet's virtual tunnel interfaces. Use a well-known | ||
331 | # public DNS resolver or your ISP's resolver from /etc/resolv.conf. | ||
332 | DNS_EXIT = 8.8.8.8 | ||
333 | |||
334 | [exit] | ||
335 | BINARY = gnunet-daemon-exit | ||
336 | |||
337 | # IPv6 address for the TUN interface (must be changed as this | ||
338 | # must be within the global IPv6 range of your system!) | ||
339 | IPV6ADDR = 2001:DB8::1 | ||
340 | |||
341 | # Prefix for our IPv6 subnet on the TUN interface. | ||
342 | IPV6PREFIX = 64 | ||
343 | |||
344 | # IPv4 address to use on our TUN interface (may need to be | ||
345 | # changed to avoid conflicts with existing addresses on your system). | ||
346 | # Use RFC 3927-style link-local address | ||
347 | IPV4ADDR = 169.254.86.1 | ||
348 | |||
349 | # Netmask for the IPv4 subnet on the TUN interface. | ||
350 | IPV4MASK = 255.255.255.0 | ||
351 | |||
352 | # IPv4 networks to which we are allowed to exit. | ||
353 | # The format is "(network[/netmask][:[!]SPORT-DPORT];)*" | ||
354 | EXIT_RANGE_IPV4_POLICY = 0.0.0.0/0:!25; | ||
355 | |||
356 | # IPv6 networks to which we are allowed to exit. | ||
357 | # The format is "(network[/netmask][:[!]SPORT-DPORT];)*" | ||
358 | EXIT_RANGE_IPV6_POLICY = ::/0:!25; | ||
359 | |||
360 | # Not a service, tell ARM no binding! | ||
361 | NOARMBIND = YES | ||
362 | |||
363 | # Name of the (virtual) tunnel interface the exit daemon will manage | ||
364 | TUN_IFNAME = exit-gnunet | ||
365 | |||
366 | # Name of the "real" interface that IPv4 traffic from this system will | ||
367 | # leave from; this is the name of the interface where we need to | ||
368 | # enable NAT on postrouting (typically something like 'eth0' or 'eth1' | ||
369 | # or 'wlan0'). Not needed if EXIT_IPv4 is disabled AND if all | ||
370 | # offered services run on 'localhost'. In this case, the value | ||
371 | # of the option can instead be set to "%" (to not enable NAT on any | ||
372 | # interface). | ||
373 | EXIT_IFNAME = eth0 | ||
374 | |||
375 | # Set this to YES to allow exiting this system via IPv4 to the Internet | ||
376 | EXIT_IPV4 = NO | ||
377 | |||
378 | # Set this to YES to allow exiting this system via IPv6 to the Internet | ||
379 | EXIT_IPV6 = NO | ||
380 | |||
381 | # This option should be set to YES to allow the DNS service to | ||
382 | # perform lookups against the locally configured DNS resolver. | ||
383 | # (set to "NO" if no normal ISP is locally available and thus | ||
384 | # requests for normal ".com"/".org"/etc. must be routed via | ||
385 | # the GNUnet VPN (the GNUNET PT daemon then needs to be configured | ||
386 | # to intercept and route DNS queries via cadet). | ||
387 | # Set this to YES to allow using this system for DNS queries. | ||
388 | EXIT_DNS = NO | ||
389 | |||
390 | # Set this to an IPv4 or IPv6 address of a DNS resolver to use for DNS queries | ||
391 | DNS_RESOLVER = 8.8.8.8 | ||
392 | |||
393 | # For IPv4-services offered by this peer, we need to at least enable IPv4 | ||
394 | ENABLE_IPV4 = YES | ||
395 | |||
396 | # For IPv6-services offered by this peer, we need to at least enable IPv6 | ||
397 | ENABLE_IPV6 = YES | ||
398 | |||
399 | |||
400 | # Maximum number of concurrent connections this exit supports. | ||
401 | MAX_CONNECTIONS = 256 | ||
402 | [fs] | ||
403 | AUTOSTART = YES | ||
404 | FORCESTART = YES | ||
405 | INDEXDB = $GNUNET_DATA_HOME/fs/idxinfo.lst | ||
406 | RESPECT = $GNUNET_DATA_HOME/fs/credit/ | ||
407 | STATE_DIR = $GNUNET_DATA_HOME/fs/persistence/ | ||
408 | UPDATE_DIR = $GNUNET_DATA_HOME/fs/updates/ | ||
409 | PORT = 2094 | ||
410 | HOSTNAME = localhost | ||
411 | BINARY = gnunet-service-fs | ||
412 | ACCEPT_FROM = 127.0.0.1; | ||
413 | ACCEPT_FROM6 = ::1; | ||
414 | |||
415 | # Do we introduce artificial delays? (may improve anonymity) | ||
416 | DELAY = YES | ||
417 | |||
418 | # Do we cache content from other nodes? (may improve anonymity) | ||
419 | CONTENT_CACHING = YES | ||
420 | |||
421 | # Do we send unsolicited data to other nodes if we have excess bandwidth? | ||
422 | # (may improve anonymity, probably not a good idea if content_caching is NO) | ||
423 | CONTENT_PUSHING = YES | ||
424 | |||
425 | UNIXPATH = $GNUNET_HOME/gnunet-service-fs.sock | ||
426 | |||
427 | # Do we require users that want to access file-sharing to run this process | ||
428 | # (usually not a good idea) | ||
429 | UNIX_MATCH_UID = NO | ||
430 | |||
431 | # Do we require users that want to access file-sharing to be in the 'gnunet' group? | ||
432 | UNIX_MATCH_GID = YES | ||
433 | |||
434 | # Maximum number of requests this peer tracks (important for | ||
435 | # memory consumption; 2k RAM/request is not unusual) | ||
436 | MAX_PENDING_REQUESTS = 65536 | ||
437 | |||
438 | # How many requests do we have at most waiting in the queue towards | ||
439 | # the datastore? (important for memory consumption) | ||
440 | DATASTORE_QUEUE_SIZE = 32 | ||
441 | |||
442 | # Maximum frequency we're allowed to poll the datastore | ||
443 | # for content for migration (can be used to reduce | ||
444 | # GNUnet's disk-IO rate) | ||
445 | MIN_MIGRATION_DELAY = 100 ms | ||
446 | |||
447 | # For how many neighbouring peers should we allocate hash maps? | ||
448 | EXPECTED_NEIGHBOUR_COUNT = 128 | ||
449 | |||
450 | # Disable anonymous file-sharing (but keep non-anonymous transfers)? | ||
451 | # This option is mostly for testing. | ||
452 | DISABLE_ANON_TRANSFER = NO | ||
453 | |||
454 | # Maximum number of non-anonymous transfers this peer will support | ||
455 | # at the same time. Excessive values mostly have the problem that | ||
456 | # the service might use more memory, so we need to bound this at | ||
457 | # some reasonable level. And if we have a very, very large | ||
458 | # number, we probably won't have enough bandwidth to support them | ||
459 | # well anyway, so better have a moderate cap. | ||
460 | MAX_CADET_CLIENTS = 128 | ||
461 | |||
462 | |||
463 | [gnunet-auto-share] | ||
464 | BINARY = gnunet-auto-share | ||
465 | FORCESTART = NO | ||
466 | |||
467 | # Note: MUST specify path to auto-share directory and CAN specify other options | ||
468 | # to gnunet-auto-share here! | ||
469 | OPTIONS = $GNUNET_DATA_HOME/fs/share/ | ||
470 | [gns] | ||
471 | AUTOSTART = YES | ||
472 | FORCESTART = YES | ||
473 | HOSTNAME = localhost | ||
474 | BINARY = gnunet-service-gns | ||
475 | UNIXPATH = $GNUNET_USER_RUNTIME_DIR/gnunet-service-gns.sock | ||
476 | PORT = 12102 | ||
477 | |||
478 | # Do we require users that want to access GNS to run this process | ||
479 | # (usually not a good idea) | ||
480 | UNIX_MATCH_UID = NO | ||
481 | |||
482 | # Do we require users that want to access GNS to be in the 'gnunet' group? | ||
483 | UNIX_MATCH_GID = YES | ||
484 | |||
485 | # How many queries is GNS allowed to perform in the background at the same time? | ||
486 | MAX_PARALLEL_BACKGROUND_QUERIES = 1000 | ||
487 | |||
488 | # Using caching or always ask DHT | ||
489 | # USE_CACHE = YES | ||
490 | |||
491 | # PREFIX = valgrind --leak-check=full --track-origins=yes | ||
492 | |||
493 | |||
494 | [gns-proxy] | ||
495 | BINARY = gnunet-gns-proxy | ||
496 | AUTOSTART = NO | ||
497 | USER_SERVICE = YES | ||
498 | |||
499 | # Where is the certificate for the GNS proxy stored? | ||
500 | PROXY_CACERT = $GNUNET_DATA_HOME/gns/gns_ca_cert.pem | ||
501 | PROXY_UNIXPATH = $GNUNET_HOME/gnunet-gns-proxy.sock | ||
502 | |||
503 | |||
504 | [dns2gns] | ||
505 | BINARY = gnunet-dns2gns | ||
506 | AUTOSTART = NO | ||
507 | USER_SERVICE = YES | ||
508 | |||
509 | # -d: DNS resolver to use, -s: suffix to use, -f: fcfs suffix to use | ||
510 | OPTIONS = -d 8.8.8.8 | ||
511 | [gnunet-fs-gtk] | ||
512 | MAX_PARALLEL_DOWNLOADS = 128 | ||
513 | MAX_PARALLEL_REQUESTS = 100000 | ||
514 | # DEFAULT_DOWNLOAD_DIRECTORY = "~/Documents/Downloads" | ||
515 | DEFAULT_DOWNLOAD_DIRECTORY = "~/Downloads" | ||
516 | MAKE_UPDATEABLE_PUBLICATIONS_BY_DEFAULT = YES | ||
517 | MAKE_NAMESPACE_PUBLICATIONS_BY_DEFAULT = NO | ||
518 | MAKE_GLOBAL_PUBLICATIONS_BY_DEFAULT = YES | ||
519 | |||
520 | [uri] | ||
521 | fs = gnunet-fs-gtk | ||
522 | [gnunet-namestore-gtk] | ||
523 | NICK_EXPIRATION = 1 week | ||
524 | |||
525 | [hostlist] | ||
526 | FORCESTART = YES | ||
527 | NOARMBIND = YES | ||
528 | BINARY = gnunet-daemon-hostlist | ||
529 | |||
530 | # port for hostlist http server | ||
531 | HTTPPORT = 8080 | ||
532 | |||
533 | # External DNS name other peers should use to access this hostlist | ||
534 | # EXTERNAL_DNS_NAME = | ||
535 | |||
536 | # Where do we store URLs of other hostlists we have learned? | ||
537 | HOSTLISTFILE = $GNUNET_CONFIG_HOME/hostlist/learned.txt | ||
538 | |||
539 | # Options: | ||
540 | # -p : provide a hostlist as a hostlist servers | ||
541 | # -b : bootstrap using configured hostlist servers | ||
542 | # -e : enable learning advertised hostlists | ||
543 | # -a : advertise hostlist to other servers | ||
544 | OPTIONS = -b | ||
545 | |||
546 | # Default list of hostlist servers for bootstrapping | ||
547 | SERVERS = http://v10.gnunet.org/hostlist https://gnunet.io/hostlist | ||
548 | # http://silent.0xdeadc0de.eu:8080/ | ||
549 | |||
550 | # bind hostlist http server to a specific IPv4 | ||
551 | # BINDTOIPV4 = | ||
552 | |||
553 | # bind hostlist http server to a specific IPv6 | ||
554 | # BINDTOIPV6 = | ||
555 | |||
556 | # Hostname or IP of proxy server for downloading hostlists | ||
557 | # PROXY = | ||
558 | |||
559 | # User name for proxy server | ||
560 | # PROXY_USERNAME = | ||
561 | # User password for proxy server | ||
562 | # PROXY_PASSWORD = | ||
563 | |||
564 | # Type of proxy server, | ||
565 | # Valid values: HTTP, HTTP_1_0, SOCKS4, SOCKS5, SOCKS4A, SOCKS5_HOSTNAME | ||
566 | # Default: HTTP | ||
567 | # PROXY_TYPE = HTTP | ||
568 | [identity] | ||
569 | AUTOSTART = YES | ||
570 | USER_SERVICE = YES | ||
571 | PORT = 12108 | ||
572 | HOSTNAME = localhost | ||
573 | BINARY = gnunet-service-identity | ||
574 | ACCEPT_FROM = 127.0.0.1; | ||
575 | ACCEPT_FROM6 = ::1; | ||
576 | UNIXPATH = $GNUNET_USER_RUNTIME_DIR/gnunet-service-identity.sock | ||
577 | UNIX_MATCH_UID = NO | ||
578 | UNIX_MATCH_GID = YES | ||
579 | |||
580 | # Directory where we store information about our egos | ||
581 | EGODIR = $GNUNET_DATA_HOME/identity/egos/ | ||
582 | |||
583 | # File where we store default identities for subsystems | ||
584 | SUBSYSTEM_CFG = $GNUNET_CONFIG_HOME/identity/subsystem_defaults.conf | ||
585 | [multicast] | ||
586 | AUTOSTART = YES | ||
587 | BINARY = gnunet-service-multicast | ||
588 | |||
589 | UNIXPATH = $GNUNET_HOME/gnunet-service-multicast.sock | ||
590 | UNIX_MATCH_UID = YES | ||
591 | UNIX_MATCH_GID = YES | ||
592 | |||
593 | PORT = 12109 | ||
594 | HOSTNAME = localhost | ||
595 | ACCEPT_FROM = 127.0.0.1; | ||
596 | ACCEPT_FROM6 = ::1; | ||
597 | |||
598 | # DISABLE_SOCKET_FORWARDING = NO | ||
599 | # USERNAME = | ||
600 | # MAXBUF = | ||
601 | # TIMEOUT = | ||
602 | # DISABLEV6 = | ||
603 | # BINDTO = | ||
604 | # REJECT_FROM = | ||
605 | # REJECT_FROM6 = | ||
606 | # PREFIX = | ||
607 | [namecache] | ||
608 | AUTOSTART = YES | ||
609 | USER_SERVICE = NO | ||
610 | UNIXPATH = $GNUNET_HOME/gnunet-service-namecache.sock | ||
611 | UNIX_MATCH_UID = NO | ||
612 | UNIX_MATCH_GID = YES | ||
613 | PORT = 2113 | ||
614 | HOSTNAME = localhost | ||
615 | BINARY = gnunet-service-namecache | ||
616 | ACCEPT_FROM = 127.0.0.1; | ||
617 | ACCEPT_FROM6 = ::1; | ||
618 | DATABASE = sqlite | ||
619 | |||
620 | [namecache-sqlite] | ||
621 | FILENAME = $GNUNET_DATA_HOME/namecache/sqlite.db | ||
622 | |||
623 | [namecache-flat] | ||
624 | FILENAME = $GNUNET_DATA_HOME/namecache/flat.db | ||
625 | |||
626 | [namecache-postgres] | ||
627 | CONFIG = connect_timeout=10; dbname=gnunet | ||
628 | TEMPORARY_TABLE = NO | ||
629 | |||
630 | |||
631 | |||
632 | [namestore] | ||
633 | AUTOSTART = YES | ||
634 | USER_SERVICE = YES | ||
635 | UNIXPATH = $GNUNET_USER_RUNTIME_DIR/gnunet-service-namestore.sock | ||
636 | UNIX_MATCH_UID = NO | ||
637 | UNIX_MATCH_GID = YES | ||
638 | PORT = 2099 | ||
639 | HOSTNAME = localhost | ||
640 | BINARY = gnunet-service-namestore | ||
641 | ACCEPT_FROM = 127.0.0.1; | ||
642 | ACCEPT_FROM6 = ::1; | ||
643 | DATABASE = sqlite | ||
644 | |||
645 | [namestore-sqlite] | ||
646 | FILENAME = $GNUNET_DATA_HOME/namestore/sqlite.db | ||
647 | |||
648 | [namestore-flat] | ||
649 | FILENAME = $GNUNET_DATA_HOME/namestore/flat.db | ||
650 | |||
651 | |||
652 | [namestore-postgres] | ||
653 | CONFIG = connect_timeout=10; dbname=gnunet | ||
654 | TEMPORARY_TABLE = NO | ||
655 | |||
656 | [uri] | ||
657 | gns = gnunet-namestore | ||
658 | |||
659 | |||
660 | [fcfsd] | ||
661 | # Name of the fcfs registration service binary (for ARM) | ||
662 | BINARY = gnunet-namestore-fcfsd | ||
663 | AUTOSTART = NO | ||
664 | UNIXPATH = $GNUNET_HOME/gnunet-service-fcfsd.sock | ||
665 | |||
666 | # On what port does the FCFS daemon listen for HTTP clients? | ||
667 | HTTPPORT = 18080 | ||
668 | |||
669 | |||
670 | [nat-auto] | ||
671 | AUTOSTART = YES | ||
672 | PORT = 2124 | ||
673 | HOSTNAME = localhost | ||
674 | BINARY = gnunet-service-nat-auto | ||
675 | ACCEPT_FROM = 127.0.0.1; | ||
676 | ACCEPT_FROM6 = ::1; | ||
677 | UNIXPATH = $GNUNET_HOME/gnunet-service-nat-auto.sock | ||
678 | UNIX_MATCH_UID = YES | ||
679 | UNIX_MATCH_GID = YES | ||
680 | |||
681 | [gnunet-nat-server] | ||
682 | HOSTNAME = gnunet.org | ||
683 | PORT = 5724 | ||
684 | NOARMBIND = YES | ||
685 | [nat] | ||
686 | AUTOSTART = YES | ||
687 | PORT = 2121 | ||
688 | HOSTNAME = localhost | ||
689 | BINARY = gnunet-service-nat | ||
690 | ACCEPT_FROM = 127.0.0.1; | ||
691 | ACCEPT_FROM6 = ::1; | ||
692 | UNIXPATH = $GNUNET_HOME/gnunet-service-nat.sock | ||
693 | UNIX_MATCH_UID = YES | ||
694 | UNIX_MATCH_GID = YES | ||
695 | |||
696 | # Enable UPNP by default? | ||
697 | ENABLE_UPNP = YES | ||
698 | |||
699 | # Disable IPv6 support | ||
700 | # FIXME: move entirely to transport plugins! | ||
701 | DISABLEV6 = NO | ||
702 | |||
703 | # How often do we query the DNS resolver | ||
704 | # for our hostname (to get our own IP) | ||
705 | HOSTNAME_DNS_FREQUENCY = 20 min | ||
706 | |||
707 | # How often do we iterate over our | ||
708 | # network interfaces to check for changes | ||
709 | # in our IP address? | ||
710 | IFC_SCAN_FREQUENCY = 15 min | ||
711 | |||
712 | # How often do we query the DNS resolver | ||
713 | # for our hostname (to get our own IP) | ||
714 | DYNDNS_FREQUENCY = 7 min | ||
715 | |||
716 | # SHOULD USE STUN ? | ||
717 | USE_STUN = YES | ||
718 | STUN_FREQUENCY = 5 min | ||
719 | # Default list of stun servers | ||
720 | STUN_SERVERS = stun.gnunet.org stun.services.mozilla.com:3478 stun.ekiga.net:3478 | ||
721 | |||
722 | # After how long do we consider STUN data stale? | ||
723 | STUN_STALE = 60 min | ||
724 | |||
725 | [nse] | ||
726 | AUTOSTART = YES | ||
727 | FORCESTART = YES | ||
728 | PORT = 12097 | ||
729 | HOSTNAME = localhost | ||
730 | BINARY = gnunet-service-nse | ||
731 | ACCEPT_FROM = 127.0.0.1; | ||
732 | ACCEPT_FROM6 = ::1; | ||
733 | UNIXPATH = $GNUNET_HOME/gnunet-service-nse.sock | ||
734 | UNIX_MATCH_UID = NO | ||
735 | UNIX_MATCH_GID = YES | ||
736 | PROOFFILE = $GNUNET_DATA_HOME/nse/proof.dat | ||
737 | |||
738 | # The directory where the NSE services logs timestamps everytime | ||
739 | # a size estime flooding message is received | ||
740 | # This option is only used for benchmarking, not in production. | ||
741 | HISTOGRAM_DIR = $GNUNET_CACHE_HOME/nse/histogram | ||
742 | |||
743 | # How 'slowly' should the proof-of-work be constructed (delay | ||
744 | # between rounds); sane values between 0 and ~1000. | ||
745 | # It should rarely make sense to change this value. | ||
746 | # Only systems with slow CPUs where 5ms is a long time might | ||
747 | # want it to be reduced. | ||
748 | WORKDELAY = 5 ms | ||
749 | |||
750 | # Note: changing any of the values below will make this peer | ||
751 | # completely incompatible with other peers! | ||
752 | |||
753 | # How often do peers exchange network size messages? | ||
754 | # Note that all peers MUST use the same interval. | ||
755 | # DO NOT CHANGE THIS VALUE, doing so will break the protocol! | ||
756 | INTERVAL = 1 h | ||
757 | |||
758 | # 2^22 hash operations take about 2-3h on a modern i7 (single-core) | ||
759 | # for SCRYPT; with 2ms/op and 5ms workdelay, we can expect | ||
760 | # the POW calculation to be done by a high-end peer in about 6h | ||
761 | # DO NOT CHANGE THIS VALUE, doing so will break the protocol! | ||
762 | WORKBITS = 22 | ||
763 | |||
764 | [peerinfo] | ||
765 | AUTOSTART = YES | ||
766 | PORT = 12090 | ||
767 | HOSTNAME = localhost | ||
768 | BINARY = gnunet-service-peerinfo | ||
769 | ACCEPT_FROM = 127.0.0.1; | ||
770 | ACCEPT_FROM6 = ::1; | ||
771 | UNIXPATH = $GNUNET_HOME/gnunet-service-peerinfo.sock | ||
772 | UNIX_MATCH_UID = NO | ||
773 | UNIX_MATCH_GID = YES | ||
774 | # DISABLE_SOCKET_FORWARDING = NO | ||
775 | # USERNAME = | ||
776 | # MAXBUF = | ||
777 | # TIMEOUT = | ||
778 | # DISABLEV6 = | ||
779 | # BINDTO = | ||
780 | # REJECT_FROM = | ||
781 | # REJECT_FROM6 = | ||
782 | # PREFIX = | ||
783 | HOSTS = $GNUNET_DATA_HOME/peerinfo/hosts/ | ||
784 | |||
785 | # Option to disable all disk IO; only useful for testbed runs | ||
786 | # (large-scale experiments); disables persistence of HELLOs! | ||
787 | NO_IO = NO | ||
788 | |||
789 | # Load HELLOs shipped with GNUnet | ||
790 | USE_INCLUDED_HELLOS = YES | ||
791 | |||
792 | [uri] | ||
793 | hello = gnunet-peerinfo | ||
794 | friend-hello = gnunet-peerinfo | ||
795 | [peerstore] | ||
796 | AUTOSTART = YES | ||
797 | PORT = 12110 | ||
798 | HOSTNAME = localhost | ||
799 | BINARY = gnunet-service-peerstore | ||
800 | UNIXPATH = $GNUNET_HOME/gnunet-service-peerstore.sock | ||
801 | UNIX_MATCH_UID = NO | ||
802 | UNIX_MATCH_GID = YES | ||
803 | DATABASE = sqlite | ||
804 | |||
805 | [peerstore-sqlite] | ||
806 | FILENAME = $GNUNET_DATA_HOME/peerstore/sqlite.db | ||
807 | |||
808 | [psyc] | ||
809 | AUTOSTART = YES | ||
810 | BINARY = gnunet-service-psyc | ||
811 | |||
812 | UNIXPATH = $GNUNET_HOME/gnunet-service-psyc.sock | ||
813 | UNIX_MATCH_UID = YES | ||
814 | UNIX_MATCH_GID = YES | ||
815 | |||
816 | PORT = 12115 | ||
817 | HOSTNAME = localhost | ||
818 | ACCEPT_FROM = 127.0.0.1; | ||
819 | ACCEPT_FROM6 = ::1; | ||
820 | [psycstore] | ||
821 | AUTOSTART = YES | ||
822 | BINARY = gnunet-service-psycstore | ||
823 | |||
824 | UNIXPATH = $GNUNET_HOME/gnunet-service-psycstore.sock | ||
825 | UNIX_MATCH_UID = YES | ||
826 | UNIX_MATCH_GID = YES | ||
827 | |||
828 | PORT = 12111 | ||
829 | HOSTNAME = localhost | ||
830 | ACCEPT_FROM = 127.0.0.1; | ||
831 | ACCEPT_FROM6 = ::1; | ||
832 | |||
833 | DATABASE = sqlite | ||
834 | |||
835 | [psycstore-sqlite] | ||
836 | FILENAME = $GNUNET_DATA_HOME/psycstore/sqlite.db | ||
837 | |||
838 | [psycstore-mysql] | ||
839 | DATABASE = gnunet | ||
840 | CONFIG = ~/.my.cnf | ||
841 | # USER = gnunet | ||
842 | # PASSWORD = | ||
843 | # HOST = localhost | ||
844 | PORT = 3306 | ||
845 | |||
846 | [psycstore-postgres] | ||
847 | CONFIG = connect_timeout=10; dbname=gnunet | ||
848 | [pt] | ||
849 | BINARY = gnunet-daemon-pt | ||
850 | NOARMBIND = YES | ||
851 | |||
852 | # Set this to YES to tunnel IPv4 traffic over GNUnet | ||
853 | TUNNEL_IPV4 = NO | ||
854 | |||
855 | # Set this to YES to tunnel IPv6 traffic over GNUnet | ||
856 | TUNNEL_IPV6 = NO | ||
857 | |||
858 | # Set this to YES to tunnel DNS traffic over GNUnet | ||
859 | TUNNEL_DNS = NO | ||
860 | [regex] | ||
861 | AUTOSTART = YES | ||
862 | PORT = 2107 | ||
863 | UNIXPATH = $GNUNET_HOME/gnunet-service-regex.sock | ||
864 | HOSTNAME = localhost | ||
865 | BINARY = gnunet-service-regex | ||
866 | ACCEPT_FROM = 127.0.0.1; | ||
867 | ACCEPT_FROM6 = ::1; | ||
868 | [resolver] | ||
869 | AUTOSTART = YES | ||
870 | PORT = 12089 | ||
871 | HOSTNAME = localhost | ||
872 | BINARY = gnunet-service-resolver | ||
873 | ACCEPT_FROM = 127.0.0.1; | ||
874 | ACCEPT_FROM6 = ::1; | ||
875 | UNIXPATH = $GNUNET_HOME/gnunet-service-resolver.sock | ||
876 | UNIX_MATCH_UID = NO | ||
877 | UNIX_MATCH_GID = NO | ||
878 | # DISABLE_SOCKET_FORWARDING = NO | ||
879 | # USERNAME = | ||
880 | # MAXBUF = | ||
881 | # TIMEOUT = | ||
882 | # DISABLEV6 = | ||
883 | # BINDTO = | ||
884 | # REJECT_FROM = | ||
885 | # REJECT_FROM6 = | ||
886 | # PREFIX = | ||
887 | |||
888 | [revocation] | ||
889 | AUTOSTART = YES | ||
890 | FORCESTART = YES | ||
891 | PORT = 12112 | ||
892 | HOSTNAME = localhost | ||
893 | BINARY = gnunet-service-revocation | ||
894 | ACCEPT_FROM = 127.0.0.1; | ||
895 | ACCEPT_FROM6 = ::1; | ||
896 | UNIXPATH = $GNUNET_HOME/gnunet-service-revocation.sock | ||
897 | UNIX_MATCH_UID = NO | ||
898 | UNIX_MATCH_GID = YES | ||
899 | |||
900 | # 2^25 hash operations take about 16-24h on a modern i7 | ||
901 | # (using only a single-core) with SCRYPT. | ||
902 | # DO NOT CHANGE THIS VALUE, doing so will break the protocol! | ||
903 | WORKBITS = 25 | ||
904 | |||
905 | DATABASE = $GNUNET_DATA_HOME/revocation.dat | ||
906 | [scalarproduct-alice] | ||
907 | AUTOSTART = YES | ||
908 | BINARY = gnunet-service-scalarproduct-ecc-alice | ||
909 | UNIXPATH = $GNUNET_HOME/gnunet-service-scalarproduct-alice.sock | ||
910 | PORT = 2117 | ||
911 | #ACCEPT_FROM = 127.0.0.1; | ||
912 | #ACCEPT_FROM6 = ::1; | ||
913 | UNIX_MATCH_UID = NO | ||
914 | UNIX_MATCH_GID = YES | ||
915 | #OPTIONS = -L DEBUG | ||
916 | #PREFIX = valgrind | ||
917 | |||
918 | |||
919 | [scalarproduct-bob] | ||
920 | AUTOSTART = YES | ||
921 | HOSTNAME = localhost | ||
922 | BINARY = gnunet-service-scalarproduct-ecc-bob | ||
923 | UNIXPATH = $GNUNET_HOME/gnunet-service-scalarproduct-bob.sock | ||
924 | PORT = 2118 | ||
925 | |||
926 | #ACCEPT_FROM = 127.0.0.1; | ||
927 | #ACCEPT_FROM6 = ::1; | ||
928 | UNIX_MATCH_UID = NO | ||
929 | UNIX_MATCH_GID = YES | ||
930 | #OPTIONS = -L DEBUG | ||
931 | |||
932 | #PREFIX = valgrind | ||
933 | [secretsharing] | ||
934 | AUTOSTART = NO | ||
935 | PORT = 12114 | ||
936 | HOSTNAME = localhost | ||
937 | BINARY = gnunet-service-secretsharing | ||
938 | ACCEPT_FROM = 127.0.0.1; | ||
939 | ACCEPT_FROM6 = ::1; | ||
940 | UNIXPATH = $GNUNET_HOME/gnunet-service-secretsharing.sock | ||
941 | UNIX_MATCH_UID = YES | ||
942 | UNIX_MATCH_GID = YES | ||
943 | # DISABLE_SOCKET_FORWARDING = NO | ||
944 | # USERNAME = | ||
945 | # MAXBUF = | ||
946 | # TIMEOUT = | ||
947 | # DISABLEV6 = | ||
948 | # BINDTO = | ||
949 | # REJECT_FROM = | ||
950 | # REJECT_FROM6 = | ||
951 | # PREFIX = | ||
952 | [set] | ||
953 | AUTOSTART = YES | ||
954 | PORT = 12106 | ||
955 | HOSTNAME = localhost | ||
956 | BINARY = gnunet-service-set | ||
957 | ACCEPT_FROM = 127.0.0.1; | ||
958 | ACCEPT_FROM6 = ::1; | ||
959 | UNIXPATH = $GNUNET_HOME/gnunet-service-set.sock | ||
960 | UNIX_MATCH_UID = YES | ||
961 | UNIX_MATCH_GID = YES | ||
962 | |||
963 | #PREFIX = valgrind | ||
964 | [social] | ||
965 | AUTOSTART = YES | ||
966 | BINARY = gnunet-service-social | ||
967 | USER_SERVICE = YES | ||
968 | |||
969 | UNIXPATH = $GNUNET_USER_RUNTIME_DIR/gnunet-service-social.sock | ||
970 | UNIX_MATCH_UID = YES | ||
971 | UNIX_MATCH_GID = YES | ||
972 | |||
973 | PORT = 12116 | ||
974 | HOSTNAME = localhost | ||
975 | ACCEPT_FROM = 127.0.0.1; | ||
976 | ACCEPT_FROM6 = ::1; | ||
977 | |||
978 | DATA_HOME = $GNUNET_DATA_HOME/social | ||
979 | [statistics] | ||
980 | AUTOSTART = YES | ||
981 | PORT = 12088 | ||
982 | HOSTNAME = localhost | ||
983 | BINARY = gnunet-service-statistics | ||
984 | ACCEPT_FROM = 127.0.0.1; | ||
985 | ACCEPT_FROM6 = ::1; | ||
986 | UNIXPATH = $GNUNET_HOME/gnunet-service-statistics.sock | ||
987 | UNIX_MATCH_UID = NO | ||
988 | UNIX_MATCH_GID = YES | ||
989 | DATABASE = $GNUNET_DATA_HOME/statistics.dat | ||
990 | # DISABLE_SOCKET_FORWARDING = NO | ||
991 | # USERNAME = | ||
992 | # MAXBUF = | ||
993 | # TIMEOUT = | ||
994 | # DISABLEV6 = | ||
995 | # BINDTO = | ||
996 | # REJECT_FROM = | ||
997 | # REJECT_FROM6 = | ||
998 | # PREFIX = | ||
999 | |||
1000 | [template] | ||
1001 | AUTOSTART = NO | ||
1002 | PORT = 9999 | ||
1003 | HOSTNAME = localhost | ||
1004 | BINARY = gnunet-service-template | ||
1005 | ACCEPT_FROM = 127.0.0.1; | ||
1006 | ACCEPT_FROM6 = ::1; | ||
1007 | UNIXPATH = $GNUNET_HOME/gnunet-service-template.sock | ||
1008 | UNIX_MATCH_UID = YES | ||
1009 | UNIX_MATCH_GID = YES | ||
1010 | # DISABLE_SOCKET_FORWARDING = NO | ||
1011 | # USERNAME = | ||
1012 | # MAXBUF = | ||
1013 | # TIMEOUT = | ||
1014 | # DISABLEV6 = | ||
1015 | # BINDTO = | ||
1016 | # REJECT_FROM = | ||
1017 | # REJECT_FROM6 = | ||
1018 | # PREFIX = | ||
1019 | [testbed] | ||
1020 | AUTOSTART = NO | ||
1021 | PORT = 2101 | ||
1022 | HOSTNAME = localhost | ||
1023 | BINARY = gnunet-service-testbed | ||
1024 | |||
1025 | # How long should operations wait? | ||
1026 | OPERATION_TIMEOUT = 30 s | ||
1027 | |||
1028 | # Set this to the path where the testbed helper is installed. By default the | ||
1029 | # helper binary is searched in /usr/local/lib/gnunet/libexec/ | ||
1030 | # HELPER_BINARY_PATH = /usr/local/lib/gnunet/libexec/gnunet-helper-testbed | ||
1031 | |||
1032 | # Add your local network address here. For example, if you want to run | ||
1033 | # testbed on a group of hosts connected to network 192.168.1.0/24, then set | ||
1034 | # ACCEPT_FROM = 127.0.0.1; 192.168.1.0/24; | ||
1035 | # Multiple network addresses can be given. They should be separated by `;' | ||
1036 | ACCEPT_FROM = 127.0.0.1; | ||
1037 | ACCEPT_FROM6 = ::1; | ||
1038 | |||
1039 | UNIXPATH = $GNUNET_HOME/gnunet-service-testbed.sock | ||
1040 | UNIX_MATCH_UID = YES | ||
1041 | UNIX_MATCH_GID = YES | ||
1042 | |||
1043 | # How many maximum number of operations can be run in parallel. This number | ||
1044 | # should be decreased if the system is getting overloaded and to reduce the load | ||
1045 | # exerted by the emulation. | ||
1046 | MAX_PARALLEL_OPERATIONS = 1000 | ||
1047 | MAX_PARALLEL_TOPOLOGY_CONFIG_OPERATIONS = 1 | ||
1048 | |||
1049 | # What topology should be generated by the helper functions GNUNET_TESTBED_run() | ||
1050 | # and GNUNET_TESTBED_test_run(). This option has no effect if testbed is | ||
1051 | # initialized with other functions. Valid values can be found at: | ||
1052 | # https://gnunet.org/supported-topologies | ||
1053 | OVERLAY_TOPOLOGY = NONE | ||
1054 | |||
1055 | # Number of random links to be included to the generate the above topology. | ||
1056 | # Note that not all topologies require this option and ignore it. Topologies | ||
1057 | # requiring this option are RANDOM, SMALL_WORLD and SMALL_WORLD ring. | ||
1058 | # OVERLAY_RANDOM_LINKS = | ||
1059 | |||
1060 | # This option is required if the OVERLAY_TOPOLOGY is set to FROM_FILE. It is | ||
1061 | # ignored for all other topologies. This option should contain the path to | ||
1062 | # the file containing the topology information. The format of the file is | ||
1063 | # presented at: https://gnunet.org/topology-file-format | ||
1064 | # OVERLAY_TOPOLOGY_FILE = /path/to/topology-file | ||
1065 | |||
1066 | # The following options are required if the OVERLAY_TOPOLOGY is set to | ||
1067 | # SCALE_FREE. They are ignored in all other cases. | ||
1068 | # The number of maximum peers which can connect to a peer | ||
1069 | SCALE_FREE_TOPOLOGY_CAP = 70 | ||
1070 | # The minimum number of peers which a peer has to connect | ||
1071 | SCALE_FREE_TOPOLOGY_M = 5 | ||
1072 | |||
1073 | # How many maximum number of handles to peers' services should be kept open at | ||
1074 | # any time. This number also keeps a check on the number of open descriptors as | ||
1075 | # opening a service connection results in opening a file descriptor. | ||
1076 | MAX_PARALLEL_SERVICE_CONNECTIONS = 256 | ||
1077 | |||
1078 | # Size of the internal testbed cache. It is used to cache handles to peers | ||
1079 | # while trying to connect them. | ||
1080 | CACHE_SIZE = 30 | ||
1081 | |||
1082 | # Maximum number of file descriptors a testbed controller is permitted to keep | ||
1083 | # open. | ||
1084 | MAX_OPEN_FDS = 512 | ||
1085 | |||
1086 | # How long should we wait for testbed to setup while using helper functions | ||
1087 | # GNUNET_TESTBED_test_run() and GNUNET_TESTBED_run() | ||
1088 | SETUP_TIMEOUT = 5 m | ||
1089 | |||
1090 | # Where should testbed write load statistics data | ||
1091 | # STATS_DIR = /tmp/load | ||
1092 | |||
1093 | # What services should be shared among peers. | ||
1094 | # Format is "[<service:share>] [<service:share>] ...". The shared services are | ||
1095 | # started standalone without any other peer services or a hostkey. For this | ||
1096 | # reason, only services which doesn't depend on other services can only be | ||
1097 | # shared. Example: To share peerinfo among every 10 peers. The following spec | ||
1098 | # will start 5 peerinfo services when 50 peers are started: | ||
1099 | # | ||
1100 | # SHARED_SERVICES = peerinfo:10 | ||
1101 | # | ||
1102 | # To share multiple services | ||
1103 | # | ||
1104 | # SHARED_SERVICES = service1:n_share1 service2:n_share2 ... | ||
1105 | # | ||
1106 | # Default is to share no services | ||
1107 | SHARED_SERVICES = | ||
1108 | |||
1109 | |||
1110 | [testbed-barrier] | ||
1111 | AUTOSTART = NO | ||
1112 | PORT = 2103 | ||
1113 | HOSTNAME = localhost | ||
1114 | UNIXPATH = $GNUNET_HOME/gnunet-service-testbed-barrier.sock | ||
1115 | UNIX_MATCH_UID = YES | ||
1116 | UNIX_MATCH_GID = YES | ||
1117 | |||
1118 | |||
1119 | # This section is related to configuring underlay restrictions to simulate | ||
1120 | # connectivity restrictions of NAT boxes | ||
1121 | [testbed-underlay] | ||
1122 | AUTOSTART = NO | ||
1123 | NOARMBIND = YES | ||
1124 | BINARY = gnunet-daemon-testbed-underlay | ||
1125 | # The sqlite3 database file containing information about what underlay | ||
1126 | # restrictions to apply | ||
1127 | # DBFILE = | ||
1128 | |||
1129 | [latency-logger] | ||
1130 | AUTOSTART = NO | ||
1131 | NOARMBIND = YES | ||
1132 | BINARY = gnunet-daemon-latency-logger | ||
1133 | # The sqlite3 database file where the latency values are to be stored | ||
1134 | # DBFILE = | ||
1135 | [testbed] | ||
1136 | AUTOSTART = NO | ||
1137 | PORT = 2101 | ||
1138 | HOSTNAME = localhost | ||
1139 | BINARY = gnunet-service-testbed | ||
1140 | |||
1141 | # How long should operations wait? | ||
1142 | OPERATION_TIMEOUT = 30 s | ||
1143 | |||
1144 | # Set this to the path where the testbed helper is installed. By default the | ||
1145 | # helper binary is searched in /usr/local/lib/gnunet/libexec/ | ||
1146 | # HELPER_BINARY_PATH = /usr/local/lib/gnunet/libexec/gnunet-helper-testbed | ||
1147 | |||
1148 | # Add your local network address here. For example, if you want to run | ||
1149 | # testbed on a group of hosts connected to network 192.168.1.0/24, then set | ||
1150 | # ACCEPT_FROM = 127.0.0.1; 192.168.1.0/24; | ||
1151 | # Multiple network addresses can be given. They should be separated by `;' | ||
1152 | ACCEPT_FROM = 127.0.0.1; | ||
1153 | ACCEPT_FROM6 = ::1; | ||
1154 | |||
1155 | UNIXPATH = $GNUNET_HOME/gnunet-service-testbed.sock | ||
1156 | UNIX_MATCH_UID = YES | ||
1157 | UNIX_MATCH_GID = YES | ||
1158 | |||
1159 | # How many maximum number of operations can be run in parallel. This number | ||
1160 | # should be decreased if the system is getting overloaded and to reduce the load | ||
1161 | # exerted by the emulation. | ||
1162 | MAX_PARALLEL_OPERATIONS = 1000 | ||
1163 | MAX_PARALLEL_TOPOLOGY_CONFIG_OPERATIONS = 1 | ||
1164 | |||
1165 | # What topology should be generated by the helper functions GNUNET_TESTBED_run() | ||
1166 | # and GNUNET_TESTBED_test_run(). This option has no effect if testbed is | ||
1167 | # initialized with other functions. Valid values can be found at: | ||
1168 | # https://gnunet.org/supported-topologies | ||
1169 | OVERLAY_TOPOLOGY = NONE | ||
1170 | |||
1171 | # Number of random links to be included to the generate the above topology. | ||
1172 | # Note that not all topologies require this option and ignore it. Topologies | ||
1173 | # requiring this option are RANDOM, SMALL_WORLD and SMALL_WORLD ring. | ||
1174 | # OVERLAY_RANDOM_LINKS = | ||
1175 | |||
1176 | # This option is required if the OVERLAY_TOPOLOGY is set to FROM_FILE. It is | ||
1177 | # ignored for all other topologies. This option should contain the path to | ||
1178 | # the file containing the topology information. The format of the file is | ||
1179 | # presented at: https://gnunet.org/topology-file-format | ||
1180 | # OVERLAY_TOPOLOGY_FILE = /path/to/topology-file | ||
1181 | |||
1182 | # The following options are required if the OVERLAY_TOPOLOGY is set to | ||
1183 | # SCALE_FREE. They are ignored in all other cases. | ||
1184 | # The number of maximum peers which can connect to a peer | ||
1185 | SCALE_FREE_TOPOLOGY_CAP = 70 | ||
1186 | # The minimum number of peers which a peer has to connect | ||
1187 | SCALE_FREE_TOPOLOGY_M = 5 | ||
1188 | |||
1189 | # How many maximum number of handles to peers' services should be kept open at | ||
1190 | # any time. This number also keeps a check on the number of open descriptors as | ||
1191 | # opening a service connection results in opening a file descriptor. | ||
1192 | MAX_PARALLEL_SERVICE_CONNECTIONS = 256 | ||
1193 | |||
1194 | # Size of the internal testbed cache. It is used to cache handles to peers | ||
1195 | # while trying to connect them. | ||
1196 | CACHE_SIZE = 30 | ||
1197 | |||
1198 | # Maximum number of file descriptors a testbed controller is permitted to keep | ||
1199 | # open. | ||
1200 | MAX_OPEN_FDS = 512 | ||
1201 | |||
1202 | # How long should we wait for testbed to setup while using helper functions | ||
1203 | # GNUNET_TESTBED_test_run() and GNUNET_TESTBED_run() | ||
1204 | SETUP_TIMEOUT = 5 m | ||
1205 | |||
1206 | # Where should testbed write load statistics data | ||
1207 | # STATS_DIR = /tmp/load | ||
1208 | |||
1209 | # What services should be shared among peers. | ||
1210 | # Format is "[<service:share>] [<service:share>] ...". The shared services are | ||
1211 | # started standalone without any other peer services or a hostkey. For this | ||
1212 | # reason, only services which doesn't depend on other services can only be | ||
1213 | # shared. Example: To share peerinfo among every 10 peers. The following spec | ||
1214 | # will start 5 peerinfo services when 50 peers are started: | ||
1215 | # | ||
1216 | # SHARED_SERVICES = peerinfo:10 | ||
1217 | # | ||
1218 | # To share multiple services | ||
1219 | # | ||
1220 | # SHARED_SERVICES = service1:n_share1 service2:n_share2 ... | ||
1221 | # | ||
1222 | # Default is to share no services | ||
1223 | SHARED_SERVICES = | ||
1224 | |||
1225 | |||
1226 | [testbed-logger] | ||
1227 | AUTOSTART = NO | ||
1228 | PORT = 2102 | ||
1229 | HOSTNAME = localhost | ||
1230 | BINARY = gnunet-service-testbed-logger | ||
1231 | UNIXPATH = $GNUNET_HOME/gnunet-gnunet-testbed-logger.sock | ||
1232 | DIR = /tmp | ||
1233 | UNIX_MATCH_UID = YES | ||
1234 | UNIX_MATCH_GID = YES | ||
1235 | |||
1236 | |||
1237 | [testbed-barrier] | ||
1238 | AUTOSTART = NO | ||
1239 | PORT = 2103 | ||
1240 | HOSTNAME = localhost | ||
1241 | UNIXPATH = $GNUNET_HOME/gnunet-service-testbed-barrier.sock | ||
1242 | UNIX_MATCH_UID = YES | ||
1243 | UNIX_MATCH_GID = YES | ||
1244 | |||
1245 | |||
1246 | # This section is related to configuring underlay restrictions to simulate | ||
1247 | # connectivity restrictions of NAT boxes | ||
1248 | [testbed-underlay] | ||
1249 | AUTOSTART = NO | ||
1250 | NOARMBIND = YES | ||
1251 | BINARY = gnunet-daemon-testbed-underlay | ||
1252 | # The sqlite3 database file containing information about what underlay | ||
1253 | # restrictions to apply | ||
1254 | # DBFILE = | ||
1255 | |||
1256 | [latency-logger] | ||
1257 | AUTOSTART = NO | ||
1258 | NOARMBIND = YES | ||
1259 | BINARY = gnunet-daemon-latency-logger | ||
1260 | # The sqlite3 database file where the latency values are to be stored | ||
1261 | # DBFILE = | ||
1262 | [TESTING] | ||
1263 | # How long before failing a connection? | ||
1264 | CONNECT_TIMEOUT = 30 s | ||
1265 | # How many connect attempts should we make? | ||
1266 | CONNECT_ATTEMPTS = 3 | ||
1267 | # How many connections can happen simultaneously? | ||
1268 | MAX_OUTSTANDING_CONNECTIONS = 50 | ||
1269 | |||
1270 | # Should we clean up the files on peer group shutdown? | ||
1271 | DELETE_FILES = YES | ||
1272 | |||
1273 | [topology] | ||
1274 | FORCESTART = YES | ||
1275 | NOARMBIND = YES | ||
1276 | MINIMUM-FRIENDS = 0 | ||
1277 | FRIENDS-ONLY = NO | ||
1278 | TARGET-CONNECTION-COUNT = 16 | ||
1279 | FRIENDS = $GNUNET_CONFIG_HOME/topology/friends.txt | ||
1280 | BINARY = gnunet-daemon-topology | ||
1281 | [transport] | ||
1282 | AUTOSTART = YES | ||
1283 | PORT = 12091 | ||
1284 | HOSTNAME = localhost | ||
1285 | BINARY = gnunet-service-transport | ||
1286 | # PREFIX = valgrind | ||
1287 | |||
1288 | # Maximum number of neighbours PER PLUGIN (not in total). | ||
1289 | NEIGHBOUR_LIMIT = 50 | ||
1290 | ACCEPT_FROM = 127.0.0.1; | ||
1291 | ACCEPT_FROM6 = ::1; | ||
1292 | PLUGINS = tcp udp | ||
1293 | UNIXPATH = $GNUNET_HOME/gnunet-service-transport.sock | ||
1294 | BLACKLIST_FILE = $GNUNET_CONFIG_HOME/transport/blacklist | ||
1295 | UNIX_MATCH_UID = NO | ||
1296 | UNIX_MATCH_GID = YES | ||
1297 | # DISABLE_SOCKET_FORWARDING = NO | ||
1298 | # USERNAME = | ||
1299 | # MAXBUF = | ||
1300 | # TIMEOUT = | ||
1301 | # DISABLEV6 = | ||
1302 | # BINDTO = | ||
1303 | # REJECT_FROM = | ||
1304 | # REJECT_FROM6 = | ||
1305 | # PREFIX = valgrind --leak-check=full | ||
1306 | |||
1307 | # Configuration settings related to traffic manipulation for testing purposes | ||
1308 | # Distance | ||
1309 | # MANIPULATE_DISTANCE_IN = 1 | ||
1310 | # MANIPULATE_DISTANCE_OUT = 1 | ||
1311 | # Delay; WARNING: to large values may lead to peers not connecting! | ||
1312 | # MANIPULATE_DELAY_IN = 1 ms | ||
1313 | # MANIPULATE_DELAY_OUT = 1 ms | ||
1314 | |||
1315 | |||
1316 | [transport-unix] | ||
1317 | UNIXPATH = $GNUNET_HOME/gnunet-transport-plugin-unix.sock | ||
1318 | TESTING_IGNORE_KEYS = ACCEPT_FROM; | ||
1319 | |||
1320 | [transport-tcp] | ||
1321 | # Use 0 to ONLY advertise as a peer behind NAT (no port binding) | ||
1322 | PORT = 2086 | ||
1323 | |||
1324 | # Obsolete option, to be replaced by HOLE_EXTERNAL (soon) | ||
1325 | ADVERTISED_PORT = 2086 | ||
1326 | |||
1327 | # If we have a manually punched NAT, what is the external IP and port? | ||
1328 | # Can use DNS names for DynDNS-based detection of external IP. | ||
1329 | # Can use IPv6 addresses ([fefc::]:PORT). | ||
1330 | # Use "AUTO" for the hostname to automatically detect external IP. | ||
1331 | # Do not set if NAT is not manually punched. | ||
1332 | # HOLE_EXTERNAL = AUTO:2086 | ||
1333 | |||
1334 | TESTING_IGNORE_KEYS = ACCEPT_FROM; | ||
1335 | |||
1336 | # Maximum number of open TCP connections allowed | ||
1337 | MAX_CONNECTIONS = 128 | ||
1338 | |||
1339 | TIMEOUT = 5 s | ||
1340 | # ACCEPT_FROM = | ||
1341 | # ACCEPT_FROM6 = | ||
1342 | # REJECT_FROM = | ||
1343 | # REJECT_FROM6 = | ||
1344 | # BINDTO = | ||
1345 | MAX_CONNECTIONS = 128 | ||
1346 | |||
1347 | # Enable TCP stealth? | ||
1348 | TCP_STEALTH = NO | ||
1349 | |||
1350 | |||
1351 | [transport-udp] | ||
1352 | # Use PORT = 0 to autodetect a port available | ||
1353 | PORT = 2086 | ||
1354 | BROADCAST = YES | ||
1355 | BROADCAST_RECEIVE = YES | ||
1356 | BROADCAST_INTERVAL = 30 s | ||
1357 | |||
1358 | # This limits UDP to 1MB/s for SENDING. Higher values are advised | ||
1359 | # for benchmarking or well-connected systems. Note that this quota | ||
1360 | # applies IN ADDITION to the system-wide transport-wide WAN/LAN | ||
1361 | # quotas. | ||
1362 | MAX_BPS = 1000000 | ||
1363 | TESTING_IGNORE_KEYS = ACCEPT_FROM; | ||
1364 | |||
1365 | # If we have a manually punched NAT, what is the external IP and port? | ||
1366 | # Can use DNS names for DynDNS-based detection of external IP. | ||
1367 | # Can use IPv6 addresses ([fefc::]:PORT). | ||
1368 | # Use "AUTO" for the hostname to automatically detect external IP. | ||
1369 | # Do not set if NAT is not manually punched. | ||
1370 | # HOLE_EXTERNAL = AUTO:2086 | ||
1371 | |||
1372 | |||
1373 | [transport-http_client] | ||
1374 | MAX_CONNECTIONS = 128 | ||
1375 | TESTING_IGNORE_KEYS = ACCEPT_FROM; | ||
1376 | # Hostname or IP of proxy server | ||
1377 | # PROXY = | ||
1378 | |||
1379 | # User name for proxy server | ||
1380 | # PROXY_USERNAME = | ||
1381 | # User password for proxy server | ||
1382 | # PROXY_PASSWORD = | ||
1383 | |||
1384 | # Type of proxy server, | ||
1385 | # Valid values: HTTP, SOCKS4, SOCKS5, SOCKS4A, SOCKS5_HOSTNAME | ||
1386 | # Default: HTTP | ||
1387 | # PROXY_TYPE = HTTP | ||
1388 | |||
1389 | # Enable tunneling proxy request instead of having proxy server evaluate it | ||
1390 | # Experimental, default: NO | ||
1391 | # PROXY_HTTP_TUNNELING = NO | ||
1392 | |||
1393 | |||
1394 | [transport-http_server] | ||
1395 | #EXTERNAL_HOSTNAME = <your hostname/path> | ||
1396 | PORT = 1080 | ||
1397 | |||
1398 | # Obsolete option, to be replaced by HOLE_EXTERNAL (soon) | ||
1399 | ADVERTISED_PORT = 1080 | ||
1400 | |||
1401 | # If we have a manually punched NAT, what is the external IP and port? | ||
1402 | # Can use DNS names for DynDNS-based detection of external IP. | ||
1403 | # Can use IPv6 addresses ([fefc::]:PORT). | ||
1404 | # Use "AUTO" for the hostname to automatically detect external IP. | ||
1405 | # Do not set if NAT is not manually punched. | ||
1406 | # HOLE_EXTERNAL = AUTO:1080 | ||
1407 | |||
1408 | MAX_CONNECTIONS = 128 | ||
1409 | TESTING_IGNORE_KEYS = ACCEPT_FROM; | ||
1410 | |||
1411 | # Enable TCP stealth? | ||
1412 | TCP_STEALTH = NO | ||
1413 | |||
1414 | |||
1415 | [transport-https_client] | ||
1416 | MAX_CONNECTIONS = 128 | ||
1417 | TESTING_IGNORE_KEYS = ACCEPT_FROM; | ||
1418 | # Hostname or IP of proxy server | ||
1419 | # PROXY = | ||
1420 | |||
1421 | # User name for proxy server | ||
1422 | # PROXY_USERNAME = | ||
1423 | # User password for proxy server | ||
1424 | # PROXY_PASSWORD = | ||
1425 | |||
1426 | # Type of proxy server, | ||
1427 | # Valid values: HTTP, SOCKS4, SOCKS5, SOCKS4A, SOCKS5_HOSTNAME | ||
1428 | # Default: HTTP | ||
1429 | # PROXY_TYPE = HTTP | ||
1430 | |||
1431 | # Enable tunneling proxy request instead of having proxy server evaluate it | ||
1432 | # Experimental, default: NO | ||
1433 | # PROXY_HTTP_TUNNELING = NO | ||
1434 | |||
1435 | |||
1436 | [transport-https_server] | ||
1437 | # EXTERNAL_HOSTNAME = <your hostname/path> | ||
1438 | # EXTERNAL_HOSTNAME_ONLY = YES | ||
1439 | # If you have a valid SSL certificate for your external hostname tell, | ||
1440 | # clients to verify it | ||
1441 | # VERIFY_EXTERNAL_HOSTNAME = YES | ||
1442 | # Does the external hostname use the same port? | ||
1443 | # EXTERNAL_HOSTNAME_USE_PORT = YES | ||
1444 | PORT = 4433 | ||
1445 | |||
1446 | # Obsolete option, to be replaced by HOLE_EXTERNAL (soon) | ||
1447 | ADVERTISED_PORT = 4433 | ||
1448 | |||
1449 | # If we have a manually punched NAT, what is the external IP and port? | ||
1450 | # Can use DNS names for DynDNS-based detection of external IP. | ||
1451 | # Can use IPv6 addresses ([fefc::]:PORT). | ||
1452 | # Use "AUTO" for the hostname to automatically detect external IP. | ||
1453 | # Do not set if NAT is not manually punched. | ||
1454 | # HOLE_EXTERNAL = AUTO:4433 | ||
1455 | |||
1456 | CRYPTO_INIT = NORMAL | ||
1457 | KEY_FILE = $GNUNET_DATA_HOME/transport/https.key | ||
1458 | CERT_FILE = $GNUNET_DATA_HOME/transport/https.cert | ||
1459 | MAX_CONNECTIONS = 128 | ||
1460 | TESTING_IGNORE_KEYS = ACCEPT_FROM; | ||
1461 | |||
1462 | # Enable TCP stealth? | ||
1463 | TCP_STEALTH = NO | ||
1464 | |||
1465 | |||
1466 | [transport-wlan] | ||
1467 | # Name of the interface in monitor mode (typically monX) | ||
1468 | INTERFACE = mon0 | ||
1469 | # Real hardware, no testing | ||
1470 | TESTMODE = 0 | ||
1471 | TESTING_IGNORE_KEYS = ACCEPT_FROM; | ||
1472 | |||
1473 | |||
1474 | [transport-bluetooth] | ||
1475 | # Name of the interface (typically hciX) | ||
1476 | INTERFACE = hci0 | ||
1477 | # Real hardware, no testing | ||
1478 | TESTMODE = 0 | ||
1479 | TESTING_IGNORE_KEYS = ACCEPT_FROM; | ||
1480 | [PATHS] | ||
1481 | # The PATHS section is special, as filenames including $-expression are | ||
1482 | # expanded using the values from PATHS or the system environment (PATHS | ||
1483 | # is checked first). GNUnet also supports expanding $-expressions using | ||
1484 | # defaults with the syntax "${VAR:-default}". Here, "default" can again | ||
1485 | # be a $-expression. | ||
1486 | # | ||
1487 | # We usually want $HOME for $GNUNET_HOME, but we allow testcases to | ||
1488 | # easily override this by setting $GNUNET_TEST_HOME. | ||
1489 | # | ||
1490 | GNUNET_HOME = /tmp/gnunet/p2 | ||
1491 | |||
1492 | # see XDG Base Directory Specification at | ||
1493 | # http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html | ||
1494 | # for how these should be used. | ||
1495 | |||
1496 | # Persistant data storage | ||
1497 | GNUNET_DATA_HOME = ${XDG_DATA_HOME:-$GNUNET_HOME/.local/share}/gnunet/ | ||
1498 | |||
1499 | # Configuration files | ||
1500 | GNUNET_CONFIG_HOME = ${XDG_CONFIG_HOME:-$GNUNET_HOME/.config}/gnunet/ | ||
1501 | |||
1502 | # Cached data, no big deal if lost | ||
1503 | GNUNET_CACHE_HOME = ${XDG_CACHE_HOME:-$GNUNET_HOME/.cache}/gnunet/ | ||
1504 | |||
1505 | # Runtime data (i.e UNIX domain sockets, locks, always lost on system boot) | ||
1506 | # This is the variable for system-wide services; use GNUNET_USER_RUNTIME_DIR | ||
1507 | # for per-user services (where USER_SERVICE=YES is set) | ||
1508 | # Note that the 'gnunet'/system user must have $TMPDIR/$TMP set to | ||
1509 | # exactly the same values as 'normal' users, otherwise this will fail. | ||
1510 | # If $TMPDIR or $TMP are set to different directories for different | ||
1511 | # users, this option should be changed to point to the same directory | ||
1512 | # for all users (i.e. by simply using "/tmp/gnunet-system-runtime/"). | ||
1513 | GNUNET_RUNTIME_DIR = ${TMPDIR:-${TMP:-/tmp}}/gnunet-system-runtime/ | ||
1514 | |||
1515 | # Runtime data for per-user services | ||
1516 | GNUNET_USER_RUNTIME_DIR = ${TMPDIR:-${TMP:-/tmp}}/gnunet-${USERHOME:-${USER:-user}}-runtime/ | ||
1517 | |||
1518 | |||
1519 | # Override for GNUNET_HOME used by test cases. | ||
1520 | # GNUNET_TEST_HOME = /tmp/foo/bar | ||
1521 | |||
1522 | # DEFAULTCONFIG = /etc/gnunet.conf | ||
1523 | # If 'DEFAULTCONFIG' is not defined, the current | ||
1524 | # configuration file is assumed to be the default, | ||
1525 | # which is what we want by default... | ||
1526 | |||
1527 | |||
1528 | [PEER] | ||
1529 | # Where do we store our private key? | ||
1530 | PRIVATE_KEY = $GNUNET_DATA_HOME/private_key.ecc | ||
1531 | |||
1532 | # What kind of system are we on? Choices are | ||
1533 | # INFRASTRUCTURE (always-on, grid, data center) | ||
1534 | # DESKTOP (sometimes-on, grid, office) | ||
1535 | # NOTEBOOK (sometimes-on, mobile, often limited network, | ||
1536 | # if on-battery than large battery) | ||
1537 | # MOBILE (sometimes-on, mobile, always limited network, | ||
1538 | # always battery limited) | ||
1539 | # UNKNOWN (not configured/specified/known) | ||
1540 | SYSTEM_TYPE = UNKNOWN | ||
1541 | |||
1542 | [TESTING] | ||
1543 | SPEEDUP_INTERVAL = 0 ms | ||
1544 | SPEEDUP_DELTA = 0 ms | ||
1545 | # This following option is applicable to LINUX. Enabling this option causes all | ||
1546 | # UNIX domain sockets to be opened as abstract sockets. Note that the | ||
1547 | # filesystem level restrictions no longer apply for abstract sockets. An | ||
1548 | # end-user should not modify this option. | ||
1549 | USE_ABSTRACT_SOCKETS = NO | ||
1550 | [vpn] | ||
1551 | AUTOSTART = YES | ||
1552 | PORT = 2105 | ||
1553 | HOSTNAME = localhost | ||
1554 | BINARY = gnunet-service-vpn | ||
1555 | ACCEPT_FROM = 127.0.0.1; | ||
1556 | ACCEPT_FROM6 = ::1; | ||
1557 | UNIXPATH = $GNUNET_HOME/gnunet-service-vpn.sock | ||
1558 | UNIX_MATCH_UID = NO | ||
1559 | UNIX_MATCH_GID = YES | ||
1560 | |||
1561 | IPV6ADDR = 1234::1 | ||
1562 | IPV6PREFIX = 32 | ||
1563 | IPV4ADDR = 10.11.10.1 | ||
1564 | IPV4MASK = 255.255.0.0 | ||
1565 | VIRTDNS = 10.11.10.2 | ||
1566 | VIRTDNS6 = 1234::17 | ||
1567 | IFNAME = vpn-gnunet | ||
1568 | |||
1569 | [zonemaster] | ||
1570 | AUTOSTART = YES | ||
1571 | FORCESTART = YES | ||
1572 | HOSTNAME = localhost | ||
1573 | BINARY = gnunet-service-zonemaster | ||
1574 | UNIXPATH = $GNUNET_USER_RUNTIME_DIR/gnunet-service-zonemaster.sock | ||
1575 | PORT = 2123 | ||
1576 | |||
1577 | # Do we require users that want to access GNS to run this process | ||
1578 | # (usually not a good idea) | ||
1579 | UNIX_MATCH_UID = NO | ||
1580 | |||
1581 | # Do we require users that want to access GNS to be in the 'gnunet' group? | ||
1582 | UNIX_MATCH_GID = NO | ||
1583 | |||
1584 | # How many queries is GNS allowed to perform in the background at the same time? | ||
1585 | MAX_PARALLEL_BACKGROUND_QUERIES = 1000 | ||
1586 | |||
1587 | # How frequently do we try to publish our full zone? | ||
1588 | ZONE_PUBLISH_TIME_WINDOW = 4 h | ||
1589 | |||
1590 | # Using caching or always ask DHT | ||
1591 | # USE_CACHE = YES | ||
1592 | |||
1593 | # PREFIX = valgrind --leak-check=full --track-origins=yes | ||