mmm
segui los pasos ke dices ociomax pero me marca el sigiente error:
./arpspoof.c: In function 'arp_send':
./arpspoof.c:49: warning: passing argument 1 of 'libnet_get_hwaddr' from incompatible pointer type
./arpspoof.c:49: error: too many arguments to function 'libnet_get_hwaddr'
./arpspoof.c:53: warning: implicit declaration of function 'libnet_get_ipaddr'
./arpspoof.c:58: warning: pointer targets in assignment differ in signedness
./arpspoof.c:60: warning: passing argument 6 of 'libnet_build_ethernet' from incompatible pointer type
./arpspoof.c:60: error: too few arguments to function 'libnet_build_ethernet'
./arpspoof.c:64: error: 'ETH_H' undeclared (first use in this function)
./arpspoof.c:64: error: (Each undeclared identifier is reported only once
./arpspoof.c:64: error: for each function it appears in.)
./arpspoof.c:64: error: too few arguments to function 'libnet_build_arp'
./arpspoof.c:70: warning: implicit declaration of function 'libnet_host_lookup'
./arpspoof.c:70: warning: format '%s' expects type 'char *', but argument 5 has type 'int'
./arpspoof.c:70: warning: format '%s' expects type 'char *', but argument 6 has type 'int'
./arpspoof.c:76: warning: format '%s' expects type 'char *', but argument 5 has type 'int'
./arpspoof.c:82: warning: implicit declaration of function 'libnet_write_link_layer'
./arpspoof.c: In function 'main':
./arpspoof.c:162: warning: implicit declaration of function 'libnet_name_resolve'
./arpspoof.c:181: warning: implicit declaration of function 'libnet_open_link_interface'
./arpspoof.c:181: warning: assignment makes pointer from integer without a cast
make: *** [arpspoof.o] Error 1
make: *** Waiting for unfinished jobs....
error: Bad exit status from /var/tmp/rpm-tmp.12204 (%build)
RPM build errors:
InstallSourcePackage: Header V3 DSA signature: NOKEY, key ID 6b8d79e6
user dag does not exist - using root
group dag does not exist - using root
Bad exit status from /var/tmp/rpm-tmp.12204 (%build)
no se que estoy haciendo mal, esto es lo que marca cuando ejecuto
rpmbuild --rebuild dsniff-2.3-0.dag.src.rpm