Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

# Date Author Comment
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

f01cd834 10/27/2022 09:05 PM Christian McDonald

Correctly handle port aliases in port forwarding rules. Fixes #13601

042d75c8 10/27/2022 04:42 PM Christian McDonald

Fix potentially problematic config access in sshd enable/disable. Fixes #13599

b187fcce 10/27/2022 04:31 PM Christian McDonald

Fix array initialization in rc.initial.setlanip. Fixes #13583

5ed254c4 10/26/2022 08:49 PM Reid Linnemann

Remove direct $config accesses form rc.filter_synchronize. Fixes Issue #13446

29e53480 10/26/2022 05:38 PM Jim Pingle

Skip empty dnsmasq custom options

19604202 10/25/2022 05:23 PM Christian McDonald

Perform proper input validation on static DHCP mapping additional BOOTP/DHCP Options. Fixes #13584

04e69275 10/25/2022 05:06 PM Christian McDonald

Fix saving dhcp6c-dns setting in services_dhcpv6.php. Fixes #13594

a229259a 10/25/2022 04:41 PM Christian McDonald

services_dhcpv6.php: Fix a PHP81 config access error

5479fd1c 10/24/2022 06:51 PM Christian McDonald

Remove extraneous and malformed meta refresh tag during proto/port change for web UI. Fixes #13591

81777072 10/21/2022 07:06 PM Christian McDonald

Fixes for problematic config access in rc.initial.setlanip. Fixes #13583

9178a649 10/19/2022 07:50 PM Christian McDonald

More PHP81 fixes for gwlb.inc. Fixes #13563

a1ca121f 10/19/2022 04:47 PM Christopher Cope

Change text in info block on Status > IPsec. Fixes #13398

e759996d 10/19/2022 03:24 PM Jim Pingle

OVPN linkdown script improvements

9633ec32 10/18/2022 03:14 PM Jim Pingle

Omit irrelevant info from auth error. Fixes #13574

46245a43 10/14/2022 07:39 PM Reid Linnemann

Make a better effort to describe an alias reference. Fixes #13539

Each of deleteAlias(), openvpnAlias(), and staticrouteAlias() are called when
deleting or modifying an alias to indicate that it is referenced by some other
configuration item, which in turn call find_alias_reference() which returns...

f2523415 10/14/2022 07:39 PM Reid Linnemann

Do no reload the filter if $apply is false in deleteAlias. Fixes #13538

5a63c712 10/13/2022 05:13 PM Christian McDonald

Fix LDAP authentication for PHP8.1. Fixes #13559

092a715a 10/13/2022 04:39 PM Christian McDonald

Fix session timeout expiry. Fixes #13561

6d457a52 10/11/2022 04:41 PM Christopher Cope

Fixed usage of image_type_to_extension. Fixes #13396

727ed08b 10/11/2022 01:27 PM Christian McDonald

Fix shaper.inc for PHP81. For #13553

499d7033 10/07/2022 10:25 PM Jim Pingle

Fix PHP error when editing aliases w/o if groups.

960388e0 10/07/2022 05:45 PM Jim Pingle

Fix PHP error in LAGG pages

ff0255bc 10/07/2022 04:02 PM Christian McDonald

Convert RSS Widget to use simplepie via Composer

80e41507 10/06/2022 02:44 PM Christian McDonald

Update firewall_nat_out.inc for PHP81

c267fb45 10/06/2022 02:43 PM Christian McDonald

Fix firewall_nat_1to1.inc for PHP81

dc7efffb 10/06/2022 02:42 PM Christian McDonald

Fix PHP81 error in firewall_nat.inc

40997699 10/04/2022 03:52 PM Christian McDonald

Fix carp_status.widget.php for PHP81. Fixes #13535

9ebd6ff3 10/01/2022 06:22 PM Christian McDonald

PHP81 fix in gwlb.inc. For #13514

216cca9c 10/01/2022 12:20 PM Christian McDonald

Fix syntax error in system_authservers.php. For #13533

79eec8e2 09/29/2022 08:22 PM Christian McDonald

Fix a PHP81 bug in system_authservers.php

73ca6743 09/29/2022 05:15 PM Jim Pingle

Encode path+fn in browser.php. Fixes #13262

9bada3e0 09/29/2022 04:43 PM Steve Wheeler

Update dhcp rule description

286e685d 09/28/2022 11:05 PM Marcos M

Update reserved alias names. Fix #13524

0d121100 09/28/2022 07:33 PM Jim Pingle

DHCP/v6 PHP8 error fixes for some cases.

If a config starts with only WAN, no LAN assigned, there are a number of
tags that were not handled properly on DHCP, DHCPv6, and RA.

Fixed up some other unrelated low-hanging fruit while I'm here, but all
of these files need a lot more work for PHP8.

5dbc7118 09/28/2022 06:51 PM Reid Linnemann

Initialize $groups in local_user_get_groups to non-null. Issue #13446

ade64ca6 09/28/2022 02:01 PM Jim Pingle

Fix service status widget listing of non-disabled services

941eca9a 09/28/2022 01:24 PM Jim Pingle

Fix handling of empty entries in NTP interfaces.

