Project

General

Profile

Actions

Bug #786

closed
PM CT

Windows - yaml directory paths

Bug #786: Windows - yaml directory paths

Added by Peter Manev about 13 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Target version:
Affected Versions:
Effort:
low
Difficulty:
low
Label:
Beginner, C, Outreachy

Description

When compiling under windows, the resulting yaml contains:

default-rule-path: C:\\Program Files (x86)\\Suricata\\rules

if used like that - Suricata does not load any rules.
If it is changed to :
default-rule-path: C:\\Program Files (x86)\\Suricata\\rules\\

or
default-rule-path: C:\Program Files (x86)\Suricata\rules\

Suricata loads fine. (notice the ending backslash)

The same goes for all other directory variables, ex:

default-log-dir: C:\Program Files (x86)\Suricata\log\


Related issues 1 (0 open1 closed)

Related to Suricata - Bug #785: windows - yaml magic-file optionClosedActions
Actions

Also available in: PDF Atom