From 975f413308ff8298de502e716a8c55b4e7700d45 Mon Sep 17 00:00:00 2001 From: Eric Leblond Date: Tue, 20 Mar 2018 22:06:19 +0100 Subject: [PATCH] doc: more info on unix socket rule reload --- doc/userguide/rule-management/rule-reload.rst | 10 +++++++++- doc/userguide/unix-socket.rst | 2 ++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/doc/userguide/rule-management/rule-reload.rst b/doc/userguide/rule-management/rule-reload.rst index a857a21197..a73c5cecad 100644 --- a/doc/userguide/rule-management/rule-reload.rst +++ b/doc/userguide/rule-management/rule-reload.rst @@ -18,6 +18,14 @@ Signal:: kill -USR2 $(pidof suricata) -Unix socket:: +Unix socket has two method for rules reload. + +Blocking reload :: suricatasc -c reload-rules + +Non blocking reload :: + + suricatasc -c ruleset-reload-nonblocking + +It is also possible to get information about the last reload via dedicated commands. See :ref:`standard-unix-socket-commands` for more information. diff --git a/doc/userguide/unix-socket.rst b/doc/userguide/unix-socket.rst index 0769421490..aa11bde737 100644 --- a/doc/userguide/unix-socket.rst +++ b/doc/userguide/unix-socket.rst @@ -46,6 +46,8 @@ example to write custom scripts: * Perl: https://github.com/aflab/suricatac (a simple Perl client with interactive mode) * C: https://github.com/regit/SuricataC (a unix socket mode client in C without interactive mode) +.. _standard-unix-socket-commands: + Commands in standard running mode --------------------------------- You may need to install suricatasc if you have not done so, running the following command from scripts/suricatasc