[Lunar-bugs] [Lunar Linux 0000062]: dsniff doesnt compile with libnet-1.1

Lunar bug reports list lunar-bugs at lunar-linux.org
Fri Feb 24 06:33:55 UTC 2006


A NOTE has been added to this issue.
======================================================================
<http://bugs.lunar-linux.org/view.php?id=62> 
======================================================================
Reported By:                wodkahexe
Assigned To:                
======================================================================
Project:                    Lunar Linux
Issue ID:                   62
Category:                   module
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Moonbase Version:           20060211.09
Core Tools:                 Theedge
Core Tools Version:         20060129
======================================================================
Date Submitted:             02-11-2006 09:23 UTC
Last Modified:              02-24-2006 06:33 UTC
======================================================================
Summary:                    dsniff doesnt compile with libnet-1.1
Description: 
libnet in moonbase: 1.1
libnet needed by dsniff to compile: 1.0
======================================================================

----------------------------------------------------------------------
 dveatch - 02-24-06 01:31 
----------------------------------------------------------------------
Since you did not provide the compile log I will assume you are getting
this error;

gcc -O2 -march=athlon64 -mmmx -msse -msse2 -m3dnow -mfpmath=sse,387
-D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD
-DHAVE_NET_ETHERNET_H -DDSNIFF_LIBDIR=\"/usr/lib/\" -I. -I/usr/include
-I/usr/include -I/usr/include -I/usr/include -I/usr/include
-I/usr/X11R6/include -I./missing -c ./arpspoof.c
./arpspoof.c: In function `arp_send':
./arpspoof.c:51: warning: passing arg 1 of `libnet_get_hwaddr' from
incompatible pointer type
./arpspoof.c:51: error: too many arguments to function
`libnet_get_hwaddr'
./arpspoof.c:62: warning: passing arg 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: In function `main':
./arpspoof.c:185: warning: assignment makes pointer from integer without a
cast
make: *** [arpspoof.o] Error 1


I have tried the current moonbase versions along with the beta versions of
dsniff and libnet in various combinations. All three have the same
arpsoof.c problem.

This looks like an upstream issue with dsniff and suggest you contact the
it's author providing them with your compile results.

----------------------------------------------------------------------
 wodkahexe - 02-24-06 06:33 
----------------------------------------------------------------------
hm, sorry, forgot about that. but this is the same error i get.
the problem seems to be libnet, not dsniff itself.
dsniff has been developed for libnet 1.0 and libnet 1.1 is incompatible
with libnet 1.0. Not dsniff's fault but libnet fault. (see
http://www.groar.org/patch/english.shtml)

Issue History
Date Modified  Username       Field                    Change              
======================================================================
02-11-06 09:23 wodkahexe      New Issue                                    
02-11-06 09:23 wodkahexe      Moonbase Version          => 20060211.09     
02-11-06 09:23 wodkahexe      Core Tools                => Theedge         
02-11-06 09:23 wodkahexe      Core Tools Version        => 20060129        
02-24-06 01:31 dveatch        Note Added: 0000127                          
02-24-06 06:33 wodkahexe      Note Added: 0000128                          
======================================================================



More information about the Lunar-bugs mailing list