Bug #543
closedWindows directory parsing
Description
6/9/2012 -- 19:01:31 - <Error> - [ERRCODE: SC_ERR_OPENING_RULE_FILE(41)] - openi
ng rule file C:\Program Files\Suricata 1.4beta1\rules\\stream-events.rule: No su
ch file or directory.
6/9/2012 -- 19:01:31 - <Error> - [ERRCODE: SC_ERR_OPENING_RULE_FILE(41)] - openi
ng rule file C:\Program Files\Suricata 1.4beta1\rules\\http-events.rule: No such
file or directory.
if the rule directory is given as
default-rule-path: C:\Program Files\Suricata 1.4beta1\rules
if it is given as
default-rule-path: C:\Program Files\Suricata 1.4beta1\rules\
there is no problem the rules files load.
Updated by Victor Julien over 11 years ago
So in both cases it works, but it just prints 2 backslashes?
Updated by Peter Manev over 11 years ago
no it does not work in the first case:
if the rule directory is given as
default-rule-path: C:\Program Files\Suricata 1.4beta1\rules
BUT if you add the "\" in the yaml conf it works without a problem
aka:
if it is given as
default-rule-path: C:\Program Files\Suricata 1.4beta1\rules\
Updated by Peter Manev over 8 years ago
- Status changed from New to Closed
There is too much admin/coding/sync overhead with regards to this - so it is less intrusive if it is reflected in the documentation as opposed to spending code hrs on it.
It is also taken care of in the msi packaging itself in order to minimize the exposure.