Project

General

Profile

Actions

Bug #15351

closed

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

Added by Bill Meeks 9 months ago. Updated 9 months 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.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 Snort package had a hard-coded ini_set() PHP function call to increase the PHP memory limit to 384MB. That hard-coded value is used by Snort even if the user specifies a larger value in the new pfSense setting.

Modify the Snort PHP code so that it honors the user-specified PHP memory limit value when it is set higher than the Snort default of 384MB.

Actions #1

Updated by Bill Meeks 9 months ago

A pull request has been submitted against the RELENG_2_7_2 branch of pfSense CE to correct this issue: https://github.com/pfsense/FreeBSD-ports/pull/1355.

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

Actions #2

Updated by Jim Pingle 9 months ago

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

PR merged, thanks!

Actions

Also available in: Atom PDF