Browse Source

Add HMAC-SHA2-256, HMAC2-384, HMAC2-512 support to OpenVPN

Moataz Elmasry 8 years ago
parent
commit
e0a9fb1950
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/Cedar/Interop_OpenVPN.h
  2. 1 1
      src/bin/hamcore/openvpn_sample.ovpn

+ 1 - 1
src/Cedar/Interop_OpenVPN.h

@@ -155,7 +155,7 @@
 #define	OPENVPN_CIPHER_LIST						"[NULL-CIPHER] NULL AES-128-CBC AES-192-CBC AES-256-CBC BF-CBC CAST-CBC CAST5-CBC DES-CBC DES-EDE-CBC DES-EDE3-CBC DESX-CBC RC2-40-CBC RC2-64-CBC RC2-CBC"
 
 // List of the supported hash algorithm
-#define	OPENVPN_MD_LIST							"SHA SHA1 MD5 MD4 RMD160"
+#define	OPENVPN_MD_LIST							"SHA SHA1 SHA256 SHA384 SHA512 MD5 MD4 RMD160"
 
 // MTU
 #define	OPENVPN_MTU_LINK						1514	// Ethernet MTU

+ 1 - 1
src/bin/hamcore/openvpn_sample.ovpn

@@ -83,7 +83,7 @@ $TAG_BEFORE_REMOTE$remote $TAG_HOSTNAME$ $TAG_PORT$
 #  cipher: [NULL-CIPHER] NULL AES-128-CBC AES-192-CBC AES-256-CBC BF-CBC
 #          CAST-CBC CAST5-CBC DES-CBC DES-EDE-CBC DES-EDE3-CBC DESX-CBC
 #          RC2-40-CBC RC2-64-CBC RC2-CBC
-#  auth:   SHA SHA1 MD5 MD4 RMD160
+#  auth:   SHA SHA1 SHA256 SHA384 SHA512 MD5 MD4 RMD160
 
 cipher AES-128-CBC
 auth SHA1