summaryrefslogtreecommitdiff
path: root/protocols
Commit message (Collapse)AuthorAgeFilesLines
* luci-proto-openconnect: add option for array ssl vpnTinko Liu2024-01-081-0/+1
| | | | Signed-off-by: Tinko Liu <24890691+TinkoLiu@users.noreply.github.com>
* luci-proto-ipv6: Add DHCPv6 norelease menu option (#6775)Det2023-12-211-0/+2
| | | Signed-off-by: Richard Patterson <richard@helix.net.nz>
* luci-proto-ipv6: dhcpv6.js: make reqaddress modes translatableJo-Philipp Wich2023-12-071-3/+3
| | | | | | | Fixes: #6730, #6751 Fixes: 2065ead4e8 ("luci-proto-ipv6: dhcpv6.js fix translation (#6751)") Suggested-by: he ping <pinghejk@gmail.com> Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* Revert "luci-proto-ipv6: dhcpv6.js fix translation (#6751)"Jo-Philipp Wich2023-12-071-3/+3
| | | | | | | | | This reverts commit 2065ead4e86d2da8868dd88160af5b2fdcf3adde. The commit contains syntax errors despite two reviews and was apparently not runtime tested at all. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* luci-proto-ipv6: dhcpv6.js fix translation (#6751)try4962023-12-071-3/+3
| | | Signed-off-by: he ping <pinghejk@gmail.com>
* Adding a DNS option to the wireguard peer config generator.Nicholaos Mouzourakis2023-12-051-4/+18
| | | | | | | | | | | | Some clients like iOS require this explicitly, and so this change adds the appropriate config with some sensible defaults. Closes #6351 Signed-off-by: Nicholaos Mouzourakis <nevumx@gmail.com> Signed-off-by: Paul Donald <newtwen@gmail.com> Tested-by: Paul Donald <newtwen@gmail.com> (cherry picked from commit 990696d73f982de015df7c7d552daef1a03f50c5)
* luci-proto-sstp: add support for custom port (#6634)Vladislav Grigoryev2023-12-041-0/+4
| | | | | | Add support for connecting to a custom SSTP port. See also: https://github.com/openwrt/packages/pull/22405 Signed-off-by: Vladislav Grigoryev <vg.aetera@gmail.com>
* luci-proto-wireguard: Remove confirmation dialogue to generate keys (#6697)Paul Donald2023-12-041-6/+0
| | | | | | | | Quality of life improvements. Reduce click amounts. LuCI batches all changes for user-review anyway. Tested on 23.05.0 Signed-off-by: Paul Donald <newtwen@gmail.com>
* Merge pull request #6352 from nevumx/add-wireguard-peer-addresses-configPaul Donald2023-12-041-5/+14
|\ | | | | luci-proto-wireguard: adding an Addresses option to the wireguard peer config generator
| * Adding an Addresses option to the wireguard peer config generator.Nicholaos Mouzourakis2023-10-211-5/+14
| | | | | | | | | | | | | | Some clients like iOS require this explicitly, and so this change adds the appropriate config with some sensible defaults. Addresses issue #6050 Signed-off-by: Nicholaos Mouzourakis <nevumx@gmail.com>
* | luci-proto-modemmanager: Added logging level option and debugmodePaul Donald2023-12-041-0/+12
|\ \ | | | | | | | | | | | | | | | | | | Merge github.com:valexi7/luci PR #4328 Signed-off-by: Paul Donald <newtwen@gmail.com> Signed-off-by: valexi7 <44439515+valexi7@users.noreply.github.com>
| * | luci-proto-modemmanger: add missing proto optionsvalexi72020-08-051-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added options for signal refresh rate and Debugmode. Added logging level option Signed-off-by: valexi7 <44439515+valexi7@users.noreply.github.com> luci-proto-modemmanger: add missing proto options Changed logging level translations according to OpenWRT standards Signed-off-by: valexi7 <44439515+valexi7@users.noreply.github.com>
* | | Merge pull request #6689 from yggdrasil-openwrt/yggdrasil-2023-11-11Jo-Philipp Wich2023-12-014-0/+335
|\ \ \ | | | | | | | | luci-proto-yggdrasil: yggdrasil now supported by netifd
| * | | luci-app-yggdrasil: support public key in config generationWilliam Fleurant2023-11-182-2/+8
| | | | | | | | | | | | | | | | Signed-off-by: William Fleurant <meshnet@protonmail.com>
| * | | luci-proto-yggdrasil: enhance communications to sysopWilliam Fleurant2023-11-141-20/+13
| | | | | | | | | | | | | | | | Signed-off-by: William Fleurant <meshnet@protonmail.com>
| * | | luci-proto-yggdrasil: add support for v0.5.2 featuresWilliam Fleurant2023-11-121-2/+7
| | | | | | | | | | | | | | | | Signed-off-by: William Fleurant <meshnet@protonmail.com>
| * | | luci-proto-yggdrasil: getPeers calls yggctl with quoted urlWilliam Fleurant2023-11-121-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: William Fleurant <meshnet@protonmail.com>
| * | | luci-proto-yggdrasil: yggdrasil now supported by netifdWilliam Fleurant2023-11-114-0/+331
| | |/ | |/| | | | | | | | | | | | | - this package replaces luci-app-yggdrasil Signed-off-by: William Fleurant <meshnet@protonmail.com>
* | | luci-proto-external: migrate from support to cni-protocol to external-protocolOskari Rauta2023-11-302-6/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As previously introduced cni protocol support (for netifd) has evolved more to a multipurpose protocol useful for cni/netavark/some vpn/etc connections I have decided to rename it from cni-protocol to external-protocol. That's why also it's luci companion, luci-proto-cni, should be renamed to luci-proto-external and migrated to support external-protocol. This patch also adds support for new option in external-protocol, delay. This closes promise made in #22702 on openwrt packages repository. Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
* | | luci-proto-vxlan: Enable IPv6 address and port settingsElbert Mai2023-11-181-2/+7
|/ / | | | | | | | | | | | | Fix VXLAN6 settings form to allow configuration of IPv6 addresses and destination port in LuCI. Signed-off-by: Elbert Mai <code@elbertmai.com>
* | luci-proto-cni: protocol updateOskari Rauta2023-10-081-0/+34
| | | | | | | | | | | | | | | | | | | | Updated luci support for updated netifd cni protocol 20231008: openwrt/packages#22341 maintainer: me build/test platform: x86_64, latest git Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
* | luci-proto-wireguard: Escape IPv6 endpoints with [] in generated wireguard ↵Jonathan Duncan2023-09-241-0/+5
| | | | | | | | | | | | config Signed-off-by: Jonathan Duncan <JonathanDuncan@gmail.com>
* | luci-proto-modemmanager: also allow none for preferredmode config optionFlorian Eckert2023-09-011-0/+1
| | | | | | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* | luci-proto-modemmanger: register missing error codesFlorian Eckert2023-08-171-0/+4
| | | | | | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* | luci-proto-modemmanager: delete removed error codesFlorian Eckert2023-08-171-3/+0
| | | | | | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* | Merge pull request #6508 from TDT-AG/pr/20230809-luci-proto-modemmanagerFlorian Eckert2023-08-171-0/+38
|\ \ | | | | | | luci-proto-modemmanager: add allowed and preferred mode
| * | luci-proto-modemmanager: add allowed and preferred modeFlorian Eckert2023-08-091-0/+38
| | | | | | | | | | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* | | luci-proto-wireguard: grammar fixesPaul Dee2023-08-111-1/+1
|/ / | | | | | | | | | | To setup (n) -> To set(v) up Signed-off-by: Paul Dee <itsascambutmailmeanyway@gmail.com>
* | luci-app-vpnc: Remove LUA_TARGETSergey Ponomarev2023-08-031-3/+0
| | | | | | | | | | | | | | The app was migrated to JS so the LUA_TARGET is not needed. Also remove LUCI_PKGARCH:=all which is anyway a default. Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
* | luci-proto-modemmanager: use helper in protocolLukas Voegl2023-06-302-41/+7
| | | | | | | | Signed-off-by: Lukas Voegl <lvoegl@tdt.de>
* | luci-proto-modemmanager: add status pageLukas Voegl2023-06-304-1/+300
| | | | | | | | Signed-off-by: Lukas Voegl <lvoegl@tdt.de>
* | luci-proto-qmi: allow v6apn and (v6)profile configurationLech Perczak2023-06-091-2/+21
| | | | | | | | | | | | | | | | | | To support split-APN dual-stack connections over QMI, add new parameters supported in UCI to LuCI as well. Previously, connection profile wasn't configurable from LuCI at all, so add options to set which APN profile to match for each protocol. Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
* | luci-proto-mbim: introduce packageHoward Chu2023-05-182-0/+166
| | | | | | | | | | | | | | | | | | | | | | | | Based on luci-proto-qmi Tested with Sierra Wireless MC7455 Signed-off-by: Howard Chu <hyc@symas.com> [Squashed. updated commit message, adjusted the parameters to match upstream-accepted implementation of MBIM protocol] Signed-off-by: Lech Perczak <lech.perczak@gmail.com>
* | luci-proto-openconnect: relax key checkingJo-Philipp Wich2023-03-291-2/+2
| | | | | | | | | | | | | | | | Valid keys may begin/end with `-----BEGIN PRIVATE KEY-----` and `-----END PRIVATE KEY-----` so make the `RSA` keyword optional. Fixes: #6319 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* | luci-proto-modemmanager: fix acl regex to support more then 9 modem objectsFlorian Eckert2023-03-161-1/+3
| | | | | | | | | | | | | | | | | | | | | | If a modem is restarted often, the modem manager object number is increased by one. Currently, the regex is set so that the modem can no longer be selected if the object number is greater than 9. This change fixes that. Signed-off-by: Florian Eckert <fe@dev.tdt.de> [replace wildcard with rule duplication to disallow option injection] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* | Merge pull request #6288 from oskarirauta/luci-cni-protocolJo-Philipp Wich2023-03-152-0/+16
|\ \ | | | | | | luci-proto-cni: add package
| * | luci-proto-cni: add packageOskari Rauta2023-03-152-0/+16
| | | | | | | | | | | | | | | | | | adds support for cni-protocol in luci Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
* | | luci-proto-wireguard: use ddns lookup_host for peer hintsJo-Philipp Wich2023-03-141-2/+2
|/ / | | | | | | | | | | | | | | The `domain` option of a DDNS service entry may contain non-hostname values, use the `lookup_hostname` option instead. Fixes: #6289 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* | luci-proto-openconnect: fix server url validationJo-Philipp Wich2023-02-081-3/+38
| | | | | | | | | | | | | | | | The OpenConnect configuration form incorrectly assumed that the server setting must be hostname while it actually may be a full URL. Fixes: #6184 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* | Revert "luci-proto-openconnect: fix server url validation"Jo-Philipp Wich2023-02-081-38/+3
| | | | | | | | | | | | | | | | This reverts commit f1312cadc6675fb29d02425775dd8a2a533d7e7c. The commit contained unrelated changes. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* | luci-proto-openconnect: fix server url validationJo-Philipp Wich2023-02-071-3/+38
| | | | | | | | | | | | | | | | The OpenConnect configuration form incorrectly assumed that the server setting must be hostname while it actually may be a full URL. Fixes: #6184 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* | luci-proto-autoip: fix protocol nameJo-Philipp Wich2022-12-191-1/+1
| | | | | | | | | | Fixes: 2965e527f5 ("luci-proto-autoip: add protocol support for avahi-autoipd") Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* | luci-proto-autoip: add protocol support for avahi-autoipdJo-Philipp Wich2022-12-192-0/+30
| | | | | | | | | | Fixes: #6162 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* | luci-proto-wireguard: fix configuration importJo-Philipp Wich2022-12-051-3/+1
| | | | | | | | | | | | | | | | | | Avoid referencing not existing `peerdns` option during the configuration file import process. Fixes: #6136 Fixes: 2be01cbfcb ("luci-mod-network: restrict peerdns option to protocols that implemenent it") Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* | luci-proto-wireguard: fix loading peer descriptionsJo-Philipp Wich2022-11-232-37/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | Explicitly load `network` uci in wireguard rpcd backend as `ctx.foreach()` does not implicitly load it. Also remove leftover test setup information from the status page source. Fixes: #6095 Fixes: 008fa18878 ("luci-proto-wireguard: rewrite rpcd handler in ucode") Fixes: 6e6fce3eb4 ("luci-proto-wireguard: merge status page functionality") Ref: https://github.com/jow-/ucode/pull/126 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* | luci-proto-wireguard: merge status page functionalityJo-Philipp Wich2022-11-224-0/+233
| | | | | | | | | | | | | | | | | | Merge status page functionality from the separate `luci-app-wireguard` package into the `luci-proto-wirguard` protocol backend. Also rewrite the status page markup to be more compact while we're at it. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* | luci-proto-wireguard: fix generated AllowedIPsJulien Cassette2022-11-091-12/+22
| | | | | | | | | | | | | | | | | | | | This corrects the option `AllowedIPs` in generated peer configurations, and allows to customize it via a dropdown list. Fixes: #5956 Signed-off-by: Julien Cassette <julien.cassette@gmail.com> [correct fixes tag, slightly adjust option description] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* | treewide: add explicit Lua runtime dependencies where neededJo-Philipp Wich2022-10-252-2/+2
| | | | | | | | | | | | | | Some packages require Lua libraries but do not ship with a luasrc directory, add explicit dependencies in these cases. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* | luci-proto-wireguard: rewrite rpcd handler in ucodeJo-Philipp Wich2022-10-253-163/+106
| | | | | | | | | | | | | | Rewrite the wireguard rpcd plugin in ucode to prevent an implicit dependency on the LuCI Lua runtime. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* | Merge pull request #6023 from stangri/master-luci-proto-nebulaStan Grishin2022-10-172-0/+67
|\ \ | | | | | | luci-proto-nebula: add nebula protocol support