Trouble compiling packit - need net/bpf.h
I had trouble compiling packit today, a network auditing tool that allows one to define (spoof) nearly all TCP, UDP, ICMP, IP, ARP, RARP, and Ethernet header options to test firewalls, intrusion detection/prevention systems, port scanning, simulating network traffic, and general TCP/IP auditing. I’m running OpenSUSE 10.1 and the compilation failed on a #include <net/bpf.h>.
I found a solution to this problem on Jeff Terrell’s site, but here it is in a nutshell. Assuming you have libpcap already installed, all you should have to do is:
- cp /usr/include/pcap-bpf.h /usr/include/net/bpf.h
Alternatively, edit the header file with the problem and point it in the correct location.
I think I like your blog better when I understand what you’re talking about.
Just thought I’d throw that out there.