Project

General

Profile

Actions

Bug #7746

open

suricatasc does not handle reconnect

Added by Eric Leblond 2 days ago. Updated about 10 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 #1

Updated by Jason Ish 1 day ago

  • Status changed from New to Assigned
  • Assignee changed from OISF Dev to Jason Ish
Actions #2

Updated by Jason Ish 1 day ago

  • Target version changed from TBD to 8.0.0
Actions #3

Updated by Jason Ish about 10 hours ago

  • Status changed from Assigned to In Review
Actions

Also available in: Atom PDF