Project

General

Profile

Actions

Feature #441

closed

Detect packet loss in AF_PACKET

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

Status:
Closed
Priority:
Low
Assignee:
Target version:
Effort:
Difficulty:
Label:

Description

At least in ringbuffer mode AF_PACKET can set the 0x4 TP_STATUS_LOSING flag indicating the user space program is not keeping up.

It would be nice to use this information to tell the user that this is happening. Maybe to start a flag "losing packets" could be logged to the stats.log in a way similar to "emergency mode entered".

Additionally, maybe others like pfring and pcap have similar features?

Actions #1

Updated by Eric Leblond over 9 years ago

  • % Done changed from 0 to 80

Pull request sent.

Actions #2

Updated by Victor Julien over 9 years ago

  • Status changed from Assigned to Closed
  • Target version changed from 1.4 to 1.3rc1
  • % Done changed from 80 to 100

Applied, thanks Eric.

Actions

Also available in: Atom PDF