Project

General

Profile

Actions

Bug #14955

closed

Suricata GUI throws a PHP error when creating an EventTime object for use on the ALERTS or BLOCKS tabs if there is a malformed log file entry

Added by Bill Meeks over 1 year ago. Updated over 1 year ago.

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

100%

Estimated time:
Plus Target Version:
Affected Version:
2.7.x
Affected Plus Version:
23.09
Affected Architecture:
All

Description

A line containing a number of consecutive spaces in either the alerts.log or blocks.log files will cause a fatal PHP error to be thrown when creating an EventTime object from the log data. Add additional checks for this condition and ignore these invalid log file entries.

Actions #1

Updated by Bill Meeks over 1 year ago

I will address this problem in a forthcoming GUI package update.

Actions #2

Updated by Bill Meeks over 1 year ago

This issue is resolved by Pull Request 1313 posted for review and merging here: https://github.com/pfsense/FreeBSD-ports/pull/1313.

Once this pull request is merged, this issue may be marked as "Resolved".

Actions #3

Updated by Jim Pingle over 1 year ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

PR merged, thanks!

Actions

Also available in: Atom PDF