Project

General

Profile

Actions

Bug #7037

closed

pcap/log: MacOS rotates file well before limit is reached

Added by Victor Julien 4 months ago. Updated 4 months ago.

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

Description

Calculation uses sizeof(struct pcap_pktdir), which gives 24 on linux. However on apple, it gives 280.

struct pcap_pkthdr {
        struct timeval ts;      /* time stamp */ 
        bpf_u_int32 caplen;     /* length of portion present */
        bpf_u_int32 len;        /* length of this packet (off wire) */
#ifdef __APPLE__ 
        char comment[256];
#endif
};

No comment.


Subtasks 1 (0 open1 closed)

Bug #7038: pcap/log: MacOS rotates file well before limit is reached (7.0.x backport)ClosedVictor JulienActions

Related issues 1 (0 open1 closed)

Related to Suricata - Bug #4237: Pcap file length is not correct calculated.ClosedActions
Actions

Also available in: Atom PDF