Commit graph

153 commits

Author SHA1 Message Date
Florian Eckert
9e3fb2c585 luci-proto-ipv6: remove outdated aiccu proto support
Remove outdated package for luci proto section.
See commit:
441f8a3ed1

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-05-25 12:04:28 +02:00
Florian Eckert
54455719e5 luci-proto-ppp: add translation to ipv6 handling
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-05-07 14:03:32 +08:00
Jo-Philipp Wich
4d6c5d284b luci-proto-ipv6: clarify 6in4 local address hint
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-04-06 08:49:41 +02:00
square.wf
43589ae4d8
Fix #1609: luci-proto-wireguard placeholder wrongfully suggests default port 2018-01-30 15:38:31 +01:00
Jo-Philipp Wich
932bae9873 protocols: fix various interface patterns
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-10 14:20:53 +01:00
Martin Schiller
f8b1b8a47a luci-proto-ipv6: fix patterns in proto_4x6.lua
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-11-10 13:49:45 +01:00
Hannu Nyman
1ba412dcd9 luci-proto-vpnc: fix typo
fix: 'enaled' --> 'enabled'

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-09-24 10:10:34 +03:00
Hannu Nyman
cb557f61c3 Merge pull request #1194 from TDT-GmbH/add-license-tags
Add license tags
2017-06-20 16:40:48 +03:00
Yousong Zhou
dfd082c53b luci-proto-openconnect: remove "interface" field
It's not needed anymore and removed in the openconnect package

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-06-19 11:26:36 +08:00
Yousong Zhou
cf8146ff67 luci-proto-openconnect: allow setting mtu, password2
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2017-06-19 11:21:47 +08:00
Quirin Hofstaetter
d40bb2e60e luci-proto-ppp: add license tag
Signed-off-by: Quirin Hofstaetter <qh@dev.tdt.de>
2017-06-13 13:40:28 +02:00
Quirin Hofstaetter
a4bee3de51 luci-proto-ipv6: add license tag
Signed-off-by: Quirin Hofstaetter <qh@dev.tdt.de>
2017-06-13 13:40:25 +02:00
Jo-Philipp Wich
f01e49210b luci-proto-wireguard: use "Optional" instead of "Optional." as translation
This allows sharing the translation string with other components.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-05-30 21:45:54 +02:00
Jo-Philipp Wich
830f2245a8 luci-proto-ipv6: use "Automatic" instead as "automatic" as translation label
This allows sharing a common translation string with all other protocols.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-05-30 20:20:34 +02:00
Jo-Philipp Wich
10057db9b1 luci-proto-openconnect: fix authgroup translation
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2017-05-30 20:16:29 +02:00
Jason A. Donenfeld
b9b64aae96 wireguard: preshared-key is now an attribute of the peer
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2017-05-09 16:51:40 +02:00
Hannu Nyman
9f165132a6 luci-proto-vpnc: remove unnecessary fields from Makefile
Remove unnecessary fields from Makefile and
rely on LuCI automatics.

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2017-04-23 13:03:58 +03:00
Hannu Nyman
180f2d670a Merge pull request #956 from lucize/master
Add luci-proto-ncm for comgt-ncm
2017-03-19 16:55:45 +02:00
danrl
cd8333cf0b luci-proto-wireguard: add support for fwmark option
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-27 20:48:46 +01:00
Dan Lüdtke
517d430f65 luci-proto-wireguard: mark package as arch indep.
Marks package luci-proto-wireguard as architecture independent.

