[Previo por Fecha] [Siguiente por Fecha] [Previo por Hilo] [Siguiente por Hilo]

[Hilos de Discusión] [Fecha] [Tema] [Autor]

Re: [Ayuda] Problemas compilando Dsniff



El lun, 04-10-2004 a las 18:10, Mario Benítez Martínez escribió:
> Que tal estimados,
> 
> Estoy compilando dsniff para aplicarle pruebas de penetración a la red.
> Ya le pregunté e Mr.Google y le di vueltas a la red y no encuentro nada
> que me oriente.
> 
> Ya tengo compilado e instalado todo lo que requiere dsniff, y al momento
> de compilar el mismo obtengo el siguiente error:
> 
> Anexo el error que obtengo al dar 'make', saludos y gracias de antemano.
> 
> 
> [mihost]# ./configure --prefix=/usr --libdir=/usr/lib
> --includedir=/usr/include
> [mihost]# make
> 
> --------
> gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD
> -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/lib/\" -I. -I/usr/include
> -I/usr/include -I/usr/include -I/usr/include -I/usr/include  -I./missing
> -c ./missing/dummy.c
> gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD
> -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/lib/\" -I. -I/usr/include
> -I/usr/include -I/usr/include -I/usr/include -I/usr/include  -I./missing
> -c ./missing/strlcpy.c
> gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD
> -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/lib/\" -I. -I/usr/include
> -I/usr/include -I/usr/include -I/usr/include -I/usr/include  -I./missing
> -c ./missing/strlcat.c
> gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD
> -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/lib/\" -I. -I/usr/include
> -I/usr/include -I/usr/include -I/usr/include -I/usr/include  -I./missing
> -c ./missing/md5.c
> ar -cr libmissing.a dummy.o  strlcpy.o strlcat.o md5.o
> ranlib libmissing.a
> gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD
> -DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/lib/\" -I. -I/usr/include
> -I/usr/include -I/usr/include -I/usr/include -I/usr/include  -I./missing
> -c ./arpspoof.c
> arpspoof.c: In function `arp_send':
> arpspoof.c:49: warning: passing arg 1 of `libnet_get_hwaddr' from
> incompatible pointer type
> arpspoof.c:49: error: too many arguments to function `libnet_get_hwaddr'
> arpspoof.c:60: warning: passing arg 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: In function `main':
> arpspoof.c:181: warning: assignment makes pointer from integer without a
> cast
> make: *** [arpspoof.o] Error 1
> --------

 ¡Hola Mario!

 El problema que tienes es que dsniff requiere de libnet versión 1.0.2a
para compilar. No funciona con las versiones recientes (1.1.x.x), porque
la API es diferente. Desinstala la versión de libnet 1.1.x.x, instala la
versión 1.0.2a y debe funcionar.

					Saludos
-- 
__(o< | Nombres/Names:        Cristian Othón  |  cfuga en linuxppp com
\/|/  | Apellidos/Last Names: Martínez Vera   | http://linuxppp.com/
/_/_  |                                       | http://cfuga.net/
      |    "Pulchrum est paucorum hominum"    - Horace





[Hilos de Discusión] [Fecha] [Tema] [Autor]