Project

General

Profile

Actions

Feature #1422

closed

Add hardware timestamping option to AF_PACKET capture

Added by Eric Leblond almost 10 years ago. Updated over 8 years ago.

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

Description

Current suricata is not able to use the hardware timestamping. To enable this, is is enough to call setsockopt with the PACKET_TIMESTAMP option. A good place to put that in is l.1411 in source-af-packet.c.

The possible option value regarding af_packet are:
- SOF_TIMESTAMPING_SYS_HARDWARE
- SOF_TIMESTAMPING_RAW_HARDWARE

(value define in linux/net_tstamp.h)

Actions #1

Updated by Andreas Herz almost 9 years ago

  • Assignee set to OISF Dev
  • Target version set to TBD
Actions #2

Updated by Victor Julien over 8 years ago

  • Assignee changed from OISF Dev to Eric Leblond

I think this is implemented with tpacket-v3 support. Eric can we close this?

Actions #3

Updated by Eric Leblond over 8 years ago

yes, we can close it

Actions #4

Updated by Eric Leblond over 8 years ago

  • Status changed from New to Closed
Actions #5

Updated by Victor Julien over 8 years ago

  • Target version changed from TBD to 3.1rc1
Actions

Also available in: Atom PDF