summaryrefslogtreecommitdiffhomepage
path: root/protocols
AgeCommit message (Collapse)Author
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>
2018-07-08Add descriptionrwalli
2018-06-11wireguard: update wireguard urlKevin Darbyshire-Bryant
Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
2018-05-28luci-proto-3g: make it a self-contained packageFlorian Eckert
The follow error will appear after clicking "Switch protcol" to 3g when luci-proto-3g was not installed. Fix this by moving the relevant parts from luci-proto-ppp into luci-proto-3g and making it complete as a single protocol handler > Missing protocol extension for proto "3g" > cannot open /usr/lib/lua/luci/model/cbi/admin_network/proto_3g.lua: No such file or directory Closes openwrt/luci#1815 Signed-off-by: Florian Eckert <fe@dev.tdt.de> Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2018-05-25luci-proto-ipv6: remove outdated aiccu proto supportFlorian Eckert
Remove outdated package for luci proto section. See commit: https://github.com/openwrt/packages/commit/441f8a3ed1da96f6236988d672011bff11057d6b Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-05-07luci-proto-ppp: add translation to ipv6 handlingFlorian Eckert
If there is no translation set, then on material theme the dropdown selection displaced. To fix this add an translation to this dropdown. The commit also changes source code whitespace shifting. Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-04-06luci-proto-ipv6: clarify 6in4 local address hintJo-Philipp Wich
Make the hint message more explicit to tell users that the prefix size needs to be specified as well. Fixes #1559. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-01-30Fix #1609: luci-proto-wireguard placeholder wrongfully suggests default portsquare.wf
2017-11-10protocols: fix various interface patternsJo-Philipp Wich
The virtual interface match patterns of various protocols were improperly quoted, causing them to over- or undermatch. Follow up of #1435. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-11-10luci-proto-ipv6: fix patterns in proto_4x6.luaMartin Schiller
The dash '-' needs to be escaped by a '%', otherwise it will be interpreted as minus, which means '0 or more repetitions'. This fixes LEDE FS#1157. Signed-off-by: Martin Schiller <ms@dev.tdt.de>
2017-09-24luci-proto-vpnc: fix typoHannu Nyman
fix: 'enaled' --> 'enabled' Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-06-20Merge pull request #1194 from TDT-GmbH/add-license-tagsHannu Nyman
Add license tags
2017-06-19luci-proto-openconnect: remove "interface" fieldYousong Zhou
It's not needed anymore and removed in the openconnect package Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-06-19luci-proto-openconnect: allow setting mtu, password2Yousong Zhou
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-06-13luci-proto-ppp: add license tagQuirin Hofstaetter
Signed-off-by: Quirin Hofstaetter <qh@dev.tdt.de>
2017-06-13luci-proto-ipv6: add license tagQuirin Hofstaetter
Signed-off-by: Quirin Hofstaetter <qh@dev.tdt.de>
2017-05-30luci-proto-wireguard: use "Optional" instead of "Optional." as translationJo-Philipp Wich
This allows sharing the translation string with other components. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-05-30luci-proto-ipv6: use "Automatic" instead as "automatic" as translation labelJo-Philipp Wich
This allows sharing a common translation string with all other protocols. Signed-off-by: Jo-Philipp Wich <jo@mein.io>