Enable and configure Suricata unix command socket
authorArturo Borrero Gonzalez <arturo@debian.org>
Tue, 19 May 2026 20:40:20 +0000 (22:40 +0200)
committerAndreas Dolp <dev@andreas-dolp.de>
Tue, 19 May 2026 20:40:20 +0000 (22:40 +0200)
Forwarded: not-needed
Last-Update: 2025-08-22

Gbp-Pq: Name enable-unix-command-socket.patch

suricata.yaml.in

index 42e15adc6fd254a95bfad809091bb6437d625080..97aff47c30eb419db831021e89946dbb4f3350a4 100644 (file)
@@ -1415,8 +1415,8 @@ host-mode: auto
 # activated in live capture mode. You can use the filename variable to set
 # the file name of the socket.
 unix-command:
-  enabled: auto
-  #filename: custom.socket
+  enabled: yes
+  filename: @e_localstatedir@/suricata-command.socket
 
 # Magic file. The extension .mgc is added to the value here.
 #magic-file: /usr/share/file/magic