Some security changes/hints.

This commit is contained in:
2018-03-09 03:29:59 +01:00
parent b798216aa5
commit 267cb8f1f5
3 changed files with 24 additions and 10 deletions

View File

@@ -500,6 +500,12 @@ echo ""
echo "Note: if setting this parameter at the server configuration, this parameter *must'"
echo " also set this parameter at client configuration"
echo ""
echo " cipher BF-CBC # Blowfish (default)"
echo " cipher AES-128-CBC # AES 128Bit"
echo " cipher AES-256-CBC # AES 256Bit"
echo " cipher DES-EDE3-CBC # Triple-DES"
echo " ..."
echo ""
echo -e "Type \"\033[33mNone\033[m\" if no default cipher should be set."
echo ""
SERVER_CIPHER=""
@@ -1736,7 +1742,7 @@ EOF
if [[ -n "$SERVER_CIPHER" ]]; then
cat <<EOF >> ${_server_conf_file} 2>> "$log_file"
cipher AES-256-CBC
cipher $SERVER_CIPHER
EOF
fi