Project

General

Profile

Actions

Bug #15350

closed

Suricata does not honor user-specified PHP memory limit setting if user specifies a value greater than 512 MB

Added by Bill Meeks about 2 months ago. Updated about 2 months 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.2
Affected Plus Version:
23.09.1
Affected Architecture:
All

Description

Recently pfSense added a new PHP Memory Limit parameter in the Advanced Settings tab under the SYSTEM menu. Prior to the inclusion of this new pfSense paramter settting, the Suricata package had a hard-coded ini_set() PHP function call to increase the PHP memory limit to 512MB. That hard-coded value is used by Suricata even if the user specifies a larger value in the new pfSense setting.

Modify the Suricata PHP code so that it honors the user-specified PHP memory limit value when it is set higher than the 512MB.

Actions #1

Updated by Bill Meeks about 2 months ago

A pull request containing the fix for this issue has been posted against the RELENG_2_7_2 pfSense CE branch here: https://github.com/pfsense/FreeBSD-ports/pull/1353.

When this request is merged, this issue can be marked as RESOLVED.

Actions #2

Updated by Jim Pingle about 2 months ago

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

PR merged, thanks!

Actions

Also available in: Atom PDF