Actions
Bug #3654
closedRules reload with Napatech can hang Suricata UNIX manager process
Affected Versions:
Effort:
low
Difficulty:
medium
Label:
Needs backport to 5.0
Description
When reloading rules using `suricatasc`, the UNIX manager can hang. This reproduces on a 5.0.2 system with various Napatech NICs.
This is where the hang occurs.
Updated by Jeff Lucovsky over 4 years ago
- Target version set to 6.0.0beta1
- Effort set to low
- Difficulty set to medium
- Label Needs backport to 5.0 added
Updated by Jeff Lucovsky over 4 years ago
When reloading rules using `suricatasc`, the UNIX manager can hang. This reproduces on a 5.0.2 system with various Napatech NICs.
This is where the hang occurs: https://github.com/OISF/suricata/blob/master/src/detect-engine.c#L1850:L1861
The issue occurs because the Napatech packet source isn't invoking `TmThreadsCaptureHandleTimeout` when there are no packets to process (that is, when "get next packet" results in a timeout).
Updated by Jeff Lucovsky over 4 years ago
- Subject changed from Rules reload with Napatech can hang Suricata UNIX managre process to Rules reload with Napatech can hang Suricata UNIX manager process
Updated by Jeff Lucovsky over 4 years ago
- Copied to Bug #3669: Rules reload with Napatech can hang Suricata UNIX manager process added
Updated by Jeff Lucovsky over 4 years ago
- Status changed from New to In Review
- Assignee set to Jeff Lucovsky
Updated by Jeff Lucovsky over 4 years ago
- Status changed from In Review to Closed
Actions