summaryrefslogtreecommitdiff
path: root/src/transport
diff options
context:
space:
mode:
authorNathan S. Evans <evans@in.tum.de>2010-08-18 08:42:02 +0000
committerNathan S. Evans <evans@in.tum.de>2010-08-18 08:42:02 +0000
commit50ce4551fed9c78964f8a47b2ba934a9aa3b8b23 (patch)
tree7f4402804b936f3d005b305e023e59ebd51a372d /src/transport
parent0ffc7a5d7b067091fc41609e39a6638e5791dcc2 (diff)
test case configuration changes, to make nat tests more realistic
Diffstat (limited to 'src/transport')
-rw-r--r--src/transport/Makefile.am1
-rw-r--r--src/transport/test_transport_api_tcp_nat_peer1.conf2
-rw-r--r--src/transport/test_transport_api_tcp_nat_peer2.conf2
-rw-r--r--src/transport/test_transport_api_udp_nat_peer1.conf1
-rw-r--r--src/transport/test_transport_api_udp_nat_peer2.conf1
5 files changed, 7 insertions, 0 deletions
diff --git a/src/transport/Makefile.am b/src/transport/Makefile.am
index 082bf1c27..a60bd6ff5 100644
--- a/src/transport/Makefile.am
+++ b/src/transport/Makefile.am
@@ -38,6 +38,7 @@ else
install-exec-hook:
endif
+#noinst_PROGRAMS = ${check_PROGRAMS}
lib_LTLIBRARIES = \
libgnunettransport.la
diff --git a/src/transport/test_transport_api_tcp_nat_peer1.conf b/src/transport/test_transport_api_tcp_nat_peer1.conf
index c0f7a1088..f6b38dde3 100644
--- a/src/transport/test_transport_api_tcp_nat_peer1.conf
+++ b/src/transport/test_transport_api_tcp_nat_peer1.conf
@@ -1,4 +1,5 @@
[transport-tcp]
+DISABLEV6 = YES
PORT = 12368
BINDTO = 127.0.0.1
BEHIND_NAT = YES
@@ -103,6 +104,7 @@ PORT = 12368
WEAKRANDOM = YES
[gnunetd]
+DISABLEV6 = YES
HOSTKEY = $SERVICEHOME/.hostkey
[PATHS]
diff --git a/src/transport/test_transport_api_tcp_nat_peer2.conf b/src/transport/test_transport_api_tcp_nat_peer2.conf
index dd24a3bf3..90587da0b 100644
--- a/src/transport/test_transport_api_tcp_nat_peer2.conf
+++ b/src/transport/test_transport_api_tcp_nat_peer2.conf
@@ -1,4 +1,5 @@
[transport-tcp]
+DISABLEV6 = YES
PORT = 22368
BINDTO = 127.0.0.1
BEHIND_NAT = NO
@@ -102,6 +103,7 @@ PORT = 22368
WEAKRANDOM = YES
[gnunetd]
+DISABLEV6 = YES
HOSTKEY = $SERVICEHOME/.hostkey
[PATHS]
diff --git a/src/transport/test_transport_api_udp_nat_peer1.conf b/src/transport/test_transport_api_udp_nat_peer1.conf
index bd16a64a7..db3940cb7 100644
--- a/src/transport/test_transport_api_udp_nat_peer1.conf
+++ b/src/transport/test_transport_api_udp_nat_peer1.conf
@@ -1,6 +1,7 @@
[transport-udp]
PORT = 12368
BEHIND_NAT = YES
+BINDTO = 127.0.0.1
ALLOW_NAT = NO
ONLY_NAT_ADDRESSES = YES
INTERNAL_ADDRESS = 127.0.0.1
diff --git a/src/transport/test_transport_api_udp_nat_peer2.conf b/src/transport/test_transport_api_udp_nat_peer2.conf
index 9645acca8..689074302 100644
--- a/src/transport/test_transport_api_udp_nat_peer2.conf
+++ b/src/transport/test_transport_api_udp_nat_peer2.conf
@@ -1,5 +1,6 @@
[transport-udp]
PORT = 22368
+BINDTO = 127.0.0.1
BEHIND_NAT = NO
ALLOW_NAT = YES
EXTERNAL_ADDRESS = 127.0.0.1