Yesterday i successfuly installed Ettercap and wireshark, i tried to get dsniff but im having some problem im not sure how to fix.
im using Darwin MacPorts (also tried Fink but fink doesnt find dsniff)
Heres the error i get when trying to install dsniff with Port
sudo port install dsniff-devel ---> Fetching dsniff-devel---> Attempting to fetch dsniff-2.4b1.tar.gz from [url="http://monkey.org/~dugsong/dsniff/beta/"]http://monkey.org/~d...ng/dsniff/beta/[/url]---> Verifying checksum(s) for dsniff-devel---> Extracting dsniff-devel---> Applying patches to dsniff-devel---> Configuring dsniff-devel---> Building dsniff-devel with target allError: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_dsniff-devel/work/dsniff-2.4" && make all " returned error 2Command output: gcc -O2 -DBIND_8_COMPAT -D_BSD_SOURCE -DHAVE_SOCKADDR_SA_LEN -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DDSNIFF_LIBDIR=\"/opt/local/lib/\" -I. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/usr/X11R6/include -I./missing -c ./missing/dummy.cgcc -O2 -DBIND_8_COMPAT -D_BSD_SOURCE -DHAVE_SOCKADDR_SA_LEN -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DDSNIFF_LIBDIR=\"/opt/local/lib/\" -I. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/usr/X11R6/include -I./missing -c ./missing/md5.car -cr libmissing.a dummy.o md5.oranlib: file: libmissing.a(dummy.o) has no symbolsranlib libmissing.aranlib: file: libmissing.a(dummy.o) has no symbolsgcc -O2 -DBIND_8_COMPAT -D_BSD_SOURCE -DHAVE_SOCKADDR_SA_LEN -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DDSNIFF_LIBDIR=\"/opt/local/lib/\" -I. -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/usr/X11R6/include -I./missing -c ./arpspoof.cIn file included from ./arpspoof.c:25:./arp.h:14: warning: 'struct ether_addr' declared inside parameter list./arp.h:14: warning: its scope is only this definition or declaration, which is probably not what you want./arpspoof.c:28: warning: 'struct ether_addr' declared inside parameter list./arpspoof.c: In function 'arp_send':./arpspoof.c:51: warning: passing argument 1 of 'libnet_get_hwaddr' from incompatible pointer type./arpspoof.c:51: error: too many arguments to function 'libnet_get_hwaddr'./arpspoof.c:60: warning: pointer targets in assignment differ in signedness./arpspoof.c:62: warning: passing argument 6 of 'libnet_build_ethernet' from incompatible pointer type./arpspoof.c:62: error: too few arguments to function 'libnet_build_ethernet'./arpspoof.c:66: error: 'ETH_H' undeclared (first use in this function)./arpspoof.c:66: error: (Each undeclared identifier is reported only once./arpspoof.c:66: error: for each function it appears in.)./arpspoof.c:66: error: too few arguments to function 'libnet_build_arp'./arpspoof.c:69: warning: passing argument 1 of 'ether_ntoa' from incompatible pointer type./arpspoof.c:73: warning: passing argument 1 of 'ether_ntoa' from incompatible pointer type./arpspoof.c:79: warning: passing argument 1 of 'ether_ntoa' from incompatible pointer type./arpspoof.c:82: warning: passing argument 1 of 'ether_ntoa' from incompatible pointer type./arpspoof.c: In function 'arp_find':./arpspoof.c:116: warning: passing argument 2 of 'arp_cache_lookup' from incompatible pointer type./arpspoof.c: In function 'main':./arpspoof.c:185: warning: assignment makes pointer from integer without a castmake: *** [arpspoof.o] Error 1Error: Status 1 encountered during processing.
anyone knows how to fix this, and make it able to compile dsniff?
Thanks in advance.











