summaryrefslogtreecommitdiffhomepage
path: root/protocols
AgeCommit message (Collapse)Author
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>
2019-07-03Merge pull request #2791 from TDT-AG/pr/20190626-luci-proto-3gFlorian Eckert
luci-proto-3g: rename maxwait to delay option
2019-07-01luci-proto-qmi: add missing mtu optionFlorian Eckert
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-06-27Merge pull request #2792 from TDT-AG/pr/20190626-luci-proto-qmiFlorian Eckert
luci-proto-qmi: improvements
2019-06-26add dialnum optionaleem-tectonic
Signed-off-by: geekinaboxx <aleem@tectonic.it>
2019-06-26luci-proto-qmi: only show password and username if auth is selectedFlorian Eckert
Only show username and password if we use PAP/CHAP, PAP or CHAP authentication. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-06-26luci-proto-qmi: add missing delay optionFlorian Eckert
The proto handler qmi does support the delay option for modem initialization. Add that missing option to the advanced tab to configure that with LuCI. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-06-26luci-proto-3g: rename maxwait to delay optionFlorian Eckert
The option maxwait is not support by the 3g netifd proto. To standardize that rename the maxwait option to delay as in the other proto handlers luci-proto-qmi and luci-proto-ncm. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2019-01-21Merge pull request #2424 from LuKePicci/luci-proto-ppp_pppoe_host-uniqJo-Philipp Wich
luci-proto-ppp: fix wrong pppoe host_uniq datatype
2019-01-04luci-proto-ppp: fix wrong pppoe host_uniq datatypeLuca Piccirillo
Signed-off-by: Luca Piccirillo <luca.piccirillo@gmail.com>
2018-11-15luci-proto-vpnc: expose defaultroute option in proto_vpnc.luaWhitronic
Sometimes people only want the VPN connection to be a route to a specific network, not the default gateway for all traffic. I've tested this on my router and works fine! Submitted-by: Whitronic <joao.f.vieira@gmail.com> [reword commit message] Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-11-10luci-*-wireguard: Remove inactive maintainerDan Lüdtke
I tried to find a successor in the last months, but that failed. Signed-off by Dan Luedtke <mail@danrl.com>
2018-10-12luci-proto-3g: add missed option name for IPv6 address obtain modeAnton Kikin
Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
2018-09-30luci-proto-pppossh: move pppossh to own packageFlorian Eckert
This is a special proto which should go into a separate package. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-09-30luci-proto-hnet: move hnet to own packageFlorian Eckert
This is a special proto which should go into a separate package. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-09-01luci-proto-ipv6: fix dependency for IPv6Rosy Song
Signed-off-by: Rosy Song <rosysong@rosinson.com>
2018-08-30luci-proto-ppp: align keepalive defaults with current OpenWrtJo-Philipp Wich
Disabling LCP echos by *not* setting "option keepalive" was broken in OpenWrt since https://dev.archive.openwrt.org/ticket/2373.html so setting "0" in LuCI had the effect of reverting back to "5, 1" while the help suggested otherwise. Support for "keepalive 0" was fixed with https://git.openwrt.org/555c59230 so align LuCI now to emit "option keepalive 0" instead of removing the option when entering "0" in the gui. Fixes #2112 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-08-13Merge pull request #1989 from hanipouspilot/ncmJo-Philipp Wich
luci-proto-ncm: suggest both tty and wdm devices
2018-07-29luci-proto-ncm: suggest both tty and wdm devicesDmitry Tunin
Some modems are controlled only through a tty. Autodetection of control device is broken in ncm.sh Signed-off-by: Dmitry Tunin <hanipouspilot@gmail.com>
2018-07-28luci-proto-relay: propagate up state, do not forward netifd errorsJo-Philipp Wich
Due to historical reasons, the relayd daemon configuration resides in the form of a fake "config interface" section in /etc/config/network without actually registering a protocol handler. This causes netifd to emit an "INVALID_PROTO" error for the interface which is technically correct, but confusing for LuCI users. This situation needs to be resolved upstream by either moving relayd configuration out of the network config, or by converting the relayd service into a proper protocol handler. Until this happens, do not report any netifd errors since we're not operating on an actual interface. While we're at it, also propagate the protocol up state from the fake virtual device to ensure that LuCI displays the relay bridge as "up" when all relayed interfaces are up as well. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-21luci-proto-ncm: remove unrelated optionsDmitry Tunin
This removes all options 100% unrelated to NCM protocol. Some options like 'dns' are not currently used by connection scripts, but may be used in the future. Signed-off-by: Dmitry Tunin <hanipouspilot@gmail.com>
2018-07-21luci-proto-ncm: add pdptype optionDmitry Tunin
Signed-off-by: Dmitry Tunin <hanipouspilot@gmail.com>
2018-07-19luci-proto-ncm: add modem default modeDmitry Tunin
Signed-off-by: Dmitry Tunin <hanipouspilot@gmail.com>
2018-07-17luco-proto-ipv6: allow multiple prefixes for 6in4 and dhcpv6Jo-Philipp Wich
Fixes FS#1361. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-12luci-proto-qmi: register further network error codesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-12luci-proto-ncm: register further network error codesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-12luci-proto-ipv6: register further network error codesJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-09Merge pull request #1937 from LuKePicci/luci-proto-ppp_pppoe_host-uniqDirk Brenken
luci-proto-ppp: expose pppoe host_uniq tag setting
2018-07-09luci-proto-ppp: expose pppoe host_uniq tag settingLuKePicci
Signed-off-by: Luca Piccirillo <luca.piccirillo@gmail.com>