fix
[oweals/gnunet.git] / src / nse / test_nse.conf
index 554cc4c0fcc638716a02ce18f956238d7e1b95c7..5652fa4ead2462b3fd6c1493f05290cde87f3f1b 100644 (file)
@@ -1,18 +1,27 @@
 [PATHS]
-SERVICEHOME = /tmp/test-gnunetd-nse/
-DEFAULTCONFIG = test_nse.conf
+SERVICEHOME = /tmp/test-nse-multipeer/
 
 [nse]
 PORT = 22353
 UNIXPATH = /tmp/test-nse-service-nse.unix
+BINARY = gnunet-service-nse
+#BINARY = /home/mrwiggles/documents/research/gnunet/gnunet-ng/src/nse/.libs/gnunet-service-nse
+#PREFIX = valgrind --leak-check=full --log-file=valgrind_nse.%p
 AUTOSTART = YES
-DEBUG = YES
+PROOFFILE = $SERVICEHOME/proof.nse
+# Overriding network settings for faster testing (do NOT use
+# these values in production just because they are here)
+WORKDELAY = 1 ms
+INTERVAL = 60 s
+WORKBITS = 1
+
+HISTOGRAM = $SERVICEHOME/nse-histogram
+
 
 [arm]
 PORT = 22354
-DEFAULTSERVICES = nse
+DEFAULTSERVICES = nse core
 UNIXPATH = /tmp/test-nse-service-arm.unix
-#DEBUG = YES
 
 [fs]
 AUTOSTART = NO
@@ -24,14 +33,44 @@ AUTOSTART = NO
 AUTOSTART = NO
 
 [transport]
-AUTOSTART = NO
+AUTOSTART = YES
 
 [core]
 AUTOSTART = YES
 
 [peerinfo]
-AUTOSTART = NO
+AUTOSTART = YES
+
+[nat]
+DISABLEV6 = YES
+BINDTO = 127.0.0.1
+ENABLE_UPNP = NO
+BEHIND_NAT = NO
+ALLOW_NAT = NO
+INTERNAL_ADDRESS = 127.0.0.1
+EXTERNAL_ADDRESS = 127.0.0.1
 
 [dns]
 AUTOSTART = NO
 
+[testing]
+WEAKRANDOM = YES
+
+[testing_old]
+NUM_PEERS = 10
+TOPOLOGY = NONE
+CONNECT_TOPOLOGY = SMALL_WORLD_RING
+PERCENTAGE = 3
+F2F = NO
+CONNECT_TIMEOUT = 60 s
+CONNECT_ATTEMPTS = 3
+HOSTKEYSFILE = ${DATADIR}/testing_hostkeys.dat
+MAX_CONCURRENT_SSH = 20
+USE_PROGRESSBARS = YES
+PEERGROUP_TIMEOUT = 1000 s
+
+DELETE_FILES = NO
+
+
+[consensus]
+AUTOSTART = NO