ARPPD icon indicating copy to clipboard operation
ARPPD copied to clipboard

program cannot be compiled

Open fvcr opened this issue 1 year ago • 1 comments

Hello @RedaOps,

I'm using libpcap-dev version 1.10.5-1.

it is not possible to compile the program, here is the output of ./compile_arppd_linux:

In file included from src-linux/defender.c:36: src-linux/sniff.c: In function 'sniffARPPackets': src-linux/sniff.c:121:5: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 121 | dev = pcap_lookupdev(errbuf); | ^~~ In file included from /usr/include/pcap.h:43, from src-linux/defender.c:1: /usr/include/pcap/pcap.h:444:18: note: declared here 444 | PCAP_API char *pcap_lookupdev(char *); | ^~~~~~~~~~~~~~

fvcr avatar Nov 12 '24 17:11 fvcr

Hey @fvcr

I wrote this a long time ago and have completely forgotten about it. It's a simple script that just saves ARP targets, I think there are newer and better methods to achieve the same thing 😅.

If you're looking for something similar just create static arp tables.

Have a good one!

RedaOps avatar Nov 12 '24 20:11 RedaOps