pfSense/pfsense 587c577src/etc/inc pkg-utils.inc globals.inc, src/usr/local/www pkg_mgr_install.php

Update the update check logic to be uniform with pfSense-upgrade

This change aligns the update check logic with pfSense-upgrade. This
improves consistency and reduces redundant package checks. The relevant
function has also been updated for better readability.
DeltaFile
+80-66src/etc/inc/pkg-utils.inc
+3-13src/usr/local/www/widgets/widgets/system_information.widget.php
+3-1src/usr/local/www/pkg_mgr_install.php
+1-1src/etc/inc/globals.inc
+87-814 files

pfSense/pfsense 445abadsrc/etc/inc certs.inc, src/usr/local/www system_certmanager.php system_camanager.php

Change display of cert DN/Subject to be Identity. Implements #16657

Certs may have an empty Subject if they contain SANs, so if the subject is empty, use the SANs to form an Identity to show in the GUI.
DeltaFile
+37-4src/etc/inc/certs.inc
+7-6src/usr/local/www/system_certmanager.php
+2-2src/usr/local/www/system_camanager.php
+46-123 files

pfSense/pfsense 37d8349src/etc/inc globals.inc

Remove outdated alternate meta ports
DeltaFile
+1-1src/etc/inc/globals.inc
+1-11 files

pfSense/pfsense 2d485cdsrc/usr/local/www services_dyndns_edit.php

DDNS: allow wildcard for deSEC.io

Co-authored-by: Leif <33157431+lswaage at users.noreply.github.com>

Service API docs mention wildcards are allowed.
DeltaFile
+2-3src/usr/local/www/services_dyndns_edit.php
+2-31 files

pfSense/pfsense d5a951esrc/usr/local/www firewall_aliases_edit.php firewall_schedule_edit.php

Avoid double-decoding/encoding config nodes

Follow up to 16d579280c2960469f9b711e155217b40b03e54b.
DeltaFile
+1-1src/usr/local/www/firewall_aliases_edit.php
+1-1src/usr/local/www/firewall_schedule_edit.php
+1-1src/usr/local/www/interfaces_groups_edit.php
+1-1src/usr/local/www/interfaces_qinq_edit.php
+1-1src/usr/local/www/services_igmpproxy_edit.php
+1-1src/usr/local/www/status_dhcpv6_leases.php
+6-61 files not shown
+7-77 files

pfSense/pfsense aabf2c6src/etc/inc xmlparse.inc

Apply XML1 change to cData_attr()

Follow up to 16d579280c2960469f9b711e155217b40b03e54b.
DeltaFile
+2-2src/etc/inc/xmlparse.inc
+2-21 files

pfSense/pfsense fb490d5src/etc/inc pfsense-utils.inc openvpn.inc, src/usr/local/www interfaces.php

Handle OpenVPN DCO tunnels with a non-default MTU. Implement #16658
DeltaFile
+82-0src/etc/inc/pfsense-utils.inc
+16-2src/etc/inc/openvpn.inc
+10-3src/usr/local/www/interfaces.php
+2-4src/etc/inc/interfaces.inc
+110-94 files

pfSense/pfsense 16d5792src/etc/inc xmlparse.inc xmlparse_attr.inc

Treat config.xml as XML 1 when parsing its contents. Fix #16661

The flag ENT_XML1 was not available when the xmlparser functions were
originally written, nor when the parsing later changed to use
htmlentities() instead of htmlspecialchars(). Over time the default flags
used by this (and related) functions have changed. This commit specifies
the flags for consistency and changes the default-inherited ENT_HTML401
flag to ENT_XML1.
DeltaFile
+4-4src/etc/inc/xmlparse.inc
+2-2src/etc/inc/xmlparse_attr.inc
+6-62 files

pfSense/pfsense 328e081src/etc/inc system.inc

Fix whitespace
DeltaFile
+2-2src/etc/inc/system.inc
+2-21 files

pfSense/pfsense 249153dsrc/etc/inc system.inc, src/usr/local/www system_advanced_sysctl.php

Merge pull request #4709 from GChuf/systemTunablesSort
DeltaFile
+6-0src/etc/inc/system.inc
+1-1src/usr/local/www/system_advanced_sysctl.php
+7-12 files

