Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

# Date Author Comment
d801b01c 03/04/2025 06:38 PM Marcos M

Fix typo in upgrade_238_to_239()

c181ebe1 03/03/2025 11:10 PM Marcos M

Add a sequence number to each rule during rule sort. Fix #16076

The 'for' loop first checks if the rule at that iteration exists and
breaks if not. When the rules array contains a gap, the 'for' loop breaks
early and potentially misses additional rules that need to be sorted. Fix...

6ad2d8ff 03/03/2025 09:39 PM Marcos M

Sync admin group changes. Fix #15898

The admin group needs to be removed and readded for its settings to sync.

This reverts commit 3e0facb20fa46a13bf7b70d6ddb1970b00485eb2.

15709960 02/28/2025 06:29 PM Marcos M

Add combined IPv4/6 system aliases

https://redmine.pfsense.org/issues/15776

3b5f0ecb 02/27/2025 08:44 PM Marcos M

Fall back to routing via the interface for dynamic gateway monitoring IPs

It's possible that when setup_gateways_monitor() is called, the gateway
address is not yet available. To avoid routing the monitoring address via
another gateway, fall back to routing via the gateway's interface instead.

7d9da7be 02/20/2025 12:10 AM Marcos M

Fix clobbered cron configuration on upgrade

972246c7 02/17/2025 05:30 PM Brad Davis

Avoid using test -o and use || instead

91d95436 02/13/2025 10:40 PM Marcos M

Remove redundant call to dyndnsCheckIP()

The variable '$this->_dnsIP' is set when the object is constructed and
when the function '_detectChange()' is called. It is additionally set in
the function '_checkStatus()' - this is redundant since by this point the...

42efc42c 02/13/2025 10:40 PM Marcos M

Respect the RR type implied by the DDNS Service Type. Fix #16045

Background:
In previous pfSense versions, the RR type and the IP address family used
to make the DDNS request were assumed to be the same and could be
overridden for specific DDNS services. The implementation of #11177 avoids...

db1a9fd5 02/12/2025 04:38 PM Christian McDonald

kea: don't define pd-pools using ISC config

b7ed91f9 02/12/2025 04:09 PM Christian McDonald

kea: ensure all (rogue) instances are terminated. For #16019

7f5ad503 02/12/2025 04:02 PM Marcos M

Compare system version using the pfSense-system package

This returns the previous behavior of comparing the package which has the
product dependencies.

74e84f2b 02/12/2025 03:10 PM Marcos M

Exclude the ramdisk restore log from the archive

The ramdisk restore log is meant to log the latest restore attempt. It
must be excluded from the archive to avoid clobbering the active log used
while the archive is being extracted.

78cfbc5e 02/11/2025 08:57 PM Marcos M

Reduce rc.newwanipv6 actions on RENEW

This change passes the dhcp6c REASON to the script. The script uses this
to retain the previous behavior for REASONs other than RENEW. If the
reason is RENEW, action is only taken when there has been a change. Also
include the REASON in the info log message....

64638940 02/11/2025 06:02 PM Marcos M

Trigger rc.newwanipv6 on dhcp6c RENEW

The upstream DHCPv6 server may respond to the RENEW with a different
prefix hence the rc.newwanipv6 script should be called. The script should
avoid taking action as appropriate when the address has not changed.

Part of https://redmine.pfsense.org/issues/12947

1d909abb 02/11/2025 03:07 PM Marcos M

Fix regression when configuring the interface MAC address

Followup to dbb8c4840dbd75f28528a3ce4a0070091d95336a

dbb8c484 02/10/2025 07:01 PM Marcos M

Handle a null return from pfSense_get_ifaddrs()

- Update the usage of get_interface_addresses() to handle a null return
- Update the usage of get_interface_mac() to handle an empty string
- Remove unused argument from interface_qinq2_configure()

2ef2fffc 02/10/2025 04:55 PM Brad Davis

Improve various pieces here, properly quote variables, use = properly, and use || instead of -o

e8d3a416 02/10/2025 04:41 PM Brad Davis

Simplify fetching the physical mem and do the calulation in shell instead of using expr(1)

