Project

General

Profile

Actions

Optimization #721

open

full nfq zero copy mode

Added by Victor Julien almost 12 years ago. Updated over 1 year ago.

Status:
New
Priority:
Normal
Target version:
Effort:
medium
Difficulty:
high
Label:

Description

Currently the nfq lib doesn't support zero copy. Each "recv" call will overwrite an internal buffer, so that it's not possible to just keep a reference to this buffer.

In the single/workers runmodes this is not a problem, as all packets are processed before the next recv call.

But in auto/autofp recv, verdict and all other packet handling runs async, so we may have multiple recv calls before a packet is processed and verdicted fully. Therefore, these modes need to work on copies of the data.

Work is being done by the netfilter project to address this, once that is available, we can support zero copy for all runmodes properly.

Actions #1

Updated by Andreas Herz almost 9 years ago

Victor Julien wrote:

Work is being done by the netfilter project to address this, once that is available, we can support zero copy for all runmodes properly.

Do you have more details on that?

Actions #2

Updated by Victor Julien almost 9 years ago

Sadly, no. Florian, Eric and myself talked about doing a new nfq API but AFAIK nothing was implemented by any of us.

Actions #3

Updated by Victor Julien about 8 years ago

  • Status changed from Assigned to New
  • Assignee changed from Eric Leblond to Anonymous
Actions #4

Updated by Victor Julien over 6 years ago

  • Effort set to medium
  • Difficulty set to high
Actions #5

Updated by Andreas Herz almost 6 years ago

  • Assignee set to Community Ticket
Actions #6

Updated by Philippe Antoine over 1 year ago

  • Tracker changed from Feature to Optimization
Actions

Also available in: Atom PDF