stun

simple point to point tunnel
git clone git://git.2f30.org/stun.git
Log | Files | Refs | README

commit a1e954a322ef92c669fbdafdb526c67465b1c54e
parent ef7bfeaf4c3d3e9a82c011241ff03e50ac8030c2
Author: sin <sin@2f30.org>
Date:   Mon May  2 17:06:34 +0100

chacha20-poly1305 ietf is the default now

Diffstat:
crypto.c | 9+++------
stun.conf.5 | 3+--
2 files changed, 4 insertions(+), 8 deletions(-)
diff --git a/crypto.c b/crypto.c @@ -12,12 +12,9 @@ static struct cipher { const char *name; const EVP_AEAD *(*aeadfn)(void); } ciphers[] = { - { "aes-128-gcm", EVP_aead_aes_128_gcm }, - { "aes-256-gcm", EVP_aead_aes_256_gcm }, - { "chacha20-poly1305", EVP_aead_chacha20_poly1305 }, -#if LIBRESSL_VERSION_NUMBER >= 0x2030200fL - { "chacha20-poly1305-ietf", EVP_aead_chacha20_poly1305_ietf }, -#endif + { "aes-128-gcm", EVP_aead_aes_128_gcm }, + { "aes-256-gcm", EVP_aead_aes_256_gcm }, + { "chacha20-poly1305", EVP_aead_chacha20_poly1305 }, { NULL, NULL } }; diff --git a/stun.conf.5 b/stun.conf.5 @@ -84,9 +84,8 @@ Set the cipher for the given network. The supported ciphers are: .Ar aes-128-gcm , .Ar aes-256-gcm , -.Ar chacha20-poly1305 and -.Ar chacha20-poly1305-ietf . +.Ar chacha20-poly1305 . The default cipher is .Ar chacha20-poly1305 . Depending on the version of LibreSSL used some of these