402 Commits

Author SHA1 Message Date
Florian Eckert 9ea2dac98a luci-proto-relay: add missing license information
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-03-19 13:22:36 +01:00
Florian Eckert 20f8895f90 luci-proto-openfortivpn: add missing license information
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-03-19 13:22:36 +01:00
Florian Eckert 216ef47b4f luci-proto-openconnect: add missing license information
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-03-19 13:22:36 +01:00
Florian Eckert cd411a8947 luci-proto-ncm: add missing license information
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-03-19 13:22:36 +01:00
Florian Eckert 5b26220660 luci-proto-modemmanager: add missing license information
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-03-19 13:22:36 +01:00
Florian Eckert 8c5865e749 luci-proto-mbim: add missing license information
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-03-19 13:22:36 +01:00
Florian Eckert 5b8130c1ef luci-proto-ipip: add missing license information
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-03-19 13:22:36 +01:00
Florian Eckert 02fc28de26 luci-proto-gre: add missing license information
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-03-19 13:22:36 +01:00
Florian Eckert ff141f2bfd luci-proto-external: add missing license information
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-03-19 13:22:36 +01:00
Florian Eckert 8657a001d4 luci-proto-bonding: add missing license information
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-03-19 13:22:36 +01:00
Florian Eckert 669bebe2b0 luci-proto-batman-adv: add missing license information
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-03-19 13:22:36 +01:00
Florian Eckert 201dc41e86 luci-proto-autoip: add missing license information
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-03-19 13:22:36 +01:00
Florian Eckert 466110d037 luci-proto-3g: add missing license information
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-03-19 13:22:36 +01:00
Arayuki Mago c88e24772e luci-proto-ipv6: Add support for IPIP6(RFC2473) tunnel
Add Generic Packet Tunneling in IPv6 Specification (RFC 2473) support.

Signed-off-by: Arayuki Mago <ms@missing233.com>
2024-03-16 23:24:24 +01:00
Jo-Philipp Wich e28f9a0491 luci-proto-wireguard: fix broken DNS option in peer config generator
The config generation code was referencing a not existing `dns_servers`
input field.

