16431 Commits

Author SHA1 Message Date
Franco Fichtner
ed1bd094bf system: add local settings tab (read only) to logging #6830 2024-03-01 09:01:46 +01:00
Franco Fichtner
0e63a68955 mvc: style sweep 2024-03-01 08:31:38 +01:00
Franco Fichtner
945bd66a3d system: remove the old syslog logging page #6830
New tab is still to be added to the MVC page.  Move it in place
for now and deal with nagivgation and wording later.
2024-03-01 08:26:36 +01:00
Franco Fichtner
cf4f97dd20 firewall: fix PHP warnings 2024-03-01 08:18:42 +01:00
Ad Schellevis
65b21d8de0 System: Trust: Certificates - work in progress for https://github.com/opnsense/core/issues/7248 2024-02-29 21:36:44 +01:00
Ad Schellevis
7f09889116 System: Trust: Certificates - work in progress for https://github.com/opnsense/core/issues/7248 2024-02-29 20:44:44 +01:00
Ad Schellevis
2baca326a5 System: Trust: Certificates - work in progress for https://github.com/opnsense/core/issues/7248 2024-02-29 18:41:32 +01:00
Franco Fichtner
4c78d5b50b system: fix templating for loglocal #6830 2024-02-29 14:45:10 +01:00
Franco Fichtner
8ea6e7be9b system: fix use after migration #6830 2024-02-29 14:14:49 +01:00
Ad Schellevis
2dcf83de18 model/Syslog - fix migration 2024-02-29 13:34:09 +01:00
Franco Fichtner
2900f707f1 system: WIP for moving settings over #6830 2024-02-29 13:22:48 +01:00
Franco Fichtner
aea33f9085 wireguard: remove unused 2024-02-29 12:57:12 +01:00
lin-xianming
7c3f2de92d
core/treeview - replace all > and < (#7288) 2024-02-29 08:34:40 +01:00
Franco Fichtner
f70f0f77c0 mvc: style sweep 2024-02-28 22:10:44 +01:00
Ad Schellevis
35b69da08e System: Trust: Certificates - work in progress for https://github.com/opnsense/core/issues/7248 2024-02-28 18:34:57 +01:00
Ad Schellevis
dca47d1c7f System: Configuration: History - fix php deprecation messages. 2024-02-28 14:29:10 +01:00
Franco Fichtner
6bc7903fa4 system: fix PHP warnings related to #6830 2024-02-28 13:40:35 +01:00
Franco Fichtner
98aabba8a6 system: move firewall log settings to advanced firewall #6830 2024-02-28 13:33:24 +01:00
Franco Fichtner
d5b84cf46e system: move web GUI error log setting to appropriate page #6830
The storage location is wrong but deal with this later.
2024-02-28 12:57:27 +01:00
Franco Fichtner
5247ab3f3a system: move syslog reset function to system include #6830 2024-02-28 12:34:23 +01:00
Ad Schellevis
359954ddbb System: Trust: Certificates - work in progress for https://github.com/opnsense/core/issues/7248 2024-02-27 18:41:27 +01:00
Franco Fichtner
e0cee10ad1 wireguard: manually set $reload in reconfigure case
Also add a log message to else branch when only flipping the
interface flag to trace this better.
2024-02-27 16:28:26 +01:00
Franco Fichtner
dbe52eeaa9 wireguard: may end up setting up in interface reconfigure when down was forced by carp 2024-02-27 16:15:18 +01:00
Franco Fichtner
d6a0534a6d unbound: make root.hints rewrite air-tight
To be added to stable version to make sure we're not causing
the crashing some people report on a reload.

One could avoid having it reload all the time but where is
the fun in that?
2024-02-27 13:44:52 +01:00
Ad Schellevis
0c39b0a698 mvc - add setBaseHook() to ApiMutableModelControllerBase controller implementation, similar to setActionHook().
Since setBase/addBase need a field to message errors on, its likely better to throw an exception when not able to complete the request in full (and data may not be saved).
Usage examples include writing data in other fields not being offered by the gui (for example encode data base64) or autogenerated content as default, volatile model fields can be used to make sure the hook is able to process the non-persistent data (which can still be validated separately).
2024-02-27 10:47:17 +01:00
Ad Schellevis
5db37c89ec System: Trust: Certificates - work in progress for https://github.com/opnsense/core/issues/7248
valid_from, valid_to should be volatile text fields
2024-02-27 10:16:04 +01:00
Franco Fichtner
691e782673 pkg: fix plist 2024-02-27 09:03:50 +01:00
lin-xianming
c9e9606b2d
firewall/rules: fix floating rule display (#7283)
1. For a floating rule with a single interface group, the interface
count and tooltip did not show when viewed from an interface rules page.

2. For a floating rule with an interface group and at least one other
interface or interface group, the entire rule did not show when viewed
from an interface rules page for which the interface is contained in one
of the interface groups.
2024-02-27 08:50:23 +01:00
Ad Schellevis
2969c723eb System: Trust: Certificates - work in progress for https://github.com/opnsense/core/issues/7248 (missed file in 010119b0fa) 2024-02-27 08:44:39 +01:00
Franco Fichtner
11e3ee2657 src: style sweep 2024-02-26 21:55:05 +01:00
lin-xianming
a646cc3461
Fix some help text (#7277) 2024-02-26 21:02:29 +01:00
Ad Schellevis
010119b0fa System: Trust: Certificates - work in progress for https://github.com/opnsense/core/issues/7248 2024-02-26 21:00:36 +01:00
Ad Schellevis
53733031d3 jquery bootgrid - fix epoch support as number, imports 292cfdf749 2024-02-26 20:42:44 +01:00
Ad Schellevis
c868e0adc6 mvc - extend model implementation to support volatile fields, these fields will be validated when offered, but will not be serialized to the target xml structure.
Example usage:

<serial type="IntegerField" volatile="true"/>

The advantage of this is one can ask the user for input, validate it when offered and report back when it's not valid.
2024-02-26 16:21:03 +01:00
Ad Schellevis
8973f6efb1 mvc - fix model cloning when array items contain nested containers. closes https://github.com/opnsense/core/issues/7268
Currently only ArrayField clones fields, but since we removed the constraint to support structures inside these types (5715d82a7f), deeper structures need to be cloned as well to prevent accessing the original (template) node in the clone.
2024-02-26 15:02:07 +01:00
Franco Fichtner
efc9b09c76 unbound: make it even safer 2024-02-26 11:14:48 +01:00
Ad Schellevis
2fa2a2be23 Interface\Autoconf add new static class to access information collected by ifctl and remove existing direct callers. 2024-02-26 10:48:16 +01:00
kulikov-a
387fc592d7
uinbound: aggressive-nsec switch (#7281) 2024-02-26 09:57:01 +01:00
Ad Schellevis
668a057dac mvc - extend model implementation to ease legacy migrations, fix regresison in 35b5e0b64b 2024-02-26 09:51:45 +01:00
Franco Fichtner
0d4db3306e unbound: try to see if a clean cut copy is better #7231 2024-02-26 09:04:01 +01:00
Franco Fichtner
a03c2f9623 unbound: adjust previous a bit to align with the rest of the code 2024-02-26 08:59:15 +01:00
Franco Fichtner
48d693458d mvc: style sweep 2024-02-26 07:57:34 +01:00
Ad Schellevis
dd394645ac System: Gateways: Configuration - prevent removal when gateway is bound to an interface, closes https://github.com/opnsense/core/issues/7270 2024-02-25 20:08:07 +01:00
Ad Schellevis
042486e704 System: Trust: Certificates - add initial wireframe for https://github.com/opnsense/core/issues/7248 2024-02-25 19:54:54 +01:00
Ad Schellevis
e516ea7ec8 mvc - extend model implementation to ease legacy migrations.
add migration strategy for LegacyMappers, when data is already available, migration should add uuid's to the records. Missed this in 35b5e0b64b
2024-02-25 19:49:34 +01:00
Franco Fichtner
084abdfb45 src: whitespace sweep 2024-02-25 18:40:47 +01:00
Ad Schellevis
36b2b66a33 Services: Intrusion Detection - set exception-policy to ignore as a precaution as suggested by @kulikov-a in https://github.com/opnsense/core/pull/7271 2024-02-25 18:09:12 +01:00
Ad Schellevis
4cf6870b03 Services: Intrusion Detection - bring suricata.yaml inline with https://github.com/OISF/suricata/blob/suricata-7.0.3/suricata.yaml.in and add our modifications. Most of the changes are changed comments, disabled the log settings that will add a lot of extra noise. 2024-02-25 15:07:13 +01:00
Ad Schellevis
9b82093ed2 Services: Intrusion Detection: Administration - set app-layer.error-policy to it's advertised default. closes https://github.com/opnsense/core/pull/7271 and https://github.com/opnsense/core/issues/7276 2024-02-25 13:47:33 +01:00
Franco Fichtner
fd00972988 unbound: fix missing /lib; closes #7274 2024-02-24 18:34:48 +01:00