diff options
Diffstat (limited to 'applications/luci-app-openvpn/luasrc')
3 files changed, 6 insertions, 6 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", diff --git a/applications/luci-app-openvpn/luasrc/view/openvpn/cbi-select-input-add.htm b/applications/luci-app-openvpn/luasrc/view/openvpn/cbi-select-input-add.htm index 6f3263590c..60f9e8e288 100644 --- a/applications/luci-app-openvpn/luasrc/view/openvpn/cbi-select-input-add.htm +++ b/applications/luci-app-openvpn/luasrc/view/openvpn/cbi-select-input-add.htm @@ -89,7 +89,7 @@ </select> </div> <div class="td left"> - <input class="cbi-button cbi-button-add" type="submit" onclick="vpn_add(); return false;" value="<%:Add%>" title="<%:Add template based configuration%>" /><br /> + <input class="btn cbi-button cbi-button-add" type="submit" onclick="vpn_add(); return false;" value="<%:Add%>" title="<%:Add template based configuration%>" /><br /> </div> </div> <h4><%:OVPN configuration file upload%></h4> @@ -101,7 +101,7 @@ <input type="file" name="ovpn_file" id="ovpn_file" accept="application/x-openvpn-profile,.ovpn" /> </div> <div class="td left"> - <input class="cbi-button cbi-button-add" type="submit" onclick="vpn_upload(); return false;" value="<%:Upload%>" title="<%:Upload ovpn file%>" /> + <input class="btn cbi-button cbi-button-add" type="submit" onclick="vpn_upload(); return false;" value="<%:Upload%>" title="<%:Upload ovpn file%>" /> </div> </div> </div> |