RedaOps / ARPPD

An ARP Poisoning Defender script
MIT License
42 stars 10 forks source link

program cannot be compiled #4

Open fvcr opened 2 weeks ago

fvcr commented 2 weeks ago

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 *); | ^~~~~~~~~~~~~~

RedaOps commented 2 weeks ago

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!