summaryrefslogtreecommitdiffhomepage
path: root/protocols
AgeCommit message (Collapse)Author
2021-05-28treewide: drop MAC and MTU from interfaces (protocols)Rafał Miłecki
Those are L2 options that are not part of interfaces (L3), should not be set there and don't work. Setting MAC and MTU should be done at device layer (config device) and is supported for basic types already. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2021-03-29protocols: fix interface.ipv6 vs. device.ipv6 option conflictJo-Philipp Wich
Ref: https://forum.openwrt.org/t/pppoe-disable-ipv6/92548 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-03-15treewide: remove rendundant proto handler optionsJo-Philipp Wich
The introduction of network device configuration support also implemented all common, protocol-independent interface options directly in the interface config view, so drop the redundant option definitions. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2021-02-27luci-{app,proto}-wireguard: remove kmod-wireguardIlya Lipnitskiy
Prepares for 5.10 migration. wireguard-tools will bring in the correct wireguard kernel module dependency - either kmod-wireguard or kmod-wireguard-oot. Depends on https://github.com/openwrt/openwrt/pull/3885 Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
2021-01-07luci-proto-modemmanager: add support for specifying signal refresh rateNicholas Smith
Signed-off-by: Nicholas Smith <nicholas@nbembedded.com>
2020-11-25Merge pull request #4542 from mayli/oc-protocolFlorian Eckert
luci-proto-openconnect: add vpn_procotol support
2020-11-22optinal -> optional typo fixSergio E. Nemirowski
Signed-off-by: Sergio E. Nemirowski <sergio@outerface.net>
2020-11-06luci-proto-qmi: add missing proto default optionsFlorian Eckert
This change add the following missing default options. - defaulroute - peerdns - metric Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-11-05luci-proto-gre: remove extra parenthesisChuanhong Guo
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-10-30luci-proto-openconnect: add vpn_procotol supportMengyang Li
see https://github.com/openwrt/packages/pull/13763 Signed-off-by: Mengyang Li <mayli.he@gmail.com>
2020-10-19luci-proto-gre: improvement of LuCI interfaceJan Bětík
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-09-03Merge pull request #4374 from RemiNV/map_type_renameFlorian Eckert
protocols: rename type to maptype for map
2020-09-02Merge pull request #4355 from RemiNV/legacymapFlorian Eckert
protocols: add legacymap option for map
2020-08-31Merge pull request #4175 from aaronjg/openfortivpnFlorian Eckert
luci-proto-openfortivpn: add luci interface for openfortivpn
2020-08-26luci-proto-openfortivpn: update config option namesAaron Goodman
update config option names for openfortivpn version 1.14-1-8 Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-08-21luci-proto-wireguard: Add generate key buttonWojciech Jowsa
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-16protocols: add legacymap option for mapRemi NGUYEN VAN
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-15protocols: rename type to maptype for mapRemi NGUYEN VAN
"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-06luci-proto-openfortivpn: add default route, remove disabled, update textAaron Goodman
Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-07-16luci-proto-openfortivpn: add luci interface for openfortivpnAaron Goodman
Signed-off-by: Aaron Goodman <aaronjg@stanford.edu>
2020-07-10luci-proto-modemmanager: add modem specific error messages.Nicholas Smith
Signed-off-by: Nicholas Smith <nicholas.smith@telcoantennas.com.au>
2020-07-01luci-proto-sstp: proto addRobert Koszewski
Signed-off-by: Robert Koszewski <rkkoszewski@gmail.com>
2020-06-16luci-proto-gre: Protocol extension for GRE tunnelsJan Bětík
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-01luci-proto-vxlan: add destination port optionWojciech Jowsa
Signed-off-by: Wojciech Jowsa <wojciech.jowsa@gmail.com>
2020-05-27luci-proto-vxlan: fix uci option namesJo-Philipp Wich
Fixes: d79bbdd5b ("luci-proto-vxlan: add vxlan protol handler") Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-05-27luci-proto-vxlan: add vxlan protol handlerWojciech Jowsa
Allow users to add vxlan inteface in luci. Signed-off-by: Wojciech Jowsa <wojciech.jowsa@gmail.com>
2020-05-14luci-proto-wireguard: verify last base64 string symbol is an = signFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-05-13luci-proto-wireguard: add warning that allowed_ips must not be emptyFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-05-05Merge pull request #3978 from GuLinux/proto_openconnect_usergroupFlorian Eckert
luci-proto-openconnect: add usergroup option
2020-05-05luci-proto-bonding: add protohandler configuration for channel bondingHelge Mader
Signed-off-by: Helge Mader <ma@dev.tdt.de> * Changed the makefile copyright date Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2020-04-30luci-proto-openconnect: add usergroup optionMarco Gulino
Signed-off-by: Marco Gulino <marco@gulinux.net>
2020-04-08luci-proto-openconnect: fix certificate file pathsFriendly fellow
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-03-03luci-proto-wireguard: remove peer sections when deleting interfaceJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-02-09wireguard: add checkbox for `nohostroute` optionYuxiang Zhu
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-08luci-proto-modemmanager: use nmcli to detemrine modem choicesJo-Philipp Wich
Fixes: #3586 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-01-22luci-proto-openconnect: explicitely escape slashes in regex literalsJo-Philipp Wich
The unespaced slashes confuse xgettext and likely other source scanners as well. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-01-22luci-proto-wireguard: explicitely escape slashes in regex literalsJo-Philipp Wich
The unespaced slashes confuse xgettext and likely other source scanners as well. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-03treewide: move templates and libraries not used by the core to luci-compatJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-10-23Merge pull request #3178 from nickberry17/update-proto-qmiFlorian Eckert
luci-proto-qmi: add PDP type option
2019-10-23luci-proto-qmi: remove the word 'both' from menu for improved i18nNicholas Smith
Signed-off-by: Nicholas Smith <nicholas.smith@telcoantennas.com.au>
2019-10-23luci-proto-qmi: add PDP type optionNicholas Smith
Signed-off-by: Nicholas Smith <nicholas.smith@telcoantennas.com.au>
2019-10-16luci-proto-openconnect: make PEM values optionalJo-Philipp Wich
Fixes: #3191 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-10-14luci-proto-modemmanager: add translation for valuesAnton Kikin
Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
2019-10-11luci-proto-modemmanager: add luci-proto-modemmanagerNicholas Smith
Signed-off-by: Nicholas Smith <nicholas.smith@telcoantennas.com.au>
2019-09-17luci-proto-wireguard: fix preshared key validationJo-Philipp Wich
Ensure that the preshared key option remains optional. Fixes: #3075 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-11luci-base: restore some lost translations and update germanJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-10protocols: replace luci/getTTYDevices calls with generic file/list onesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-10protocols: drop server side cbi implementations of protocol handlersJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-10protocols: add client side protocol handler implementationsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-08-06protocols: fix contains_interface() implementation in several backendsJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>