Commit graph

180 commits

Author SHA1 Message Date
Nicholas Smith
ab7e45cadb luci-proto-modemmanager: add support for specifying signal refresh rate
Signed-off-by: Nicholas Smith <nicholas@nbembedded.com>
2021-01-07 22:07:24 +10:00
Florian Eckert
7e2e3ee499
Merge pull request #4542 from mayli/oc-protocol
luci-proto-openconnect: add vpn_procotol support
2020-11-25 10:27:44 +01:00
Sergio E. Nemirowski
0f3f464adc optinal -> optional typo fix
Signed-off-by: Sergio E. Nemirowski <sergio@outerface.net>
2020-11-22 17:35:11 +02:00
Florian Eckert
fa702c0387 luci-proto-qmi: add missing proto default options
This change add the following missing default options.
- defaulroute
- peerdns
- metric

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-11-06 11:51:15 +01:00
Chuanhong Guo
37f97b7859 luci-proto-gre: remove extra parenthesis
fix the following error:
SyntaxError
Unexpected token ')'
  in http://192.168.122.131/luci-static/resources/protocol/grev6.js:?
  at http://192.168.122.131/luci-static/resources/luci.js:22
  at async Promise.all (index 4)
  at async Promise.all (index 5)

Fixes: 2b7fd1292 ("luci-proto-gre: improvement of LuCI interface")
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
2020-11-05 21:22:18 +08:00
Mengyang Li
eeada1a077 luci-proto-openconnect: add vpn_procotol support
see https://github.com/openwrt/packages/pull/13763

Signed-off-by: Mengyang Li <mayli.he@gmail.com>
2020-10-30 13:33:57 -07:00
Jan Bětík
2b7fd1292f
luci-proto-gre: improvement of LuCI interface
Better handling of Type of Service (IPv4), Traffic Class (IPv6) values
Optional value Local endpoint address is detected and pre-filled in the interface

Signed-off-by: Jan Bětík <jan.betik@svine.su>
2020-10-19 13:31:28 +02:00
Florian Eckert
f94958e791
Merge pull request #4374 from RemiNV/map_type_rename
protocols: rename type to maptype for map
2020-09-03 21:42:10 +02:00
Florian Eckert
82d4384898
Merge pull request #4355 from RemiNV/legacymap
protocols: add legacymap option for map
2020-09-02 15:33:59 +02:00
Florian Eckert
a093971b94
Merge pull request #4175 from aaronjg/openfortivpn
luci-proto-openfortivpn: add luci interface for openfortivpn
2020-08-31 15:29:32 +02:00
Aaron Goodman
642f738ead luci-proto-openfortivpn: update config option names
update config option names for openfortivpn version 1.14-1-8

Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-08-26 21:54:06 -04:00
Wojciech Jowsa
60ce87a197 luci-proto-wireguard: Add generate key button
Signed-off-by: Wojciech Jowsa <wojciech.jowsa@gmail.com>
[minor indentation fix, use bound section_id value, remove empty translation]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-08-21 11:03:53 +02:00
Remi NGUYEN VAN
1997bcc11b protocols: add legacymap option for map
legacymap causes map to use the legacy IPv6 Interface Identifier format
that was described in draft-ietf-softwire-map-00, but was eventually
changed in RFC7597. It is however still used by some major ISPs,
including in Japan.

Signed-off-by: Remi NGUYEN VAN <remi.nguyenvan+openwrt@gmail.com>
2020-08-16 10:47:11 +09:00
Remi NGUYEN VAN
9282df6894 protocols: rename type to maptype for map
"type" is already used as a common option for all protocols. This makes
the configuration ambiguous, and Luci sees JS errors when trying to save
a MAP configuration.

Switch to "maptype" instead to avoid the conflict. MAP currently uses
"maptype" and falls back to "type" when not specified.

Signed-off-by: Remi NGUYEN VAN <remi.nguyenvan+openwrt@gmail.com>
2020-08-15 23:22:56 +09:00
Aaron Goodman
3e480874ff luci-proto-openfortivpn: add default route, remove disabled, update text
Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-08-06 16:02:39 -04:00
Aaron Goodman
e7c870ea38 luci-proto-openfortivpn: add luci interface for openfortivpn
Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-07-16 22:40:09 -04:00
Nicholas Smith
29edc02f1c luci-proto-modemmanager: add modem specific error messages.
Signed-off-by: Nicholas Smith <nicholas.smith@telcoantennas.com.au>
2020-07-10 20:39:07 +10:00
Robert Koszewski
9a291f9b5e luci-proto-sstp: proto add
Signed-off-by: Robert Koszewski <rkkoszewski@gmail.com>
2020-07-01 17:15:08 +02:00
Jan Bětík
2ced86048c luci-proto-gre: Protocol extension for GRE tunnels
I'm running several GRE tunnels to different locations and
the option to see and to configure GRE tunnels in LuCI was not
crucial but nice to have.

Signed-off-by: Jan Bětík <jan.betik@svine.su>
2020-06-16 17:11:10 +02:00
Wojciech Jowsa
6dd22ec98d luci-proto-vxlan: add destination port option
Signed-off-by: Wojciech Jowsa <wojciech.jowsa@gmail.com>
2020-06-01 16:36:23 +02:00
Jo-Philipp Wich
0de42b056b luci-proto-vxlan: fix uci option names
Fixes: d79bbdd5b ("luci-proto-vxlan: add vxlan protol handler")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-05-27 18:54:38 +02:00
Wojciech Jowsa
d79bbdd5b0 luci-proto-vxlan: add vxlan protol handler
Allow users to add vxlan inteface in luci.