pfSense/pfsense 2c5baacsrc/usr/local/www/includes functions.inc.php, src/usr/local/www/widgets/widgets system_information.widget.php

Merge pull request #4703 from GChuf/mbufFunctionOptimize
DeltaFile
+6-11src/usr/local/www/includes/functions.inc.php
+8-8src/usr/local/www/widgets/widgets/system_information.widget.php
+14-192 files

pfSense/pfsense 0fee351src/usr/local/www/includes functions.inc.php, src/usr/local/www/widgets/widgets system_information.widget.php

Speed up MBUF Usage command in system information widget. Implement #15780
DeltaFile
+6-11src/usr/local/www/includes/functions.inc.php
+8-8src/usr/local/www/widgets/widgets/system_information.widget.php
+14-192 files

pfSense/pfsense 004e84csrc/etc/inc system.inc, src/usr/local/www system_advanced_sysctl.php

Make system tunables table sortable. Implement #15221
DeltaFile
+6-0src/etc/inc/system.inc
+1-1src/usr/local/www/system_advanced_sysctl.php
+7-12 files

pfSense/pfsense c4393e8src/usr/local/pfSense/include/www alias-utils.inc

Refresh alias cache before updating static routes. Fix #16407

The code which updates static routes relies on a global alias variable to
determine what changes are needed. Once an alias is updated the global
variable must be refreshed so route changes reflect the latest config.
Also include "network" aliases when detecting static route aliases.
DeltaFile
+6-1src/usr/local/pfSense/include/www/alias-utils.inc
+6-11 files

pfSense/pfsense 0273368src/usr/local/pkg miniupnpd.xml

Add config description for changes to UPnP IGD & PCP
DeltaFile
+1-0src/usr/local/pkg/miniupnpd.xml
+1-01 files

pfSense/pfsense fe50640src/etc/inc syslog.inc, src/usr/local/www status_logs_filter_dynamic.php status_logs_filter.php

Use subrulenum when available. Fix #16644

Filterlog logs both "rulenr" and "subrulenr". Check for both when parsing the logs.
DeltaFile
+9-6src/etc/inc/syslog.inc
+7-1src/usr/local/www/status_logs_filter_dynamic.php
+4-4src/usr/local/www/status_logs_filter.php
+4-2src/usr/local/www/widgets/widgets/log.widget.php
+24-134 files

pfSense/pfsense 44a9425src/etc/inc upgrade_config.inc

Run the upgrade code for match-quick rules on newer config versions. Implement #16636

This allows the fix to work for those already on 25.11.
DeltaFile
+2-2src/etc/inc/upgrade_config.inc
+2-21 files

pfSense/pfsense 0cad4fcsrc/etc/inc auth.inc

Remove unused variable
DeltaFile
+0-2src/etc/inc/auth.inc
+0-21 files

pfSense/pfsense b5a74f0src/etc/inc certs.inc upgrade_config.inc, src/usr/local/www system_certmanager.php

Certificate auto-renewal. Implements #16607

- Option for certificates to auto-renew, only available for certificates using internal CAs and self-signed certificates.
- Auto-renew always uses strict security options to ensure smooth transitions to higher security standards (e.g. lower cert lifetimes, stronger minimum size for keys)
- Indicates auto-renew status in certificate list by the name
- Behavior is opt-in except for new self-signed certificates which have the option forced on
- On upgrade it activates auto-renew for the GUI cert if it is capable of being renewed locally
- Detects weak or expired GUI certs on upgrade and handle them as needed to ensure the GUI will start
DeltaFile
+122-10src/etc/inc/certs.inc
+74-0src/etc/inc/upgrade_config.inc
+32-3src/usr/local/www/system_certmanager.php
+1-1src/etc/inc/globals.inc
+1-0src/etc/inc/periodic.inc
+230-145 files

pfSense/pfsense 088bf1bsrc/etc/inc priv.defs.inc, src/etc/inc/priv user.priv.inc

Fixup some privilege/tab names. Fixes #16630
DeltaFile
+4-4src/usr/local/www/status_logs_vpn.php
+2-2src/etc/inc/priv.defs.inc
+2-2src/etc/inc/priv/user.priv.inc
+8-83 files

pfSense/pfsense 23c3cf5src/etc/inc dyndns.class

