pfSense/pfsense 34c529dsrc/etc rc.restore_ramdisk_store

rc.restore_ramdisk_store: make removing the backup directory non-fatal
DeltaFile
+2-1src/etc/rc.restore_ramdisk_store
+2-11 files

pfSense/pfsense 4f75216src/etc/inc filter.inc

Make sure a valid monitor address exists when creating the rule.

Followup to 83637fdf058f0f9207ca339fb9bc44728f9dbd28.
DeltaFile
+9-14src/etc/inc/filter.inc
+9-141 files

pfSense/pfsense 83637fdsrc/etc/inc gwlb.inc filter.inc

Improve gateway monitoring. Fix #16180

Revert the changes from 3b5f0ecbfc2d952891dbe227e9afbf9d2ed0ebd4 since
routing an address via an interface causes the system to treat it as
local and send IPv6 NS requests to addresses that may not be local. As
an alternate solution, add filter rules to prevent gateway monitoring
traffic from going out the wrong interface when route-to rules cannot be
created.

Validate the IPv6 gateway address, as is done with IPv4,
before using it to add a static route.

Change setup_gateways_monitor() to kill states for all interfaces instead
of just the gateway's interface in order to catch states that may have
been created on other interfaces. This is only applicable to gateways with
monitoring enabled.

Teach lookup_gateway_ip_by_name() and lookup_gateway_monitor_ip_by_name()
to check the router file for dynamic interfaces. This helps the function
filter_delete_states_for_down_gateways() be more effective.
DeltaFile
+59-36src/etc/inc/gwlb.inc
+74-0src/etc/inc/filter.inc
+133-362 files

pfSense/pfsense f79edd5src/etc/inc globals.inc

Bump config version
DeltaFile
+1-1src/etc/inc/globals.inc
+1-11 files

pfSense/pfsense 32070a6src/etc/inc interfaces.inc

Remove interface_isppp_type_ephemeral()
DeltaFile
+1-18src/etc/inc/interfaces.inc
+1-181 files

pfSense/pfsense 75dc97bsrc/etc/inc interfaces.inc

Correct a copy/paste error and escape shell args where downing if_pppoe iface
DeltaFile
+2-2src/etc/inc/interfaces.inc
+2-21 files

pfSense/pfsense 11f07e1src/etc/inc interfaces.inc

Always bring if_pppoe interfaces down before destroying them

For kernel if_pppoe interfaces, when the interface is destroyed it is removed
immediately without sending a Term-Request. This leaves the other end of the PPP
tunnel established until it times out from lack of response. In the interim, if
the if_pppoe interface attempts to connect again it will fail if the service
side does not allow multiple concurrent logins. This is remedied by downing the
interface prior to destruction.
DeltaFile
+2-0src/etc/inc/interfaces.inc
+2-01 files

pfSense/pfsense a8e5ba6src/etc/inc filter.inc

Add interface network aliases even if empty. Fix #16182

This changes the behavior for interface "subnet" aliases to be included in
/tmp/rules.debug even when the alias is empty. This matches how other
aliases are handled. When an alias is empty and a rule references it,
we rely on pf to do the right thing.
DeltaFile
+4-5src/etc/inc/filter.inc
+4-51 files

pfSense/pfsense 8bc76efsrc/etc/inc pfsense-utils.inc

Fix updating renamed aliases with multiple entries

Previous behavior only checked single-entry aliases. This change allows
calling update_alias_names_upon_change() with a spearator to loop
through the alias and update all entries.
DeltaFile
+22-5src/etc/inc/pfsense-utils.inc
+22-51 files

pfSense/pfsense 5379e5csrc/etc/inc upgrade_config.inc

Sync config revision
DeltaFile
+3-0src/etc/inc/upgrade_config.inc
+3-01 files

pfSense/pfsense e4f3b5csrc/usr/local/sbin pppoe-handler

Fix double rc.newwanipv6 execution on if_pppoe