Fixes: #6921
Fixes: 5b26887c52 ("Adding a DNS option to the wireguard peer config ...")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2024-02-16 16:17:26 +01:00
Tinko Liu 4b31ffa09b luci-proto-openconnect: add option for array ssl vpn
Signed-off-by: Tinko Liu <24890691+TinkoLiu@users.noreply.github.com>
2024-01-08 20:36:14 +08:00
Det 4ad5f8111b luci-proto-ipv6: Add DHCPv6 norelease menu option (#6775)
Signed-off-by: Richard Patterson <richard@helix.net.nz>
2023-12-21 22:53:03 +01:00
Jo-Philipp Wich c2fb90259c luci-proto-ipv6: dhcpv6.js: make reqaddress modes translatable
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-07 11:41:22 +01:00
Jo-Philipp Wich 8065a67410 Revert "luci-proto-ipv6: dhcpv6.js fix translation (#6751)"
This reverts commit 2065ead4e8.

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-07 11:34:55 +01:00
try496 2065ead4e8 luci-proto-ipv6: dhcpv6.js fix translation (#6751)
Signed-off-by: he ping <pinghejk@gmail.com>
2023-12-07 05:32:31 +01:00
Nicholaos Mouzourakis 5b26887c52 Adding a DNS option to the wireguard peer config generator.
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-05 00:08:33 +01:00
Vladislav Grigoryev 85ad07c59e luci-proto-sstp: add support for custom port (#6634)
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-04 22:26:01 +01:00
Paul Donald a5786b5f2f luci-proto-wireguard: Remove confirmation dialogue to generate keys (#6697)
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-04 22:00:35 +01:00
Paul Donald 9d746c75f4 Merge pull request #6352 from nevumx/add-wireguard-peer-addresses-config
luci-proto-wireguard: adding an Addresses option to the wireguard peer config generator
2023-12-04 17:34:40 +01:00
Paul Donald 1731fe12b5 luci-proto-modemmanager: Added logging level option and debugmode
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-04 01:20:46 +01:00
Jo-Philipp Wich ab3f825475 Merge pull request #6689 from yggdrasil-openwrt/yggdrasil-2023-11-11
luci-proto-yggdrasil: yggdrasil now supported by netifd
2023-12-01 00:37:22 +01:00
Oskari Rauta 0dd348c87f luci-proto-external: migrate from support to cni-protocol to external-protocol
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-30 10:02:32 +02:00
Elbert Mai 3d5d77fe13 luci-proto-vxlan: Enable IPv6 address and port settings
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-18 19:02:46 -08:00
William Fleurant 6fdafc4155 luci-app-yggdrasil: support public key in config generation
Signed-off-by: William Fleurant <meshnet@protonmail.com>
2023-11-18 09:38:47 +01:00
William Fleurant 2eb04431f0 luci-proto-yggdrasil: enhance communications to sysop
Signed-off-by: William Fleurant <meshnet@protonmail.com>
2023-11-14 21:13:35 +01:00
William Fleurant 2fde5fb515 luci-proto-yggdrasil: add support for v0.5.2 features
Signed-off-by: William Fleurant <meshnet@protonmail.com>
2023-11-12 12:49:50 +01:00
William Fleurant 6fa509d0e4 luci-proto-yggdrasil: getPeers calls yggctl with quoted url
Signed-off-by: William Fleurant <meshnet@protonmail.com>
2023-11-12 12:26:36 +01:00
William Fleurant 6395c4d7a6 luci-proto-yggdrasil: yggdrasil now supported by netifd
- this package replaces luci-app-yggdrasil

Signed-off-by: William Fleurant <meshnet@protonmail.com>
2023-11-11 20:16:20 +01:00
Nicholaos Mouzourakis 3bc0be4a00 Adding an Addresses option to the wireguard peer config generator.
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-21 22:42:58 -04:00
Oskari Rauta 07eaf49b2a luci-proto-cni: protocol update
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-10-08 18:01:30 +03:00
Jonathan Duncan 527453ff48 luci-proto-wireguard: Escape IPv6 endpoints with [] in generated wireguard config
Signed-off-by: Jonathan Duncan <JonathanDuncan@gmail.com>
2023-09-24 16:16:35 +01:00
Florian Eckert 3f2320e0aa luci-proto-modemmanager: also allow none for preferredmode config option
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2023-09-01 09:52:13 +02:00
Florian Eckert 818bf22b8b luci-proto-modemmanger: register missing error codes
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2023-08-17 15:26:23 +02:00
Florian Eckert 1e6f52ac69 luci-proto-modemmanager: delete removed error codes
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2023-08-17 15:26:10 +02:00
Florian Eckert 3736d8b54d Merge pull request #6508 from TDT-AG/pr/20230809-luci-proto-modemmanager
luci-proto-modemmanager: add allowed and preferred mode
2023-08-17 14:32:38 +02:00
Paul Dee 992cca55ae luci-proto-wireguard: grammar fixes
To setup (n) -> To set(v) up

Signed-off-by: Paul Dee <itsascambutmailmeanyway@gmail.com>
2023-08-11 13:21:45 +02:00
Florian Eckert 5b925ea92b luci-proto-modemmanager: add allowed and preferred mode
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2023-08-09 14:29:25 +02:00
Sergey Ponomarev 1eb42fbbce luci-app-vpnc: Remove LUA_TARGET
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-08-03 17:48:58 +03:00
Lukas Voegl 594bc35b87 luci-proto-modemmanager: use helper in protocol
Signed-off-by: Lukas Voegl <lvoegl@tdt.de>
2023-06-30 15:52:28 +02:00
Lukas Voegl 54aa70112c luci-proto-modemmanager: add status page
Signed-off-by: Lukas Voegl <lvoegl@tdt.de>
2023-06-30 15:52:28 +02:00
Lech Perczak c682e530e2 luci-proto-qmi: allow v6apn and (v6)profile configuration
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-06-09 01:22:03 +02:00
Howard Chu 37176dc126 luci-proto-mbim: introduce package
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-05-18 01:23:44 +02:00
Jo-Philipp Wich b8ee30589b luci-proto-openconnect: relax key checking
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-29 15:33:37 +02:00
Florian Eckert 71b7ecb777 luci-proto-modemmanager: fix acl regex to support more then 9 modem objects
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-16 00:05:18 +01:00
Jo-Philipp Wich e11ff51b17 Merge pull request #6288 from oskarirauta/luci-cni-protocol
luci-proto-cni: add package
2023-03-15 14:09:04 +01:00