summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSchanzenbach, Martin <mschanzenbach@posteo.de>2019-12-31 13:18:19 +0900
committerSchanzenbach, Martin <mschanzenbach@posteo.de>2019-12-31 13:18:19 +0900
commit658ba3f2b74a7b5e4ec92211cded45cdf6af8105 (patch)
treea87159b9ad883e46380ed875e5dff7f1b3449d62
parentc594ee5be16254042c657fa9af753fa5bacffc6c (diff)
add rekey udp test
-rw-r--r--src/transport/test_communicator_udp_rekey_peer1.conf32
-rw-r--r--src/transport/test_communicator_udp_rekey_peer2.conf32
2 files changed, 64 insertions, 0 deletions
diff --git a/src/transport/test_communicator_udp_rekey_peer1.conf b/src/transport/test_communicator_udp_rekey_peer1.conf
new file mode 100644
index 000000000..18028cd48
--- /dev/null
+++ b/src/transport/test_communicator_udp_rekey_peer1.conf
@@ -0,0 +1,32 @@
+@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
+REKEY_INTERVAL = 100ms
+
+[communicator-udp]
+BINDTO = 60002
diff --git a/src/transport/test_communicator_udp_rekey_peer2.conf b/src/transport/test_communicator_udp_rekey_peer2.conf
new file mode 100644
index 000000000..7d7179578
--- /dev/null
+++ b/src/transport/test_communicator_udp_rekey_peer2.conf
@@ -0,0 +1,32 @@
+@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
+REKEY_INTERVAL = 100ms
+
+[communicator-udp]
+BINDTO = 60003