snort3: add missing config include and general cleanup
authorEric Fahlgren <ericfahlgren@gmail.com>
Wed, 6 Dec 2023 23:37:32 +0000 (15:37 -0800)
committerTianling Shen <cnsztl@gmail.com>
Sat, 16 Dec 2023 14:08:49 +0000 (22:08 +0800)
commit0d2dac8792a758d5573a700ffbd75621f86c50ee
treecd1eedcc61ea5af53833d5597793908d3f69cb8e
parent880ac1f3d5d2e5114be2a947992f7ddfa4ca8131
snort3: add missing config include and general cleanup

- Delete legacy configuration files homenet.lua and local.lua
- Add snort config 'include' to allow user customizations in the lua
- Enhance 'check' to test generated nftables file
- Suppress inclusion of rules file when doing silent config check
- Suppress warnings on configuration check unless '-v'erbose
- Replace text logging with json logging to reduce footprint and make reports easier
- Fix some typos in the snort.uc template
- Fix up some error messages suggesting solutions

Signed-off-by: Eric Fahlgren <ericfahlgren@gmail.com>
net/snort3/Makefile
net/snort3/files/homenet.lua [deleted file]
net/snort3/files/local.lua [deleted file]
net/snort3/files/main.uc
net/snort3/files/nftables.uc
net/snort3/files/snort-mgr
net/snort3/files/snort.config
net/snort3/files/snort.uc