5538e593 09/27/2022 07:27 PM Reid Linnemann

Prevent array/config_get_path() from overriding 0 values

Change the semantics of array_get_path() and config_get_path() so that only
empty strings at a path are overridden by $default if non-null, so that
legitimate 0 values set in the config are not overridden as empty() returns true...

b542396e 09/27/2022 07:27 PM Reid Linnemann

Replace direct config accesses in auth.inc. Issue #13446

Additionally, change local_group_del_user() to include the index of the group in
the path to the group's member list when removing the user from it. This appears
to have been broken in the original code. With this fixed, remove the redundant...

829083b9 09/26/2022 03:26 PM Brad Davis

Add quotes around variable usage to prevent word splitting

13691f23 09/26/2022 03:25 PM Brad Davis

Avoid using -o in test(1)

c4c2ecd8 09/26/2022 03:20 PM Brad Davis

-1 is not allowed, exit only uses 0-255

5d800e8b 09/26/2022 03:07 PM Brad Davis

Avoid using -a in test(1)

d0732158 09/26/2022 03:07 PM Brad Davis

-1 is not allowed, exit only uses 0-255

abedf73d 09/26/2022 02:31 PM Brad Davis

Add quotes around variable usage to prevent word splitting

910a4686 09/23/2022 08:06 PM Marcos M

Always set interface-automatic in unbound config. Fix #13393

bbd94c2c 09/23/2022 03:44 PM Jim Pingle

PHP8 updates for resolver host editing

25813332 09/22/2022 11:06 PM Jim Pingle

Fix PHP syntax in prefixes.php

ab3b2273 09/22/2022 09:48 PM Reid Linnemann

Fix array_get_path() not returning $default for null-like values. #13446

In array_get_path(), a $default provided that is not null is intended to invoke
alternate behavior where if the path exists and is empty, $default should be
returned. This requires not identical compare as opposed to a not equal compare,...

17ad89f4 09/22/2022 02:47 PM Jim Pingle

Fix DDNS GW check PHP error

We need to get the status value from the returned array, not use the
array itself.

4ac57979 09/21/2022 04:46 PM Christian McDonald

Revert "Workaround new pkg(8) behavior causing files with "NULL" in the path to be..."

This reverts commit 8b7ab58088f15bec9f9d5cede5fdcd8e3b9fe10e

7428c478 09/21/2022 03:48 PM Jim Pingle

PHP8 fixes for service status widget. Fixes #13506

8b7ab580 09/21/2022 02:00 PM Christian McDonald

Workaround new pkg(8) behavior causing files with "NULL" in the path to be skipped on install. Fixes #13394.

420dacfe 09/21/2022 08:00 AM Kristof Provost

qinq: use if_vlan rather than netgraph

if_vlan now supports QinQ, so use that rather than netgraph. This is
expected to perform better, removes a subsystem dependency and
simplifies the php code as well.

Note that this is not possible on stable/12.

ee69eee6 09/21/2022 08:00 AM Kristof Provost

Remove unused argument from interface_qinq_configure()

$fd is always NULL, so there's no point in having branches for it.

239e805e 09/21/2022 05:55 AM Reid Linnemann

Correct config_path_enabled path in system_generate_nginx_config. #13446

621b8ae0 09/21/2022 04:34 AM Reid Linnemann

Path corrections to system.inc. Issue #13446

  • Corrected single quote strings wwith variable expansion
  • Corrected 2-deep paths that were incorrectly pattern replaced to
    array_get_path('foo','bar' instead of array_get_path('foo/bar')
7eef3784 09/21/2022 04:08 AM Reid Linnemann

Correct edns config path in system_resolvconf_generate. Issue #13446

1333725e 09/20/2022 10:07 PM Reid Linnemann

Make *_get_path() return $default for empty values. Issue #13446.

When $default is non-null and the path resolves to an empty element, return
$default instead of the value. This allows callers to intentionally ignore empty
values by specifying $default and simplifies the expressions needed to determine...

8a0d0525 09/20/2022 04:06 PM Christian McDonald

Fix for system.inc. For #13446

09eeac7b 09/20/2022 02:36 PM Brad Davis

Properly quote variables

No functional change intended

70654d6d 09/20/2022 05:52 AM Reid Linnemann

Fix missing ikeid in created ipsec p1. Issue #13446.

When a new or duped p1 is submitted, $p1ent['ikeid'] is an empty string. Prior
to php 8.0, comparing ($p1ent['ikeid'] == 0) for the empty string would yield
true, allowing the code to properly create and assign a new ikeid by calling...

5b17e64c 09/19/2022 11:38 PM Reid Linnemann

Replace direct config accesses in system.inc. Issue #13446.

7d7315fb 09/19/2022 05:06 PM Jim Pingle

Correct service enabled detection

3e798da2 09/19/2022 04:03 PM Jim Pingle

Fix PHP8 issues in rc.openvpn and rc.carp*

1983008e 09/16/2022 11:02 PM Reid Linnemann

Fix services installation only installing the last service of a pkg. Issue #13446.

The original re-fetched the services list from the config at every iteration
over the package's services list when adding services during installation. After
moving to a get/set model for the config, this discarded service added at each...