Project

General

Profile

Actions

Task #4799

open

af-packet: review iface up/down logic

Added by Victor Julien about 3 years ago. Updated 6 months ago.

Status:
Assigned
Priority:
Low
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

Also available in: Atom PDF