Franco Fichtner
6b63a4e2cf
LICENSE: sync after states summary drop
2021-06-23 10:44:18 +02:00
Ad Schellevis
13c1626f96
ditch diag_states_summary.php for 21.7, it's hardly used. We can always add an aggregated view in the states view in the future if there's enough demand
2021-06-22 21:40:33 +02:00
Franco Fichtner
fc1c221b52
network time: cleanups and wording related to #2012
2021-06-22 14:48:05 +02:00
Franco Fichtner
38ced09314
src: style sweep
2021-06-22 14:40:02 +02:00
Franco Fichtner
2fa32cb3b4
network time: introduce a client mode; closes #2012
2021-06-22 14:39:20 +02:00
Franco Fichtner
37cd6feca9
system: vim has gotten really weird #4240
2021-06-22 11:36:39 +02:00
Franco Fichtner
94652ce8e7
system: correctly trim for command line use #4240
2021-06-22 11:34:44 +02:00
Ad Schellevis
caed6e2504
Firewall: Diagnostics: States Dump - refactor to MVC.
...
o a rudimentary column sort
2021-06-22 11:19:39 +02:00
Franco Fichtner
763d553e42
system: whitespace in previous #4240
2021-06-22 10:40:00 +02:00
Franco Fichtner
61054cf55a
system: bump encryption standards; closes #4240
2021-06-22 10:35:09 +02:00
Franco Fichtner
9e7d8b2ddb
mvc: small update loosely related to #5061
2021-06-22 09:59:20 +02:00
Franco Fichtner
1873189ac8
pkg: fix plist
2021-06-22 07:35:02 +02:00
Ad Schellevis
43b7f1eb7f
Firewall: Diagnostics: States Dump - refactor to MVC.
...
o fix minor regression duplicating records (only flush on last content line)
o add link to firewall / rules page
2021-06-21 19:37:27 +02:00
Ad Schellevis
63bdff8cf3
Firewall: Diagnostics: States Dump - refactor to MVC.
...
o add api endpoint and ui to kill states using filter (kill by host or network as well)
o show ruleids in service control spot to filter states for a specific (auto-generated) rule
o support passing a ruleid to the ui page to limit selection, e.g. /ui/diagnostics/firewall/states#d0953c4424f27d5249027086b4599999
2021-06-21 18:27:21 +02:00
Franco Fichtner
512b83463b
pkg: fix plist and lint
2021-06-21 15:22:36 +02:00
Franco Fichtner
83225cec36
shell: we cannot bootstrap an encrypted file; closes #4861
2021-06-21 14:59:13 +02:00
Ad Schellevis
896fc41a5c
Firewall: Diagnostics: States Dump - refactor to MVC.
...
o accept / as valid query symbol (query by network)
2021-06-21 14:56:50 +02:00
Ad Schellevis
d9aa894fdb
Firewall: Diagnostics: States Dump - refactor to MVC.
...
o move state manipulation functions into separate lib, so we can reuse the same logic to kill all in selection (pfctl -k [ipv6_address] doesn't seem to be functional)
2021-06-21 14:53:47 +02:00
Ad Schellevis
2e5bafbfa9
Firewall: Diagnostics: States Dump - refactor to MVC.
...
o improve filter, when an address or network is offered, match using ipaddress.ip_network().overlaps()
2021-06-21 14:38:15 +02:00
Franco Fichtner
a30e04e051
firewall: style sweep
2021-06-21 05:15:21 +02:00
Franco Fichtner
74633f4cd2
interfaces: fix lint pass
2021-06-21 05:15:02 +02:00
Ad Schellevis
006ce71e15
Firewall - groups : delete related firewall rules when an interface group is removed. closes https://github.com/opnsense/core/issues/5035
2021-06-18 21:25:48 +02:00
Ad Schellevis
f2541f4e9f
Firewall - groups : rename source/destination networks, closes https://github.com/opnsense/core/issues/5056
2021-06-18 20:35:27 +02:00
Ad Schellevis
bb5acc7771
fix plist
2021-06-18 19:26:48 +02:00
Ad Schellevis
36f4b24869
Firewall: Diagnostics: States Dump - refactor to MVC.
...
o push query commands to backend process (list_states.py)
o add configd action to kill by state id and assign delete action to it.
o query rule descriptions to ease browsing
some small todo's left:
o the old page supported dropping states for a network, which might be practical to have in s separate tab sheet in the new layout
o support filtering by explicit rule_id and use it as an optional entry point so the firewall edit page can link to the states.
2021-06-18 19:05:00 +02:00
Ad Schellevis
b4bba863f8
Firewall - rules : add some missing curly braces in if statements (style) and prevent "allow options" from being set on non pass rules
2021-06-18 15:59:39 +02:00
Ad Schellevis
644b647cf7
IDS: "none" doesn't equal "", looks like a typo resulting in ignoring the original eve.json
2021-06-18 14:25:38 +02:00
Franco Fichtner
163750ecf8
interfaces: set tunnel flag for IPv4 tunnel plus cleanups #5052
2021-06-18 10:59:04 +02:00
Franco Fichtner
1b051f3dfc
interfaces: remove non-tunnel restriction from address collection
...
Interestingly, IPv4 works because it does not set the 'tunnel'
flag even though it parses the endpoint. So it was already
working for IPv4 but not IPv6.
PR: https://github.com/opnsense/core/issues/5052
2021-06-18 10:53:33 +02:00
Franco Fichtner
f7d7fd6362
interfaces: flush IPv6 addresses on PPP interfaces #4929
2021-06-18 10:08:05 +02:00
Franco Fichtner
b563c28be7
interfaces: groundwork for #4929
2021-06-18 09:27:20 +02:00
Franco Fichtner
fa679250b3
interfaces: condense GIF/GRE parent interface restart #4576
...
Actually collect all names and only restart them once at most.
2021-06-18 08:35:39 +02:00
Franco Fichtner
15935e415a
pkg: default to 7.4 now
2021-06-18 08:19:54 +02:00
Franco Fichtner
60087b5f83
Revert "pkg: default to 7.4 now"
...
This reverts commit 5457e046d833668a1d567669232e32b34e58759c.
Temporary revert for hotfix.
2021-06-17 16:03:31 +02:00
Franco Fichtner
1077e0a2a8
firmware: remove reloadMenu(); closes #4500
2021-06-17 16:00:52 +02:00
Franco Fichtner
9ea3a61e38
system: allow to edit entries with non-conforming names; closes #4643
...
These have been created by other parts of the system and end
up being too long. It does not matter much as we cannot change
a name after it exists, but so now make sure we only check the
confirmity when the gateway / group did not exist previously.
2021-06-17 11:50:55 +02:00
Franco Fichtner
9dc9c4e864
firmware: add backend glue to support install probing of plugins #5037
...
Allows to list dependencies as well. Remove the JSON return, best to
use something as follows now:
# configctl firmware probe && configctl firmware product
2021-06-17 10:32:53 +02:00
Franco Fichtner
e15c2d6f4a
firmware: confirmation on plugin removal #5037
2021-06-17 10:32:27 +02:00
Franco Fichtner
366ae553fc
interfaces: correctly handle GIF and GRE reconfigure; closes #4576
2021-06-17 09:26:29 +02:00
Franco Fichtner
6af782455d
src: avoid htmlentities() if possible: closes #4012
...
Leave config write as is. There are no other relevant migrations
for PHP 7.4 and it works well in practice already.
2021-06-17 08:59:34 +02:00
Franco Fichtner
9c5b60289b
mvc: rename actions for Phalcon 4 to find them
...
PR: https://forum.opnsense.org/index.php?topic=23562.0
2021-06-17 07:47:49 +02:00
Franco Fichtner
da2bd19502
ui: remove $main_buttons; closes #4216
2021-06-16 16:26:07 +02:00
Franco Fichtner
5399473a2b
firewall: remote use of $main_buttons for #4216
2021-06-16 16:25:42 +02:00
Ad Schellevis
a98d776fa4
Interfaces / Hardware settings - Overwite global settings, closes https://github.com/opnsense/core/issues/5050
2021-06-16 16:18:50 +02:00
Franco Fichtner
5457e046d8
pkg: default to 7.4 now
2021-06-16 11:22:34 +02:00
Franco Fichtner
09400b37a9
captive portal: typo in volt template
2021-06-15 13:54:02 +02:00
Franco Fichtner
48a22a9059
firewall: remove $main_buttons use #4216
2021-06-15 13:42:11 +02:00
Franco Fichtner
9c54f6848b
firewall: reduce diff
2021-06-15 13:38:17 +02:00
Franco Fichtner
c0757553a1
interfaces: remove $main_buttons use #4216
2021-06-15 12:05:04 +02:00
Franco Fichtner
18ad4dbbd3
system: remove $main_buttons use #4216
2021-06-15 07:52:13 +02:00