Signed-off-by: Dan Luedtke <mail@danrl.com>
2017-02-16 21:50:39 +01:00
danrl
8fc55591b9 luci-proto-wireguard: stricter input validation
Signed-off-by: Dan Luedtke <mail@danrl.com>
2017-02-15 10:03:29 +01:00
danrl
a9463d3d1a luci-proto-wireguard: fix wrong maximum MTU
Signed-off-by: Dan Luedtke <mail@danrl.com>
2017-02-03 21:05:01 +01:00
Lucian Cristian
a2349fac27 Add luci-proto-ncm for comgt-ncm
NCM is used by some 3G/LTE dongles.
First introduced in 51a5ff0947

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-17 18:21:55 +02:00
danrl
77ea7c8c7e luci-proto-wireguard: enable addressing for tunnel interfaces
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>
2017-01-14 17:12:36 +01:00
Daniel Dickinson
e063597d65 Merge pull request #840 from TouchStar/support_proto_qmi
luci-proto-qmi: Added support for QMI Cellular
2016-12-21 18:44:01 -05:00
David Thornley
819e8cd41b luci-proto-qmi: Added support for QMI Cellular
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-15 13:34:22 +11:00
Christian Schoenebeck
1fd43b4b65 Merge pull request #787 from rogerpueyo/luci-proto-ipip
luci-proto-ipip: Add package
2016-12-01 20:33:44 +01:00
danrl
3bfc32f541 luci-proto-wireguard: Fix misleading description
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-12-01 09:01:35 +01:00
Roger Pueyo Centelles
d8b3515cd4 luci-proto-ipip: Add package
This package adds LuCI support for IPIP tunnels (IPv4-in-IPv4 RFC2003)

Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
2016-11-21 11:27:23 +01:00
danrl
e610bfa1f7 luci-proto-wireguard: do not depend on meta-package
Signed-off-by: Dan Luedtke <mail@danrl.com>
2016-11-19 15:00:01 +01:00
danrl
eb44a58c6d luci-proto-wireguard: input validation optimization 2016-11-15 23:57:23 +01:00
Dan Lüdtke
f9f4145bbd luci-proto-wireguard: added maintainer
Signed-off-by: Dan Lüdtke <mail@danrl.com>
2016-11-15 21:43:09 +01:00
danrl
9caa982c19 luci-proto-wireguard: WireGuard VPN Protocol (New)
WireGuard is a novel VPN that runs inside the Linux Kernel and utilizes
state-of-the-art cryptography. It aims to be faster, simpler, leaner, and
more useful than IPSec, while avoiding the massive headache. It intends to
be considerably more performant than OpenVPN.  WireGuard is designed as a
general purpose VPN for running on embedded interfaces and super computers
alike, fit for many different circumstances.
It runs over UDP.

