summaryrefslogtreecommitdiff
path: root/src/transport/test_transport_api_udp_nat_peer2.conf
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-08-01 13:35:31 +0000
committerChristian Grothoff <christian@grothoff.org>2011-08-01 13:35:31 +0000
commit0ea2ffb99da4645d3984fd0b207bd78d261e8356 (patch)
tree903b2f7de0204a116d5714a7aae84405dc51b68c /src/transport/test_transport_api_udp_nat_peer2.conf
parent8b75d8b9e863d4c1e3bb21df93897bca6b9d1799 (diff)
simplifying config
Diffstat (limited to 'src/transport/test_transport_api_udp_nat_peer2.conf')
-rw-r--r--src/transport/test_transport_api_udp_nat_peer2.conf130
1 files changed, 21 insertions, 109 deletions
diff --git a/src/transport/test_transport_api_udp_nat_peer2.conf b/src/transport/test_transport_api_udp_nat_peer2.conf
index a5ef89ae5..2eb82f4bf 100644
--- a/src/transport/test_transport_api_udp_nat_peer2.conf
+++ b/src/transport/test_transport_api_udp_nat_peer2.conf
@@ -1,123 +1,35 @@
-[transport-udp]
-PORT = 12070
-USE_LOCALADDR = YES
+@INLINE@ test_transport_defaults.conf
+[PATHS]
+SERVICEHOME = /tmp/test-transport/api-udp-nat-p2/
+DEFAULTCONFIG = test_transport_api_udp_nat_peer2.conf
[nat]
-BINDTO = 127.0.0.1
-BEHIND_NAT = NO
ALLOW_NAT = YES
-EXTERNAL_ADDRESS = 127.0.0.1
-INTERNAL_ADDRESS = 127.0.0.1
-
-[hostlist]
-HTTP-PROXY =
-SERVERS = http://gnunet.org:8080/
-OPTIONS = -b
-BINARY = gnunet-daemon-hostlist
-CONFIG = $DEFAULTCONFIG
-HOME = $SERVICEHOME
-HOSTNAME = localhost
-HTTPPORT = 8080
-
-[topology]
-BINARY = gnunet-daemon-topology
-CONFIG = $DEFAULTCONFIG
-FRIENDS = $SERVICEHOME/friends
-TARGET-CONNECTION-COUNT = 16
-AUTOCONNECT = YES
-FRIENDS-ONLY = NO
-MINIMUM-FRIENDS = 0
-
-[core]
-AUTOSTART = NO
-
-[transport]
-PLUGINS = udp
-DEBUG = NO
-PREFIX =
-ACCEPT_FROM6 = ::1;
-ACCEPT_FROM = 127.0.0.1;
-NEIGHBOUR_LIMIT = 50
-BINARY = gnunet-service-transport
-CONFIG = $DEFAULTCONFIG
-HOME = $SERVICEHOME
-HOSTNAME = localhost
-PORT = 12071
-UNIXPATH = /tmp/gnunet-p2-service-transport.sock
-#PREFIX = xterm -e xterm -T transport -e gdb --args
-#PREFIX = valgrind --track-origins=yes --leak-check=full --log-file=valgrind_udp_peer2.log
-[peerinfo]
-TRUST = $SERVICEHOME/data/credit/
-HOSTS = $SERVICEHOME/data/hosts/
-ACCEPT_FROM6 = ::1;
-ACCEPT_FROM = 127.0.0.1;
-BINARY = gnunet-service-peerinfo
-CONFIG = $DEFAULTCONFIG
-HOME = $SERVICEHOME
-HOSTNAME = localhost
-PORT = 12072
-UNIXPATH = /tmp/gnunet-p2-service-peerinfo.sock
-
-[resolver]
-ACCEPT_FROM6 = ::1;
-ACCEPT_FROM = 127.0.0.1;
-BINARY = gnunet-service-resolver
-CONFIG = $DEFAULTCONFIG
-HOME = $SERVICEHOME
-HOSTNAME = localhost
-PORT = 12073
-UNIXPATH = /tmp/gnunet-p2-service-resolver.sock
-
-[statistics]
-ACCEPT_FROM6 = ::1;
-ACCEPT_FROM = 127.0.0.1;
-BINARY = gnunet-service-statistics
-CONFIG = $DEFAULTCONFIG
-HOME = $SERVICEHOME
-HOSTNAME = localhost
-PORT = 12074
-UNIXPATH = /tmp/gnunet-p2-service-statistics.sock
+[transport-udp]
+PORT = 12070
[arm]
-DEFAULTSERVICES = transport
-ACCEPT_FROM6 = ::1;
-ACCEPT_FROM = 127.0.0.1;
-BINARY = gnunet-service-arm
-CONFIG = $DEFAULTCONFIG
-HOME = $SERVICEHOME
-HOSTNAME = localhost
PORT = 12075
+DEFAULTSERVICES = transport
UNIXPATH = /tmp/gnunet-p2-service-arm.sock
-[TESTING]
-WEAKRANDOM = YES
-
-[gnunetd]
-HOSTKEY = $SERVICEHOME/.hostkey
-
-[PATHS]
-DEFAULTCONFIG = test_transport_api_udp_nat_peer2.conf
-SERVICEHOME = /tmp/test-transport/api-udp-nat-p2/
-
-[fs]
-AUTOSTART = NO
-
-[datastore]
-AUTOSTART = NO
-
-[dht]
-AUTOSTART = NO
-
-[mesh]
-AUTOSTART = NO
-
-[dns]
-AUTOSTART = NO
+[statistics]
+PORT = 12074
+UNIXPATH = /tmp/gnunet-p2-service-statistics.sock
+[resolver]
+PORT = 12073
+UNIXPATH = /tmp/gnunet-p2-service-resolver.sock
+[peerinfo]
+PORT = 12072
+UNIXPATH = /tmp/gnunet-p2-service-peerinfo.sock
-[nse]
-AUTOSTART = NO
+[transport]
+PORT = 12071
+PLUGINS = udp
+UNIXPATH = /tmp/gnunet-p2-service-transport.sock
+DEBUG = NO