From 4b47ee26cba610b26bbfc088736846541bee7be3 Mon Sep 17 00:00:00 2001 From: Florin Coras Date: Thu, 19 Nov 2020 13:38:26 -0800 Subject: tls: dtls initial implementation Type: feature Basic dtls transport protocol implementation that relies on openssl wire protocol implementation. Retries/timeouts not yet supported. To test using vcl test apps, first ensure all arp entries are properly resolved and subsequently: server: vcl_server -p dtls 1234 client: vcl_client -p dtls 1234 -U -N 2000000 -T 1460 -X Signed-off-by: Florin Coras Change-Id: I04b4516a8fe9ce85ba230bcdd891f33a900046ed --- src/plugins/hs_apps/vcl/vcl_test_client.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/plugins/hs_apps/vcl/vcl_test_client.c') diff --git a/src/plugins/hs_apps/vcl/vcl_test_client.c b/src/plugins/hs_apps/vcl/vcl_test_client.c index 0aff98ef1dd..35f1ac11818 100644 --- a/src/plugins/hs_apps/vcl/vcl_test_client.c +++ b/src/plugins/hs_apps/vcl/vcl_test_client.c @@ -1105,7 +1105,8 @@ main (int argc, char **argv) if (ctrl->fd < 0) vtfail ("vppcom_session_create()", ctrl->fd); - if (vcm->proto == VPPCOM_PROTO_TLS || vcm->proto == VPPCOM_PROTO_QUIC) + if (vcm->proto == VPPCOM_PROTO_TLS || vcm->proto == VPPCOM_PROTO_QUIC || + vcm->proto == VPPCOM_PROTO_DTLS) { vppcom_cert_key_pair_t ckpair; uint32_t ckp_len; -- cgit 1.2.3-korg