Signed-off-by: Dan Lüdtke mail@danrl.com
2016-11-15 21:43:09 +01:00
Juan Manuel M
d4176328df luci-proto-vpnc: further typo fixes 2016-06-28 16:43:42 +02:00
Juan Manuel M
3a6c2872c6 Fixed luci-proto-vpnc typos which rendered it unusable 2016-06-28 11:01:41 -03:00
Jo-Philipp Wich
6619e66fc9 luci-proto-ipv6: allow hostnames for dslite peer addresses (#621)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2016-01-10 13:19:34 +01:00
Jo-Philipp Wich
0dcb549841 Merge pull request #579 from cshore/pull-request-protocol-vpnc
protocols: vpnc: Add vpnc as a network protocol
2015-12-17 02:38:41 +01:00
Daniel Dickinson
3f95160cbd protocols: vpnc: Add vpnc as a network protocol 2015-12-16 01:37:04 -05:00
Daniel Dickinson
c481f3f343 validation: Add option ipv4only option to host and hostport datatypes
Some applications only support ipv4 so add ipv4only option
to host and hostport datatypes so that for thos applications
that when an IP address is specified only and ipv4 ip address
gets accepted.
2015-12-15 20:41:01 -05:00
Yousong Zhou
09768ed745 luci-proto-ppp: l2tp: allow specifying port in "server" option
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2015-12-02 20:56:11 +08:00
Yousong Zhou
cbf45fe563 luci-proto-ppp: add support for pppossh
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2015-11-03 17:07:45 +08:00
Steven Barth
ecd460f79f proto_map: fix ealen range
Signed-off-by: Steven Barth <steven@midlink.org>
2015-10-02 11:34:12 +02:00
Steven Barth
f67d39e69a IPv6 updates
Signed-off-by: Steven Barth <steven@midlink.org>
2015-05-17 17:06:43 +02:00
Paul Oranje
1c054af0d7 luci-proto-ipv6: correct aiccu options defaults
- requiretls default set to disabled
- corrected syntax errors in default values of Flag options for nat,
verbose and requiretls.
2015-05-02 12:24:25 +02:00
Paul Oranje
ae8e971eef Merge branch 'master' of https://github.com/openwrt/luci into proto=ipv6+aiccu+fixes 2015-05-02 10:44:17 +02:00
Steven Barth
5ef2946ede Fix typo in last commit
Signed-off-by: Steven Barth <steven@midlink.org>
2015-04-10 18:55:56 +02:00
Steven Barth
5934fb4e9d proto_hnet: fix homenet dependency
Signed-off-by: Steven Barth <steven@midlink.org>
2015-04-10 18:04:56 +02:00
Steven Barth
dc6a250a01 proto_hnet: add missing categories
Signed-off-by: Steven Barth <steven@midlink.org>
2015-04-10 17:29:42 +02:00
Nikos Mavrogiannopoulos
515ad0e08e luci-proto-openconnect: Added option for default gateway
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2015-03-29 08:31:32 +02:00
Paul Oranje
4742d1c211 luci-proto-ipv6: fix aiccu requiretls 2015-02-18 23:10:21 +01:00
Jo-Philipp Wich
1abe6fa10c Merge pull request #315 from poranje/proto-ipv6+aiccu
luci-proto-ipv6: add aiccu
2015-02-08 19:18:16 +01:00
Nikos Mavrogiannopoulos
e579b80a48 openconnect: ask for the output interface name
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2015-02-08 18:47:03 +01:00
Paul Oranje
ada0ea2aea luci-proto-ipv6: aiccu fixed ip6prefix datatype 2015-02-06 19:39:56 +01:00
Paul Oranje
c8fe297dc9 luci-proto-ipv6: aiccu improvements
- option heartbeat as tunnel type (heartbeat or AYIYA) (inspired by
idea of openwrt forum user thefRont)
- another typo fix in the mtu option
2015-02-06 12:04:58 +01:00
Paul Oranje
42e2280977 luci-proto-ipv6: fix typo in aiccu mtu range 2015-02-04 17:51:25 +01:00
Paul Oranje
b6e5373764 luci-proto-ipv6: set aiccu mtu option range 2015-02-04 12:12:59 +01:00
Paul Oranje
0282441f00 luci-proto-ipv6: add aiccu
initial commit
2015-02-04 00:04:04 +01:00
Jo-Philipp Wich
41d2b33087 Update my email addresses in the license headers
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-16 23:49:44 +01:00
Jo-Philipp Wich
7a3493b1f7 Globally reduce copyright headers
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-16 23:38:38 +01:00
Luiz Angelo Daros de Luca
b34c9ae639 luci-proto-3g: add dialnumber option
UCI network already permit dialnumber option for 3g interfaces.
This adds dialnumber to luci protocol 3g. Also it introduces a
new translation string "Dial number", added to template and updated
on each language (all empty but pt-br).

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
2015-01-16 15:37:13 -02:00
Jo-Philipp Wich
224325a36d protocols: fix keepalive settings for pppd based protocols
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-15 22:55:37 +01:00
Jo-Philipp Wich
1bb4822dca Rework LuCI build system
* Rename subdirectories to their repective OpenWrt package names
 * Make each LuCI module its own standalone package
 * Deploy a shared luci.mk which is used by each module Makefile

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-01-08 16:26:20 +01:00
Nikos Mavrogiannopoulos
45399c5f9a openconnect proto: added missing makefile
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2014-10-29 23:28:36 +01:00
Nikos Mavrogiannopoulos
8df4e5d219 Added luci configuration for openconnect protocol
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2014-10-20 20:22:55 +02:00
Jo-Philipp Wich
e1e6b675fc proto/ipv6: emit a validation error if 6in4 username is still an md5sum
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2014-07-01 11:09:38 +00:00
Steven Barth
6598993359 hnet: update mode selection 2014-06-19 15:18:35 +00:00
Jo-Philipp Wich
7043c30e0e build: introduce luci-base
Merges libs/core, libs/ipkg, libs/web, libs/sys, libs/sgi-cgi, libs/sgi-uhttpd,
modules/admin-core, themes/base and protcols/core into modules/base and renames
luci-lib-core to luci-base.
2014-06-11 13:29:05 +00:00
Steven Barth
63cf6f55ad hnet: update protocol configuration 2014-06-10 21:00:08 +00:00
Steven Barth
b30d6e7d6e Add hnet protocol support 2014-06-03 15:11:32 +00:00
Steven Barth
029631ec48 Make static IPv6-configuration more usable 2013-05-23 10:14:14 +00:00
Steven Barth
ff4c167e93 Add DS-Lite support 2013-05-23 10:14:04 +00:00
Steven Barth
9a55fd9e84 Fix IPv6 package dependencies 2013-05-23 10:13:58 +00:00
Jo-Philipp Wich
7734ac7584 protocols: allow MTU sizes up to 9200 bytes (!OpenWrt ticket !#13492) 2013-05-10 11:33:18 +00:00
Jo-Philipp Wich
7ba8d31df7 Add LuCI support for newly introduced IPv6 options 2013-04-09 09:38:33 +00:00
Jo-Philipp Wich
686de0fbec move dhcpv6 support into luci-proto-6x4, rename luci-proto-6x4 to luci-proto-ipv6 2013-01-22 10:44:28 +00:00
Jo-Philipp Wich
a4f3f52d1c New IPv6 integration 2013-01-22 10:44:16 +00:00
Jo-Philipp Wich
11bfc487a5 fix is_installed() check for l2tp
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2012-12-15 00:35:47 +00:00
Jo-Philipp Wich
fbe033a552 protocols/6x4: make local ip6addr of 6in4 interfaces optional 2012-10-14 09:21:30 +00:00
Jo-Philipp Wich
db972d6b08 protocols/3g: rework service type choices 2012-08-22 11:12:14 +00:00
Jo-Philipp Wich
adedd765d4 protocols/core: fix bad .write() invocation in luci.tools.proto 2012-08-19 15:48:57 +00:00
Jo-Philipp Wich
a3894bf21b protocols/core: remove uneeded requires from luci.tools.proto 2012-08-17 08:19:48 +00:00
Jo-Philipp Wich
bde145be54 protocols/core: write override mac to wifi-iface for wifi interfaces 2012-08-17 08:18:06 +00:00
Jo-Philipp Wich
4be1360c63 protocols/core: remove bogus dependency from metric option of dhcp configuration 2012-08-16 08:47:43 +00:00
Jo-Philipp Wich
489e69edfd proto/6x4: cast 6to4 adv_interface to string when saving to uci, fixes 6in4.sh not picking up the adv interfaces 2012-08-11 21:15:05 +00:00
Daniel Golle
50ca6030d5 add IPv6 and MTU override for L2TP
Signed-off-by: Daniel Golle <dgolle@allnet.de>
2012-07-05 04:22:16 +00:00
Jo-Philipp Wich
df77c736be protocols/ppp: add mtu options to all ppp protocols, add lcp options to pptp 2012-07-04 10:02:21 +00:00
Jo-Philipp Wich
8259552622 protocols/core: fix dhcp defaultroute option 2012-07-01 20:40:02 +00:00
Jo-Philipp Wich
a0d1420aa2 protocols/ppp: remove obsolete pptp buffering option 2012-06-21 19:43:25 +00:00
Jo-Philipp Wich
629e3db294 Add L2TP support
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
2012-06-21 17:26:25 +00:00
Jo-Philipp Wich
a00b558210 6rd configuration support.
Signed-off-by: Stéphan Kochen <stephan@kochen.nl>
2012-06-21 15:28:39 +00:00
Jo-Philipp Wich
7add578817 protocols: merge pptp into ppp, adjust depends for kernel mode pptp 2012-06-11 22:41:32 +00:00
Jo-Philipp Wich
7c72d241fa protocols/core: fix defaultroute setting for DHCP interfaces 2012-06-07 14:51:30 +00:00
Jo-Philipp Wich
1fa82a7937 protocols/core: fix peerdns option for dhcp proto 2012-06-03 17:19:13 +00:00
Jo-Philipp Wich
100b544f3b proto: fix feature detection of installed protocol handlers 2012-05-31 16:16:32 +00:00
Jo-Philipp Wich
62ec28f0be protocols/ppp: fix install state detection with netifd 2012-04-27 18:10:51 +00:00
Jo-Philipp Wich
cf8b8f8749 protocols/6x4: fix install state detection with netifd 2012-04-27 18:10:40 +00:00
Jo-Philipp Wich
33e088dd9d protocols/6x4: fix turning off 6ro4 advertising on all interfaces 2011-12-26 16:11:15 +00:00
Jo-Philipp Wich
86a5b610fe protocols/core: change vendorclass option to vendorid to match actual OpenWrt implementation 2011-12-08 16:52:45 +00:00
Jo-Philipp Wich
b58baed8a4 protocols: cast dns option to string in order to retain compatibility 2011-11-02 19:13:13 +00:00
Jo-Philipp Wich
620c216b3a protocols/core: add back dns server options to dhcp and static protocols 2011-10-15 04:32:14 +00:00