summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-openvpn/luasrc/model/cbi
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-openvpn/luasrc/model/cbi')
-rw-r--r--applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua6
-rw-r--r--applications/luci-app-openvpn/luasrc/model/cbi/openvpn-basic.lua2
2 files changed, 4 insertions, 4 deletions
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 04934c8c11..51fe606336 100644
--- a/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua
+++ b/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua
@@ -161,8 +161,8 @@ local knownParams = {
translate("Policy level over usage of external programs and scripts") },
{ ListValue,
"compress",
- { "lzo", "lz4" },
- translate("Enable a compression algorithm") },
+ { "lzo", "lz4", "stub-v2"},
+ translate("Security recommendation: It is recommended to not enable compression and set this parameter to `stub-v2`") },
} },
{ "networking", translate("Networking"), {
@@ -254,7 +254,7 @@ local knownParams = {
{ ListValue,
"comp_lzo",
{ "yes", "no", "adaptive" },
- translate("Use fast LZO compression") },
+ translate("Security recommendation: It is recommended to not enable compression and set this parameter to `no`")},
{ Flag,
"comp_noadapt",
0,
diff --git a/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-basic.lua b/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-basic.lua
index 980238cb67..9265cd61cc 100644
--- a/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-basic.lua
+++ b/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-basic.lua
@@ -42,7 +42,7 @@ local basicParams = {
{ ListValue,
"comp_lzo",
{"yes","no","adaptive"},
- translate("Use fast LZO compression") },
+ translate("Security recommendation: It is recommended to not enable compression and set this parameter to `no`")},
{ Value,
"keepalive",
"10 60",