Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

# Date Author Comment
5c7cda13 12/12/2022 02:08 PM Marcos M

Restore default description behavior. Fix #13739

483512b3 12/09/2022 06:53 PM Reid Linnemann

Prevent get_pf_rules() from indexing a string error. Fixes #13660

pfSense_get_pf_rules(), which populates the $rulescnt variable sent to
get_pf_rules(), will terminate its loop fetching rules if a call to
pfctl_get_rule() returns nonzero, adding to the associative array return value...

2c8f5e09 12/09/2022 01:18 PM Jim Pingle

Remove leftover debug prints.

63a0efce 12/09/2022 12:14 AM Reid Linnemann

Work around for empty config tags. Fixes #13564.

Related to issue #13642, the serialization of route maps was broken for a time
in such a way that the frrglobalroutemaps tag would contain only a single empty
config tag. The xml parser element handler considers 'config' to be a 'list...

663a93e4 12/08/2022 10:03 PM Christian McDonald

globals.inc needs to be sourced in auth_func.inc

4fb9658d 12/08/2022 09:11 PM Marcos M

Improve visibility of select fields in dark theme. Fix #11730

2568e151 12/08/2022 09:03 PM Christian McDonald

Rector direct global g accesses

b573f119 12/08/2022 07:15 PM Jim Pingle

Use correct UPnP enabled test. Fixes #13735

9a5eb723 12/07/2022 04:40 PM Jim Pingle

Add ifmcstat to status.php. Implements #13731

dce1eece 12/07/2022 03:51 PM Christian McDonald

Use rtrim for trimming whitespace and EOLs from version files

8e26b84f 12/06/2022 10:06 PM Christian McDonald

Cleanup globals.inc. Use single quotes on scalar strings.

97ac6eb4 12/06/2022 07:11 PM Christian McDonald

Eliminate some direct config access in util.inc, add some documentation

def2ce00 12/06/2022 03:17 PM Christian McDonald

Add append hook to globals.inc.

dd8a019e 12/06/2022 01:18 AM Christian McDonald

Fix a regression caused by Rector: Fixes #13712

c5c09acd 12/05/2022 09:13 PM Marcos M

Replace direct config access in services_dhcp.php. Fix #13719

dbff99ef 12/05/2022 04:54 PM Christian McDonald

Eliminate backticks shell execution operator in diag_system_activity.php.

4dc4ac50 12/05/2022 01:28 PM Jim Pingle

Fix unnecessarily duplicated work. Issue #13250

2af41fcd 12/02/2022 02:38 PM Christian McDonald

Introduce public accessors for $g: g_has, g_get, and g_set.

51c72717 12/02/2022 02:25 PM Jim Pingle

Improve LDAP debug logs. Implements #13718

7c841634 12/01/2022 09:30 PM Christian McDonald

Revert "Remove unused global $config_extra"

This reverts commit e36bc382ae1e0533c328b9dcd99959b17171de2e

e36bc382 12/01/2022 09:30 PM Christian McDonald

Remove unused global $config_extra

a4105aad 12/01/2022 08:48 PM Christian McDonald

Remove unused xmlreader implementation and conditional sourcing

04d726ac 11/30/2022 08:37 PM Reid Linnemann

Disable MTU input for a bridged interface

Bridge member interfaces cannot have their MTU configured independently from a
bridge, this change disables the MTU input for an interface that is configured
as a bridge member and replaces any configured value with the bridge's actual...

51b682d9 11/30/2022 08:37 PM Reid Linnemann

Add ovpn qinqs to bridges instead of rebuilding them. Fixes #13666

qinq interfaces defined with parent openvpn interfaces are configured late in
rc.bootup, after qinqs for other physical and logical interfaces and bridges are
configured. The resolution to #13225 ensured that these late interfaces were...

f67c3ec2 11/29/2022 05:54 PM Jim Pingle

rc.ipsec: Strip bonus quotes. Fixes #13076

The string was coming from check_reload_status wrapped in quotes that
were not necessary, and were causing the string to not match when it
should have.

8de9ebba 11/29/2022 04:55 PM Christian McDonald

$usedmacs should never be a string, default should be an array. For #13705

829322b3 11/29/2022 03:51 PM Christian McDonald

Rector some direct config gets with complex paths.

8e88bd48 11/28/2022 09:04 PM Jim Pingle

Pass reloadall flag to dhcp6c config. Fixes #13253

This ensures that if the interface is being configured in a way that requires a reload, that the DHCP6 client is also restarted. This allows the DHCP6 client to restart when applying settings and during other necessary events.

