Project

General

Profile

Bug #3158

'wrong thread' tracking inaccurate for bridging IPS modes

Added by Victor Julien over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

When using IPS with AF_PACKET the worker threads are created per interface. So a connection/flow will be handled one interface for one side of the traffic and another interface for the opposing side. This means that by design different threads process a single flow.

The code should consider this when checking the 'wrong thread' logic.

AF_PACKET and NETMAP are affected.


Related issues

Related to Support #2725: stream/packet on wrong threadFeedbackOISF DevActions
#1

Updated by Victor Julien over 1 year ago

#2

Updated by Victor Julien over 1 year ago

  • Description updated (diff)
#3

Updated by Andreas Herz over 1 year ago

  • Assignee set to OISF Dev
  • Target version set to TBD
#4

Updated by Srini J over 1 year ago

Hi Team,
Any estimate as to when this might be fixed? We are using NETMAP IPS mode and are affected by this issue.

Thanks,
Sj

#5

Updated by Victor Julien over 1 year ago

  • Status changed from New to Closed
  • Assignee changed from OISF Dev to Victor Julien
  • Target version changed from TBD to 5.0rc1
#6

Updated by Srini J over 1 year ago

Victor Julien wrote:

Should be fixed in the git master:

https://github.com/OISF/suricata/pull/4188
https://github.com/OISF/suricata/pull/4188/commits/7cabb025ea530cc97b033cbca55e87053a32fd00

Thanks you for the quick response. Will try it out.

Regards,
Sj

Also available in: Atom PDF