f356ce54 02/10/2025 04:34 PM Brad Davis

let is not valid in shell and fix the calculation too

a465f0c1 02/10/2025 04:26 PM Brad Davis

Remove useless use of cat

237b4ee7 02/10/2025 04:22 PM Brad Davis

Fix spacing and use tabs consistently

b24bcd7a 02/10/2025 12:02 AM Brad Davis

Properly quote variables and switch to $( ) instead of backticks

6ee5b44a 02/09/2025 11:07 PM Brad Davis

Properly quote these variables

84926bb6 02/09/2025 10:37 PM Brad Davis

Improve these tests by avoiding -a which might cause commands to run on the right-hand side

1cbe125a 02/09/2025 10:20 PM Brad Davis

Instead of using a negative -z test, use -n

4e5642c8 02/09/2025 09:56 PM Brad Davis

Improve these tests by avoiding -a and -o which might cause commands to run on the right-hand side

7dc60557 02/09/2025 09:43 PM Brad Davis

Simplify checking the exit code from these commands

8670a047 02/09/2025 09:15 PM Brad Davis

SC2086: Properly quote these variables

51ceef5e 02/09/2025 09:05 PM Brad Davis

Simplify generating the random time to sleep by using jot(1)

c3cf1790 02/09/2025 08:28 PM Brad Davis

Simplify this check

5a7a1a84 02/09/2025 08:14 PM Brad Davis

Remove unnecessary case statement since tar now uses libarchive and handles the different types of compression automatically

1a578050 02/07/2025 03:13 PM Luiz Souza

Fix the case where pfSense_get_ifaddrs() returns NULL.

It happens when the interface has no address (triggered with pppoe).

b12078bb 02/06/2025 10:06 PM Brad Davis

Simplify rc.restore_ramdisk_store

d9554e41 02/06/2025 09:23 PM Brad Davis

Reorganize how RAM disks are created

This improves things by moving the read of the sizes for the RAM disks
up before things are unmounted and so we have a good linker cache for
xmllint to run and also avoids spawning another shell just to mount the
RAM disks.

46d21522 02/06/2025 09:23 PM Brad Davis

Setup the dynamic linker before we call xmllint

55e4f4ed 02/05/2025 10:05 PM Brad Davis

Shell exit codes are between 0-255

646b553b 02/05/2025 05:44 PM Brad Davis

Simplify these calculations by doing them directly in the shell

fa0d7711 02/05/2025 05:43 PM Brad Davis

Pet shellcheck SC2086 and properly quote variables

025b1ffc 02/05/2025 01:36 AM Luiz Souza

Replace cut with awk.

The awk can deal with multiple spaces and/or tabs as delimiters for the input.

While here, quote a couple of variables.

eb35f2ee 02/04/2025 10:57 PM Marcos M

Consider the linklocal_fallback value when checking the interface cache

This is needed to make sure that callers to find_interface_ipv6() using
different linklocal_fallback values receive the correct data.

Followup to ec7c1879da64f8a39e4aa8103c351768118af03d...

5f31c41b 02/04/2025 10:53 PM Luiz Souza

Add the swap partition created by growfs to the system fstab.

Fixes the missing swap partition with the emmc-serial images.

Ticket: #10888

28a94ddf 02/04/2025 07:59 PM Marcos M

Fix condition check in get_interface_addresses()

Followup to ec7c1879da64f8a39e4aa8103c351768118af03d

aef5c504 02/04/2025 06:53 PM Christian McDonald

kea: Introduce kea-specific UI and config for DHCP-PD

ec7c1879 02/04/2025 05:31 PM Marcos M

Don't include LL addresses by default in get_interface_addresses()

- Update get_interface_addresses() to make including the IPv6 LL address
optional. It defaults to the function's previous behavior.
- Update find_interface_ipv6() to pass the $linklocal_fallback preference...

ec074cb5 02/04/2025 02:15 PM Christian McDonald

unbound: filter link-local addrs from host_entries.conf. Fixes #16035

ef4d1687 02/03/2025 10:07 PM Marcos M

Fix regression with IPv6 LL addresses

