Actions
Bug #786
closed
PM
CT
Windows - yaml directory paths
Bug #786:
Windows - yaml directory paths
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\
Actions