- read whitelist from database
[oweals/gnunet.git] / src / testbed / testbed.conf.in
1 [testbed]
2 AUTOSTART = NO
3 @JAVAPORT@ PORT = 2101
4 HOSTNAME = localhost
5 BINARY = gnunet-service-testbed
6
7 # How long should operations wait?
8 OPERATION_TIMEOUT = 30 s
9
10 # Set this to the path where the testbed helper is installed.  By default the
11 # helper binary is searched in @prefix@/lib/gnunet/libexec/
12 # HELPER_BINARY_PATH = @prefix@/lib/gnunet/libexec/gnunet-helper-testbed
13
14 # Add your local network address here. For example, if you want to running
15 # testbed on a group of hosts connected to network 192.168.1.0/24, then set
16 #   ACCEPT_FROM = 127.0.0.1; 192.168.1.0/24;
17 # Multiple network addresses can be given.  They should be separated by `;'
18 ACCEPT_FROM = 127.0.0.1;
19 ACCEPT_FROM6 = ::1;
20
21 UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-testbed.sock
22 UNIX_MATCH_UID = YES
23 UNIX_MATCH_GID = YES
24
25 # How many maximum number of operations can be run in parallel.  This number
26 # should be decreased if the system is getting overloaded and to keep reduce the
27 # load of testbed.
28 MAX_PARALLEL_OPERATIONS = 1000
29 MAX_PARALLEL_TOPOLOGY_CONFIG_OPERATIONS = 1
30
31 # What topology should be generated by the helper functions GNUNET_TESTBED_run()
32 # and GNUNET_TESTBED_test_run().  This option has no effect if testbed is
33 # initialized with other functions.  Valid values can be found at:
34 # https://gnunet.org/content/supported-topologies
35 OVERLAY_TOPOLOGY = NONE
36
37 # Number of random links to be included to the generate the above topology.
38 # Note that not all topologies require this option and ignore it.  Topologies
39 # requiring this option are RANDOM, SMALL_WORLD and SMALL_WORLD ring.
40 # OVERLAY_RANDOM_LINKS =
41
42 # If the OVERLAY_TOPOLOGY is set to FROM_FILE.  This option is ignored for all
43 # other topology values.  This option should contain the path to the file
44 # containing the topology information.  The format of the file is presented at:
45 # https://gnunet.org/content/topology-file-format
46 # OVERLAY_TOPOLOGY_FILE = /path/to/topology-file
47
48 # How many maximum number of handles to peers' services should be kept open at
49 # any time.  This number also keeps a check on the number of open descriptors as
50 # opening a service connection results in opening a file descriptor.
51 MAX_PARALLEL_SERVICE_CONNECTIONS = 256
52
53 # Size of the internal testbed cache.  It is used to cache handles to peers
54 # while trying to connect them.
55 CACHE_SIZE = 30
56
57 # Maximum number of file descriptors a testbed controller is permitted to keep
58 # open.
59 MAX_OPEN_FDS = 512
60
61 # How long should we wait for testbed to setup while using helper functions
62 # GNUNET_TESTBED_test_run() and GNUNET_TESTBED_run()
63 SETUP_TIMEOUT = 5 m
64
65 # Where should testbed write load statistics data
66 # STATS_DIR = /tmp/load
67
68 # What services should be shared among peers.  
69 # Format is "[<service:share>] [<service:share>] ...".  The shared services are
70 # started standalone without any other peer services or a hostkey.  For this
71 # reason, only services which doesn't depend on other services can only be
72 # shared.  Example: To share peerinfo among every 10 peers.  The following spec
73 # will start 5 peerinfo services when 50 peers are started:
74 #
75 #   SHARED_SERVICES = peerinfo:10
76 #
77 # To share multiple services
78 #
79 #   SHARED_SERVICES = service1:n_share1 service2:n_share2 ...
80 #
81 # Default is to share no services
82 SHARED_SERVICES =
83
84
85 [testbed-logger]
86 AUTOSTART = NO
87 @UNIXONLY@ PORT = 2102
88 HOSTNAME = localhost
89 BINARY = gnunet-service-testbed-logger
90 UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-gnunet-testbed-logger.sock
91 DIR = /tmp
92 UNIX_MATCH_UID = YES
93 UNIX_MATCH_GID = YES
94
95
96 [testbed-barrier]
97 AUTOSTART = NO
98 @UNIXONLY@ PORT = 2103
99 HOSTNAME = localhost
100 UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-testbed-barrier.sock
101 UNIX_MATCH_UID = YES
102 UNIX_MATCH_GID = YES