Actions
Bug #7037
closedpcap/log: MacOS rotates file well before limit is reached
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.
Updated by Victor Julien 6 months ago
- Status changed from Assigned to In Review
Updated by Victor Julien 6 months ago
- Subject changed from pcap/log: Macos rotates file well before limit is reached to pcap/log: MacOS rotates file well before limit is reached
Updated by Philippe Antoine 5 months ago
- Related to Bug #4237: Pcap file length is not correct calculated. added
Actions