From: Vladimir Ulrich Date: Mon, 9 Oct 2017 23:40:21 +0000 (+0300) Subject: [luci-app-openvpn] Added support for tls-crypt option. X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=commitdiff_plain;h=bd7eff9a6386be5b04fa8fb98ac50bcbb033ce63 [luci-app-openvpn] Added support for tls-crypt option. Closes #1340 Signed-off-by: Vladimir Ulrich --- diff --git a/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua b/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua index 7865881cb..dc7718217 100644 --- a/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua +++ b/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua @@ -685,6 +685,10 @@ local knownParams = { "tls_auth", "/etc/openvpn/tlsauth.key", translate("Additional authentication over TLS") }, + { Value, + "tls_crypt", + "/etc/openvpn/tlscrypt.key", + translate("Encrypt and authenticate all control channel packets with the key") }, -- { Value, -- "askpass", -- "[file]", diff --git a/applications/luci-app-openvpn/po/en/openvpn.po b/applications/luci-app-openvpn/po/en/openvpn.po index a5994dc29..f22f0f237 100644 --- a/applications/luci-app-openvpn/po/en/openvpn.po +++ b/applications/luci-app-openvpn/po/en/openvpn.po @@ -31,6 +31,9 @@ msgstr "Add route after establishing connection" msgid "Additional authentication over TLS" msgstr "Additional authentication over TLS" +msgid "Encrypt and authenticate all control channel packets with the key" +msgstr "Encrypt and authenticate all control channel packets with the key" + msgid "Allow client-to-client traffic" msgstr "Allow client-to-client traffic" diff --git a/applications/luci-app-openvpn/po/ru/openvpn.po b/applications/luci-app-openvpn/po/ru/openvpn.po index 00e585c37..8c15b826b 100644 --- a/applications/luci-app-openvpn/po/ru/openvpn.po +++ b/applications/luci-app-openvpn/po/ru/openvpn.po @@ -33,6 +33,9 @@ msgstr "Добавить маршрут после установки соеди msgid "Additional authentication over TLS" msgstr "Дополнительная аутентификация через TLS" +msgid "Encrypt and authenticate all control channel packets with the key" +msgstr "Шифровать и аутентифициоровать ключом все пакеты канала управления" + msgid "Allow client-to-client traffic" msgstr "Разрешить общение клиентов друг с другом" diff --git a/applications/luci-app-openvpn/po/templates/openvpn.pot b/applications/luci-app-openvpn/po/templates/openvpn.pot index f2e401166..1b6b4b1bd 100644 --- a/applications/luci-app-openvpn/po/templates/openvpn.pot +++ b/applications/luci-app-openvpn/po/templates/openvpn.pot @@ -19,6 +19,9 @@ msgstr "" msgid "Additional authentication over TLS" msgstr "" +msgid "Encrypt and authenticate all control channel packets with the key" +msgstr "" + msgid "Allow client-to-client traffic" msgstr ""