- Update does_vip_exist() to correctly compare LL VIPs that include the
interface in the address (e.g. '%lo0').
- Return the previous find_interface_ipv6_ll() behavior of including the
the interface in the LL address....

7d9443b9 02/03/2025 07:55 PM Marcos M

Bump config version

68ef1115 02/03/2025 07:51 PM Marcos M

Include Captive Portal zone description in messages

859097d5 02/03/2025 07:51 PM Marcos M

Remove the old Captive Portal configuration 'zone'

27927fd4 02/03/2025 07:51 PM Marcos M

Consolidate Captive Portal zone name references from config

This change updates the code which uses the "captiveportal/<zone>/zone"
path to instead use "captiveportal/<zone>". The latter path is chosen
since most code that references the name uses this path and has the least...

c66e2894 02/01/2025 06:07 PM Marcos M

Include all IPv6 address flags in get_interface_addresses()

09a0164d 02/01/2025 06:07 PM Marcos M

Select an interface IPv6 address based on priority

4294e51e 02/01/2025 06:07 PM Marcos M

pfSense_getall_interface_addresses() is deprecated

Use pfSense_get_ifaddrs() instead which now includes LL addresses.

75dfcf4a 01/31/2025 06:39 PM Brad Davis

Modernize this check as using x-prefix is not needed any longer

495d44d0 01/30/2025 05:37 PM Marcos M

Respect binding to IPv6 when updating AAAA records using RFC2136. Fix #16028

- Move the "local" nsupdate configuration line condition so that it is
set when "recordtype" is AAAA.
- Don't clobber the "$if" variable with the loop since it's also used
later with "get_interface_ipv6($if)"; this fixes the IPv6 status....

132c1253 01/30/2025 02:09 AM Marcos M

Respect address family for RFC2136 when calling dyndnsCheckIP()

The "usepublicip" option is only used for IPv4.

1af53b7a 01/27/2025 08:04 PM Luiz Souza

Do not use the lua script on armv7, it is not supported.

Fixes the warnings at boot.

c81106eb 01/27/2025 02:02 PM Jim Pingle

ACB Device Key Changes + General Refresh

- Changed default method of device key generation.
Implements #16016
- Added mechanism to change the device key.
Implements #16015
- Added download function for device key(s).
Implements #16015
- Fixed detection of changes since previous backup to skip redundant...

3e161beb 01/20/2025 08:12 PM Marcos M

Handle potential errors with Net_IPv6::checkIPv6. Fix #16005

5e7e72ee 01/20/2025 08:10 PM Marcos M

Don't process empty filter rules from packages

Packages may insert their own filter rules via a function referenced in
the package xml element "filter_rules_needed". Don't assume that rules
will be returned and instead skip trying to process empty rules.

cdba77b2 01/16/2025 08:31 PM Renato Botelho

Fix typo in function name on log error message

21b966d4 01/16/2025 08:30 PM Renato Botelho

Style fixes

85a27bcb 01/14/2025 07:06 PM Marcos M

QNAME minimization default has changed. Fix #15925

4f6e55a9 01/13/2025 03:37 PM Marcos M

Check value when setting config root

$value should always be an array when setting the configuration root.

60650581 01/13/2025 03:12 PM Christian McDonald

Typo: Additional error handling for invalid cert config. Fix #15975

5d3bf103 01/09/2025 11:29 PM Marcos M

PREF64 support. Implement #15808

25a17c38 01/09/2025 11:29 PM Marcos M

Allow up to 4 RDNSS addresses

0eb37ce1 01/08/2025 10:23 PM Marcos M

Additional error handling for invalid cert config. Fix #15975

37d60e23 01/07/2025 02:11 PM Luiz Souza

Bump up the year in the Copyright notice.

46238320 01/03/2025 10:29 PM Marcos M

Don't translate the change description. Fix #15911

Revert to the previous behavior of not translating change descriptions.

302d1e99 12/23/2024 05:39 PM Luiz Souza

Improve the logging on get_sysctl().

Also take into account the sysctl(8) return code when checking for errors.

This is not yet a fix, but the log output is going to help with the fix.

Ticket: #14648

70ee40f9 12/20/2024 08:34 PM Marcos M

