Compiling Dsniff...problems

Compiling Dsniff...problems

Post by chris_davie.. » Thu, 16 Nov 2000 04:00:00



Has anyone got DSniff to work under RH7? Having some problems compiling
it...

Thanks

Chris

Sent via Deja.com http://www.deja.com/
Before you buy.

 
 
 

Compiling Dsniff...problems

Post by jose » Thu, 16 Nov 2000 04:00:00



> Has anyone got DSniff to work under RH7? Having some problems compiling
> it...

what version and what error messages?

you should probably look at the mailing list that dug has set up.



 
 
 

Compiling Dsniff...problems

Post by j.. » Mon, 04 Dec 2000 04:00:00




> Has anyone got DSniff to work under RH7? Having some problems
compiling
> it...

> Thanks

> Chris

> Sent via Deja.com http://www.deja.com/
> Before you buy.

I had a number of problems with it.  Here is what I had to do to make it
work:

One: get the new version of dsniff from Dug's website

http://www.monkey.org/~dugsong/dsniff/beta/dsniff-2.3b4.tar.gz

It fixes a  problem with the configure script that was pointing to the
wrong place for the db files it requires.

Two: Be sure that you get and install all 4 of these packages,

libpcap (Redhat users, get this - yours is broken)
        libnet
        libnids
        libdb (for Solaris/some Linux) - be sure to configure with
--enable-compat185

Notice the libdb configuration issue.  You MUST configure with the
following command line from in db-3.1.17/dist/ directory

./configure --enable-compat185

Three:

Configure dsniff then compile.  If you get the following error while
running the configuration script:

checking for libpcap... no
configure: error: libpcap not found

You will have to run the configuration script with the following command
line:

./configure --with-libpcap=../libpcap-0.5

In my case, I had just built libpcap up and over one level, the
../libpcap-0.5 is where I had built it.  It appears that not all of the
required files from libpcap are found in the right place by dsniff.  I
do not know if it's a libpcap issue, a dsniff issue or a RH7 issue.

Good luck.  Let me know if this solves you problem.

Sent via Deja.com http://www.deja.com/
Before you buy.

 
 
 

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

I find this package a valuable tool to test for security tools, however I am
having problems compiling it under Red Hat 7.1 version 2.4.2-2. I have
installed all of the necessary packages, but I still get the following error
when I try to compile it using make.......

# make
gcc -g -O2 -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD
-DHAVE_NET_ETHERNET_H -DLIBNET_LIL_ENDIAN
-DDSNIFF_LIBDIR=\"/usr/local/lib/\" -I. -I/usr/local/include
-I/usr/include/pcap  -I/usr/include/db2  -I/usr/X11R6/include -I./missing
-c ./sshow.c
 In file included from ./sshow.c:20:
 /usr/include/netinet/in.h:133: warning: redefinition of `u_int32_t'
 /usr/include/sys/types.h:192: warning: `u_int32_t' previously declared here
./sshow.c: In function `client_to_server':
./sshow.c:225: `CLK_TCK' undeclared (first use in this function)
./sshow.c:225: (Each undeclared identifier is reported only once
./sshow.c:225: for each function it appears in.)
./sshow.c: In function `server_to_client':
./sshow.c:273: `CLK_TCK' undeclared (first use in this function)
make: *** [sshow.o] Error 1

I am not sure why the make is failing, but I am hoping anyone can shed some
light to me. I would appreciate any help

2. Need help tracing lpd problem printing from VAX VMS to Linux

3. Code obfuscation in acpi

4. The ptrace() bug...

5. compiling dsniff-2.2

6. How to prevent swap-out

7. Help getting dsniff compiled and installed...

8. compile dsniff on current systems

9. Problems with dsniff from the ports collection

10. dsniff on solaris 8

11. help with dsniff