Actions
Bug #7746
opensuricatasc does not handle reconnect
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.
Updated by Jason Ish about 10 hours ago
- Status changed from Assigned to In Review
Pull request: https://github.com/OISF/suricata/pull/13404
Actions