Remove redundant calls in get_request_source_address()

a665634d 12/20/2024 08:34 PM Marcos M

Remove redundant calls in get_dpinger_status()

Don't call running_dpinger_processes() and get_gateways() in
get_dpinger_status() since it's already done in the calling function.

Also remove the error log for missing dpinger processes since
get_dpinger_status() is only called for existing dpinger processes.

0d40856c 12/19/2024 05:10 PM Marcos M

Avoid printing pkill internal errors. Fix #15912

Also remove the file check from isvalidpid() since pkill can handle it.

06d95c3c 12/18/2024 06:05 PM Marcos M

Add an option to display text on the login page. Implement #9293

9e4d4242 12/16/2024 09:22 PM Marcos M

Determine the correct AF when DDNS uses a gateway group

2470d8fb 12/16/2024 07:32 PM Marcos M

Sort filter rules after changes. Fix #15935

When rules are added/removed, they should also be re-sorted.

f79dfc8c 12/12/2024 11:11 PM Marcos M

Check subqueues when determining pipe slot limit. Fix #13662

cab4d222 12/12/2024 09:32 PM Marcos M

Config access regession when disabling CP MAC filtering. Fix #15926

1f9680c0 12/12/2024 08:54 PM Marcos M

Add config upgrade support for new system aliases

4d7be139 12/12/2024 08:54 PM Marcos M

Define additional system aliases. Implement #15776

cca42785 12/11/2024 08:05 PM Marcos M

Allow choosing when to use Check IP service in DDNS. Implement #14067

b5cea7d7 12/10/2024 09:54 PM Marcos M

Add NAT64 support for firewall rules

Add initial GUI support for NAT64. The NAT64 source can be set to:
- Automatic (default): Use the rule's gateway or gateway group (use the
system's default if not specified) to determine the source interface.
Sets e.g. "from (vmx0)"....

f7e934bb 12/09/2024 03:25 PM Jim Pingle

Send picture widget image inline. Fixes #15767

c2a0fbc0 12/06/2024 08:48 PM Christian McDonald

kea: add initial DHCP-PD support. Implements #15652

1d33b166 12/06/2024 05:00 PM Jim Pingle

Close PHP session when exiting early. Fixes #15873

64075a43 12/06/2024 03:24 PM Jim Pingle

Fix Captive Portal PHP error. Fixes #15907

3bfd3a0e 12/05/2024 05:24 PM Christian McDonald

kea: ignore default and max lease time within pool context. Fixes #15332

e930812c 12/04/2024 06:16 PM Marcos M

Add error handling for config xml parsing exceptions. Fix #15860

With this change, exceptions during a config restore will no longer
result in an unbootable instance.

e4b8c5b6 12/04/2024 06:16 PM Marcos M

Remove deprecated function use of xml_parser_free()

As of PHP 8.0.0, the function has no effect and is no longer needed.

ec77ad98 12/03/2024 10:09 PM Christian McDonald

kea: enable static arp support, Feature #15654

aaf29961 12/03/2024 10:01 PM Christian McDonald

dhcp: fix static arp config access

6a499415 12/03/2024 09:58 PM Christian McDonald

Revert "dhcp: fix static arp config access"

This reverts commit c31cc5d0e1121e973abc0d58b4808f6d90762dba.

437d8274 12/03/2024 09:50 PM Christian McDonald

remove rogue character

c31cc5d0 12/03/2024 09:48 PM Christian McDonald

dhcp: fix static arp config access

ff50e62f 12/03/2024 07:39 PM Jim Pingle

Handle null widget instance ID. Issue #15844

824b1e52 12/03/2024 07:29 PM Marcos M

Fix config access regressions during config upgrades

- 122_to_123: outbound rule saved to wrong path
- 130_to_131: operate on same types
- 136_to_137: handle potentially empty path
- 150_to_151: operate on same types
- 169_to_170: save the new wireless interface name

7f4eb864 12/03/2024 07:23 PM Marcos M

Don't use config result by reference

The $settings variable is not changed within the loop.

908e52f9 12/03/2024 05:56 PM Marcos M

Config access regession when restoring from config 19.1. Fix #15895