Dr^ZigMan

Dsniff

6 posts in this topic

Hey guys! I sure a bunch of you have heard of a great network auditing tool called dsniff. I had such a hell of a time installing dsniff on my slackware 10.1 box running the 2.6.11.12 kernel. I kept getting this error:

  ./record.c: In function `record_save':

  ./record.c:130: `R_NOOVERWRITE' undeclared (first use in this function)

  ./record.c:130: (Each undeclared identifier is reported only once

  ./record.c:130: for each function it appears in.)

  ./record.c:130: warning: passing arg 2 of pointer to function from

  incompatible pointer type

  ./record.c:130: too few arguments to function

  ./record.c: In function `record_dump':

  ./record.c:143: structure has no member named `seq'

  ./record.c:143: `R_NEXT' undeclared (first use in this function)

  ./record.c: In function `record_init':

  ./record.c:167: warning: assignment makes pointer from integer without a cast

  ./record.c: In function `record_close':

  ./record.c:206: too few arguments to function

  make: *** [record.o] Error 1

This little fix will allow dsniff to install on any slackware box...

Change directory to /usr/include

Create a symbolic link with:

ln -s db3/db_185.h db_185.h

Then do a ./configure, make, make install.

Tada!

-Dr^ZigMan

0

Share this post


Link to post
Share on other sites

I tried installing dsniff awhile ago, and i just said fuck it. I wasted so many hours on that. I just went with a binary installation which worked in under 5 mins.

0

Share this post


Link to post
Share on other sites

HAHAHAHAHAHA dude this thread is the 8th search result on google!

plain fucking crazy. although i don't have the same problem as you (slack 9.1 vs. your slack 10.x)

0

Share this post


Link to post
Share on other sites

to fix my dsniff compile problems on Slackware 9.1, i had to do a few things:

i had to downgrade to libnet 1.0 for full functionality and i had to get a patched version of dsniff from groar.org. i was able to use libnids 1.18 however.

it seems that dsniff 2.3 was purposely borked so as to (somewhat) stop script kiddies from using it. using the patched version of dsniff 2.4 beta worked after i installed the correct versions of everything.

hopefully from my posts and Zigman's, people can avoid our headaches (i just worked on this for about 2 hours, possibly more).

0

Share this post


Link to post
Share on other sites
HAHAHAHAHAHA dude this thread is the 8th search result on google!

Holy Shit! I've been trying to get a high rank on google for years, I managed to pull one out of my ass somehow. Damn, I'm so proud :) Thanks for pointing it out!

-Dr^ZigMan

0

Share this post


Link to post
Share on other sites

I had problems with it on Fedora and Redhat ES as well becasue of a non standard libnids library..Think that is what it was anyway. Well there are some patches out there on http://www.enzotech.net/dsniff.html that allow it to compile.

Edited by SiCkBoY
0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now