[Openvpn-devel] [PATCH applied] Re: Drop incoming fe80:: packets silently now.

2014-06-08 Thread Gert Doering
Patch has been applied to the master and release/2.3 branches. commit 70f1864188ad00451683cabf51e56b7730250c40 (master) commit 45f5a0a87870809ee453695ff0167b3754f0431e (release/2.3) Author: Gert Doering List-Post: openvpn-devel@lists.sourceforge.net Date: Fri Jun 6 20:43:55 2014 +0200 Dro

[Openvpn-devel] [PATCH] Fix remaining issues with OFB/CFB cipher modes

2014-06-08 Thread Steffan Karger
Hi, OFB and CFB cipher modes have been broken for a long time, see trac ticket #89 (https://community.openvpn.net/openvpn/ticket/89). Commit be46a2c enables support for OFB and CFB again, but leaves some minor problems around. The following patches resolve the remaining issues. Patches 1-3 fix so

[Openvpn-devel] [PATCH 1/4] Rename ALLOW_NON_CBC_CIPHERS to ENABLE_OFB_CFB_MODE, and add to configure.

2014-06-08 Thread Steffan Karger
Makes OFB/CFB compile time configurable, and fixes output of --show-ciphers to also show OFB/CFB ciphers along the way (becasue crypto.h was not included from crypto_openssl.c). Signed-off-by: Steffan Karger --- configure.ac | 8 src/openvpn/crypto.c | 2 +- src/

[Openvpn-devel] [PATCH 2/4] Add proper check for crypto modes (CBC or OFB/CFB)

2014-06-08 Thread Steffan Karger
OpenSSL has added AEAD-CBC mode ciphers like AES-128-CBC-HMAC-SHA1, which have mode EVP_CIPH_CBC_MODE, but require a different API (the AEAD API). So, add extra checks to filter out those AEAD-mode ciphers. Adding these made the crypto library agnostic function cfb_ofb_mode() superfuous, so remove

[Openvpn-devel] [PATCH 3/4] Improve --show-ciphers to show if a cipher can be used in static key mode

2014-06-08 Thread Steffan Karger
Also remove the bulky warning from init_key_type() and add the information to the --show-ciphers output. Signed-off-by: Steffan Karger --- src/openvpn/crypto.c | 4 src/openvpn/crypto_openssl.c | 19 +-- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git

[Openvpn-devel] [PATCH 4/4] Extend t_lpback tests to test all ciphers reported by --show-ciphers

2014-06-08 Thread Steffan Karger
... instead of just BF-CBC. Should catch more mistakes. Signed-off-by: Steffan Karger --- tests/t_lpback.sh | 30 ++ 1 file changed, 26 insertions(+), 4 deletions(-) diff --git a/tests/t_lpback.sh b/tests/t_lpback.sh index 40767a1..c224797 100755 --- a/tests/t_lpback