Project

General

Profile

Actions

Bug #14990

closed

IPsec log categories set to "Audit" do not function properly or save properly in the GUI

Added by Jim Pingle about 1 year ago. Updated 12 months ago.

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

100%

Estimated time:
Plus Target Version:
23.09.1
Release Notes:
Default
Affected Version:
Affected Architecture:

Description

The internal value of the IPsec log level "Audit" is 0 which is confusing the PHP empty() test in ipsec_get_loglevels(). When changing the value in the GUI it appears to save, and config.xml gets updated properly, but ipsec_get_loglevels() ignores the customized value when reading it back for display in the GUI or when used in strongSwan so it is effectively ignored.

Changing the empty() test to a strlen() style test instead works around the PHP issue.

Actions #1

Updated by Jim Pingle about 1 year ago

  • Status changed from In Progress to Feedback
  • % Done changed from 0 to 100
Actions #2

Updated by Marcos M 12 months ago

  • Target version changed from 2.8.0 to 2.7.2
  • Plus Target Version changed from 24.03 to 23.09.1
Actions #3

Updated by Jim Pingle 12 months ago

  • Status changed from Feedback to Resolved

Working as expected on current 24.03 snapshots

Actions

Also available in: Atom PDF