7e3ea4a8 11/28/2022 08:09 PM Christian McDonald

Rector some config unsets with complex paths.

02d6ca03 11/28/2022 05:29 PM Jim Pingle

DDNS Save+Force timeout improvements. Fixes #12870

  • In PHP8, curl_close is a no-op, so remove it.
  • Now that curl_close does nothing, we have to set CURLOPT_FORBID_REUSE
    to prevent connections from getting stuck in a pool waiting for reuse.
  • Add a couple more debug log entries for when certain functions end,...
721fafba 11/28/2022 03:04 PM Christian McDonald

Rector some direct config sets with pure scalar paths.

522e3f91 11/23/2022 04:34 PM Jim Pingle

DHCP6 Adv field validation errors. Fixes #13493

A few fields were being validated but not informing the user when the
values were bad. This commit lets the user know when they have entered
invalid data in the affected fields.

1e45d13f 11/23/2022 02:06 PM Christian McDonald

Rector some direct config gets with pure scalar paths.

88774881 11/22/2022 08:38 PM Christian McDonald

Rector some more direct config unsets with pure scalar paths

6e081414 11/22/2022 06:45 PM Christian McDonald

Rector some direct config unsets with pure scalar string paths.

fa323663 11/22/2022 05:04 PM Jim Pingle

IPsec cert SAN improvements. Fixes #13373

  • Improve descriptions of IPsec P1 cert fields.
  • Allow using a cert with a wildcard SAN so long as there is at least
    one non-wildcard SAN.
f16d3f4d 11/22/2022 03:43 PM Jim Pingle

Add CA/Cert invalid descr char list to help. Fixes #13387

af613468 11/22/2022 03:10 PM Jim Pingle

Fix regression in URL alias parsing. Fixes #13685

824ab9c4 11/21/2022 09:29 PM Jim Pingle

Correct special net NPt dst prefix handling. Fixes #13240

Disables prefix length drop-down when using a special net (e.g. track6
delegated prefix) because that already has its own prefix length.

Being able to specify a custom prefix was of dubious use and served to...

749af017 11/21/2022 08:06 PM Jim Pingle

Use 'ip' when copying+converting addr rules. Fixes #13364

2e534ffe 11/21/2022 07:59 PM Jim Pingle

Ensure copied rules get unique IDs. Fixes #13507

ad040b70 11/21/2022 07:15 PM Jim Pingle

Omit RAM disk size check when disabled. Fixes #13479

7d087f60 11/21/2022 07:03 PM Jim Pingle

Remove unused deprecated code from dhclient script. Fixes #13501

54115a67 11/21/2022 07:01 PM Jim Pingle

Add CDATA protection to "hint". Fixes #13388

31c37082 11/21/2022 06:43 PM Jim Pingle

rc.linkup code refresh and fixes. Fixes #13254

  • Update code to be more compatible with PHP 8.1
  • Consistency changes to code and logging so every path has similar
    output instead of some being unusually different.
  • Do not restart unbound on linkup as other mechanisms already do that...
877cff6f 11/21/2022 03:28 PM Jim Pingle

Fix more Rector foreach fallout

7a3637b1 11/21/2022 02:48 PM Jim Pingle

Restore unintentionally removed line. Issue NG 9247

c0f216b9 11/19/2022 09:43 AM Kristof Provost

captiveportal: actually allocate a pipe number for new clients

When a client authenticates to the captive portal we generate a pipe
number (actually two) for it. However, we did this with
'check_only = true', so the next client got assigned the same pipe...

2b66dafa 11/18/2022 09:46 PM Reid Linnemann

Fix gif interface _routerv6 files not being created. Fixes #11545

interface_gif_configure() uses the global variable $g to look up the temp
directory in which to write the router/gateway files used for gateway
monitoring. The declaration of $g in this scope was inadvertently removed in...

1688a960 11/18/2022 08:49 PM Jim Pingle

Add iface to some resolver restarts. Fixes #12612

A few interface-specific calls to restart the resolver were not passing
the interface name to ensure it was only restarted when necessary.

b381fa76 11/18/2022 06:23 PM Jim Pingle

Fix PPP reset hr/min blank vs 0. Fixes #13307

bef138fa 11/18/2022 06:08 PM Reid Linnemann

Replace direct config accesses in services_dhcpv6_relay.php. Fixes #13676

efe80217 11/18/2022 06:06 PM Jim Pingle

Fix PPP interface regression

13ae614b 11/18/2022 04:58 PM Jim Pingle

