Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

# Date Author Comment
1670f4c0 12/21/2022 05:59 PM Jim Pingle

Correct check IP service config path.

5daac457 12/21/2022 04:38 PM Jim Pingle

Revert "Pass reloadall flag to dhcp6c config. Fixes #13253"

This reverts commit 8e88bd48a22b55d213ac7613be74c651706cfa0d.

435948ff 12/21/2022 06:26 AM Reid Linnemann

Always declare $config global in case a script is included in a non-global scope

$config is expected to always be a global containing the parsed configuration,
however in the sources that it is assigned a value in toplevel scope it is not
explicitly declared as such. As a result, if one of these sources is included in...

9ac53f56 12/20/2022 06:37 PM Marcos M

Fix more config access regressions in filter.inc. Fix #13754

6ba16cde 12/20/2022 01:50 PM Jim Pingle

Correct DHCP lease reg enabled test. Fixes #13782

243afd23 12/20/2022 01:14 PM Jim Pingle

Revert "Fix more config access regressions in filter.inc. Fix #13754"

This reverts commit c0d7519df5dc1632ba9f2791ab377bdc19f45105.

c0d7519d 12/19/2022 07:00 PM Marcos M

Fix more config access regressions in filter.inc. Fix #13754

ce2fe058 12/19/2022 03:01 PM Jim Pingle

Redo Unbound ACL action handling. Fixes #13767

616579c0 12/15/2022 04:20 PM Steve Wheeler

Remove trailing whitespace

4049406a 12/15/2022 04:20 PM Steve Wheeler

Remove cxl from altq capable interfaces list

00d3003d 12/14/2022 04:45 PM Jim Pingle

Improve handling of empty DDNS entries. Fixes #13581

374dd9fe 12/14/2022 02:05 PM Jim Pingle

UPnP rule/service cleanup. Fixes #13755

  • Fix several incorrect config paths/tests
  • Fix UPnP local interface automatic rule to pass traffic into UPnP
    itself.
  • Wrap all rules/anchors in UPnP enabled test, no reason for them to be
    in the ruleset if UPnP is off....
46c9508e 12/14/2022 03:42 AM Marcos M

Fix config access regressions in filter.inc. Fix #13754

30196510 12/13/2022 09:39 PM Christian McDonald

Fix direct config accesses in unbound for php81

5c7cda13 12/12/2022 02:08 PM Marcos M

Restore default description behavior. Fix #13739

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

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

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.

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

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.

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,...
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

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...

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...
7a3637b1 11/21/2022 02:48 PM Jim Pingle

Restore unintentionally removed line. Issue NG 9247

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

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...
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

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

Disabled service status correction. Fixes #13604

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

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`....
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

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

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.

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...

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

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

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

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

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

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

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

Omit irrelevant info from auth error. Fixes #13574

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

Fix LDAP authentication for PHP8.1. Fixes #13559

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

Fix shaper.inc for PHP81. For #13553

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

PHP81 fix in gwlb.inc. For #13514

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

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

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

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...

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

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

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

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

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.