]> git.ipfire.org Git - thirdparty/suricata.git/commit
datasets: add dump via unix socket
authorEric Leblond <eric@regit.org>
Mon, 28 Dec 2020 23:43:01 +0000 (00:43 +0100)
committerVictor Julien <vjulien@oisf.net>
Thu, 27 Oct 2022 07:44:20 +0000 (09:44 +0200)
commita480abcdd03d8dadfd45e6d4a4eb78dae41ad08e
tree247b5a43751a3b0233852f8d5fcfa7cad1c881a9
parent79a78611ad5c2a27c479fdbc4846a17ff048d3ee
datasets: add dump via unix socket

This patch adds a dataset-dump command to the list of unix socket
commands. Implementation is not optimal as we are locking the
datasets when doing the dump. But if we consider that the current
alternative from an implementation point of view is to stop Suricata
then this is far better than current state.

Ticket: #5184
src/runmode-unix-socket.c
src/runmode-unix-socket.h
src/unix-manager.c