Age | Commit message (Collapse) | Author |
|
You maybe want to disable the DCO support, so let's add this option.
Signed-off-by: Martin Schiller <ms@dev.tdt.de>
|
|
- proto parameter is available in client or server mode in the network section.
- mssfix default value is set to openvpn.org default value
Signed-off-by: Philippe Duveau <philippe.duveau@free.fr>
|
|
Helps when you have multiple IP(v4|v6)
Signed-off-by: Paul Donald <newtwen@gmail.com>
|
|
Add data-ciphers.
Signed-off-by: egc112 <63402314+egc112@users.noreply.github.com>
|
|
Ensure to escape URL instance parameter displayed in the heading.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
In some situations you need to set the compress param without an
algorithm. Compression will be turned off, but the packet framing for
compression will still be enabled, allowing a different setting to be
pushed later.
As it is not possible to have options with optional values at the
moment, I've introduced a pseudo value "frames_only" which will be
removed in the init script.
Signed-off-by: Martin Schiller <ms@dev.tdt.de>
|
|
jeje42/feature/luci-app-openvpn-add-tls_crypt_v2-option
Add tls_crypt_v2 openvpn option to LuCI.
|
|
Signed-off-by: Anna Tikhomirova <vamp@vampik.ru>
|
|
The OpenVPN file view uses a dummy Map() instance to render the breadcrumb
template which triggers a uci permission error since the view is being
rendered by a form() action which does not set up the expected permission
flags. CBI Map() instances should only be used for cbi() dispatch targets.
Solve the issue by appending the breadcrumb template directly to the
SimpleForm() instance and by removing the redundant dummy Map() instance.
Fixes: #4370
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
So far tls_crypt_v2 is working on openwrt, but the option is missing in
the gui. This patch adds the missing option.
Signed-off-by: Jerome Guidon <jerome.guidon@outlook.fr>
|
|
* trivial fix for never ending ticket #3454
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
See https://community.openvpn.net/openvpn/wiki/VORACLE
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
See https://community.openvpn.net/openvpn/wiki/VORACLE
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
See https://community.openvpn.net/openvpn/wiki/VORACLE
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
In the previous commit the luci.xml module was created, Let's change all
references to the old functions to the new xml-module.
Signed-off-by: Sven Roederer <freifunk@it-solutions.geroedel.de>
|
|
Update the list of selectable TLS cipher suites.
The previous list consisted mostly of unsupported ciphers and the IANA
names should be used.
Signed-off-by: Martin Schiller <ms@dev.tdt.de>
|
|
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
* parse special 'remote' syntax (remote <host> <port> <proto> as well
(removed in last commit by accident)
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
* relax port/protocol parser for ovpn files
* limit protocol to 'udp' or 'tcp'
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
* accept/replace common '.' seperator in instance names as well,
see comment in #2235
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
Translation of page titles in the advanced configuration mode is done
in such a way that the strings to be translated are not visible for
'i18n-scan.pl' script. This commit fixes this and makes page titles
visible for the 'i18n-scan.pl'.
Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
|
|
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Signed-off-by: Balázs Úr <balazs@urbalazs.hu>
|
|
Signed-off-by: Balázs Úr <balazs@urbalazs.hu>
|
|
Fixes: #3279
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
|
|
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
Move the app openvpn to the new vpn menu section.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
This is used to configure ciphers for TLS 1.3 or newer.
Signed-off-by: Martin Schiller <ms@dev.tdt.de>
|
|
This option is not a flag.
Signed-off-by: Jose Riha <jose1711@gmail.com>
[Changed commit message and add missing Singed-off-by]
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
* re-add config option comp_lzo according to
openwrt/openwrt@3850b41
* re-add config option comp_noadapt. This has never been removed
from openwrt
Signed-off-by: Martin Schiller <ms@dev.tdt.de>
|
|
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
* add 'auth-user-pass' edit section in file mode (see screenshot)
* add port & protocol detection in file mode (see screenshot)
* don't mix file & normal edit modes any longer
* add CC compatibility fix (for turris devices)
* fix/refine JS instance name filter
* remove needless CSS rules
* unlink ovpn/auth files on section removal
* commit changes instantly (Add/Upload/Delete)
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
If a new instance is edit then all boolean option are shown on the LuCI.
This is confusing. To fix this hide all boolean ellements on the config
page which are not enabled by default. They must be add first.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
This change will redirect on apply/save to the OpenVPN overview page.
This is the default behaviour on LuCI.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
|
|
* fix possible exception in template based ovpn creation
* remove needless shellquote function in controller,
the filename will be checked on client side with JS
* enhance FileUpload behaviour in basic/advanced mode:
- change "auth_user_pass" to FileUpload
- cfg entries (even with default values) will be shown
- existing entries are now removable (incl. file unlink),
simply clear the appropriate textbox
* change "key_direction" option to boolean ListValue
* add "config" option to basic/advanced edit,
to make it possible to change the upload path in LuCI
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
* fix shellquote oversight of the last commit
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
* add the ability to upload ovpn files directly,
incl. appropriate uci entry in openvpn config
* add the ability to edit ovpn files directly ('file' mode),
beside the 'basic' and 'advanced' modes for normal setups
* client side checks to validate instance name & template selection,
incl. online error reporting
* automatically remove non-ascii characters & windows line endings
from transfered ovpn file
* change from after_commit to after_apply hook
* remove misleading default values for Port & Protocol in Overview
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
* remove obsolete config options according to
openwrt/openwrt@89b8ba9, fix for #2135
* whitespace/intendation fixes
* replace fieldset leftover with div
* fix finally recipe options transfer to regular config with "Add"
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
* minimal fix to bring back openvpn config creation based on
openvpn_recipes template, fix for #2146
Signed-off-by: Dirk Brenken <dev@brenken.org>
|
|
luci-app-openvpn: several fixes
|