When using if_pppoe and DHCPv6 over the PPP link, both the devd handler script
and dhcp6c execute /etc/rc.newwanipv6 as a result of an address assignment,
which is not fatal but does cause some extra delay as the filter is reloaded and
packages are restarted more than necessary. This is fixed by limiting the
pppoe-handler script to responding to a new IPv6 address only when the logical
interface is not configured for DHCPv6, allowing dhcp6c to manage lease changes
itself. All other IPv6 configurations will generate a ADDR_ADD devd event on
address assignment that is handled by the pppoe-handler script.
DeltaFile
+6-1src/usr/local/sbin/pppoe-handler
+6-11 files

pfSense/pfsense 6cf3e68src/etc/inc syslog.inc

Double-escape HTML characters for use in HTML attribute. Fix #15415
DeltaFile
+1-1src/etc/inc/syslog.inc
+1-11 files

pfSense/pfsense 9c41e11src/usr/local/sbin pppoe-handler

pppoe-handler: Mute spurious invalid address warnings

Move the address checking out of the main body of the script into switch cases
that actually use the address

(cherry picked from commit 51ce224e061a26728bb42d11d238a11bbd989850)
DeltaFile
+9-4src/usr/local/sbin/pppoe-handler
+9-41 files

pfSense/pfsense 0680e73src/etc/inc interfaces.inc, src/usr/local/www interfaces.php

Fix serialization/deserialization of ppp hostuniq and provider attributes

When these two properties were added, the form handling set their config values
to boolean true if empty, leading to empty tags in the config.xml which would be
serialized to the config.cache as empty strings. As a result, later fetches of a
ppp config from the config after the cache is reloaded (i.e. additional
requests) deserialize this true value as an empty string.

However, with the pfnet-controller service running and acting as the config
provider, the raw array written to the config is directly serialized which
would result in hostuniq and provider being stored as and returned as boolean
true rather than the expected empty string, causing a bogus hostuniq and
provider value to be written to the mpd configuration (or passed on to the
if_pppoe ifconfig, as applicable).

To remedy the situation and retain compatibility with config caches that have
the boolean values, interface_pppoe_get_hostuniq(), interface_pppoe_configure(),
and interface_ppps_configure() are changed to check that these attributes are
nonempty as well as string type before attempting to use them. interfaces.php is

    [3 lines not shown]
DeltaFile
+3-3src/etc/inc/interfaces.inc
+0-4src/usr/local/www/interfaces.php
+3-72 files

pfSense/pfsense 30cad81src/etc pfSense-devd.conf, src/etc/inc interfaces.inc

if_pppoe: Resolve endless loop on dhcp6c

When using if_pppoe, the use of ppp-ipv6 to up the pppoe interface on ADDR_ADD
causes a loop of calling interface_dhcp6_configure(), which
restarts dhcp6c, which acquires a lease and assigns an address, which emits an
ADDR_ADD devd event.

Add LINK_UP handling for ifpppoe devices by only executing ppp-ipv6 up, and
remove the execution from pppoe_add_addr.

(cherry picked from commit ebdfb836e5d87d7a663552403b9e3e70cc9594cf)
DeltaFile
+28-5src/etc/inc/interfaces.inc
+7-2src/usr/local/sbin/pppoe-handler
+1-1src/etc/pfSense-devd.conf
+36-83 files

pfSense/pfsense 16eb8e7src/usr/local/www vpn_ipsec.php

Check input validation before prompting to apply settings. Fix #16162
DeltaFile
+1-1src/usr/local/www/vpn_ipsec.php
+1-11 files

pfSense/pfsense 6976e02src/etc rc.newwanipv6

Correct the DNS info change detection. Fix #16170

The variable $dns_changed was introduced along with the RENEW reason and
is intended to only take affect with RENEW. This is done to keep the
original behavior for reasons other than RENEW.
DeltaFile
+5-5src/etc/rc.newwanipv6
+5-51 files

