- add underlay api implementation
[oweals/gnunet.git] / src / mesh / test_mesh.conf
index a7e9680a505f2b8b1b06426bdf41914182534423..f61aea30e9559f6fb0884736778e3cc63fd124ce 100644 (file)
@@ -1,24 +1,33 @@
-[fs]
-AUTOSTART = NO
-
-[resolver]
-AUTOSTART = NO
+[PATHS]
+GNUNET_TEST_HOME = /tmp/test-mesh/
 
 [mesh]
-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
 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
@@ -30,13 +39,12 @@ 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
@@ -53,22 +61,13 @@ WAN_QUOTA_IN = 3932160
 PORT = 12092
 
 [arm]
-DEFAULTSERVICES = core
+DEFAULTSERVICES = core mesh
 PORT = 12366
 
 [transport-tcp]
 TIMEOUT = 300 s
 PORT = 12368
 
-[TESTING]
-WEAKRANDOM = YES
-
-[gnunetd]
-HOSTKEY = $SERVICEHOME/.hostkey
-
-[PATHS]
-SERVICEHOME = /tmp/test-mesh/
-
 [dns]
 AUTOSTART = NO
 
@@ -77,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
+