Problem linking against pcap.hI.e., no, the error does not indicate that it could not find pcap.h; if it couldn't find pcap.h, it would have said so. It indicates that, for some reason, it couldn't find pcap_breakloop() in libpcap; what does the command tcpdump -h print?

Wireshark HTTP request methods for GET and POST on wlan0Because Wireshark, if configured to do so, attempts to resolve the IP address to a host name, which usually means doing the reverse DNS query in question. Whatever host resolution mechanism it uses on your OS (probably some flavor of Linux, from the "wlan0" name for the interface) is probably recognizing the local host IP address (from an /etc/hosts entry?) and giving the local host name, and finding DNS entries for the servers you're talking to on the Internet, but not finding a DNS entry for the other hosts on your network.

How do I run wireshark, with root-privileges?And, yes, it's definitely a much better way than running Wireshark as root. The README.packaging file in the Wireshark source says "WIRESHARK CONTAINS OVER TWO MILLION LINES OF SOURCE CODE. DO NOT RUN THEM AS ROOT."

There are no interfaces on which a capture can be done"Try opening a terminal and running gksudo wireshark." Please note that this document says "WIRESHARK CONTAINS OVER TWO MILLION LINES OF SOURCE CODE. DO NOT RUN THEM AS ROOT." before doing that. Do the sudo setcap command instead - or use sudo dpkg-reconfigure wireshark-common to have the package set the capabilities for you.

Sep20

comment

How can I install libpcap header files on Ubuntu 12.04?That's because 1) libpcap-dev (probably) depends on the libpcap package, and will bring it in and 2) if you have source code that needs libpcap, you not only will need the libpcap package (whatever it's called - its name might be "libpcap0.8", for various Debian reasons), which provides shared libraries for already-built programs that use libpcap, but you will also need the libpcap-dev package, which provides header files needed to compile the source code for programs that use libpcap (and static libraries in case people want them).