Help getting dsniff compiled and installed...

Help getting dsniff compiled and installed...

Post by keeprofthel » Wed, 04 Jun 2003 22:06:32



I've been having trouble getting dsniff 2.3 compiled.  The configure
script finishes successfully (see below), but running make doesn't
complete (see below).  All the packages are installed correctly but I
can't get past this make error.

RESULTS OF CONFIGURE SCRIPT:
./configure
loading cache ./config.cache
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for a BSD compatible install... (cached) /usr/bin/ginstall -c
checking for ranlib... (cached) ranlib
checking how to run the C preprocessor... (cached) gcc -E
checking for X... (cached) libraries /usr/X11/lib, headers
checking for dnet_ntoa in -ldnet... (cached) no
checking for dnet_ntoa in -ldnet_stub... (cached) no
checking for gethostbyname... (cached) yes
checking for connect... (cached) yes
checking for remove... (cached) yes
checking for shmat... (cached) yes
checking for IceConnectionNumber in -lICE... (cached) yes
checking for ANSI C header files... (cached) yes
checking for err.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for sys/ioctl.h... (cached) yes
checking for sys/queue.h... (cached) yes
checking for unistd.h... (cached) yes
checking for libgen.h... (cached) yes
checking for net/if_tun.h... (cached) no
checking for MIN and MAX in sys/param.h... yes
checking for working const... (cached) yes
checking for size_t... (cached) yes
checking whether struct tm is in sys/time.h or time.h... (cached)
time.h
checking for u_int32_t... (cached) yes
checking for u_int64_t... (cached) yes
checking for in_addr_t... (cached) no
checking whether gcc needs -traditional... (cached) no
checking for 8-bit clean memcmp... (cached) yes
checking return type of signal handlers... (cached) void
checking for strftime... (cached) yes
checking for gethostname... (cached) yes
checking for socket... (cached) yes
checking for strdup... (cached) yes
checking for strstr... (cached) yes
checking for xdr_fhstatus in -lrpcsvc... (cached) yes
checking for socket in -lsocket... (cached) no
checking for gethostbyname in -lnsl... (cached) yes
checking for dn_expand in -lresolv... (cached) yes
checking for dirname... (cached) yes
checking for strlcpy... (cached) no
checking for strlcat... (cached) no
checking for strsep... (cached) yes
checking for MD5Update... (cached) no
checking for warnx... (cached) yes
checking for ether_ntoa... (cached) yes
checking for Berkeley DB with 1.85 compatibility... yes
checking for libpcap... yes
checking for libnet... yes
checking for libnids... yes
checking whether libnids version is good... yes
checking for OpenSSL... yes
creating ./config.status
creating Makefile
creating config.h
config.h is unchanged

RESULTS OF RUNNING MAKE:
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./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: 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: too few arguments to function `libnet_build_ethernet'
arpspoof.c:64: `ETH_H' undeclared (first use in this function)
arpspoof.c:64: (Each undeclared identifier is reported only once
arpspoof.c:64: for each function it appears in.)
arpspoof.c:64: 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

Running Slackware 9 with the 2.4.20 kernel.

Any assistance would be greatly appreciated.

 
 
 

Help getting dsniff compiled and installed...

Post by ynotsso » Thu, 05 Jun 2003 01:18:08



Quote:> I've been having trouble getting dsniff 2.3 compiled.  The configure
> script finishes successfully (see below), but running make doesn't
> complete (see below).  All the packages are installed correctly but I
> can't get past this make error.
[...]
> RESULTS OF RUNNING MAKE:
> 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./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: 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: too few arguments to function `libnet_build_ethernet'
> arpspoof.c:64: `ETH_H' undeclared (first use in this function)
> arpspoof.c:64: (Each undeclared identifier is reported only once
> arpspoof.c:64: for each function it appears in.)
> arpspoof.c:64: 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

> Running Slackware 9 with the 2.4.20 kernel.

> Any assistance would be greatly appreciated.

Is an RPM to your liking? Assuming it will work on Slackware:
http://ftp.falsehope.com/home/gomez/dsniff/

        tony

--
use hotmail com for any email replies

-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----==  Over 80,000 Newsgroups - 16 Different Servers! =-----

 
 
 

1. Help installing and using dsniff

I was trying to install and use dsniff on a Mandrake 7.2 box and I
kept running into missing files and unsatisfied dependencies. Is there
a file on how to install all this properly without breaking my
installation? Any other dsniff references would be nice as well.

2. Questions about gethostbyaddr()

3. compiling dsniff-2.2

4. Help: running Mosaic from Skunkworks

5. Problems compiling dsniff under redhat7.1 (2.4.2-2 version)

6. Swap Partition Question

7. pre-installation question

8. Compiling Dsniff...problems

9. compile dsniff on current systems

10. dsniff install on redhat 7.2