Commit graph

42 commits

Author SHA1 Message Date
Det
4ad5f8111b
luci-proto-ipv6: Add DHCPv6 norelease menu option (#6775)
Signed-off-by: Richard Patterson <richard@helix.net.nz>
2023-12-21 22:53:03 +01:00
Jo-Philipp Wich
c2fb90259c luci-proto-ipv6: dhcpv6.js: make reqaddress modes translatable
Fixes: #6730, #6751
Fixes: 2065ead4e8 ("luci-proto-ipv6: dhcpv6.js fix translation (#6751)")
Suggested-by: he ping <pinghejk@gmail.com>
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2023-12-07 11:41:22 +01:00
Jo-Philipp Wich
8065a67410 Revert "luci-proto-ipv6: dhcpv6.js fix translation (#6751)"
This reverts commit 2065ead4e8.

The commit contains syntax errors despite two reviews and was apparently
not runtime tested at all.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2023-12-07 11:34:55 +01:00
try496
2065ead4e8
luci-proto-ipv6: dhcpv6.js fix translation (#6751)
Signed-off-by: he ping <pinghejk@gmail.com>
2023-12-07 05:32:31 +01:00
Rafał Miłecki
79947af064 treewide: drop MAC and MTU from interfaces (protocols)
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-05-28 15:34:41 +02:00
Jo-Philipp Wich
171ef77e89 treewide: remove rendundant proto handler options
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-03-15 11:41:44 +01:00
Florian Eckert
f94958e791
Merge pull request #4374 from RemiNV/map_type_rename
protocols: rename type to maptype for map
2020-09-03 21:42:10 +02:00
Remi NGUYEN VAN
1997bcc11b protocols: add legacymap option for map
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-16 10:47:11 +09:00
Remi NGUYEN VAN
9282df6894 protocols: rename type to maptype for map
"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-15 23:22:56 +09:00
Jo-Philipp Wich
284918bfaf treewide: move templates and libraries not used by the core to luci-compat
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-03 17:56:58 +01:00
Jo-Philipp Wich
5e7e9b58cf luci-base: restore some lost translations and update german
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-11 14:03:11 +02:00
Jo-Philipp Wich
06f4feca1d protocols: drop server side cbi implementations of protocol handlers
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-10 15:28:16 +02:00
Jo-Philipp Wich
6a2a53a829 protocols: add client side protocol handler implementations
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-10 15:28:16 +02:00
Jo-Philipp Wich
1fc8d021ed protocols: fix contains_interface() implementation in several backends
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-08-06 15:19:50 +02:00
Florian Eckert
cd1bce5017 luci-proto-hnet: move hnet to own package
This is a special proto which should go into a separate package.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2018-09-30 17:49:09 +08:00
Rosy Song
a5c931d16f luci-proto-ipv6: fix dependency for IPv6
Signed-off-by: Rosy Song <rosysong@rosinson.com>
2018-09-01 15:57:11 +08:00
Jo-Philipp Wich
60e7ea2fc8 luco-proto-ipv6: allow multiple prefixes for 6in4 and dhcpv6
Fixes FS#1361.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-17 16:19:00 +02:00
Jo-Philipp Wich
80ed1af639 luci-proto-ipv6: register further network error codes
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-07-12 18:10:59 +02:00
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
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
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
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
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
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
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
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
Paul Oranje
4742d1c211 luci-proto-ipv6: fix aiccu requiretls 2015-02-18 23:10:21 +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
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