Questions tagged [libpcap]
13 questions
37
votes
3 answers
How can I install libpcap header files on Ubuntu 12.04?
How can I install libpcap header files on Ubuntu 12.04?
When I use apt-get install libpcap I receive following message:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libpcap
SuB
- 4,419
3
votes
4 answers
error: pcap library not found!
I want to install reaver and the error I am getting is:
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are…
explorer
- 133
2
votes
1 answer
Libpcap not found in /usr/lib or /lib after apt installation
I installed jnetpcap but it showed error that libpcap.so is not found, so I used
sudo apt-get install libpcap-dev
but when I grep libpcap in /lib and /usr/lib it is not there, am I missing something?
user260337
- 21
1
vote
1 answer
libpcap 32 bit on 64 bit Ubuntu
I'm trying to install Gulp.
As the author says it needs 32-bit libpcap-dev libs for building the application, but when I try to download 32bit version it says
NO INSTALL CANDIDATE AVAILABLE
How do I solve this?
I'm running Ubuntu 14.04 LTS 64-bit
Jishnu U Nair
- 113
1
vote
1 answer
how to remove libpcap-1.6.2
I have installed libpcap-1.6.2 but when I want to install daq-2.0.4 it requires libpcap-1.0.0 and know I cannot install libpcap because this error occurred:
creating hard link `/usr/local/share/man/man3/pcap_datalink_val_to_description.3pcap' to…
zara-T
- 45
1
vote
0 answers
How to install libpcap-dev on Ubuntu 18.10?
First attempt:
sudo apt install libpcap-dev
Result:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an…
Non808
- 11
0
votes
0 answers
Ubuntu Software Updater and libpcap0.8 package Issues
Ubuntu has notified me I have some updates but when trying to update I get this message...
The package system is broken: Check if you are using third party repositories. If so disable them, sine they area common source of problems. Furthermore run…
telos182
- 9
0
votes
1 answer
Getting error while compiling and calling libpcap with sample code in any machine ??please suggest some possible solutions
-desktop:~/Desktop$ gcc -lpcap test.c -o test
/tmp/cczDYeHY.o: In function `main':
test.c:(.text+0xbc): undefined reference to `pcap_lookupdev'
test.c:(.text+0x11b): undefined reference to `pcap_lookupnet'
test.c:(.text+0x143): undefined reference…
Tech
- 1
0
votes
1 answer
How to tell which USB port to monitor
I'm trying to capture some packets for a USB device which works in a MS Virtual Machine, so that I can try to write some Linux support.
I am using libpcap and wireshark to capture the USB packets.
There are 4 listed USB interfaces. How can I…
j0h
- 15,365
0
votes
1 answer
Problem linking against pcap.h
I am trying to compile ethping
Here is the command that gets issued via make:
gcc -Wall -Werror -ggdb -g -O2 -lpcap -o ethping ethping.o ieee8021ag.o dot1ag_eth.o
I now get this error message:
/dot1ag-utils-master/src/ethping.c:65: undefined…
RobM
- 113
0
votes
0 answers
How to monitor packet sent by ping?
I just want to capture the packets sent by ping. I know there are tcpdump, but it doesn't just capture the packets for a single program. So is there a way to just capture the packet for a single program? Thanks.
user1424739
- 1,021
0
votes
0 answers
Unable to run pcap_open_live() (tcpdump error)
I am running an ARP poisoning and defender code. But this is the output it always shows.
pcap_open_live(): enp0s8: You don't have permission to capture on that device (socket: Operation not permitted)
I looked online and tried add this code but it…
0
votes
1 answer
tcpdump BPF filters
What BPF filter should I use to find the following:
For all traffic FROM the MAC address 00:11:22:33:44:55
For all traffic TO the MAC address 00:11:22:33:44:55
For all traffic TO and FROM the MAC address 00:11:22:33:44:55
For all traffic TO and…