- add underlay api implementation
[oweals/gnunet.git] / src / mesh / test_mesh.conf
index 85f9affcb402a9e21d34b5e54a5aeae790bf6ba6..f61aea30e9559f6fb0884736778e3cc63fd124ce 100644 (file)
@@ -1,64 +1,89 @@
+[PATHS]
+GNUNET_TEST_HOME = /tmp/test-mesh/
+
+[mesh]
+# BINARY = gnunet-service-mesh-enc
+AUTOSTART = NO
+ACCEPT_FROM = 127.0.0.1;
+HOSTNAME = localhost
+PORT = 10511
+#PREFIX = valgrind --leak-check=full
+#PREFIX = xterm -geometry 100x85 -T peer1 -e gdb --args
+REFRESH_PATH_TIME = 2 s
+ID_ANNOUNCE_TIME = 5 s
+CONNECT_TIMEOUT = 30 s
+DEFAULT_TTL = 16
+DHT_REPLICATION_LEVEL = 3
+MAX_TUNNELS = 10
+MAX_CONNECTIONS = 10
+MAX_MSGS_QUEUE = 20
+#DROP_PERCENT = 1
+
+[testbed]
+NUM_PEERS = 5
+OVERLAY_TOPOLOGY = LINE
+
 [fs]
 AUTOSTART = NO
 
 [resolver]
 AUTOSTART = NO
 
-[mesh]
-DEBUG = NO
-AUTOSTART = YES
-ACCEPT_FROM = 127.0.0.1;
-HOSTNAME = localhost
-PORT = 10511
+[vpn]
+AUTOSTART = NO
+PORT = 10012
 
 [dht]
-DEBUG = NO
 AUTOSTART = YES
 ACCEPT_FROM6 = ::1;
 ACCEPT_FROM = 127.0.0.1;
 HOSTNAME = localhost
-PORT = 2100
-
-[block]
-plugins = dht test
+PORT = 12100
+DISABLE_TRY_CONNECT = YES
+FORCE_NSE = 3
 
 [dhtcache]
-QUOTA = 1000000
-DATABASE = sqlite
+QUOTA = 1 MB
+DATABASE = heap
 
 [transport]
 PLUGINS = tcp
-DEBUG = NO
 ACCEPT_FROM6 = ::1;
 ACCEPT_FROM = 127.0.0.1;
 NEIGHBOUR_LIMIT = 50
 PORT = 12365
 
+[ats]
+WAN_QUOTA_OUT = 3932160
+WAN_QUOTA_IN = 3932160
+
 [core]
-TOTAL_QUOTA_OUT = 3932160
-TOTAL_QUOTA_IN = 3932160
 PORT = 12092
 
 [arm]
-DEFAULTSERVICES = core
+DEFAULTSERVICES = core mesh
 PORT = 12366
-DEBUG = NO
 
 [transport-tcp]
-TIMEOUT = 300000
+TIMEOUT = 300 s
 PORT = 12368
 
-[TESTING]
-WEAKRANDOM = YES
+[dns]
+AUTOSTART = NO
 
-[gnunetd]
-HOSTKEY = $SERVICEHOME/.hostkey
+[nse]
+AUTOSTART = NO
 
-[PATHS]
-DEFAULTCONFIG = test_mesh.conf
-SERVICEHOME = /tmp/test-mesh/
+[namestore]
+AUTOSTART = NO
 
-[dns]
+[consensus]
 AUTOSTART = NO
 
+[nat]
+# Allow running on systems with only loopback?
+RETURN_LOCAL_ADDRESSES = YES
+# Disable redundant addresses...
+DISABLEV6 = YES
+USE_LOCALADDR = YES