summaryrefslogtreecommitdiffhomepage
path: root/protocols
AgeCommit message (Collapse)Author
2023-12-21luci-proto-ipv6: Add DHCPv6 norelease menu option (#6775)Det
Signed-off-by: Richard Patterson <richard@helix.net.nz>
2023-12-07luci-proto-ipv6: dhcpv6.js: make reqaddress modes translatableJo-Philipp Wich
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>
2023-12-07Revert "luci-proto-ipv6: dhcpv6.js fix translation (#6751)"Jo-Philipp Wich
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>
2023-12-07luci-proto-ipv6: dhcpv6.js fix translation (#6751)try496
Signed-off-by: he ping <pinghejk@gmail.com>
2023-12-05Adding a DNS option to the wireguard peer config generator.Nicholaos Mouzourakis
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)
2023-12-04luci-proto-sstp: add support for custom port (#6634)Vladislav Grigoryev
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>
2023-12-04luci-proto-wireguard: Remove confirmation dialogue to generate keys (#6697)Paul Donald
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>
2023-12-04Merge pull request #6352 from nevumx/add-wireguard-peer-addresses-configPaul Donald
luci-proto-wireguard: adding an Addresses option to the wireguard peer config generator
2023-12-04luci-proto-modemmanager: Added logging level option and debugmodePaul Donald
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>
2023-12-01Merge pull request #6689 from yggdrasil-openwrt/yggdrasil-2023-11-11Jo-Philipp Wich
luci-proto-yggdrasil: yggdrasil now supported by netifd
2023-11-30luci-proto-external: migrate from support to cni-protocol to external-protocolOskari Rauta
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>
2023-11-18luci-proto-vxlan: Enable IPv6 address and port settingsElbert Mai
Fix VXLAN6 settings form to allow configuration of IPv6 addresses and destination port in LuCI. Signed-off-by: Elbert Mai <code@elbertmai.com>
2023-11-18luci-app-yggdrasil: support public key in config generationWilliam Fleurant
Signed-off-by: William Fleurant <meshnet@protonmail.com>
2023-11-14luci-proto-yggdrasil: enhance communications to sysopWilliam Fleurant
Signed-off-by: William Fleurant <meshnet@protonmail.com>
2023-11-12luci-proto-yggdrasil: add support for v0.5.2 featuresWilliam Fleurant
Signed-off-by: William Fleurant <meshnet@protonmail.com>
2023-11-12luci-proto-yggdrasil: getPeers calls yggctl with quoted urlWilliam Fleurant
Signed-off-by: William Fleurant <meshnet@protonmail.com>
2023-11-11luci-proto-yggdrasil: yggdrasil now supported by netifdWilliam Fleurant
- this package replaces luci-app-yggdrasil Signed-off-by: William Fleurant <meshnet@protonmail.com>
2023-10-21Adding an Addresses option to the wireguard peer config generator.Nicholaos Mouzourakis
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>
2023-10-08luci-proto-cni: protocol updateOskari Rauta
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>
2023-09-24luci-proto-wireguard: Escape IPv6 endpoints with [] in generated wireguard ↵Jonathan Duncan
config Signed-off-by: Jonathan Duncan <JonathanDuncan@gmail.com>
2023-09-01luci-proto-modemmanager: also allow none for preferredmode config optionFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2023-08-17luci-proto-modemmanger: register missing error codesFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2023-08-17luci-proto-modemmanager: delete removed error codesFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2023-08-17Merge pull request #6508 from TDT-AG/pr/20230809-luci-proto-modemmanagerFlorian Eckert
luci-proto-modemmanager: add allowed and preferred mode
2023-08-11luci-proto-wireguard: grammar fixesPaul Dee
To setup (n) -> To set(v) up Signed-off-by: Paul Dee <itsascambutmailmeanyway@gmail.com>
2023-08-09luci-proto-modemmanager: add allowed and preferred modeFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2023-08-03luci-app-vpnc: Remove LUA_TARGETSergey Ponomarev
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>
2023-06-30luci-proto-modemmanager: use helper in protocolLukas Voegl
Signed-off-by: Lukas Voegl <lvoegl@tdt.de>
2023-06-30luci-proto-modemmanager: add status pageLukas Voegl
Signed-off-by: Lukas Voegl <lvoegl@tdt.de>
2023-06-09luci-proto-qmi: allow v6apn and (v6)profile configurationLech Perczak
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>
2023-05-18luci-proto-mbim: introduce packageHoward Chu
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>
2023-03-29luci-proto-openconnect: relax key checkingJo-Philipp Wich
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>
2023-03-16luci-proto-modemmanager: fix acl regex to support more then 9 modem objectsFlorian Eckert
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>
2023-03-15Merge pull request #6288 from oskarirauta/luci-cni-protocolJo-Philipp Wich
luci-proto-cni: add package
2023-03-15luci-proto-cni: add packageOskari Rauta
adds support for cni-protocol in luci Signed-off-by: Oskari Rauta <oskari.rauta@gmail.com>
2023-03-14luci-proto-wireguard: use ddns lookup_host for peer hintsJo-Philipp Wich
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>
2023-02-08luci-proto-openconnect: fix server url validationJo-Philipp Wich
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>
2023-02-08Revert "luci-proto-openconnect: fix server url validation"Jo-Philipp Wich
This reverts commit f1312cadc6675fb29d02425775dd8a2a533d7e7c. The commit contained unrelated changes. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2023-02-07luci-proto-openconnect: fix server url validationJo-Philipp Wich
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>
2022-12-19luci-proto-autoip: fix protocol nameJo-Philipp Wich
Fixes: 2965e527f5 ("luci-proto-autoip: add protocol support for avahi-autoipd") Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2022-12-19luci-proto-autoip: add protocol support for avahi-autoipdJo-Philipp Wich
Fixes: #6162 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2022-12-05luci-proto-wireguard: fix configuration importJo-Philipp Wich
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>
2022-11-23luci-proto-wireguard: fix loading peer descriptionsJo-Philipp Wich
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>
2022-11-22luci-proto-wireguard: merge status page functionalityJo-Philipp Wich
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>
2022-11-09luci-proto-wireguard: fix generated AllowedIPsJulien Cassette
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>
2022-10-25treewide: add explicit Lua runtime dependencies where neededJo-Philipp Wich
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>
2022-10-25luci-proto-wireguard: rewrite rpcd handler in ucodeJo-Philipp Wich
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>
2022-10-17Merge pull request #6023 from stangri/master-luci-proto-nebulaStan Grishin
luci-proto-nebula: add nebula protocol support
2022-10-14luci-proto-vti: add vti protocol supportJaymin Patel
Signed-off-by: Jaymin Patel <jem.patel@gmail.com>
2022-10-14luci-proto-nebula: add nebula protocol supportStan Grishin
Signed-off-by: Stan Grishin <stangri@melmac.ca>