Closed
Description
The default libpcap buffer size on Linux is 2MB:
Depending on the volume of network traffic, this may not be enough to receive all applicable packets.
To check whether packets are being dropped, there's (*pcap.Handle).Stats(). To increase the buffer size, there's (*pcap.InactiveHandle).SetBufferSize().
Thanks for your time.
Metadata
Assignees
Labels
No labels