From 65a1f7952d0604b1f8ff3da411c669596946c07c Mon Sep 17 00:00:00 2001 From: "Schanzenbach, Martin" Date: Wed, 25 Dec 2019 20:34:43 +0900 Subject: add tcp test configs --- src/transport/test_communicator_tcp_peer1.conf | 31 ++++++++++++++++++++++++++ src/transport/test_communicator_tcp_peer2.conf | 31 ++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 src/transport/test_communicator_tcp_peer1.conf create mode 100644 src/transport/test_communicator_tcp_peer2.conf 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 @@ +@INLINE@ test_transport_defaults.conf + +[PATHS] +GNUNET_TEST_HOME = $GNUNET_TMP/test-communicator-unix-1/ + +[PEER] +PRIVATE_KEY = $GNUNET_TMP/test-communicator-unix-1/private.key + +[transport-tcp] +PORT = 52400 + +[transport-udp] +PORT = 52401 + +[transport] +PORT = 60000 +UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-transport_test_1.sock + +[nat] +UNIXPATH = $GNUNET_TMP/test-communicator-unix-1/nat.sock +ENABLE_IPSCAN = YES + +[communicator-unix] +UNIXPATH = $GNUNET_RUNTIME_DIR/test_gnunet-communicator-unix_1.sock + +[communicator-tcp] +BINDTO = 60002 +DISABLE_V6 = YES + +[communicator-udp] +BINDTO = 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 @@ +@INLINE@ test_transport_defaults.conf + +[PATHS] +GNUNET_TEST_HOME = $GNUNET_TMP/test-gnunetd-plugin-transport/ + +[PEER] +PRIVATE_KEY = $GNUNET_TMP/test-communicator-unix-2/private.key + + +[transport-tcp] +PORT = 52400 + +[transport-udp] +PORT = 52401 + +[transport] +PORT = 60001 +UNIXPATH = $GNUNET_RUNTIME_DIR/gnunet-service-transport_test_2.sock + +[nat] +UNIXPATH = $GNUNET_TMP/test-communicator-unix-2/nat.sock + +[communicator-unix] +UNIXPATH = $GNUNET_RUNTIME_DIR/test_gnunet-communicator-unix_2.sock + +[communicator-tcp] +BINDTO = 60003 +DISABLE_V6 = YES + +[communicator-udp] +BINDTO = 60003 -- cgit v1.2.3