Project

General

Profile

Actions

Bug #13910

closed

Typo in Snort package GUI code may generate an invalid parameter value in snort.conf when Performance Stats logging is enabled

Added by Bill Meeks over 2 years ago. Updated over 2 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:
All

Description

There is a typo on line 253 of /usr/local/pkg/snort/snort_generate_conf. This can result in the creation of an invalid snort.conf parameter value for 'max_file_size'.

Here is Line 253 with the error (a period instead of comma in config_get_path() function):

if (config_get_path('installedpackages/snortglobal/stats_log_limit_size'. '0') != '0')
Actions #1

Updated by Bill Meeks over 2 years ago

Pull request 1221 has been submitted to correct this issue: https://github.com/pfsense/FreeBSD-ports/pull/1221.

This issue can be marked "resolved" when the pull request is merged.

Actions #2

Updated by Jim Pingle over 2 years ago

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

PR merged.

Actions

Also available in: Atom PDF