[v2] suricata: Support Zabbix requirements
Commit Message
- The Zabbix addon will use the unix socket and also the suricatasc tool.
- Update configure to enable unix-socket
- Update rootfile to uncomment suricatasc
- This v2 version also sets the unix socket to yes in suricata.yaml
Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
config/rootfiles/common/suricata | 2 +-
config/suricata/suricata.yaml | 2 +-
lfs/suricata | 3 ++-
3 files changed, 4 insertions(+), 3 deletions(-)
@@ -3,7 +3,7 @@ etc/suricata/suricata.yaml
usr/bin/suricata
usr/bin/suricata-watcher
#usr/bin/suricatactl
-#usr/bin/suricatasc
+usr/bin/suricatasc
usr/sbin/convert-ids-backend-files
#usr/share/doc/suricata
#usr/share/doc/suricata/AUTHORS
@@ -1140,7 +1140,7 @@ runmode: workers
# activated in live capture mode. You can use the filename variable to set
# the file name of the socket.
unix-command:
- enabled: auto
+ enabled: yes
#filename: custom.socket
# Magic file. The extension .mgc is added to the value here.
@@ -83,7 +83,8 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
--with-libjansson-libraries=/usr/lib \
--with-libjansson-includes=/usr/include \
--disable-suricata-update \
- --enable-rust
+ --enable-rust \
+ --enable-unix-socket
cd $(DIR_APP) && make $(MAKETUNING)
cd $(DIR_APP) && make install