Project

General

Profile

Actions

Bug #13516

closed
BM

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

Bug #13516: Snort with PHP 8.1 - TypeError when attempting to view a Suppression List on a Snort interface

Added by Bill Meeks almost 4 years ago. Updated almost 4 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.

BM Updated by Bill Meeks almost 4 years ago Actions #1

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.

KP Updated by Kris Phillips almost 4 years ago Actions #2

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

JP Updated by Jim Pingle almost 4 years ago Actions #3

  • Affected Plus Version changed from 22.11 to 23.01

JP Updated by Jim Pingle almost 4 years ago Actions #4

  • Parent task set to #13446

JP Updated by Jim Pingle almost 4 years ago Actions #5

  • % Done changed from 0 to 100
Actions

Also available in: Atom