Actions
Bug #15351
closedSnort does not honor user-specified PHP memory limit setting if user specifies a value greater than 384 MB
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