Commit Graph

333 Commits

Author SHA1 Message Date
this-username-has-been-taken
7acea81873 luci-proto-wireguard: fixed bug with incorrect peer name detection
Fixed bug with incorrect peer name detection on `Status -> WireGuard`
page when more than one peer with the same public key exist:
1. Peers are now tested not only by public key, but also by
enabled/disabled status, peer host (both IP and FQDN are supported)
and port.
2. Added required `resolveip` dependency.

Closes #7342

Signed-off-by: @this-username-has-been-taken
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2024-10-23 22:25:27 +02:00
Damir Samardzic
50b67f8a00
luci-proto-modemmanager: add initial EPS bearer support
ModemManager protocol has supported setting initial EPS bearer since
package commit [1], so lets expose the same support via LuCI as well.

[1] af12147f8c

Signed-off-by: Damir Samardzic <damir.samardzic@sartura.hr>
Signed-off-by: Robert Marko <robert.marko@sartura.hr>
2024-10-19 11:22:42 +02:00
Rany Hany
02b58b8f06 luci-proto-3g/ppp/pppossh: fix default keepalive values
Signed-off-by: Rany Hany <rany_hany@riseup.net>
2024-09-06 01:28:02 +02:00
Matt Eaton
01de201dbb luci-proto-xfrm: update description for now-optional tunlink parameter
Signed-off-by: Matt Eaton <git@divinehawk.com>
2024-09-05 01:51:43 +03:00
Florian Eckert
7546249a27 luci-proto-modemmanger: fix auth handling
This has never worked because the option 'auth' is not known to the
modemmanger proto handler. The correct uci name is 'allowedauth' and is
also a uci list option, so that several options can be selected.

This commit fixes this bug.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-07-22 10:24:04 +02:00
Bryan Roessler
071fc1bc92 luci-proto-wireguard: disable peers from the tab
It's clumsy to enable/disable peers from the modal, save some clicks

Signed-off-by: Bryan Roessler <bryanroessler@gmail.com>
2024-07-15 22:49:32 +02:00
Remy D. Farley
39bc55695f luci-proto-yggdrasil: show peer latency
Signed-off-by: Remy D. Farley <one-d-wide@protonmail.com>
2024-06-30 17:25:24 +02:00
Paul Donald
74f366a1e5 luci-proto-wireguard: adapt to use uqr
If for some reason luci-lib-uqr is absent, the GUI shows that the proto
handler needs installing (since it now has a dep which is missing).

Suitable action is to install the lib or remove/install wireguard again.

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2024-06-27 20:19:58 +02:00
Stan Grishin
5a8917b149 luci-proto-nebula: drop maintainership
* update license
* improve package's presence in make menuconfig
* drop maintainership

Signed-off-by: Stan Grishin <stangri@melmac.ca>
2024-06-16 23:34:00 +02:00
Nikos Mavrogiannopoulos
c27c0b2505 luci-proto-openconnect: updated SSL VPN option list and update sha1 hash wording
Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
2024-05-28 11:04:40 +02:00
Nikos Mavrogiannopoulos
03d6dec7d2 luci-proto-openconnect: use the uri configuration option
This enables more advanced configuration by allowing complex URIs, including
user groups and hidden directories (camouflage). It further simplifies the configuration
by eliminating the port and usergroup parameters.

Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
2024-05-28 11:04:40 +02:00
Nikos Mavrogiannopoulos
46a2acac92 luci-proto-openconnect: register as simply openconnect
This is no longer a client implementing CISCO anyconnect. Many other
protocols are present.

Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
2024-05-28 11:04:40 +02:00
Sergey Ponomarev
fbbfdb4afc treewide: Add missing PKG_MAINTAINER
Daniel F. Dickinson changed email address to <dfdpublic@wildtechgarden.ca>

luci-all-lxl has a maintainer Petar Koretic <petar.koretic@sartura.hr> but there is no corresponding GitHub account.
So Dirk Brenken was added as a second maintainer: he answered on an issue of the app.

