Project

General

Profile

Actions

Task #4799

open

af-packet: review iface up/down logic

Added by Victor Julien over 2 years ago. Updated 9 months ago.

Status:
Assigned
Priority:
Normal
Target version:
Effort:
Difficulty:
Label:

Description

AF_PACKET will detect when the interface goes down and reopen the interface when it gets back up.

It does appear the interfaces are not necessarily reopening their sockets in the same order as before and it seems they are also not waiting for all threads to reopen before processing packets. I suspect this means that during the reopening the fanout is all over the place, and after the reopening flows may not going to their threads. Needs review and testing.


Related issues 2 (0 open2 closed)

Related to Suricata - Bug #4803: af-packet: up/down logic leaks resources in autofp (tpacket v2)ClosedVictor JulienActions
Related to Suricata - Bug #4804: af-packet: tpacket v3 if/down logic brokenClosedVictor JulienActions
Actions #1

Updated by Victor Julien over 2 years ago

  • Related to Bug #4803: af-packet: up/down logic leaks resources in autofp (tpacket v2) added
Actions #2

Updated by Victor Julien over 2 years ago

  • Related to Bug #4804: af-packet: tpacket v3 if/down logic broken added
Actions #3

Updated by Victor Julien 9 months ago

  • Status changed from New to Assigned
  • Assignee set to Shivani Bhardwaj
  • Target version set to 8.0.0-beta1
Actions

Also available in: Atom PDF