Project

General

Profile

Actions

Bug #13516

closed

pfSense - Feature #13446: Upgrade PHP from 7.4 to 8.1

Snort with PHP 8.1 - TypeError when attempting to view a Suppression List on a Snort interface

Added by Bill Meeks about 2 years ago. Updated about 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Snort
Target version:
-
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Affected Version:
2.7.0
Affected Plus Version:
23.01
Affected Architecture:

Description

Testing Snort against September 22, 2022 "PHP 8.1 and FreeBSD Main" snapshot the following PHP error is received when attempting to view a Suppress List by clicking the View List button to the right of the Alert Suppression and Filtering drop-down selector:

amd64
14.0-CURRENT
FreeBSD 14.0-CURRENT #0 devel-main-n255797-d8d104eec65: Thu Sep 22 18:54:16 UTC 2022     root@freebsd:/var/jenkins/workspace/pfSense-CE-snapshots-master-main/obj/amd64/YVYTCXmQ/var/jenkins/workspace/pfSense-CE-snapshots-master-main/sources/FreeBSD-src-dev

Crash report details:

PHP Errors:
[24-Sep-2022 12:01:57 America/New_York] PHP Fatal error:  Uncaught TypeError: Cannot access offset of type string on string in /usr/local/www/snort/snort_interfaces_edit.php:73
Stack trace:
#0 {main}
  thrown in /usr/local/www/snort/snort_interfaces_edit.php on line 73

Documenting the bug here and also adding it to my private TODO list for Snort.

Actions #1

Updated by Bill Meeks about 2 years ago

This issue has been resolved in the latest Snort GUI package pull request posted here for review and merge: [https://github.com/pfsense/FreeBSD-ports/pull/1191]. When the Pull Request is merged, this issue can be marked RESOLVED.

Actions #2

Updated by Kris Phillips about 2 years ago

  • Status changed from New to Resolved

Tested on September 30th builds. No PHP errors present when viewing the Alert Suppression and Filtering under the interface config. Marking as Resolved.

Actions #3

Updated by Jim Pingle about 2 years ago

  • Affected Plus Version changed from 22.11 to 23.01
Actions #4

Updated by Jim Pingle about 2 years ago

  • Parent task set to #13446
Actions #5

Updated by Jim Pingle about 2 years ago

  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF