configure ATS ports conflict-free for tests
[oweals/gnunet.git] / contrib / defaults.conf
index a634988a17be9752e22a597768c5440d2c2f21e2..9922ebf16965963b5734d6490f33eb1add0a8be2 100644 (file)
@@ -18,6 +18,9 @@ CONNECT_ATTEMPTS = 3
 # How many connections can happen simultaneously?
 MAX_OUTSTANDING_CONNECTIONS = 50
 
+# Should we clean up the files on peer group shutdown?
+DELETE_FILES = YES
+
 [client]
 HOME = $SERVICEHOME
 
@@ -28,12 +31,15 @@ BEHIND_NAT = NO
 # Is the NAT hole-punched?
 PUNCHED_NAT = NO
 
-# Disable UPNP by default until it gets cleaner!
+# Enable UPNP by default?
 ENABLE_UPNP = NO
 
 # Use addresses from the local network interfaces (inluding loopback, but also others)
 USE_LOCALADDR = YES
 
+# Use address obtained from a DNS lookup of our hostname
+USE_HOSTNAME = NO
+
 # External IP address of the NAT box (if known); IPv4 dotted-decimal ONLY at this time (should allow DynDNS!)
 # normal interface IP address for non-NATed peers; 
 # possibly auto-detected (using UPnP) if possible if not specified
@@ -66,7 +72,7 @@ IFC_SCAN_FREQUENCY = 3000000
 DYNDNS_FREQUENCY = 140000
 
 [gnunet-nat-server]
-HOSTNAME = nat.gnunet.org
+HOSTNAME = gnunet.org
 PORT = 5724
 
 [transport-tcp]
@@ -83,19 +89,27 @@ TIMEOUT = 5000
 # ACCEPT_FROM6 =
 # REJECT_FROM =
 # REJECT_FROM6 =
-# BINDTO = 
+# BINDTO =
+
+MAX_CONNECTIONS = 128
 
 
 [transport-udp]
 PORT = 2086
 
+MAX_BPS = 1000000
+
 
 [transport-http]
 PORT = 1080
-
+MAX_CONNECTIONS = 128
 
 [transport-https]
 PORT = 4433
+CRYPTO_INIT = NORMAL
+KEY_FILE = https.key
+CERT_FILE = https.cert
+MAX_CONNECTIONS = 128
 
 
 [transport-wlan]
@@ -203,6 +217,7 @@ HOSTNAME = localhost
 HOME = $SERVICEHOME
 CONFIG = $DEFAULTCONFIG
 BINARY = gnunet-service-transport
+#PREFIX = valgrind
 NEIGHBOUR_LIMIT = 50
 ACCEPT_FROM = 127.0.0.1;
 ACCEPT_FROM6 = ::1;
@@ -221,13 +236,39 @@ UNIX_MATCH_GID = YES
 # REJECT_FROM6 =
 # PREFIX =
 
+[ats]
+AUTOSTART = YES
+PORT = 2098
+HOSTNAME = localhost
+HOME = $SERVICEHOME
+CONFIG = $DEFAULTCONFIG
+BINARY = gnunet-service-ats
+ACCEPT_FROM = 127.0.0.1;
+ACCEPT_FROM6 = ::1;
+UNIXPATH = /tmp/gnunet-service-ats.sock
+UNIX_MATCH_UID = YES
+UNIX_MATCH_GID = YES
+
+TOTAL_QUOTA_IN = 65536
+TOTAL_QUOTA_OUT = 65536
+# ATS options
+DUMP_MLP = NO
+DUMP_SOLUTION = NO
+DUMP_OVERWRITE = NO 
+DUMP_MIN_PEERS = 0
+DUMP_MIN_ADDRS = 0
+DUMP_OVERWRITE = NO
+ATS_MIN_INTERVAL = 15000
+ATS_EXEC_INTERVAL = 30000
+
+
 [core]
 AUTOSTART = YES
 PORT = 2092
 HOSTNAME = localhost
 HOME = $SERVICEHOME
 CONFIG = $DEFAULTCONFIG
-BINARY = gnunet-service-core
+BINARY = gnunet-service-core-new
 ACCEPT_FROM = 127.0.0.1;
 ACCEPT_FROM6 = ::1;
 # quotas are in bytes per second now!
@@ -385,7 +426,7 @@ PLUGINS = fs dht test dns
 
 [mesh]
 AUTOSTART = YES
-PORT = 10511
+PORT = 2096
 HOSTNAME = localhost
 HOME = $SERVICEHOME
 CONFIG = $DEFAULTCONFIG
@@ -396,14 +437,39 @@ UNIXPATH = /tmp/gnunet-service-mesh.sock
 UNIX_MATCH_UID = YES
 UNIX_MATCH_GID = YES
 
+[nse]
+AUTOSTART = YES
+PORT = 2097
+HOSTNAME = localhost
+HOME = $SERVICEHOME
+CONFIG = $DEFAULTCONFIG
+BINARY = gnunet-service-nse
+ACCEPT_FROM = 127.0.0.1;
+ACCEPT_FROM6 = ::1;
+UNIXPATH = /tmp/test-nse-service-nse.unix
+UNIX_MATCH_UID = YES
+UNIX_MATCH_GID = YES
+PROOFFILE = $SERVICEHOME/.nse-proof
+HISTOGRAM = $SERVICEHOME/nse-history.log
+
+# How 'slowly' should the proof-of-work be constructed (delay
+# between rounds in ms); sane values between 0 and ~1000.
+WORKDELAY = 5
+
+# Note: changing any of the values below will make this peer
+# completely incompatible with other peers! 
+INTERVAL = 3600000
+WORKBITS = 20
+
+
 [vpn]
 CONFIG = $DEFAULTCONFIG
 BINARY = gnunet-daemon-vpn
 IPV6ADDR = 1234::1
 IPV6PREFIX = 32
-IPV4ADDR = 10.10.10.1
-IPV4MASK = 255.255.255.0
-VIRTDNS = 10.10.10.2
+IPV4ADDR = 10.11.10.1
+IPV4MASK = 255.255.0.0
+VIRTDNS = 10.11.10.2
 IFNAME = vpn-gnunet
 
 [exit]
@@ -412,7 +478,7 @@ BINARY = gnunet-daemon-exit
 IPV6ADDR = 1234:1::1
 IPV6PREFIX = 32
 IPV4ADDR = 10.10.1.1
-IPV4MASK = 255.255.255.0
+IPV4MASK = 255.255.0.0
 IFNAME = exit-gnunet
 ENABLE_UDP = NO
 ENABLE_TCP = NO