9446dd5c2753517f099fcd227afcfc02802bd201
- ListInterfaces uses net.Interfaces() stdlib (no pcap dependency for listing) - OpenCapture wraps packetcap/go-pcap with platform-specific permission error handling - StartCapture uses buffered channel (512) with atomic drop counter - Dynamic link type detection via layers.LinkType(handle.LinkType()) - Linux error shows setcap cap_net_raw+ep hint; macOS shows sudo hint - Add github.com/packetcap/go-pcap v0.0.0-20251215 to go.mod
Description
No description provided
740 KiB
Languages
Go
100%