aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSchanzenbach, Martin <mschanzenbach@posteo.de>2019-12-25 20:34:43 +0900
committerSchanzenbach, Martin <mschanzenbach@posteo.de>2019-12-25 20:34:43 +0900
commit65a1f7952d0604b1f8ff3da411c669596946c07c (patch)
tree63eb7557a778925ec4948239d746f592fbab6a44
parent0c6f1a6cda162ac20bdca31085fba2361cb04b42 (diff)
downloadgnunet-65a1f7952d0604b1f8ff3da411c669596946c07c.tar.gz
gnunet-65a1f7952d0604b1f8ff3da411c669596946c07c.zip
add tcp test configs
-rw-r--r--src/transport/test_communicator_tcp_peer1.conf31
-rw-r--r--src/transport/test_communicator_tcp_peer2.conf31
2 files changed, 62 insertions, 0 deletions
diff --git a/src/transport/test_communicator_tcp_peer1.conf b/src/transport/test_communicator_tcp_peer1.conf
new file mode 100644
index 000000000..fc08af1ee
--- /dev/null
+++ b/src/transport/test_communicator_tcp_peer1.conf
@@ -0,0 +1,31 @@
1@INLINE@ test_transport_defaults.conf
2
3[PATHS]
4GNUNET_TEST_HOME = $GNUNET_TMP/test-communicator-unix-1/
5
6[PEER]
7PRIVATE_KEY = $GNUNET_TMP/test-communicator-unix-1/private.key
8
9[transport-tcp]
10PORT = 52400
11
12[transport-udp]
13PORT = 52401
14
15[transport]
16PORT = 60000
17UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-transport_test_1.sock
18
19[nat]
20UNIXPATH = $GNUNET_TMP/test-communicator-unix-1/nat.sock
21ENABLE_IPSCAN = YES
22
23[communicator-unix]
24UNIXPATH = $GNUNET_RUNTIME_DIR/test_gnunet-communicator-unix_1.sock
25
26[communicator-tcp]
27BINDTO = 60002
28DISABLE_V6 = YES
29
30[communicator-udp]
31BINDTO = 60002
diff --git a/src/transport/test_communicator_tcp_peer2.conf b/src/transport/test_communicator_tcp_peer2.conf
new file mode 100644
index 000000000..4197df00d
--- /dev/null
+++ b/src/transport/test_communicator_tcp_peer2.conf
@@ -0,0 +1,31 @@
1@INLINE@ test_transport_defaults.conf
2
3[PATHS]
4GNUNET_TEST_HOME = $GNUNET_TMP/test-gnunetd-plugin-transport/
5
6[PEER]
7PRIVATE_KEY = $GNUNET_TMP/test-communicator-unix-2/private.key
8
9
10[transport-tcp]
11PORT = 52400
12
13[transport-udp]
14PORT = 52401
15
16[transport]
17PORT = 60001
18UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-transport_test_2.sock
19
20[nat]
21UNIXPATH = $GNUNET_TMP/test-communicator-unix-2/nat.sock
22
23[communicator-unix]
24UNIXPATH = $GNUNET_RUNTIME_DIR/test_gnunet-communicator-unix_2.sock
25
26[communicator-tcp]
27BINDTO = 60003
28DISABLE_V6 = YES
29
30[communicator-udp]
31BINDTO = 60003