From: Eric Leblond Date: Tue, 20 Mar 2018 21:06:19 +0000 (+0100) Subject: doc: more info on unix socket rule reload X-Git-Tag: suricata-4.1.0-beta1~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=975f413308ff8298de502e716a8c55b4e7700d45;p=thirdparty%2Fsuricata.git doc: more info on unix socket rule reload --- 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