Correct console set IP addr script. Fixes #12632

  • Prompt to replace default gateway instead of only setting if it was
    empty before.
  • Correct faulty assumptions about WAN or LAN interfaces and either
    remove unnecessary checks or change so they look for presence of a...
b03e0c60 11/18/2022 04:03 PM Jim Pingle

Fix descr for unbound network ifs. Fixes #13453

29f367a0 11/18/2022 03:58 PM Jim Pingle

Fix Adv DHCP6 f/multiple interfaces. Fixes #13462

9b391783 11/18/2022 03:54 PM Christopher Cope

Improve set_ipv6routes_mtu checks. Fixes #13675

8b4e0838 11/18/2022 02:35 PM Jim Pingle

Define curl CAPath for trusted CAs. Fixes 12737

410e9b52 11/18/2022 02:17 PM Jim Pingle

Detect/set default primary console. Fixes #12960

If the user has not chosen a primary console, use the current active
console type as the default.

This prevents a user from unintentionally switching from video to serial
without making an explicit choice to do so.

5ee97acf 11/17/2022 04:19 PM Jim Pingle

Disabled service status correction. Fixes #13604

12689bb0 11/17/2022 03:58 PM Jim Pingle

Correct QAT active reporting. Fixes #13674

Account for cases where the module(s) are loaded but the driver failed
to attach.

1be126b7 11/17/2022 10:57 AM Kristof Provost

fix pciconf output parsing

In FreeBSD 14 the output format of pciconf changed. It now splits up the
device and vendor fields.

Simplify this code by using the column output. Concatenate device and
vendor fields to match the previous output (with awk).

See https://cgit.freebsd.org/src/commit/?id=635cfe5b819f60f28b7e21b94322b0237c13244b...

9c2b9b78 11/16/2022 05:32 PM Reid Linnemann

Replace direct config accesses to system/webgui paths in system_advanced_admin.inc. Fixes #13659

Also move default assignment of $pconfig['webguiproto'] to 'http' from
system_advanced_admin.php to system_advanced_admin.inc and remove unneccessary
init_config_arr() calls from system_advanced_admin.php.

9d6fc9e4 11/15/2022 08:36 PM Jim Pingle

Merge pull request #4604 from luckman212/fix-func-args-in-gwlb.inc

3ae365f4 11/15/2022 08:30 PM Jim Pingle

Removed unused filter_flush_nat_table, fix typo. Fixes #12757

d35a18fc 11/15/2022 07:21 PM Christian McDonald

RemoveUnusedForeachKeyRector runresults

1eba2bc4 11/15/2022 07:14 PM Christian McDonald

Remove dead statement as per rector

4864d7f6 11/15/2022 06:49 PM Josh Soref

Spelling fixes. Fix #13357

Bugs:
  • Incorrect input validation for `dhcp6c` `keyinfo expire` `forever` keyword in `interfaces.inc`.
  • Incorrect input validation for associated rule's `Source Port` in `firewall_rules_edit.php`.
  • Incorrect `voucher*.` file lock reference in `status_captiveportal_voucher_rolls.php`....
6eaada18 11/15/2022 06:46 PM Christian McDonald

Cleanup some unreachable statements as per Rector.

585d63b4 11/15/2022 06:45 PM Jim Pingle

Merge pull request #4596 from luckman212/update-rc.initial-202206

9e3798fb 11/15/2022 06:41 PM Jim Pingle

Merge pull request #4606 from KoenZomers/DNSExitFix

4a1354d1 11/15/2022 06:39 PM Jim Pingle

Merge pull request #4605 from kaedros/master

a637e8ec 11/15/2022 06:03 PM Marcos M

Remove duplicate reserved alias names. Fix #13524

c77e381e 11/15/2022 06:03 PM Marcos M

Respect bind interfaces in unbound. Fix #13393

e289a583 11/15/2022 05:59 PM Marcos M

Also create DHCPv6 rules for interfaces with static IPv6. Fix #13633

e8c09d18 11/15/2022 04:41 PM Jim Pingle

Update/cleanup DHCP 4/6 server text. Fixes #13250

26da7653 11/15/2022 03:00 PM Jim Pingle

Correct typo. Fixes #13663

231fc598 11/15/2022 01:03 PM Luiz Souza

While here, reduce a few differences with Plus.

2984a4b1 11/15/2022 12:58 PM Luiz Souza

Update the loader.conf filter list.

This remove the duplicate entries for the settings added by pfSense.

Sync with the current Plus defaults.

b1972170 11/14/2022 11:44 PM Reid Linnemann

Correct codelq shaper input validation for firewall_shaper.php. Fixes #13661

