# dsniff dsniff: listening on eth0 segmentation fault ---- dsniff version 2.3 ebuild version 2.3-r2 Reproducible: Always Steps to Reproduce: 1. emerge dsniff 2. dsniff
Please post your emerge info and if you can, a gdb backtrace would be nice.
emerge info: Portage 2.0.50-r11 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.6.8.1) ================================================================= System uname: 2.6.8.1 i686 AMD Athlon(tm) XP 3000+ Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O2 -fPIC" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /share/config /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2 /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -fPIC" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://mymirror.com" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://mymirror.com" USE="X alsa apm arts avi berkdb crypt encode esd foomaticdb gdbm gif gpm gtk gtk2 imlib java jpeg libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcpd truetype x86 xml2 xmms xv zlib" gdb: Starting program: /usr/sbin/dsniff -i eth0 warning: Unable to find dynamic linker breakpoint function. GDB will be unable to debug shared library initializers and track explicitly loaded dynamic code. warning: shared library handler failed to enable breakpoint dsniff: listening on eth0 Program received signal SIGSEGV, Segmentation fault. 0x400a4cb3 in ?? () (gdb) bt #0 0x400a4cb3 in ?? () #1 0x400a2968 in ?? () #2 0x400b118c in ?? () #3 0x20001100 in ?? () #4 0x0300a8c0 in ?? () #5 0x1887c92b in ?? () #6 0x4000a690 in ?? () #7 0x00000020 in ?? () #8 0x080f78b4 in ?? () #9 0x400b118c in ?? () #10 0x20001100 in ?? () #11 0xbffff568 in ?? () #12 0x400a4ece in ?? () #13 0x080f78b4 in ?? () #14 0x00000020 in ?? ()
same problem here, but it seems only to happen with the -c (half-duplex) switch. kernel is gentoo-2.6.8 using the only available dsniff ebuild.
EDIT: dsniff is working fine, until I start e.g. arpspoof then dsniff exits with seg fault
please submit bug upsteam (if you can work out how)
upstream problem. Please submit fault to dsniff authors. Use CFLAGS=-g and FEATURES=noclean so that symbol names show up. You may need to run dsniff in the staging directory for the gdb to show the code locations correctly.