aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnonymized <anonymous@example.com>2018-01-07 20:27:10 +0100
committerAnonymized <anonymous@example.com>2018-01-07 20:27:10 +0100
commit16268cb7d9921da5e8f5135d806ccd8b2ae9df0f (patch)
treed8af9386bf4a276942fb2e164a534fb633811d0d
parent224137229ccb7a3c6727e2d7085c0edb89311049 (diff)
downloadgnunet-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.conf1593
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]
2PORT = 12087
3HOSTNAME = localhost
4BINARY = gnunet-service-arm
5ACCEPT_FROM = 127.0.0.1;
6ACCEPT_FROM6 = ::1;
7
8# Special case, uses user runtime dir even for per-system service.
9UNIXPATH = $GNUNET_USER_RUNTIME_DIR/gnunet-service-arm.sock
10UNIX_MATCH_UID = YES
11UNIX_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
19GLOBAL_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]
58AUTOSTART = YES
59PORT = 12098
60HOSTNAME = localhost
61BINARY = gnunet-service-ats
62ACCEPT_FROM = 127.0.0.1;
63ACCEPT_FROM6 = ::1;
64UNIXPATH = $GNUNET_HOME/gnunet-service-ats.sock
65UNIX_MATCH_UID = NO
66UNIX_MATCH_GID = YES
67# PREFIX = valgrind
68# Designated assignment mode: PROPORTIONAL / MLP / RIL
69MODE = proportional
70
71# Network specific inbound/outbound quotas
72UNSPECIFIED_QUOTA_IN = 64 KiB
73UNSPECIFIED_QUOTA_OUT = 64 KiB
74# LOOPBACK
75LOOPBACK_QUOTA_IN = unlimited
76LOOPBACK_QUOTA_OUT = unlimited
77# LAN
78LAN_QUOTA_IN = unlimited
79LAN_QUOTA_OUT = unlimited
80# WAN
81WAN_QUOTA_IN = 64 KiB
82WAN_QUOTA_OUT = 64 KiB
83# WLAN
84WLAN_QUOTA_IN = 1 MiB
85WLAN_QUOTA_OUT = 1 MiB
86# BLUETOOTH
87BLUETOOTH_QUOTA_IN = 128 KiB
88BLUETOOTH_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
95PROP_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
98PROP_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
108MLP_MAX_MIP_GAP = 0.025
109# Tolerated LP/MIP Gap [0.0 .. 1.0], default 0.025
110MLP_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
130MLP_DUMP_PROBLEM_ON_FAIL = YES
131# Dump all solution to disk
132MLP_DUMP_SOLUTION_ON_FAIL = YES
133
134# RIL specifc settings
135RIL_STEP_TIME_MIN = 500 ms
136RIL_STEP_TIME_MAX = 1000 ms
137
138# SARSA or Q-LEARNING
139RIL_ALGORITHM = Q-LEARNING
140RIL_DISCOUNT_BETA = 0.7
141RIL_GRADIENT_STEP_SIZE = 0.3
142RIL_TRACE_DECAY = 0.2
143RIL_EXPLORE_RATIO = 0.1
144RIL_GLOBAL_REWARD_SHARE = 1
145[cadet]
146FORCESTART = YES
147AUTOSTART = YES
148PORT = 12096
149HOSTNAME = localhost
150BINARY = gnunet-service-cadet
151# PREFIX = valgrind --leak-check=yes
152ACCEPT_FROM = 127.0.0.1;
153ACCEPT_FROM6 = ::1;
154UNIXPATH = $GNUNET_HOME/gnunet-service-cadet.sock
155UNIX_MATCH_UID = YES
156UNIX_MATCH_GID = YES
157
158
159# How often do we send KEEPALIVE messages on connections to keep them
160# from timing out?
161REFRESH_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?
167ID_ANNOUNCE_TIME = 1 h
168
169# FIXME: document
170CONNECT_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.
174DHT_REPLICATION_LEVEL = 3
175
176# FIXME: not implemented
177# MAX_TUNNELS = 1000
178
179# FIXME: not implemented, replaced by MAX_ROUTES in NEW CADET!
180MAX_CONNECTIONS = 1000
181
182# How many routes do we participate in at most? Should be smaller
183# than MAX_MSGS_QUEUE
184MAX_ROUTES = 5000
185
186# FIXME: not implemented
187MAX_MSGS_QUEUE = 10000
188
189# FIXME: not implemented
190MAX_PEERS = 1000
191
192# How often do we advance the ratchet even if there is not
193# any traffic?
194RATCHET_TIME = 1 h
195
196# How often do we advance the ratched if there is traffic?
197RATCHET_MESSAGES = 64
198[consensus]
199AUTOSTART = YES
200PORT = 12103
201HOSTNAME = localhost
202BINARY = gnunet-service-consensus
203ACCEPT_FROM = 127.0.0.1;
204ACCEPT_FROM6 = ::1;
205UNIXPATH = $GNUNET_HOME/gnunet-service-consensus.sock
206UNIX_MATCH_UID = YES
207UNIX_MATCH_GID = YES
208[core]
209AUTOSTART = YES
210PORT = 12092
211HOSTNAME = localhost
212BINARY = gnunet-service-core
213ACCEPT_FROM = 127.0.0.1;
214ACCEPT_FROM6 = ::1;
215UNIXPATH = $GNUNET_HOME/gnunet-service-core.sock
216UNIX_MATCH_UID = NO
217UNIX_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!).
230USE_EPHEMERAL_KEYS = YES
231[datacache-postgres]
232CONFIG = connect_timeout=10; dbname=gnunet
233[datastore]
234AUTOSTART = YES
235UNIXPATH = $GNUNET_HOME/gnunet-service-datastore.sock
236UNIX_MATCH_UID = NO
237UNIX_MATCH_GID = YES
238PORT = 2093
239HOSTNAME = localhost
240BINARY = gnunet-service-datastore
241ACCEPT_FROM = 127.0.0.1;
242ACCEPT_FROM6 = ::1;
243QUOTA = 5 GB
244BLOOMFILTER = $GNUNET_DATA_HOME/datastore/bloomfilter
245DATABASE = sqlite
246# DISABLE_SOCKET_FORWARDING = NO
247
248[datastore-sqlite]
249FILENAME = $GNUNET_DATA_HOME/datastore/sqlite.db
250
251[datastore-postgres]
252CONFIG = connect_timeout=10; dbname=gnunet
253
254[datastore-mysql]
255DATABASE = gnunet
256CONFIG = ~/.my.cnf
257# USER = gnunet
258# PASSWORD =
259# HOST = localhost
260PORT = 3306
261
262
263[datastore-heap]
264HASHMAPSIZE = 1024
265[dht]
266FORCESTART = YES
267AUTOSTART = YES
268PORT = 12095
269HOSTNAME = localhost
270BINARY = gnunet-service-dht
271ACCEPT_FROM = 127.0.0.1;
272ACCEPT_FROM6 = ::1;
273BUCKET_SIZE = 4
274UNIXPATH = $GNUNET_HOME/gnunet-service-dht.sock
275UNIX_MATCH_UID = NO
276UNIX_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?
288CACHE_RESULTS = YES
289
290# Special option to disable DHT calling 'try_connect' (for testing)
291DISABLE_TRY_CONNECT = NO
292
293
294[dhtcache]
295DATABASE = heap
296QUOTA = 50 MB
297
298# Disable RC-file for Bloom filter? (for benchmarking with limited IO availability)
299DISABLE_BF_RC = NO
300[dns]
301AUTOSTART = YES
302HOSTNAME = localhost
303BINARY = gnunet-service-dns
304UNIXPATH = $GNUNET_HOME/gnunet-service-dns.sock
305PORT = 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)
309UNIX_MATCH_UID = YES
310UNIX_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)
314PORT = 0
315
316# Name of the virtual interface we use to intercept DNS traffic.
317IFNAME = 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!?
321IPV6ADDR = 2001:DB8::1
322IPV6PREFIX = 126
323
324# Use RFC 3927-style link-local address
325IPV4ADDR = 169.254.1.1
326IPV4MASK = 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.
332DNS_EXIT = 8.8.8.8
333
334[exit]
335BINARY = 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!)
339IPV6ADDR = 2001:DB8::1
340
341# Prefix for our IPv6 subnet on the TUN interface.
342IPV6PREFIX = 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
347IPV4ADDR = 169.254.86.1
348
349# Netmask for the IPv4 subnet on the TUN interface.
350IPV4MASK = 255.255.255.0
351
352# IPv4 networks to which we are allowed to exit.
353# The format is "(network[/netmask][:[!]SPORT-DPORT];)*"
354EXIT_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];)*"
358EXIT_RANGE_IPV6_POLICY = ::/0:!25;
359
360# Not a service, tell ARM no binding!
361NOARMBIND = YES
362
363# Name of the (virtual) tunnel interface the exit daemon will manage
364TUN_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).
373EXIT_IFNAME = eth0
374
375# Set this to YES to allow exiting this system via IPv4 to the Internet
376EXIT_IPV4 = NO
377
378# Set this to YES to allow exiting this system via IPv6 to the Internet
379EXIT_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.
388EXIT_DNS = NO
389
390# Set this to an IPv4 or IPv6 address of a DNS resolver to use for DNS queries
391DNS_RESOLVER = 8.8.8.8
392
393# For IPv4-services offered by this peer, we need to at least enable IPv4
394ENABLE_IPV4 = YES
395
396# For IPv6-services offered by this peer, we need to at least enable IPv6
397ENABLE_IPV6 = YES
398
399
400# Maximum number of concurrent connections this exit supports.
401MAX_CONNECTIONS = 256
402[fs]
403AUTOSTART = YES
404FORCESTART = YES
405INDEXDB = $GNUNET_DATA_HOME/fs/idxinfo.lst
406RESPECT = $GNUNET_DATA_HOME/fs/credit/
407STATE_DIR = $GNUNET_DATA_HOME/fs/persistence/
408UPDATE_DIR = $GNUNET_DATA_HOME/fs/updates/
409PORT = 2094
410HOSTNAME = localhost
411BINARY = gnunet-service-fs
412ACCEPT_FROM = 127.0.0.1;
413ACCEPT_FROM6 = ::1;
414
415# Do we introduce artificial delays? (may improve anonymity)
416DELAY = YES
417
418# Do we cache content from other nodes? (may improve anonymity)
419CONTENT_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)
423CONTENT_PUSHING = YES
424
425UNIXPATH = $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)
429UNIX_MATCH_UID = NO
430
431# Do we require users that want to access file-sharing to be in the 'gnunet' group?
432UNIX_MATCH_GID = YES
433
434# Maximum number of requests this peer tracks (important for
435# memory consumption; 2k RAM/request is not unusual)
436MAX_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)
440DATASTORE_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)
445MIN_MIGRATION_DELAY = 100 ms
446
447# For how many neighbouring peers should we allocate hash maps?
448EXPECTED_NEIGHBOUR_COUNT = 128
449
450# Disable anonymous file-sharing (but keep non-anonymous transfers)?
451# This option is mostly for testing.
452DISABLE_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.
460MAX_CADET_CLIENTS = 128
461
462
463[gnunet-auto-share]
464BINARY = gnunet-auto-share
465FORCESTART = NO
466
467# Note: MUST specify path to auto-share directory and CAN specify other options
468# to gnunet-auto-share here!
469OPTIONS = $GNUNET_DATA_HOME/fs/share/
470[gns]
471AUTOSTART = YES
472FORCESTART = YES
473HOSTNAME = localhost
474BINARY = gnunet-service-gns
475UNIXPATH = $GNUNET_USER_RUNTIME_DIR/gnunet-service-gns.sock
476PORT = 12102
477
478# Do we require users that want to access GNS to run this process
479# (usually not a good idea)
480UNIX_MATCH_UID = NO
481
482# Do we require users that want to access GNS to be in the 'gnunet' group?
483UNIX_MATCH_GID = YES
484
485# How many queries is GNS allowed to perform in the background at the same time?
486MAX_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]
495BINARY = gnunet-gns-proxy
496AUTOSTART = NO
497USER_SERVICE = YES
498
499# Where is the certificate for the GNS proxy stored?
500PROXY_CACERT = $GNUNET_DATA_HOME/gns/gns_ca_cert.pem
501PROXY_UNIXPATH = $GNUNET_HOME/gnunet-gns-proxy.sock
502
503
504[dns2gns]
505BINARY = gnunet-dns2gns
506AUTOSTART = NO
507USER_SERVICE = YES
508
509# -d: DNS resolver to use, -s: suffix to use, -f: fcfs suffix to use
510OPTIONS = -d 8.8.8.8
511[gnunet-fs-gtk]
512MAX_PARALLEL_DOWNLOADS = 128
513MAX_PARALLEL_REQUESTS = 100000
514# DEFAULT_DOWNLOAD_DIRECTORY = "~/Documents/Downloads"
515 DEFAULT_DOWNLOAD_DIRECTORY = "~/Downloads"
516MAKE_UPDATEABLE_PUBLICATIONS_BY_DEFAULT = YES
517MAKE_NAMESPACE_PUBLICATIONS_BY_DEFAULT = NO
518MAKE_GLOBAL_PUBLICATIONS_BY_DEFAULT = YES
519
520[uri]
521fs = gnunet-fs-gtk
522[gnunet-namestore-gtk]
523NICK_EXPIRATION = 1 week
524
525[hostlist]
526FORCESTART = YES
527NOARMBIND = YES
528BINARY = gnunet-daemon-hostlist
529
530# port for hostlist http server
531HTTPPORT = 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?
537HOSTLISTFILE = $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
544OPTIONS = -b
545
546# Default list of hostlist servers for bootstrapping
547SERVERS = 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]
569AUTOSTART = YES
570USER_SERVICE = YES
571PORT = 12108
572HOSTNAME = localhost
573BINARY = gnunet-service-identity
574ACCEPT_FROM = 127.0.0.1;
575ACCEPT_FROM6 = ::1;
576UNIXPATH = $GNUNET_USER_RUNTIME_DIR/gnunet-service-identity.sock
577UNIX_MATCH_UID = NO
578UNIX_MATCH_GID = YES
579
580# Directory where we store information about our egos
581EGODIR = $GNUNET_DATA_HOME/identity/egos/
582
583# File where we store default identities for subsystems
584SUBSYSTEM_CFG = $GNUNET_CONFIG_HOME/identity/subsystem_defaults.conf
585[multicast]
586AUTOSTART = YES
587BINARY = gnunet-service-multicast
588
589UNIXPATH = $GNUNET_HOME/gnunet-service-multicast.sock
590UNIX_MATCH_UID = YES
591UNIX_MATCH_GID = YES
592
593PORT = 12109
594HOSTNAME = localhost
595ACCEPT_FROM = 127.0.0.1;
596ACCEPT_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]
608AUTOSTART = YES
609USER_SERVICE = NO
610UNIXPATH = $GNUNET_HOME/gnunet-service-namecache.sock
611UNIX_MATCH_UID = NO
612UNIX_MATCH_GID = YES
613PORT = 2113
614HOSTNAME = localhost
615BINARY = gnunet-service-namecache
616ACCEPT_FROM = 127.0.0.1;
617ACCEPT_FROM6 = ::1;
618DATABASE = sqlite
619
620[namecache-sqlite]
621FILENAME = $GNUNET_DATA_HOME/namecache/sqlite.db
622
623[namecache-flat]
624FILENAME = $GNUNET_DATA_HOME/namecache/flat.db
625
626[namecache-postgres]
627CONFIG = connect_timeout=10; dbname=gnunet
628TEMPORARY_TABLE = NO
629
630
631
632[namestore]
633AUTOSTART = YES
634USER_SERVICE = YES
635UNIXPATH = $GNUNET_USER_RUNTIME_DIR/gnunet-service-namestore.sock
636UNIX_MATCH_UID = NO
637UNIX_MATCH_GID = YES
638PORT = 2099
639HOSTNAME = localhost
640BINARY = gnunet-service-namestore
641ACCEPT_FROM = 127.0.0.1;
642ACCEPT_FROM6 = ::1;
643DATABASE = sqlite
644
645[namestore-sqlite]
646FILENAME = $GNUNET_DATA_HOME/namestore/sqlite.db
647
648[namestore-flat]
649FILENAME = $GNUNET_DATA_HOME/namestore/flat.db
650
651
652[namestore-postgres]
653CONFIG = connect_timeout=10; dbname=gnunet
654TEMPORARY_TABLE = NO
655
656[uri]
657gns = gnunet-namestore
658
659
660[fcfsd]
661# Name of the fcfs registration service binary (for ARM)
662BINARY = gnunet-namestore-fcfsd
663AUTOSTART = NO
664UNIXPATH = $GNUNET_HOME/gnunet-service-fcfsd.sock
665
666# On what port does the FCFS daemon listen for HTTP clients?
667HTTPPORT = 18080
668
669
670[nat-auto]
671AUTOSTART = YES
672PORT = 2124
673HOSTNAME = localhost
674BINARY = gnunet-service-nat-auto
675ACCEPT_FROM = 127.0.0.1;
676ACCEPT_FROM6 = ::1;
677UNIXPATH = $GNUNET_HOME/gnunet-service-nat-auto.sock
678UNIX_MATCH_UID = YES
679UNIX_MATCH_GID = YES
680
681[gnunet-nat-server]
682HOSTNAME = gnunet.org
683PORT = 5724
684NOARMBIND = YES
685[nat]
686AUTOSTART = YES
687PORT = 2121
688HOSTNAME = localhost
689BINARY = gnunet-service-nat
690ACCEPT_FROM = 127.0.0.1;
691ACCEPT_FROM6 = ::1;
692UNIXPATH = $GNUNET_HOME/gnunet-service-nat.sock
693UNIX_MATCH_UID = YES
694UNIX_MATCH_GID = YES
695
696# Enable UPNP by default?
697ENABLE_UPNP = YES
698
699# Disable IPv6 support
700# FIXME: move entirely to transport plugins!
701DISABLEV6 = NO
702
703# How often do we query the DNS resolver
704# for our hostname (to get our own IP)
705HOSTNAME_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?
710IFC_SCAN_FREQUENCY = 15 min
711
712# How often do we query the DNS resolver
713# for our hostname (to get our own IP)
714DYNDNS_FREQUENCY = 7 min
715
716# SHOULD USE STUN ?
717USE_STUN = YES
718STUN_FREQUENCY = 5 min
719# Default list of stun servers
720STUN_SERVERS = stun.gnunet.org stun.services.mozilla.com:3478 stun.ekiga.net:3478
721
722# After how long do we consider STUN data stale?
723STUN_STALE = 60 min
724
725[nse]
726AUTOSTART = YES
727FORCESTART = YES
728PORT = 12097
729HOSTNAME = localhost
730BINARY = gnunet-service-nse
731ACCEPT_FROM = 127.0.0.1;
732ACCEPT_FROM6 = ::1;
733UNIXPATH = $GNUNET_HOME/gnunet-service-nse.sock
734UNIX_MATCH_UID = NO
735UNIX_MATCH_GID = YES
736PROOFFILE = $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.
741HISTOGRAM_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.
748WORKDELAY = 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!
756INTERVAL = 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!
762WORKBITS = 22
763
764[peerinfo]
765AUTOSTART = YES
766PORT = 12090
767HOSTNAME = localhost
768BINARY = gnunet-service-peerinfo
769ACCEPT_FROM = 127.0.0.1;
770ACCEPT_FROM6 = ::1;
771UNIXPATH = $GNUNET_HOME/gnunet-service-peerinfo.sock
772UNIX_MATCH_UID = NO
773UNIX_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 =
783HOSTS = $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!
787NO_IO = NO
788
789# Load HELLOs shipped with GNUnet
790USE_INCLUDED_HELLOS = YES
791
792[uri]
793hello = gnunet-peerinfo
794friend-hello = gnunet-peerinfo
795[peerstore]
796AUTOSTART = YES
797PORT = 12110
798HOSTNAME = localhost
799BINARY = gnunet-service-peerstore
800UNIXPATH = $GNUNET_HOME/gnunet-service-peerstore.sock
801UNIX_MATCH_UID = NO
802UNIX_MATCH_GID = YES
803DATABASE = sqlite
804
805[peerstore-sqlite]
806FILENAME = $GNUNET_DATA_HOME/peerstore/sqlite.db
807
808[psyc]
809AUTOSTART = YES
810BINARY = gnunet-service-psyc
811
812UNIXPATH = $GNUNET_HOME/gnunet-service-psyc.sock
813UNIX_MATCH_UID = YES
814UNIX_MATCH_GID = YES
815
816PORT = 12115
817HOSTNAME = localhost
818ACCEPT_FROM = 127.0.0.1;
819ACCEPT_FROM6 = ::1;
820[psycstore]
821AUTOSTART = YES
822BINARY = gnunet-service-psycstore
823
824UNIXPATH = $GNUNET_HOME/gnunet-service-psycstore.sock
825UNIX_MATCH_UID = YES
826UNIX_MATCH_GID = YES
827
828PORT = 12111
829HOSTNAME = localhost
830ACCEPT_FROM = 127.0.0.1;
831ACCEPT_FROM6 = ::1;
832
833DATABASE = sqlite
834
835[psycstore-sqlite]
836FILENAME = $GNUNET_DATA_HOME/psycstore/sqlite.db
837
838[psycstore-mysql]
839DATABASE = gnunet
840CONFIG = ~/.my.cnf
841# USER = gnunet
842# PASSWORD =
843# HOST = localhost
844PORT = 3306
845
846[psycstore-postgres]
847CONFIG = connect_timeout=10; dbname=gnunet
848[pt]
849BINARY = gnunet-daemon-pt
850NOARMBIND = YES
851
852# Set this to YES to tunnel IPv4 traffic over GNUnet
853TUNNEL_IPV4 = NO
854
855# Set this to YES to tunnel IPv6 traffic over GNUnet
856TUNNEL_IPV6 = NO
857
858# Set this to YES to tunnel DNS traffic over GNUnet
859TUNNEL_DNS = NO
860[regex]
861AUTOSTART = YES
862PORT = 2107
863UNIXPATH = $GNUNET_HOME/gnunet-service-regex.sock
864HOSTNAME = localhost
865BINARY = gnunet-service-regex
866ACCEPT_FROM = 127.0.0.1;
867ACCEPT_FROM6 = ::1;
868[resolver]
869AUTOSTART = YES
870PORT = 12089
871HOSTNAME = localhost
872BINARY = gnunet-service-resolver
873ACCEPT_FROM = 127.0.0.1;
874ACCEPT_FROM6 = ::1;
875UNIXPATH = $GNUNET_HOME/gnunet-service-resolver.sock
876UNIX_MATCH_UID = NO
877UNIX_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]
889AUTOSTART = YES
890FORCESTART = YES
891PORT = 12112
892HOSTNAME = localhost
893BINARY = gnunet-service-revocation
894ACCEPT_FROM = 127.0.0.1;
895ACCEPT_FROM6 = ::1;
896UNIXPATH = $GNUNET_HOME/gnunet-service-revocation.sock
897UNIX_MATCH_UID = NO
898UNIX_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!
903WORKBITS = 25
904
905DATABASE = $GNUNET_DATA_HOME/revocation.dat
906[scalarproduct-alice]
907AUTOSTART = YES
908BINARY = gnunet-service-scalarproduct-ecc-alice
909UNIXPATH = $GNUNET_HOME/gnunet-service-scalarproduct-alice.sock
910PORT = 2117
911#ACCEPT_FROM = 127.0.0.1;
912#ACCEPT_FROM6 = ::1;
913UNIX_MATCH_UID = NO
914UNIX_MATCH_GID = YES
915#OPTIONS = -L DEBUG
916#PREFIX = valgrind
917
918
919[scalarproduct-bob]
920AUTOSTART = YES
921HOSTNAME = localhost
922BINARY = gnunet-service-scalarproduct-ecc-bob
923UNIXPATH = $GNUNET_HOME/gnunet-service-scalarproduct-bob.sock
924PORT = 2118
925
926#ACCEPT_FROM = 127.0.0.1;
927#ACCEPT_FROM6 = ::1;
928UNIX_MATCH_UID = NO
929UNIX_MATCH_GID = YES
930#OPTIONS = -L DEBUG
931
932#PREFIX = valgrind
933[secretsharing]
934AUTOSTART = NO
935PORT = 12114
936HOSTNAME = localhost
937BINARY = gnunet-service-secretsharing
938ACCEPT_FROM = 127.0.0.1;
939ACCEPT_FROM6 = ::1;
940UNIXPATH = $GNUNET_HOME/gnunet-service-secretsharing.sock
941UNIX_MATCH_UID = YES
942UNIX_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]
953AUTOSTART = YES
954PORT = 12106
955HOSTNAME = localhost
956BINARY = gnunet-service-set
957ACCEPT_FROM = 127.0.0.1;
958ACCEPT_FROM6 = ::1;
959UNIXPATH = $GNUNET_HOME/gnunet-service-set.sock
960UNIX_MATCH_UID = YES
961UNIX_MATCH_GID = YES
962
963#PREFIX = valgrind
964[social]
965AUTOSTART = YES
966BINARY = gnunet-service-social
967USER_SERVICE = YES
968
969UNIXPATH = $GNUNET_USER_RUNTIME_DIR/gnunet-service-social.sock
970UNIX_MATCH_UID = YES
971UNIX_MATCH_GID = YES
972
973PORT = 12116
974HOSTNAME = localhost
975ACCEPT_FROM = 127.0.0.1;
976ACCEPT_FROM6 = ::1;
977
978DATA_HOME = $GNUNET_DATA_HOME/social
979[statistics]
980AUTOSTART = YES
981PORT = 12088
982HOSTNAME = localhost
983BINARY = gnunet-service-statistics
984ACCEPT_FROM = 127.0.0.1;
985ACCEPT_FROM6 = ::1;
986UNIXPATH = $GNUNET_HOME/gnunet-service-statistics.sock
987UNIX_MATCH_UID = NO
988UNIX_MATCH_GID = YES
989DATABASE = $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]
1001AUTOSTART = NO
1002PORT = 9999
1003HOSTNAME = localhost
1004BINARY = gnunet-service-template
1005ACCEPT_FROM = 127.0.0.1;
1006ACCEPT_FROM6 = ::1;
1007UNIXPATH = $GNUNET_HOME/gnunet-service-template.sock
1008UNIX_MATCH_UID = YES
1009UNIX_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]
1020AUTOSTART = NO
1021PORT = 2101
1022HOSTNAME = localhost
1023BINARY = gnunet-service-testbed
1024
1025# How long should operations wait?
1026OPERATION_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 `;'
1036ACCEPT_FROM = 127.0.0.1;
1037ACCEPT_FROM6 = ::1;
1038
1039UNIXPATH = $GNUNET_HOME/gnunet-service-testbed.sock
1040UNIX_MATCH_UID = YES
1041UNIX_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.
1046MAX_PARALLEL_OPERATIONS = 1000
1047MAX_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
1053OVERLAY_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
1069SCALE_FREE_TOPOLOGY_CAP = 70
1070# The minimum number of peers which a peer has to connect
1071SCALE_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.
1076MAX_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.
1080CACHE_SIZE = 30
1081
1082# Maximum number of file descriptors a testbed controller is permitted to keep
1083# open.
1084MAX_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()
1088SETUP_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
1107SHARED_SERVICES =
1108
1109
1110[testbed-barrier]
1111AUTOSTART = NO
1112PORT = 2103
1113HOSTNAME = localhost
1114UNIXPATH = $GNUNET_HOME/gnunet-service-testbed-barrier.sock
1115UNIX_MATCH_UID = YES
1116UNIX_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]
1122AUTOSTART = NO
1123NOARMBIND = YES
1124BINARY = gnunet-daemon-testbed-underlay
1125# The sqlite3 database file containing information about what underlay
1126# restrictions to apply
1127# DBFILE =
1128
1129[latency-logger]
1130AUTOSTART = NO
1131NOARMBIND = YES
1132BINARY = gnunet-daemon-latency-logger
1133# The sqlite3 database file where the latency values are to be stored
1134# DBFILE =
1135[testbed]
1136AUTOSTART = NO
1137PORT = 2101
1138HOSTNAME = localhost
1139BINARY = gnunet-service-testbed
1140
1141# How long should operations wait?
1142OPERATION_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 `;'
1152ACCEPT_FROM = 127.0.0.1;
1153ACCEPT_FROM6 = ::1;
1154
1155UNIXPATH = $GNUNET_HOME/gnunet-service-testbed.sock
1156UNIX_MATCH_UID = YES
1157UNIX_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.
1162MAX_PARALLEL_OPERATIONS = 1000
1163MAX_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
1169OVERLAY_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
1185SCALE_FREE_TOPOLOGY_CAP = 70
1186# The minimum number of peers which a peer has to connect
1187SCALE_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.
1192MAX_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.
1196CACHE_SIZE = 30
1197
1198# Maximum number of file descriptors a testbed controller is permitted to keep
1199# open.
1200MAX_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()
1204SETUP_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
1223SHARED_SERVICES =
1224
1225
1226[testbed-logger]
1227AUTOSTART = NO
1228PORT = 2102
1229HOSTNAME = localhost
1230BINARY = gnunet-service-testbed-logger
1231UNIXPATH = $GNUNET_HOME/gnunet-gnunet-testbed-logger.sock
1232DIR = /tmp
1233UNIX_MATCH_UID = YES
1234UNIX_MATCH_GID = YES
1235
1236
1237[testbed-barrier]
1238AUTOSTART = NO
1239PORT = 2103
1240HOSTNAME = localhost
1241UNIXPATH = $GNUNET_HOME/gnunet-service-testbed-barrier.sock
1242UNIX_MATCH_UID = YES
1243UNIX_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]
1249AUTOSTART = NO
1250NOARMBIND = YES
1251BINARY = gnunet-daemon-testbed-underlay
1252# The sqlite3 database file containing information about what underlay
1253# restrictions to apply
1254# DBFILE =
1255
1256[latency-logger]
1257AUTOSTART = NO
1258NOARMBIND = YES
1259BINARY = 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?
1264CONNECT_TIMEOUT = 30 s
1265# How many connect attempts should we make?
1266CONNECT_ATTEMPTS = 3
1267# How many connections can happen simultaneously?
1268MAX_OUTSTANDING_CONNECTIONS = 50
1269
1270# Should we clean up the files on peer group shutdown?
1271DELETE_FILES = YES
1272
1273[topology]
1274FORCESTART = YES
1275NOARMBIND = YES
1276MINIMUM-FRIENDS = 0
1277FRIENDS-ONLY = NO
1278TARGET-CONNECTION-COUNT = 16
1279FRIENDS = $GNUNET_CONFIG_HOME/topology/friends.txt
1280BINARY = gnunet-daemon-topology
1281[transport]
1282AUTOSTART = YES
1283PORT = 12091
1284HOSTNAME = localhost
1285BINARY = gnunet-service-transport
1286# PREFIX = valgrind
1287
1288# Maximum number of neighbours PER PLUGIN (not in total).
1289NEIGHBOUR_LIMIT = 50
1290ACCEPT_FROM = 127.0.0.1;
1291ACCEPT_FROM6 = ::1;
1292PLUGINS = tcp udp
1293UNIXPATH = $GNUNET_HOME/gnunet-service-transport.sock
1294BLACKLIST_FILE = $GNUNET_CONFIG_HOME/transport/blacklist
1295UNIX_MATCH_UID = NO
1296UNIX_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]
1317UNIXPATH = $GNUNET_HOME/gnunet-transport-plugin-unix.sock
1318TESTING_IGNORE_KEYS = ACCEPT_FROM;
1319
1320[transport-tcp]
1321# Use 0 to ONLY advertise as a peer behind NAT (no port binding)
1322PORT = 2086
1323
1324# Obsolete option, to be replaced by HOLE_EXTERNAL (soon)
1325ADVERTISED_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
1334TESTING_IGNORE_KEYS = ACCEPT_FROM;
1335
1336# Maximum number of open TCP connections allowed
1337MAX_CONNECTIONS = 128
1338
1339TIMEOUT = 5 s
1340# ACCEPT_FROM =
1341# ACCEPT_FROM6 =
1342# REJECT_FROM =
1343# REJECT_FROM6 =
1344# BINDTO =
1345MAX_CONNECTIONS = 128
1346
1347# Enable TCP stealth?
1348TCP_STEALTH = NO
1349
1350
1351[transport-udp]
1352# Use PORT = 0 to autodetect a port available
1353PORT = 2086
1354BROADCAST = YES
1355BROADCAST_RECEIVE = YES
1356BROADCAST_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.
1362MAX_BPS = 1000000
1363TESTING_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]
1374MAX_CONNECTIONS = 128
1375TESTING_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>
1396PORT = 1080
1397
1398# Obsolete option, to be replaced by HOLE_EXTERNAL (soon)
1399ADVERTISED_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
1408MAX_CONNECTIONS = 128
1409TESTING_IGNORE_KEYS = ACCEPT_FROM;
1410
1411# Enable TCP stealth?
1412TCP_STEALTH = NO
1413
1414
1415[transport-https_client]
1416MAX_CONNECTIONS = 128
1417TESTING_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
1444PORT = 4433
1445
1446# Obsolete option, to be replaced by HOLE_EXTERNAL (soon)
1447ADVERTISED_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
1456CRYPTO_INIT = NORMAL
1457KEY_FILE = $GNUNET_DATA_HOME/transport/https.key
1458CERT_FILE = $GNUNET_DATA_HOME/transport/https.cert
1459MAX_CONNECTIONS = 128
1460TESTING_IGNORE_KEYS = ACCEPT_FROM;
1461
1462# Enable TCP stealth?
1463TCP_STEALTH = NO
1464
1465
1466[transport-wlan]
1467# Name of the interface in monitor mode (typically monX)
1468INTERFACE = mon0
1469# Real hardware, no testing
1470TESTMODE = 0
1471TESTING_IGNORE_KEYS = ACCEPT_FROM;
1472
1473
1474[transport-bluetooth]
1475# Name of the interface (typically hciX)
1476INTERFACE = hci0
1477# Real hardware, no testing
1478TESTMODE = 0
1479TESTING_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#
1490GNUNET_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
1497GNUNET_DATA_HOME = ${XDG_DATA_HOME:-$GNUNET_HOME/.local/share}/gnunet/
1498
1499# Configuration files
1500GNUNET_CONFIG_HOME = ${XDG_CONFIG_HOME:-$GNUNET_HOME/.config}/gnunet/
1501
1502# Cached data, no big deal if lost
1503GNUNET_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/").
1513GNUNET_RUNTIME_DIR = ${TMPDIR:-${TMP:-/tmp}}/gnunet-system-runtime/
1514
1515# Runtime data for per-user services
1516GNUNET_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?
1530PRIVATE_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)
1540SYSTEM_TYPE = UNKNOWN
1541
1542[TESTING]
1543SPEEDUP_INTERVAL = 0 ms
1544SPEEDUP_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.
1549USE_ABSTRACT_SOCKETS = NO
1550[vpn]
1551AUTOSTART = YES
1552PORT = 2105
1553HOSTNAME = localhost
1554BINARY = gnunet-service-vpn
1555ACCEPT_FROM = 127.0.0.1;
1556ACCEPT_FROM6 = ::1;
1557UNIXPATH = $GNUNET_HOME/gnunet-service-vpn.sock
1558UNIX_MATCH_UID = NO
1559UNIX_MATCH_GID = YES
1560
1561IPV6ADDR = 1234::1
1562IPV6PREFIX = 32
1563IPV4ADDR = 10.11.10.1
1564IPV4MASK = 255.255.0.0
1565VIRTDNS = 10.11.10.2
1566VIRTDNS6 = 1234::17
1567IFNAME = vpn-gnunet
1568
1569[zonemaster]
1570AUTOSTART = YES
1571FORCESTART = YES
1572HOSTNAME = localhost
1573BINARY = gnunet-service-zonemaster
1574UNIXPATH = $GNUNET_USER_RUNTIME_DIR/gnunet-service-zonemaster.sock
1575PORT = 2123
1576
1577# Do we require users that want to access GNS to run this process
1578# (usually not a good idea)
1579UNIX_MATCH_UID = NO
1580
1581# Do we require users that want to access GNS to be in the 'gnunet' group?
1582UNIX_MATCH_GID = NO
1583
1584# How many queries is GNS allowed to perform in the background at the same time?
1585MAX_PARALLEL_BACKGROUND_QUERIES = 1000
1586
1587# How frequently do we try to publish our full zone?
1588ZONE_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