Commit d3015e2
committed
conf: load conf node tree from new yaml loader
Use Rust to parse the Suricata configuration, then transform the parsed
YAML document into our Conf tree on the Rust side.
This keeps the Conf API as-is, but removes the dependency on libyaml for
loading the configuration.
The next step would be to remove the Conf node tree and just back it
with the Yaml data structure.
Breaking changes:
- no longer parsed as NULL: Null, nUll, etc. Just null and NULL are
parsed as NULL, as this is more YAML compliant
- Multiple include keywords at the same level will no longer work. We
deprecated this in 7.0, but continued to support it, see
https://redmine.openinfosecfoundation.org/issues/59391 parent 91a8082 commit d3015e2
5 files changed
Lines changed: 770 additions & 466 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
718 | 718 | | |
719 | 719 | | |
720 | 720 | | |
721 | | - | |
722 | | - | |
723 | | - | |
724 | | - | |
725 | | - | |
726 | | - | |
727 | | - | |
728 | | - | |
729 | | - | |
730 | | - | |
731 | | - | |
732 | | - | |
733 | | - | |
734 | | - | |
735 | | - | |
736 | | - | |
737 | | - | |
738 | | - | |
739 | | - | |
740 | | - | |
741 | | - | |
742 | | - | |
743 | | - | |
744 | | - | |
745 | | - | |
746 | | - | |
747 | | - | |
748 | | - | |
749 | | - | |
750 | | - | |
751 | | - | |
752 | | - | |
753 | | - | |
754 | | - | |
755 | 721 | | |
756 | 722 | | |
757 | 723 | | |
| |||
0 commit comments