]> git.ipfire.org Git - thirdparty/suricata.git/commit
suricatasc: reconnect on loss of connection
authorJason Ish <jason.ish@oisf.net>
Mon, 9 Jun 2025 01:43:24 +0000 (19:43 -0600)
committerVictor Julien <victor@inliniac.net>
Tue, 10 Jun 2025 06:36:34 +0000 (08:36 +0200)
commit89ba53272c91f16b2f612ea6812541cb24d7b285
tree2566e1a45d0e943c66c2aecddbe62200e3c1153b
parentda03461f719f2919891a731d28612db79a80b2ed
suricatasc: reconnect on loss of connection

If the connection is lost (for example, Suricata is restarted), try to
re-open the connect and re-execute the command.

This was the behavior of the Python implementation.

Ticket: #7746
rust/suricatasc/src/unix/client.rs
rust/suricatasc/src/unix/main.rs