You are not logged in.
Pages: 1
umm, the problem is when makpkg start the 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/X11R6/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: error: 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: error: too few arguments to function `libnet_build_ethernet'
./arpspoof.c:64: error: `ETH_H' undeclared (first use in this function)
./arpspoof.c:64: error: (Each undeclared identifier is reported only once
./arpspoof.c:64: error: for each function it appears in.)
./arpspoof.c:64: error: 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
I have installed the dependencies:
db 4.2.52-1
openssl 0.9.7e-1
libpcap 0.8.3-1
libnids 1.19-1
libnet 1.1.2.1-1
I download the sources from http://freshmeat.net/projects/dsniff/
Somebody have an idea?
irc.bsd.cl #linux
irc.freenode.org #archlinux-es
Offline
That's an old and known problem. I also have dsniff on my list but it's really old (not updated for years) and it doesn't work with new libs.
The most important thing is that it doesn't work with new libnet (IIRC newer than 1.0).
You can try several things:
1. Compile (but do not install) an old libnet and modify dsniff configure/makefile to include different path to this lib and to compile it statically.
2. Download a modified sources from this page:
http://www.groar.org/patch/english.shtml
and compile it with libnet 1.1. Not all dsniff tools can be compiled like this so the final package will be limited.
Even if you will force it to compile with any libnet version you can have more problems like tools not working properly or wrong paths etc. etc.
There are more patches for dsniff that can help you fix these problems:
http://packages.debian.org/testing/net/dsniff (lots of debian patches)
http://www.enzotech.net/dsniff.html
http://sephail.atnum.com/sw/patches/dsn … p-dump.htm (this allows running dsniff on packets dumped to files, IIRC debian also has this or something similar)
Offline
excellentr, thx
irc.bsd.cl #linux
irc.freenode.org #archlinux-es
Offline
Pages: 1