11864 Commits

Author SHA1 Message Date
Ad Schellevis
e2bc22ebda Services / Intrusion detection / Alerts - regression in 644b647cf7, ignoring filters and number of items to show 2021-06-24 11:26:19 +02:00
kulikov-a
97643a3edb
read_log.py: set label for obsolete rule in log (#5075) 2021-06-27 13:34:32 +02:00
Franco Fichtner
9e1582ced1 ui: avoid line breaks from breaking JS 2021-06-25 07:41:33 +02:00
Ad Schellevis
d406ff2a83 MVC - serialize model to xml: replace model in stead of delete/add, which should keep the diff between versions more stable.
closes https://github.com/opnsense/core/issues/4603
2021-06-23 18:22:07 +02:00
Ad Schellevis
f0eefecdd6 IPsec - explicit type selection, closes https://github.com/opnsense/core/issues/4860
to be released in 21.7
2021-06-23 14:27:30 +02:00
Franco Fichtner
597f1a47f2 ui: routes diagnostics patched #4608 2021-06-24 14:51:26 +02:00
Franco Fichtner
42dcb68784 ui: bootgrid tooltip improvements and missing action button conversions; closes #4608 2021-06-24 14:06:09 +02:00
Ad Schellevis
115761b143 IPsec - obey general route-to/reply-to settings in automatic rules, closes https://github.com/opnsense/core/issues/4942
to be released in 21.7
2021-06-23 10:43:01 +02:00
Ad Schellevis
589ee4f8f6 Captive portal: refactor bootgrid usage for template so our generic wrapper is used. The custom commands wheren't possible when we originally added the grid here. 2021-06-23 10:22:19 +02:00
Ad Schellevis
8ceb2e1f79 ui: bootgrid tooltips v3 #4608
o when title is set, mot no translation is found, keep original title so the component can handle it manually if needed.
2021-06-23 10:20:59 +02:00
Ad Schellevis
4cb9747eab opnsense_bootgrid_plugin.js tabs vs spaces 2021-06-23 10:12:28 +02:00
Franco Fichtner
fd6621d491 captive portal: patch bootgrid tooltips where needed #4608 2021-06-24 10:29:54 +02:00
Franco Fichtner
9bf3ad440c ui: bootgrid tooltips v3 #4608
Latch on to bootgrid-tooltip or let the caller handle it manually
by omitting bootgrid-tooltip and setting data-toggle and title.
2021-06-24 10:09:36 +02:00
Franco Fichtner
57ae64027f firewall: states icon tooltips #4608
Maybe it would be better to inject titles via bootgrid-tooltip
selector on the known command if not specified.
2021-06-23 19:52:52 +02:00
Franco Fichtner
a2c3299990 ui: tooltips v2 #4608 2021-06-23 15:33:38 +02:00
Franco Fichtner
ae90c20c2f ui: bootgrid tooltip translation part 1 #4608 2021-06-23 14:18:12 +02:00
Franco Fichtner
a649d7c2c2 firewall: fix typo 2021-06-23 14:16:42 +02:00
Franco Fichtner
35aa9bf568 interfaces: back out this change until we have feedback #4929 2021-06-23 11:41:51 +02:00
Franco Fichtner
1c8b6f1250 firewall: move sync entries from core to pf, add live log templates; closes #5062 2021-06-23 11:37:58 +02:00
Franco Fichtner
fc1cd98370 firewall: tweak menu entry names and category icon 2021-06-23 11:21:59 +02:00
Franco Fichtner
c9dbf8ab52 firewall: UX improvements on states page 2021-06-23 11:18:33 +02:00
Franco Fichtner
4be355e1ca system: migrate NextCloud backup to plugins
PR: https://github.com/opnsense/core/issues/4670
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
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
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