Skip to content

A curl request blocks an ssh session #769

@AMG-A

Description

@AMG-A

Describe the bug
A request like

curl -k -X GET "https://192.168.65.252/api/v2/version" -H "Authorization: Bearer "
or
curl -k -u 'admin:passwd!' "https://192.168.65.252/api/v2/system/version"

blocks a existing ssh session and this call is interfering with the firewall.

pfSense Version & Package Version:

  • pfSense Version: 2.8.1-RELEASE (amd64)
  • Package Version 26.3

Affected Endpoints:

curl -k -X GET "https://192.168.65.253/api/v2/firewall/alias" -H "Authorization: Bearer "

After the restart, the following error message appears

[26-Oct-2025 12:28:49 Europe/Berlin] PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /usr/local/pkg/pfblockerng/pfblockerng.inc:5333
Stack trace:
#0 /usr/local/pkg/pfblockerng/pfblockerng.inc(5556): pfb_collect_localhosts()
#1 /usr/local/pkg/pfblockerng/pfblockerng.inc(1024): pfb_daemon_filterlog()
#2 {main}
thrown in /usr/local/pkg/pfblockerng/pfblockerng.inc on line 5333
[26-Oct-2025 12:29:22 Europe/Berlin] PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /usr/local/pkg/pfblockerng/pfblockerng.inc:5333
Stack trace:
#0 /usr/local/pkg/pfblockerng/pfblockerng.inc(5556): pfb_collect_localhosts()
#1 /usr/local/pkg/pfblockerng/pfblockerng.inc(1024): pfb_daemon_filterlog()
#2 {main}
thrown in /usr/local/pkg/pfblockerng/pfblockerng.inc on line 5333

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions