Project

General

Profile

Actions

Bug #7746

open

suricatasc does not handle reconnect

Added by Eric Leblond 2 days ago. Updated about 11 hours ago.

Status:
In Review
Priority:
Normal
Assignee:
Target version:
Affected Versions:
Effort:
low
Difficulty:
Label:
Beginner

Description

The rust version of suricatasc does not handle automatic reconnect.

When a python suricatasc is started, it is handling transparently the reconnect in case the suricata was restarted in the background:

>>> dataset-add-json domains string c3RhbXVzLW5ldHdvcmtzLmNvbQ== {"test": "miam"}
Success:
"data added" 
>>> dataset-add-json domains string c3RhbXVzLW5ldHdvcmtzLmNvbQ== {"test": "miam"}
ioerror: `Broken pipe (os error 32)`

It should instead try to reconnect.

Actions

Also available in: Atom PDF