We replaced the custom markup with:
layout_partials/base_bootgrid_table
layout_partials/base_dialog
The main simplifications are:
GeoIP: one searchable country selector, grouped by region. Removed continent-wide selection buttons and per-region selection counters.
Refresh frequency: Removed separate Days/Hours inputs and their conversion logic.
Dialog layout: standard width and separate protocol/credential rows instead of custom combined layout.
The content tokenizer remains, but now with 1000 alias preview and scrollable dropdown.
Now the dialog and grid behave like in other standard pages.
A reservation is matched on exactly one identifier (MAC address or
client id for DHCPv4, DUID or MAC address for DHCPv6), but the leases
pages passed both to the reservation dialog, which the model then
refused to save.
Show a button for each identifier the lease has and pass only that one,
so the choice stays with the user and the dialog can be saved as is.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The gateway status is read inside the monitor hooks by external
scripts as well as the state kill t the end and should have also
been used in the filter reload. We should also refrain from state
kills if the rules don't reload.
The solution is to move the status to a temporary file and export
an environment variable so that subsequent reads for the status
all get the same information. This way we can fix user scripts
without touching them.
While the side effect is not ideal it's narrowly scoped and easily
traceable.
* VPN: OpenVPN: Instances - recreate a leftover DCO interface before start
if_ovpn keeps the UDP socket of the first peer until the interface is
destroyed. OpenVPN only destroys interfaces it created itself, and
setup_interface() always creates it first, so after a restart with a
client connected, or a crash, the next bind fails with EADDRINUSE and
the instance stays down until a reboot.
Destroy the interface before creating it again when no process is
using it.
refs https://github.com/opnsense/core/issues/10784
* VPN: OpenVPN: Instances - only set up the interface when the instance is not running
setup_interface() forces the interface down before handing it over to
OpenVPN. A start on an instance that is already running did the same to
the live interface, which stopped all tunnel traffic until the next
restart.
---------
Co-authored-by: Patrick Monfette <13983955+RedVortex@users.noreply.github.com>
Introduce a generic asyncDataSources option, that allows for auxiliary data to be fetched in parallel to the primary data fetch. Fetching this data does not affect grid rendering performance. While this data is being loaded, columns marked for this data stay in a pending state and show a spinner until it resolves, at which point the grid formatters wil re-run, updating the cells.
This allows for rendering expensive columns such as firewall rule statistics, as well as host discovery statistics and reverse lookups without affecting the main search endpoint speed.
---------
Co-authored-by: Monviech <gitacc@pischem.com>
Suricata logs QUIC transactions (version, SNI, user agent, JA3 and
JA4) with the quic eve type, but the file output only offers HTTP and TLS.
Add an advanced checkbox like the TLS one. Off by default; the generated
suricata.yaml is unchanged unless it is enabled.
The feed held the firmware lock while it fetched, so opening the
firmware page from the dashboard's update link while the Announcements
widget was still loading found the backend busy and reattached to the
last log instead of checking for updates.
Monit supports `not every "<cron>"` next to `every "<cron>"`: the
service is skipped while the schedule matches and checked at all other
times, e.g. to pause a check during a nightly job that briefly stalls
the service. Only one of the two can be set per service, so add a
"Poll Time Mode" option to choose how the Cron-style Poll Time is
applied. The default keeps the current `every` behaviour.
Dropping an alert log deletes an archived log or empties the current
one, so like clearing a log (18e6cb5aee) it is now refused to a user
with user-config-readonly.
Assisted-by: Claude:claude-opus-5-5
Signed-off-by: Gennaro Cimmino <gcimmino@rayonra.net>
Simplify the export and print and use a md5 checksum. We could still
return garbage names to the caller, but that's only because they do
exist and FreeBSD virtually has no restrictions on the interface name
except when tools prohibit something due to implementation choices.
Reported by: squirt1e, outis, atum (MiniMax Cyber)
A restore is already refused to a user with user-config-readonly, but
provider settings are saved through the MVC config, which does not check
it, so such a user could still change them.
The alert search text is split into words and every word must appear in
the signature, action or addresses of an alert, like the other log
views. This simplifies the controller and the script. The "filepos"
detail lookup now selects exactly the requested position, and the
filter is passed as --filter=%s so a search starting with "-" works.