pfSense/pfsense e1ad3c0tools/conf/pfPorts poudriere_bulk

Add collectd to the list of packages to build
DeltaFile
+1-0tools/conf/pfPorts/poudriere_bulk
+1-01 files

pfSense/pfsense 201a899src/usr/local/www system_advanced_firewall.php

Fix IPsec settings filter policy link
DeltaFile
+1-1src/usr/local/www/system_advanced_firewall.php
+1-11 files

pfSense/pfsense 9316ad0src/usr/local/sbin pppoe-handler

Fix config check for if_pppoe

'system/use_mpd5_for_pppoe' is not a valid config path.
DeltaFile
+1-1src/usr/local/sbin/pppoe-handler
+1-11 files

pfSense/pfsense 1c9355bsrc/etc/inc pfsense-utils.inc interfaces.inc, src/usr/local/pfSense/include/www system_advanced_network.inc

Remove the pppoe reset cron job when the interface is disabled or with if_pppoe
DeltaFile
+29-0src/etc/inc/pfsense-utils.inc
+1-0src/usr/local/pfSense/include/www/system_advanced_network.inc
+1-0src/etc/inc/interfaces.inc
+31-03 files

pfSense/pfsense 27e9a8asrc/usr/local/www interfaces.php

Hide unsupported options with if_pppoe. Fix #16155
DeltaFile
+14-2src/usr/local/www/interfaces.php
+14-21 files

pfSense/pfsense 7bfa600src/etc/inc services.inc

Check for Kea custom configuration before retrying without it

Errors without custom configuration can also trigger the notice. In such
case, retrying is redundant and the notice text is misleading.
DeltaFile
+12-4src/etc/inc/services.inc
+12-41 files

pfSense/pfsense 363330dsrc/etc/inc dyndns.class

ddns: use the correct AF for the service type. Fix #16156
DeltaFile
+17-12src/etc/inc/dyndns.class
+17-121 files

pfSense/pfsense 3604a5dsrc/etc/inc services.inc

Use IPv6 system preference for all configured interface types in get_request_source_address()
DeltaFile
+15-6src/etc/inc/services.inc
+15-61 files

pfSense/pfsense 06824b2src/etc/inc interfaces.inc

Correct DHCP6 client log

This function is called regardleass of the "without RA" option. Followup
to dd3d48af87c892a070210f0064e589157868e7c2.
DeltaFile
+1-1src/etc/inc/interfaces.inc
+1-11 files

pfSense/pfsense 5c2c11bsrc/etc rc.newwanipv6

Supress info logs for rc.newwanipv6 RENEW

Only log when there's something to do during RENEW. This avoids spamming
the system log now that rc.newwanipv6 is called on RENEW. While here, also
check that a reason was given before logging it (ppp scripts omit it).
DeltaFile
+15-8src/etc/rc.newwanipv6
+15-81 files

pfSense/pfsense 23ed921src/usr/local/www system.php

Allow deleting login message. Fix #16145
DeltaFile
+2-1src/usr/local/www/system.php
+2-11 files

pfSense/pfsense 209b8basrc/etc/inc config.lib.inc globals.inc

Ensure $rrdtool is set when restoring rrddata. Fixes #16141
DeltaFile
+6-4src/etc/inc/config.lib.inc
+3-1src/etc/inc/globals.inc
+9-52 files

pfSense/pfsense 0c31fc4src/etc/inc shaper.inc, src/usr/local/www firewall_shaper.php firewall_shaper_vinterface.php

Traffic shaper: fix traffic shaper and wizard
DeltaFile
+18-19src/usr/local/www/wizards/traffic_shaper_wizard_multi_all.inc
+18-18src/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc
+27-0src/etc/inc/shaper.inc
+3-2src/usr/local/www/firewall_shaper.php
+3-2src/usr/local/www/firewall_shaper_vinterface.php
+3-2src/usr/local/www/wizard.php
+72-436 files