Project

General

Profile

Actions

Bug #7746

closed
EL JI

suricatasc does not handle reconnect

Bug #7746: suricatasc does not handle reconnect

Added by Eric Leblond 10 months ago. Updated 10 months ago.

Status:
Closed
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.

JI Updated by Jason Ish 10 months ago Actions #1

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

JI Updated by Jason Ish 10 months ago Actions #2

  • Target version changed from TBD to 8.0.0

JI Updated by Jason Ish 10 months ago Actions #3

  • Status changed from Assigned to In Review

PA Updated by Philippe Antoine 10 months ago Actions #4

  • Status changed from In Review to Resolved
  • Target version changed from 8.0.0 to 8.0.0-rc1

JI Updated by Jason Ish 10 months ago Actions #5

  • Status changed from Resolved to Closed
Actions

Also available in: PDF Atom