Ensure all bandwidth values are cast to int before applying arithmetic to the
return value of get_bandwidth_typescale(). This alleviates failed validation
when the bandwidth is blank....

d55227f4 11/14/2022 09:02 PM Jim Pingle

Misc EasyRule updates/fixes.

  • Addresses several known issues in EasyRule. Fixes #13445
  • Updates syntax to new style for PHP 8.1. Fixes #13627
9a9a6b3e 11/14/2022 08:27 PM Kristof Provost

Fix config_del_path() if the node doesn't exist

If the node we're trying to delete with config_del_path() doesn't exist
array_del_path() will fail as follows:

Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /etc/inc/util.inc:3459...

3f5702a9 11/14/2022 08:27 PM Kristof Provost

Add bxe to the ALTQ capable interfaces list

Redmine: #13304

6600b09f 11/14/2022 03:58 PM Jim Pingle

Backup/Restore fixes for dup SSH/RRD. Issue #13132

Fixes for multiple SSHDATA or RRDDATA sections in config.xml

  • On backup, strip out any existing SSH and RRD data sections before
    adding new ones.
  • On restore, remove any empty data sections and if there is more than...
0e6c4d62 11/11/2022 09:14 PM Christopher Cope

Rewrite functions for toggle & delete NAT. Fixes #13545

599742b0 11/11/2022 07:25 PM Jim Pingle

Refine IPsec deprecation behavior. Issue #13648

P1 and P2 entries are only disabled if they have no remaining valid combinations of options. This way tunnels that just had one bad entry selected can continue working.

624aa476 11/10/2022 06:28 PM Reid Linnemann

Replace direct config accesses regarding ssh configuration. Fixes #13645

In system_advanced_admin.inc, use config interface funcs instead of direct
$config access regarding ssh configuration nodes. Also initialize the ssh
section as an array if it doesn't exist in system_advanced_admin.php to prevent...

b30acd45 11/10/2022 05:24 PM Reid Linnemann

Replace some direct config accesses in util.inc. Fixes #13640

ba97e19f 11/10/2022 03:51 PM Kristof Provost

Remove cxgbe (cc) from the ALTQ capable list

Despite what the relevant man page claimed (now fixed) the cxgbe driver
has not supported ALTQ since 2012. Do not allow ALTQ to be enabled on
those interfaces.

This reverts b3979f4abe9ecb2bdd59cbbcb61e3eccf9180b79....

27a52d08 11/09/2022 11:06 PM Reid Linnemann

Remove invalid quotes from charon attr plugin attributes. Fixes #13579

b51ea481 11/09/2022 05:00 PM Jim Pingle

Fix setting EFI boot console type. Issue #13080

For some reason the EFI loader is forcing boot_serial=YES when it is not
set in the loader configuration. To work around this, we must set it to
NO explicitly. The loader menu displays the wrong type still but it...

807e9117 11/08/2022 10:39 AM Kristof Provost

ipsec: remove warnings about now removed algorithms

Redmine: #9247

ee9bbad1 11/08/2022 10:39 AM Kristof Provost

ipsec: disable any tunnels using 3des, blowfish, cast128 or md5 during upgrades

Redmine: #9247

f9cfd6bc 11/08/2022 09:09 AM Kristof Provost

ipsec: remove obsolete algorithms

These are no longer supported in FreeBSD main. Ensure they can no longer be configured.

Redmine: #9247

2a8d2eba 11/08/2022 09:09 AM Kristof Provost

ipsec: allow CHACHA20-POLY1305 to be configured

Redmine: #9246

6115e76b 11/04/2022 09:10 PM Reid Linnemann

Replace direct config accesses in firewall_rules_edit.php. Fixes #13614

758ee42a 11/04/2022 05:01 PM Reid Linnemann

Revert "Change OpenVPN auth to php-cgi for the time being. Fixes #4521"

This reverts commit 1bfdb794cb2a06932da0029ca37f9727c3f74274.

fef6c79e 10/31/2022 06:42 PM Kristof Provost

openvpn: don't IFF_UP the new tun interface

New openvpn versions set TUNSIFMODE, which FreeBSD's if_tuntap only
allows on interfaces which are not up.

So, don't up the tap interface when we create it. Leave that to openvpn
itself.

Redmine: #13602

3a30311c 10/28/2022 08:13 PM Christian McDonald

Fix malformed format strings in French translation. Fixes #13607

6be5acb1 10/28/2022 03:40 PM Christian McDonald

Fix config path typo when installing firewall schedule cron job. Fixes #13605