Jo-Philipp Wich
71c80a03ce
luci-app-firewall: fix zone network default
...
When a `config zone` section lacks an `option network` or `list network`
setting, its contained interface list defaults to the name of the zone,
e.g. a zone named `foo` will implicitely contain the network `foo` unless
a deviating or empty `option network` is specified.
Adjust the zones.js model accordingly to reflect that implicit default.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit d60a1a13b0
)
2020-01-04 18:49:10 +01:00
Jo-Philipp Wich
bc5c197411
luci-app-firewall: remove obsolete "conntrack" option
...
Fixes : #3342
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit f6e56e67e8
)
2019-11-22 08:50:56 +01:00
Nicholas Smith
f9e2d60f13
luci-app-firewall: display "this new zone" instead of "undefined"
...
Signed-off-by: Nicholas Smith <nicholas.smith@telcoantennas.com.au>
2019-09-11 12:52:24 +02:00
Jo-Philipp Wich
eeced34765
luci-app-firewall: disallow creating zone without name
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-11 12:46:59 +02:00
Jo-Philipp Wich
42bc712e2c
luci-app-firewall: filter alias interfaces in zone device selection
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-09-10 15:28:16 +02:00
Jo-Philipp Wich
42bd5aa9c4
luci-app-firewall: fix zone overview page after rpc procedure renaming
...
The "conntrack_helpers" method has been renamed to "getConntrackHelpers".
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-08-15 15:40:46 +02:00
Jo-Philipp Wich
ed8f1c4c1c
luci-app-firewall: honour global default policies in per-zone settings
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-08-14 22:58:15 +02:00
Jo-Philipp Wich
9f032e02e4
luci-app-firewall: drop usage of getOffloadSupport()
...
Rely on the more generic L.hasSystemFeature() from now on.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-08-14 22:58:15 +02:00
Jo-Philipp Wich
df77b47bad
luci-app-firewall: add support for further per-zone options
...
This commit introduces support for zone devices, subnets, conntrack helpers
and iptables extra options.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-22 16:46:51 +02:00
Jo-Philipp Wich
9c16090780
luci-app-firewall: switch to client side CBI views
...
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-07-07 15:36:26 +02:00