Ciao a tutti e scusate l'OT[1], ma non so più a chi chiedere... sto cercando (invano) di compilare dsniff... le librerie necessarie si compilano ed installano senza problemi, ma quando lancio il make questo è il risultato:
[EMAIL PROTECTED]:/home/marcob/dsniff-2.3$>make gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/local/lib/\" -I. -I/usr/local/include -I/usr/local/include -I/usr/local/include -I./missing -c ./arpspoof.c ./arpspoof.c:25: warning: `struct ether_addr' declared inside parameter list ./arpspoof.c:25: warning: its scope is only this definition or declaration, which is probably not what you want. ./arpspoof.c:26: warning: `struct ether_addr' declared inside parameter list ./arpspoof.c: In function `arp_send': ./arpspoof.c:60: `ETHERTYPE_ARP' undeclared (first use in this function) ./arpspoof.c:60: (Each undeclared identifier is reported only once ./arpspoof.c:60: for each function it appears in.) ./arpspoof.c:62: `ARPHRD_ETHER' undeclared (first use in this function) ./arpspoof.c:62: `ETHERTYPE_IP' undeclared (first use in this function) ./arpspoof.c:62: `ETHER_ADDR_LEN' undeclared (first use in this function) ./arpspoof.c:64: `ETH_H' undeclared (first use in this function) ./arpspoof.c:67: warning: passing arg 1 of `ether_ntoa' from incompatible pointer type ./arpspoof.c:69: `ARPOP_REQUEST' undeclared (first use in this function) ./arpspoof.c:71: warning: passing arg 1 of `ether_ntoa' from incompatible pointer type ./arpspoof.c:77: warning: passing arg 1 of `ether_ntoa' from incompatible pointer type ./arpspoof.c:80: warning: passing arg 1 of `ether_ntoa' from incompatible pointer type ./arpspoof.c: In function `arp_force': ./arpspoof.c:89: storage size of `sin' isn't known ./arpspoof.c:92: `AF_INET' undeclared (first use in this function) ./arpspoof.c:92: `SOCK_DGRAM' undeclared (first use in this function) ./arpspoof.c:92: `IPPROTO_UDP' undeclared (first use in this function) ./arpspoof.c: In function `arp_find': ./arpspoof.c:114: warning: passing arg 2 of `arp_cache_lookup' from incompatible pointer type ./arpspoof.c: In function `cleanup': ./arpspoof.c:137: `ARPOP_REPLY' undeclared (first use in this function) ./arpspoof.c: In function `main': ./arpspoof.c:159: `optarg' undeclared (first use in this function) ./arpspoof.c:169: `optind' undeclared (first use in this function) ./arpspoof.c:181: warning: assignment makes pointer from integer without a cast ./arpspoof.c:193: `ARPOP_REPLY' undeclared (first use in this function) ./arpspoof.c: At top level: ./arpspoof.c:29: storage size of `spoof_mac' isn't known ./arpspoof.c:29: storage size of `target_mac' isn't known make: *** [arpspoof.o] Error 1 A cosa potrebbe essere dovuto? il googling non mi è stato di aiuto se non per capire che qualc'un altro ha avuto il medesimo problema... Ho un kernel 2.4.30 linkato correttamente sotto /usr/src/linux se fosse utile grazie, P.S. L'arpspoofing non mi interessa, se posso aggirare il problema evitando di compilarlo, ben vengano suggerimenti in questo senso... [1] OT perchè in Debian dsniff è compreso e si installa senza il minimo problema, ma su $ALTRADISTRO... beh... :-( -- Marco Bertorello System Administrator Linux Registered User #319921
pgpHhBgnzV2YQ.pgp
Description: PGP signature