summaryrefslogtreecommitdiffhomepage
path: root/protocols
AgeCommit message (Collapse)Author
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>
2017-05-30luci-proto-openconnect: fix authgroup translationJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-05-09wireguard: preshared-key is now an attribute of the peerJason A. Donenfeld
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-04-23luci-proto-vpnc: remove unnecessary fields from MakefileHannu Nyman
Remove unnecessary fields from Makefile and rely on LuCI automatics. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-03-19Merge pull request #956 from lucize/masterHannu Nyman
Add luci-proto-ncm for comgt-ncm
2017-02-27luci-proto-wireguard: add support for fwmark optiondanrl
Adds support for the fwmark option. FwMark is a 32-bit fwmark for outgoing packets. If set to 0 or "off", this option is disabled. Signed-off-by: Dan Luedtke <mail@danrl.com>
2017-02-16luci-proto-wireguard: mark package as arch indep.Dan Lüdtke
Marks package luci-proto-wireguard as architecture independent. Signed-off-by: Dan Luedtke <mail@danrl.com>
2017-02-15luci-proto-wireguard: stricter input validationdanrl
Signed-off-by: Dan Luedtke <mail@danrl.com>
2017-02-03luci-proto-wireguard: fix wrong maximum MTUdanrl
Signed-off-by: Dan Luedtke <mail@danrl.com>
2017-01-17Add luci-proto-ncm for comgt-ncmLucian Cristian
NCM is used by some 3G/LTE dongles. First introduced in https://github.com/lede-project/source/commit/51a5ff094703c4db984284913d605e83e819d99c light modified file taken from OpenWRT/Gargoyle github https://github.com/obsy/packages/tree/master/luci-proto-wwan Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
2017-01-14luci-proto-wireguard: enable addressing for tunnel interfacesdanrl
Enable static addresses on WireGuard tunnel interfaces without requiring an static address interface. This removes the requirement to use a static address interface on top of a WireGuard tunnel interface in the majority of cases. In the past, users have been confused by the current approach and asked for a simpler way to configure WireGuard interfaces. Signed-off-by: Dan Luedtke <mail@danrl.com>
2016-12-21Merge pull request #840 from TouchStar/support_proto_qmiDaniel Dickinson
luci-proto-qmi: Added support for QMI Cellular
2016-12-15luci-proto-qmi: Added support for QMI CellularDavid Thornley
Derived mostly from (ppp) 3g implementation. Currently exposing the following configuration through cbi (apn/pincode/username/password/auth/ipv6). Signed-off-by: David Thornley <david.thornley@touchstargroup.com>
2016-12-01Merge pull request #787 from rogerpueyo/luci-proto-ipipChristian Schoenebeck
luci-proto-ipip: Add package
2016-12-01luci-proto-wireguard: Fix misleading descriptiondanrl
Description was misleading, as the routes are not created automatically. We have a flag to create routes. Added a hint what to fill into the AlledIPs field as users repeatedly have struggled to use it correctly. Thanks to Stefan Agner for providing feedback on this. Signed-off-by: Dan Luedtke <mail@danrl.com>
2016-11-21luci-proto-ipip: Add packageRoger Pueyo Centelles
This package adds LuCI support for IPIP tunnels (IPv4-in-IPv4 RFC2003) Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
2016-11-19luci-proto-wireguard: do not depend on meta-packagedanrl
Signed-off-by: Dan Luedtke <mail@danrl.com>
2016-11-15luci-proto-wireguard: input validation optimizationdanrl