Signed-off-by: Wojciech Jowsa <wojciech.jowsa@gmail.com>
2020-05-27 18:46:18 +02:00
Florian Eckert
dae15b8cf4 luci-proto-wireguard: verify last base64 string symbol is an = sign
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-05-14 09:44:50 +02:00
Florian Eckert
59bc317326 luci-proto-wireguard: add warning that allowed_ips must not be empty
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-05-13 15:34:27 +02:00
Florian Eckert
318d44fdf5
Merge pull request #3978 from GuLinux/proto_openconnect_usergroup
luci-proto-openconnect: add usergroup option
2020-05-05 08:31:57 +02:00
Helge Mader
33df1c1544 luci-proto-bonding: add protohandler configuration for channel bonding
Signed-off-by: Helge Mader <ma@dev.tdt.de>

* Changed the makefile copyright date
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-05-05 08:26:23 +02:00
Marco Gulino
ec375f0bd3 luci-proto-openconnect: add usergroup option
Signed-off-by: Marco Gulino <marco@gulinux.net>
2020-04-30 10:48:31 +01:00
Friendly fellow
adf0fb1879 luci-proto-openconnect: fix certificate file paths
This addresses the issue of openconnect.sh from openconnect package expecting
a vpn- suffix for the files, while the frontend didn't.

Signed-off-by: Friendly fellow <DasTestament@users.noreply.github.com>
[reword commit message]
Ref: https://github.com/openwrt/packages/issues/11584
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-04-08 09:11:34 +02:00
Jo-Philipp Wich
890dcac2de luci-proto-wireguard: remove peer sections when deleting interface
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-03-03 21:22:46 +01:00
Yuxiang Zhu
9684901dc2 wireguard: add checkbox for nohostroute option
This change allows to configure `nohostroute` option for wireguard to explicitely prevent creation
of host routes to endpoints.

By default without `option nohostroute '1'`, an explicite route to the peer's endpoint will be created in the main routing table with the next hop to the gateway. However, it causes issues with some setup. Enabling this option will inhibit this behavior. See discussions at http://lists.openwrt.org/pipermail/openwrt-devel/2019-March/016329.html.

Signed-off-by: Yuxiang Zhu <vfreex@gmail.com>
2020-02-09 02:12:30 +08:00
Jo-Philipp Wich
58c091ac9b luci-proto-modemmanager: use nmcli to detemrine modem choices
Fixes: #3586
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-02-08 11:28:14 +01:00
Jo-Philipp Wich
c43fa199bf luci-proto-openconnect: explicitely escape slashes in regex literals
The unespaced slashes confuse xgettext and likely other source
scanners as well.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-01-22 22:02:24 +01:00
Jo-Philipp Wich
f1c89c103b luci-proto-wireguard: explicitely escape slashes in regex literals
The unespaced slashes confuse xgettext and likely other source
scanners as well.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-01-22 22:02:24 +01:00
Jo-Philipp Wich
284918bfaf treewide: move templates and libraries not used by the core to luci-compat
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-03 17:56:58 +01:00
Florian Eckert
a9b680c4e2
Merge pull request #3178 from nickberry17/update-proto-qmi
luci-proto-qmi: add PDP type option
2019-10-23 11:12:05 +02:00
Nicholas Smith
c607284d30 luci-proto-qmi: remove the word 'both' from menu for improved i18n
Signed-off-by: Nicholas Smith <nicholas.smith@telcoantennas.com.au>
2019-10-23 14:34:22 +10:00
Nicholas Smith
eb0c5c04e8 luci-proto-qmi: add PDP type option
Signed-off-by: Nicholas Smith <nicholas.smith@telcoantennas.com.au>
2019-10-23 14:31:19 +10:00
Jo-Philipp Wich
7a010b1178 luci-proto-openconnect: make PEM values optional
Fixes: #3191
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-10-16 09:31:24 +02:00
Anton Kikin
afc120a6c6 luci-proto-modemmanager: add translation for values
Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
2019-10-14 19:03:50 +03:00
Nicholas Smith
6a79c61221 luci-proto-modemmanager: add luci-proto-modemmanager
Signed-off-by: Nicholas Smith <nicholas.smith@telcoantennas.com.au>
2019-10-11 08:27:02 +10:00
Jo-Philipp Wich
995322c55f luci-proto-wireguard: fix preshared key validation
Ensure that the preshared key option remains optional.

Fixes: #3075
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-17 08:28:45 +02:00
Jo-Philipp Wich
5e7e9b58cf luci-base: restore some lost translations and update german
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-11 14:03:11 +02:00
Jo-Philipp Wich
9cae3b9e67 protocols: replace luci/getTTYDevices calls with generic file/list ones
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-10 15:29:04 +02:00
Jo-Philipp Wich
06f4feca1d protocols: drop server side cbi implementations of protocol handlers
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-10 15:28:16 +02:00
Jo-Philipp Wich
6a2a53a829 protocols: add client side protocol handler implementations
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-10 15:28:16 +02:00
Jo-Philipp Wich
1fc8d021ed protocols: fix contains_interface() implementation in several backends
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-08-06 15:19:50 +02:00
Florian Eckert
f56a6df49c
Merge pull request #2791 from TDT-AG/pr/20190626-luci-proto-3g
luci-proto-3g: rename maxwait to delay option
2019-07-03 08:59:35 +02:00
Florian Eckert
0dec930dd4 luci-proto-qmi: add missing mtu option
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-07-01 10:20:13 +02:00
Florian Eckert
ae1652fc11
Merge pull request #2792 from TDT-AG/pr/20190626-luci-proto-qmi
luci-proto-qmi: improvements
2019-06-27 15:20:31 +02:00
aleem-tectonic
d9ff6721ef
add dialnum option
Signed-off-by: geekinaboxx <aleem@tectonic.it>
2019-06-26 15:02:22 +01:00