Project

General

Profile

Actions

Feature #1916

closed

lua: add an SCPacketTimestamp function

Added by Nicolas Thill about 8 years ago. Updated about 8 years ago.

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

Description

Parsing the packet time returned by SCPacketTimeString in Lua is not really practical. Let's provide a function that return packets timestamp as 2 numbers: seconds & microseconds elapsed since 1970-01-01 00:00:00 UTC.

See https://github.com/inliniac/suricata/pull/2347

Actions

Also available in: Atom PDF