This is just a quick hackup for a DTLS echo server using openssl 1.0.2. It works but MTU settings are completely ignored for the moment.
For whatever reason valgrind
is also crashing in some random libuv function.
Usage:
$ mkdir build
$ cd build
$ conan install ..
$ source ./activate.sh
$ cmake ..
$ make
$ ./argon
In another shell you can start the openssl s_client:
$ openssl s_client -dtls1_2 -connect 127.0.0.1:8888 -cert ../keys/client-cert.pem -key ../keys/client-key.pem -CAfile ../keys/ca-cert.pem -cipher DEFAULT
Keys and certificates are provided and can be used. If there is a need to change them, here is a good source on how to create them.