- expire old keys adaptively
[oweals/gnunet.git] / src / nse / nse_profiler_test.conf
index 7da26b232215c31ae6e00c6706ce58abc9d4bea2..26bcda5204bae0b06cc8ed4d7750ef747e6a6b4f 100644 (file)
@@ -1,25 +1,37 @@
 [PATHS]
-SERVICEHOME = /tmp/nse-profiler/
-DEFAULTCONFIG = nse_profiler_test.conf
+GNUNET_TEST_HOME = /tmp/nse-profiler/
+
+[testbed]
+AUTOSTART = NO
+PORT = 12113
+ACCEPT_FROM = 127.0.0.1; 10.6.0.0/16;
+HOSTNAME = localhost
+MAX_PARALLEL_TOPOLOGY_CONFIG_OPERATIONS = 5
+OVERLAY_TOPOLOGY = RANDOM
+OVERLAY_RANDOM_LINKS = 1000
+OPERATION_TIMEOUT = 45 s
 
 [nse]
-PORT = 0
-UNIXPATH = /tmp/test-nse-service-nse.unix
+PORT = 12114
+UNIXPATH = $GNUNET_RUNTIME_DIR/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 = NO
-CONFIG = $DEFAULTCONFIG
+AUTOSTART = NO
+# Overriding network settings for faster testing (do NOT use
+# these values in production just because they are here)
+WORKDELAY = 60 s
+INTERVAL = 10 s
+WORKBITS = 0
+PROOFFILE = $GNUNET_TEST_HOME/nse.proof
 
 [arm]
-PORT = 0
-DEFAULTSERVICES = core
-UNIXPATH = /tmp/test-nse-service-arm.unix
-#DEBUG = YES
+DEFAULTSERVICES = core nse
+UNIXPATH = $GNUNET_RUNTIME_DIR/test-nse-service-arm.unix
 
 [statistics]
-AUTOSTART = NO
+AUTOSTART = YES
+PORT = 12115
 
 [fs]
 AUTOSTART = NO
@@ -30,12 +42,20 @@ AUTOSTART = NO
 [dht]
 AUTOSTART = NO
 
+[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
+
 [transport]
-PORT = 0
-AUTOSTART = YES
+plugins = udp
 
-[transport-unix]
-PORT = 11111
+[transport-udp]
+PORT = 12116
 
 [core]
 AUTOSTART = YES
@@ -47,39 +67,60 @@ AUTOSTART = YES
 AUTOSTART = NO
 
 [topology]
-PORT = 0
 AUTOSTART = NO
 
-[transport]
-PORT = 0
-plugins = unix
-
-[testing]
-NUM_PEERS = 1000
-WEAKRANDOM = YES
-TOPOLOGY = NONE
-CONNECT_TOPOLOGY = SMALL_WORLD_RING
-PERCENTAGE = 4
-F2F = NO
-CONNECT_TIMEOUT = 60
-CONNECT_ATTEMPTS = 3
-#DEBUG = YES
-HOSTKEYSFILE = ../../contrib/testing_hostkeys.dat
-MAX_CONCURRENT_SSH = 20
-USE_PROGRESSBARS = YES
-PEERGROUP_TIMEOUT = 1000
-TOPOLOGY_OUTPUT_FILE = nse_topo_1000_peers_initial
-MAX_OUTSTANDING_CONNECTIONS = 200
-#SINGLE_PEERINFO_PER_HOST = YES
-#NUM_PEERINFO_PER_HOST = 10
-#SINGLE_STATISTICS_PER_HOST = YES
-#NUM_STATISTICS_PER_HOST = 10
+[dv]
+AUTOSTART = NO
+
+[resolver]
+AUTOSTART = YES
+
+[cadet]
+AUTOSTART = NO
+
+[chat]
+AUTOSTART = NO
+
+[gns]
+AUTOSTART = NO
+
+[vpn]
+AUTOSTART = NO
 
 [nse-profiler]
-#OUTPUT_FILE = nse_output_1000_peers.dat
-#TOPOLOGY_OUTPUT_FILE = nse_topo_1000_peers
-#ROUND0 = 75
-#ROUND1 = 750
-#ROUND2 = 500
-#ROUND3 = 1000
-WAIT_TIME = 7200
+OUTPUT_FILE = nse_output_2000_peers.dat
+TOPOLOGY_OUTPUT_FILE = nse_topo_2000_peers
+DATA_OUTPUT_FILE = nse_stats_2000_peers
+ROUND0 = 1000
+#ROUND1 = 2000
+ROUND2 = 2000
+ROUND3 = 2000
+ROUND4 = 2000
+ROUND5 = 2000
+ROUND6 = 2000
+ROUND7 = 2000
+ROUND8 = 2000
+ROUND9 = 2000
+ROUND10 = 2000
+ROUND11 = 1000
+ROUND12 = 1000
+ROUND13 = 1000
+ROUND14 = 1000
+ROUND15 = 1000
+ROUND16 = 1000
+ROUND17 = 1000
+ROUND18 = 1000
+ROUND19 = 1000
+ROUND20 = 1000
+ROUND21 = 2000
+ROUND22 = 2000
+ROUND23 = 2000
+ROUND24 = 2000
+ROUND25 = 2000
+ROUND26 = 2000
+ROUND27 = 2000
+ROUND28 = 2000
+ROUND29 = 2000
+ROUND30 = 2000
+WAIT_TIME = 1920 s
+CONNECTION_LIMIT = 10