Packet capture (or pcap) is a programming interface (API) that can be used to record network traffic. Network analysis programs with a sniffer function use the interface to capture packets at the network interface. Subsequently, the recorded data can be analyzed and further processed using appropriate tools. Pcap is open source and is available for a variety of individual operating systems, for Unix-like systems in the form of the library libpcap, and under Windows in the version WinPcap. The API itself can be integrated directly via C and C ++. Corresponding wrappers are available for Java, .NET or scripting languages.

You might also be interested in