Net2PCAP is a simple network-to-pcap capture file for Linux. Its goal is to be as simple as possible to be used in hostile environments
Net2PCAP is a simple network to pcap capture file for Linux. Its goal is to be as simple as possible (hence auditable) so that good confidence can be reached, for it to be used in hostile environments.
It does not require any library except a bit of libc. It does not do anything except dumping network traffic from an interface to a pcap file. It is less than 600 lines of C. Please audit it !
Comparison with tcpdump
Original code from Philippe Biondi, bugs added by Nicolas Bareil :)