When maintainer wasn't set the initial author was used, or most contributor or Jo-Philipp Wich as a default.

Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
2024-05-28 01:55:14 +02:00
Jo-Philipp Wich
216cbb0e5e luci-proto-ipv6: dslite: suggest common AFTR addresses for Japanese market
Include in DS-Lite General Settings common AFTR addresses for Japan market
to make it easier to configure OpenWrt in Japan and help people to save
money on hardware.

Fixes: #7133
Ref: https://forum.openwrt.org/t/x/195654
Suggested-by: Konstantin-Glukhov <24302271+Konstantin-Glukhov@users.noreply.github.com>
[shorten subject, rewrap commit message]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2024-05-21 09:24:36 +02:00
Jo-Philipp Wich
b57c6ff29e Revert "luci-proto-ppp: pppoe.so has no MTU option; remove it"
This reverts commit 995d3a1801.

The `mtu` option controls the pppd mru and mtu arguments, it is not
specific to pppoe.so.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2024-05-13 12:34:27 +02:00
Hannu Nyman
1ba94f2ed5 luci-proto-{wireguard,yggdrasil}: remove unnecessary PROVIDES
Remove the unnecessary PROVIDES statements from two protocols.

Wireguard was recently changed erroneously: the old compatibility
reference to luci-app-wireguard was replaced by self-reference.
But as the app and proto were combined already in 2022, the old
compatibility define should be unnecessary by now, so just remove it.

Yggdrasil has had a similar unnecessary setting (package
PROVIDES itself), so remove that at the same time.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2024-04-25 20:08:37 +03:00
Florian Eckert
bd6bf5a292 luci-proto-modemmanager: rename menu entry from mobile service to cellular network
The old term "mobile service" is not common, it is replaced by the new
name "cellular network", which is more familiar.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-04-25 13:03:58 +02:00
Paul Donald
f5f2323e80 luci-proto-wireguard: fix Makefile 'provides'
once-upon-a-time it was called luci-app-wireguard. Now it's proto.

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2024-04-23 00:21:17 +02:00
Paul Donald
995d3a1801 luci-proto-ppp: pppoe.so has no MTU option; remove it
Retain comment so nobody is tempted to resurrect it.

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2024-04-16 17:48:35 +02:00
Jo-Philipp Wich
2cc986ac4e luci-proto-yggdrasil: fix empty translation string
The empty string is not a legal translation key.

Fixes: f5ccfd3df4 ("luci-proto-yggdrasil: add `yggdrasil-jumper` support")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2024-04-08 15:34:37 +02:00
Florian Eckert
0e71b881ae
Merge pull request #7020 from findlayfeng/luci-proto-bonding
luci-proto-bonding: Modify ipaddr as optional
2024-04-08 10:54:51 +02:00
Remy D. Farley
f5ccfd3df4 luci-proto-yggdrasil: add yggdrasil-jumper support
Signed-off-by: Remy D. Farley <one-d-wide@protonmail.com>
2024-04-03 18:33:05 +02:00
Findlay Feng
f48c8e5986
luci-proto-bonding: Modify ipaddr as optional
Signed-off-by: Findlay Feng <i@fengch.me>
2024-03-29 21:43:33 +08:00
Stan Grishin
82105922eb luci-proto-nebula: prepare migration to APK
Signed-off-by: Stan Grishin <stangri@melmac.ca>
2024-03-23 01:15:28 +00:00
Florian Eckert
9cdb26b830 luci-proto-qmi: add missing license information
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-03-19 13:22:36 +01:00
Florian Eckert
753895963f luci-proto-xfrm: add missing license information
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-03-19 13:22:36 +01:00
Florian Eckert
20197f4911 luci-proto-wireguard: add missing license information
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-03-19 13:22:36 +01:00
Florian Eckert
52dc293e85 luci-proto-vxlan: add missing license information
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-03-19 13:22:36 +01:00
Florian Eckert
ed4c10ba2a luci-proto-vti: add missing license information
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-03-19 13:22:36 +01:00
Florian Eckert
a7e9971e1b luci-proto-unet: add missing license information
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-03-19 13:22:36 +01:00
Florian Eckert
17cb453327 luci-proto-sstp: add missing license information
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2024-03-19 13:22:36 +01:00
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