DDNS: set appropriate log priority for "no change" message

While there update the message for errors 8 and 9 since they are used by
multiple DDNS services and actually log them.
DeltaFile
+15-16src/etc/inc/dyndns.class
+15-161 files

pfSense/pfsense 28a4852src/usr/local/www pkg_mgr_install.php

Save the update branch preference on system update. Implement #16626
DeltaFile
+6-0src/usr/local/www/pkg_mgr_install.php
+6-01 files

pfSense/pfsense d2f224asrc/usr/local/pfSense/include/www alias-utils.inc, src/usr/local/www interfaces.php system_routes_edit.php

Correct static route checks when saving. Fix #16625

Fix input validation checks for route overlaps when re-saving routes.
Also add missing checks for pending system route changes when clearing
the staticroutes subsystem. While there also avoid clobbering $route.
DeltaFile
+11-3src/usr/local/www/interfaces.php
+3-5src/usr/local/www/system_routes_edit.php
+4-4src/usr/local/pfSense/include/www/alias-utils.inc
+3-5src/usr/local/www/system_routes.php
+7-0src/usr/local/www/system_gateway_groups.php
+7-0src/usr/local/www/system_gateways.php
+35-176 files

pfSense/pfsense 06cbceasrc/etc/inc syslog.inc upgrade_config.inc, src/usr/local/www status_logs_settings.php

Don't send duplicate logs to remote syslog servers. Fix #16376

Move the remote server config lines to their appropriate sections with
the appropriate program/message specifications. This avoids the need to
re-declare the specifications for the remote server config lines. Also
add validation checks to prevent enabling specific remote logging
categories when "Everything" is already selected.
DeltaFile
+35-35src/etc/inc/syslog.inc
+26-0src/etc/inc/upgrade_config.inc
+16-0src/usr/local/www/status_logs_settings.php
+77-353 files

pfSense/pfsense acc97ffsrc/etc/inc pkg-utils.inc config.lib.inc

Mitigate config access races during post-upgrade package reinstall

This change avoids false-positive config cache hits while the config is
being written. Additionally the config modification during package
installation is now more precise by targeting the specific package path
rather than overwriting all packages.
DeltaFile
+7-8src/etc/inc/pkg-utils.inc
+10-3src/etc/inc/config.lib.inc
+17-112 files

pfSense/pfsense 1bdd0eesrc/etc rc.backup_packages_data.sh rc.ramdisk_functions.sh, src/etc/inc pkg-utils.inc

Introduce a way for packages to keep RAM disk data. Implement #16624

Packages that maintain their own databases need to recreate the db after
each boot when the RAM Disk feature is enabled. With this change packages
can specify a directory at /var/db/<name> which will be included in the
RAM disk backup and restore scripts.
DeltaFile
+41-0src/etc/rc.backup_packages_data.sh
+3-0src/etc/inc/pkg-utils.inc
+1-0src/etc/rc.ramdisk_functions.sh
+45-03 files

pfSense/pfsense c27a5ccsrc/etc/inc certs.inc, src/usr/local/www system_advanced_notifications.php

Update cert expiration warnings. Implements #16605

To accommodate short-lived certificates, change the warning threshold to
be the *lesser* of 1/3 the lifetime (minus one day) or the configured
max warning days. This avoids warning too early/too often for certs with
short lifetimes.
DeltaFile
+10-4src/usr/local/www/system_advanced_notifications.php
+9-5src/etc/inc/certs.inc
+19-92 files

pfSense/pfsense 16f68a7tools/conf/pfPorts make.conf

Bump go to 1.24
DeltaFile
+1-1tools/conf/pfPorts/make.conf
+1-11 files

pfSense/pfsense e5fe340src/etc/inc certs.inc, src/usr/local/www/wizards openvpn_wizard.xml

Lower server cert life to 200 days. Implements #16606
DeltaFile
+3-1src/etc/inc/certs.inc
+2-2src/usr/local/www/wizards/openvpn_wizard.xml
+5-32 files

pfSense/pfsense 6ed2011src/usr/local/bin kea2fib6 kea2unbound

Adjust log priorities for logs from Kea scripts
DeltaFile
+6-6src/usr/local/bin/kea2fib6
+4-4src/usr/local/bin/kea2unbound
+10-102 files