Project

General

Profile

Bug #2814

suricatasc: hangs indefinitely and uses too much processing for pcap-file-continuos command

Added by Shivani Bhardwaj 2 months ago. Updated about 1 month ago.

Status:
New
Priority:
Normal
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

If pcap-file-continuous is fed to suricatasc without any arguments, it hangs the process and starts using too much of processing power.

History

#1

Updated by Victor Julien 2 months ago

  • Status changed from New to Resolved
  • Assignee changed from Shivani Bhardwaj to Danny Browning
  • Target version set to Soon
#2

Updated by Victor Julien 2 months ago

I guess this is an issue in both suricata and suricatasc? Or only in suricatasc?

#3

Updated by Victor Julien 2 months ago

  • Status changed from Resolved to New
#4

Updated by Danny Browning about 1 month ago

Is there a version associated with this?

It seems like passing no arguments to pcap-file-continuous should generate an error due to https://github.com/OISF/suricata/blob/master/python/suricata/sc/specs.py#L28.

#5

Updated by Shivani Bhardwaj about 1 month ago

Yes, there is an error generated now as the utility was failing on user end. But that is mostly a cover for the issue that lies underneath. If you reset to this commit: https://github.com/OISF/suricata/commit/57285b54d5cf611cee78cef6f428320555cbe90d you can reproduce the issue.

Also available in: Atom PDF