You are not logged in.

#1 2005-12-18 06:14:55

sysboy
Member
Registered: 2005-08-04
Posts: 40
Website

dsniff doesnt like arch ?

Ok so i have been trying to install the dsniff suite for a while now. It installs fine on my fedoracore 3 laptop but gives me compileing errors in arch.

[root@archserver dsniff-2.3]# 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 argument 1 of 'libnet_get_hwaddr' from incompatible pointer type
./arpspoof.c:49: error: too many arguments to function 'libnet_get_hwaddr'
./arpspoof.c:58: warning: pointer targets in assignment differ in signedness
./arpspoof.c:60: warning: passing argument 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

anyone know how to get by this ?

Offline

#2 2005-12-18 11:50:31

smoon
Member
Registered: 2005-08-22
Posts: 468
Website

Re: dsniff doesnt like arch ?

dsniff builds fine for me with the PKGBUILD from AUR. Maybe you should try this.

Offline

#3 2005-12-18 17:41:24

sysboy
Member
Registered: 2005-08-04
Posts: 40
Website

Re: dsniff doesnt like arch ?

I have never used a package build before. How is this done ?

Offline

#4 2005-12-18 17:45:07

Kern
Member
From: UK
Registered: 2005-02-09
Posts: 464

Re: dsniff doesnt like arch ?

/me looks on with interest,
i used dsniff prior Arch, had same probs in Arch, and was too cowardly/idle/lazy back then to attempt using pkgbuild.... pls feedback if you get it going before i do.

Offline

#5 2005-12-18 18:44:58

smoon
Member
Registered: 2005-08-22
Posts: 468
Website

Re: dsniff doesnt like arch ?

sysboy wrote:

I have never used a package build before. How is this done ?

It's very simple and well described in the Wiki.

Offline

#6 2005-12-18 19:15:31

sysboy
Member
Registered: 2005-08-04
Posts: 40
Website

Re: dsniff doesnt like arch ?

so I have the pkg build the /var/abs/local/dsniff/. Now what ? How do I use that file ?

Offline

#7 2005-12-18 19:34:41

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: dsniff doesnt like arch ?

read the wiki. Especially the part that says run 'makepkg' in the directory you placed the PKGBUILD in. and the part that says run 'pacman -U pkgname-pkgversion.pkg.tar.gz' when its installed.

Or look for a program called aurbuild posted here on the forum or in the aur itself. This program makes it almost as easy to build packages from aur as it is to install them with pacman!

Dusty

Offline

#8 2005-12-18 19:35:00

sysboy
Member
Registered: 2005-08-04
Posts: 40
Website

Re: dsniff doesnt like arch ?

Never mind. This is what I did to get it running.

#makepkg
cd /to the src dir
#./configure
#make install

works great now . Thanks for the help.

Offline

#9 2005-12-18 19:46:20

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: dsniff doesnt like arch ?

*shakes head*. Hard to believe that was easier than makepkg.

Offline

#10 2005-12-18 22:13:26

smoon
Member
Registered: 2005-08-22
Posts: 468
Website

Re: dsniff doesnt like arch ?

:shock: So you first created a package with makepkg and installed dsniff manually via `make install' afterwards?

Offline

Board footer

Powered by FluxBB