- add underlay api implementation
[oweals/gnunet.git] / src / mesh / test_mesh.conf
index e3fd00037a3046ddf018dc8f72fa267d406c1f91..f61aea30e9559f6fb0884736778e3cc63fd124ce 100644 (file)
@@ -1,49 +1,53 @@
-[fs]
-AUTOSTART = NO
-
-[resolver]
-AUTOSTART = NO
+[PATHS]
+GNUNET_TEST_HOME = /tmp/test-mesh/
 
 [mesh]
-DEBUG = YES
-AUTOSTART = YES
+# 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 = 3 s
-APP_ANNOUNCE_TIME = 5 s
+#PREFIX = valgrind --leak-check=full
+#PREFIX = xterm -geometry 100x85 -T peer1 -e gdb --args
+REFRESH_PATH_TIME = 2 s
 ID_ANNOUNCE_TIME = 5 s
-UNACKNOWLEDGED_WAIT = 2 s
 CONNECT_TIMEOUT = 30 s
 DEFAULT_TTL = 16
-DHT_REPLICATION_LEVEL = 10
+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
 
 [vpn]
 AUTOSTART = NO
 PORT = 10012
 
 [dht]
-DEBUG = NO
 AUTOSTART = YES
 ACCEPT_FROM6 = ::1;
 ACCEPT_FROM = 127.0.0.1;
 HOSTNAME = localhost
 PORT = 12100
-
-[block]
-plugins = dht test
+DISABLE_TRY_CONNECT = YES
+FORCE_NSE = 3
 
 [dhtcache]
 QUOTA = 1 MB
-DATABASE = sqlite
+DATABASE = heap
 
 [transport]
 PLUGINS = tcp
-DEBUG = NO
 ACCEPT_FROM6 = ::1;
 ACCEPT_FROM = 127.0.0.1;
 NEIGHBOUR_LIMIT = 50
@@ -57,24 +61,13 @@ WAN_QUOTA_IN = 3932160
 PORT = 12092
 
 [arm]
-DEFAULTSERVICES = core
+DEFAULTSERVICES = core mesh
 PORT = 12366
-DEBUG = NO
 
 [transport-tcp]
 TIMEOUT = 300 s
 PORT = 12368
 
-[TESTING]
-WEAKRANDOM = YES
-
-[gnunetd]
-HOSTKEY = $SERVICEHOME/.hostkey
-
-[PATHS]
-DEFAULTCONFIG = test_mesh.conf
-SERVICEHOME = /tmp/test-mesh/
-
 [dns]
 AUTOSTART = NO
 
@@ -83,3 +76,14 @@ AUTOSTART = NO
 
 [namestore]
 AUTOSTART = NO
+
+[consensus]
+AUTOSTART = NO
+
+[nat]
+# Allow running on systems with only loopback?
+RETURN_LOCAL_ADDRESSES = YES
+# Disable redundant addresses...
+DISABLEV6 = YES
+USE_LOCALADDR = YES
+