Project

General

Profile

Actions

Bug #5744

closed

netmap: 6.0.9 v14 backport causes known packet stalls from v14 implementation in "legacy" mode too

Added by Franco Fichtner almost 2 years ago. Updated 10 months ago.

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

Description

Hi,

We have shipped Suricata 6.0.9 to OPNsense 22.7.9 and got a significant number of reports that packet transmission is stalling completely since the update. We don't have the new API enabled. The same problems existed when we briefly shipped the v14 version in an earlier version of OPNsense this year and can also be seen on the 7 beta.

There are a number of changes in https://github.com/OISF/suricata/pull/7468/files that are not protected by USE_NEW_NETMAP_API ifdef logic and the change around removal of nm_dispatch() seems to hint at the possibility that the receive side introduces a problem via commonly used new function NetmapReadPackets().

Cheers,
Franco


Files

source-netmap.c.diff (2.46 KB) source-netmap.c.diff Reverts a unnecessary change from Suricata 6.0.8 Jeff Lucovsky, 12/07/2022 01:43 PM
source-netmap.c.v2.diff (5.48 KB) source-netmap.c.v2.diff Jeff Lucovsky, 12/12/2022 03:18 PM
netmap-patch.v3.diff (7.7 KB) netmap-patch.v3.diff Jeff Lucovsky, 12/14/2022 02:29 PM
gdb1.txt (6.49 KB) gdb1.txt GDB output, no symbols Clyne Snowtail, 12/16/2022 10:35 PM
netmap-patch.v4.diff (23.6 KB) netmap-patch.v4.diff Bill Meeks, 01/24/2023 12:33 AM
suricata.yaml (68.2 KB) suricata.yaml Suricata Config Clyne Snowtail, 02/06/2023 05:01 AM
netmap-patch-v5.diff (596 Bytes) netmap-patch-v5.diff NETMAP_V14 patch for 6.0.10 branch Bill Meeks, 02/14/2023 04:44 AM

Related issues 2 (0 open2 closed)

Related to Suricata - Bug #5862: netmap: packet stallsClosedJeff LucovskyActions
Related to Suricata - Bug #5863: netmap: packet stalls (6.0.x backport)ClosedBill MeeksActions
Actions

Also available in: Atom PDF