-fix missing check of return value
[oweals/gnunet.git] / src / mesh / test_mesh_small.conf
index 2a834f6bd5d6656d860931a2f6befef5b61d5e98..4083e8e79438f97e1d561c40d3a5edc5ec8f2b61 100644 (file)
@@ -1,24 +1,48 @@
 [PATHS]
 SERVICEHOME = /tmp/test_mesh_small/
-DEFAULTCONFIG = test_mesh_small.conf
+
+[mesh]
+PORT = 10005
+ACCEPT_FROM = 127.0.0.1;
+HOSTNAME = localhost
+REFRESH_PATH_TIME = 5 s
+APP_ANNOUNCE_TIME = 2 s
+ID_ANNOUNCE_TIME = 2 s
+UNACKNOWLEDGED_WAIT = 2 s
+CONNECT_TIMEOUT = 30 s
+DEFAULT_TTL = 64
+DHT_REPLICAITON_LEVEL = 10
+# PREFIX = valgrind --leak-check=full --suppressions=valgrind-mesh.supp
+# PREFIX = xterm -geometry 100x85 -T peer1 -e gdb --args
 
 [arm]
 PORT = 10010
-DEFAULTSERVICES = core mesh
-#DEBUG = YES
+DEFAULTSERVICES = core dht mesh
 
 [statistics]
 AUTOSTART = YES
 PORT = 10000
 
 [dht]
-AUTOSTART = NO
+AUTOSTART = YES
+ACCEPT_FROM6 = ::1;
+ACCEPT_FROM = 127.0.0.1;
+HOSTNAME = localhost
 PORT = 10001
 
+[nse]
+WORKBITS = 0
+INTERVAL = 60 s
+WORKDELAY = 500 ms
+
 [dns]
 AUTOSTART = NO
 PORT = 10011
 
+[vpn]
+AUTOSTART = NO
+PORT = 10012
+
 [transport]
 PORT = 10002
 AUTOSTART = YES
@@ -31,6 +55,11 @@ BEHIND_NAT = NO
 ALLOW_NAT = NO
 INTERNAL_ADDRESS = 127.0.0.1
 EXTERNAL_ADDRESS = 127.0.0.1
+RETURN_LOCAL_ADDRESSES = YES
+
+[ats]
+WAN_QUOTA_IN = 1 GB
+WAN_QUOTA_OUT = 1 GB
 
 [core]
 AUTOSTART = YES
@@ -40,27 +69,28 @@ PORT = 10003
 AUTOSTART = YES
 PORT = 10004
 
-[mesh]
-PORT = 10005
-
 [testing]
-NUM_PEERS = 16
+WEAKRANDOM = YES
+
+[testing_old]
+NUM_PEERS = 5
 WEAKRANDOM = YES
 TOPOLOGY = NONE
-CONNECT_TOPOLOGY = RING
-#CONNECT_TOPOLOGY = ERDOS_RENYI
+CONNECT_TOPOLOGY = LINE
+BLACKLIST_TOPOLOGY = LINE
+BLACKLIST_TRANSPORTS = tcp udp http unix
+#TOPOLOGY_FILE = small.dat
 #CONNECT_TOPOLOGY_OPTION = CONNECT_MINIMUM
 #CONNECT_TOPOLOGY_OPTION_MODIFIER = 25
 #PERCENTAGE = 3
 #PROBABILITY = .1
 F2F = NO
-CONNECT_TIMEOUT = 60
-CONNECT_ATTEMPTS = 3
-DEBUG = YES
-HOSTKEYSFILE = ../../contrib/testing_hostkeys.dat
+CONNECT_TIMEOUT = 660 s
+CONNECT_ATTEMPTS = 2
+HOSTKEYSFILE = ${DATADIR}/testing_hostkeys.dat
 MAX_CONCURRENT_SSH = 10
 USE_PROGRESSBARS = YES
-PEERGROUP_TIMEOUT = 2400
+PEERGROUP_TIMEOUT = 2400 s
 TOPOLOGY_OUTPUT_FILE = mesh_topo_initial
 MAX_OUTSTANDING_CONNECTIONS = 75
 #SINGLE_PEERINFO_PER_HOST = YES
@@ -70,6 +100,6 @@ MAX_OUTSTANDING_CONNECTIONS = 75
 DELETE_FILES = YES
 
 [test_mesh_small]
-WAIT_TIME = 2
-CONNECTION_LIMIT = 10
-DATA_OUTPUT_FILE=data_output
\ No newline at end of file
+WAIT_TIME = 30 s
+CONNECTION_LIMIT = 16
+#DATA_OUTPUT_FILE=data_output