I’ve not found any version of dsniff to install on opensuse 11.4 so I tried to compile …
I’ve tried on x64 and i586 platform but they five me the same error…
My x86_64 kernel version is 2.6.37.6-0.7-desktop
Compile failure messages:
gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR="/usr/local/inst/dsniff-2.3/usr/local/lib/" -I. -I/usr/local/include -I/usr/include/pcap -I./missing -c ./arpspoof.c
./arpspoof.c: In function ‘arp_send’:
./arpspoof.c:49:6: warning: passing argument 1 of ‘libnet_get_hwaddr’ from incompatible pointer type
/usr/include/./libnet/libnet-functions.h:1819:1: note: expected ‘struct libnet_t *’ but argument is of type ‘struct libnet_link_int *’
./arpspoof.c:49:6: error: too many arguments to function ‘libnet_get_hwaddr’
/usr/include/./libnet/libnet-functions.h:1819:1: note: declared here
./arpspoof.c:60:2: warning: passing argument 6 of ‘libnet_build_ethernet’ from incompatible pointer type
/usr/include/./libnet/libnet-functions.h:490:1: note: expected ‘struct libnet_t *’ but argument is of type ‘u_char *’
./arpspoof.c:60:2: error: too few arguments to function ‘libnet_build_ethernet’
/usr/include/./libnet/libnet-functions.h:490:1: note: declared here
./arpspoof.c:64:20: error: ‘ETH_H’ undeclared (first use in this function)
./arpspoof.c:64:20: note: each undeclared identifier is reported only once for each function it appears in
./arpspoof.c:64:5: error: too few arguments to function ‘libnet_build_arp’
/usr/include/./libnet/libnet-functions.h:564:1: note: declared here
./arpspoof.c: In function ‘main’:
./arpspoof.c:181:12: warning: assignment makes pointer from integer without a cast
make: *** [arpspoof.o] Error 1
Anyone was able to compile or does a package exist???