For I contributed to this group on arp-spoofing a few hours ago I got
curious again and tried to install dsniff on my linuxlaptop.
Unfortunately I couldnt manage. dsniff is a bit outdated in the meantime
(last change in 2002) and it seems that it needs older versions of
libnet than 1.1.x cause dsniff fails with:
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/local/include -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
and the older versions of libnet do not compile on my system ...
For I'm sure some people out there use dsniff or a successor I seek
advice here.
- in what environment does your dsniff compile well?
- what other tool than dsniff do you use for playing with arpspoof?
thnx,
peter
ps: if anyone knows a recent article about the topic (including
sophisticated countermeasures) I would be happy to read ...
--
http://www2.goldfisch.at/know_list
http://leblogsportif.sportnation.at