Jump to content


Photo
- - - - -

Dsniff


  • Please log in to reply
5 replies to this topic

#1 Dr^ZigMan

Dr^ZigMan

    Publish or Perish!

  • Agents of the Revolution
  • 1,207 posts
  • Location:561

Posted 15 June 2005 - 07:30 AM

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

#2 riscphree

riscphree

    Dangerous free thinker

  • Members
  • 1,936 posts
  • Gender:Male

Posted 15 June 2005 - 12:31 PM

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.

#3 tehbizz

tehbizz

    Progenitor of noob slaying

  • Members
  • 2,039 posts
  • Gender:Male

Posted 21 June 2005 - 10:52 PM

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)

#4 tehbizz

tehbizz

    Progenitor of noob slaying

  • Members
  • 2,039 posts
  • Gender:Male

Posted 21 June 2005 - 11:56 PM

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).

#5 Dr^ZigMan

Dr^ZigMan

    Publish or Perish!

  • Agents of the Revolution
  • 1,207 posts
  • Location:561

Posted 21 June 2005 - 11:56 PM

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

#6 SiCkBoY

SiCkBoY

    I broke 10 posts and all I got was this lousy title!

  • Members
  • 17 posts

Posted 21 June 2005 - 11:59 PM

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, 22 June 2005 - 12:00 AM.





BinRev is hosted by the great people at Lunarpages!