a few urls that helped me get honeyd/dsniff etc installed on my mac:
- http://www.linville.org/dsniff.html
- http://www.os3.nl/~nan03/honeyd.howto
note the stuff below here is cut-and-paste directly from these websites, i did not create it, but i am pseudo-mirroring it just in case it goes away, cause i'll probably need it again someday soon...
============================================
============================================
from http://www.os3.nl/~nan03/honeyd.howto :
INSTALLING HONEYD IN 10 STEPS on MAC OS X
Take a look at the official Honeyd site.
http://www.honeyd.org
1 - download Honeyd
2 - download the apropriate libraries:
libevent
libpcap
libdnet
3 - download python 2.3.x
4 - Untar and do a...
./configure --prefix=
make
make install
...for the three libraries and python. Use the prefix parameter to put everything
into one specific location, so you know where to find everything. It keeps your system clean.
5 - add the python bin dir in your executable path, like:
export PATH=
6- Enter your libevent dir:
cd
cp ../lib/libevent.a .
ranlib libevent.a (Thanks Maarten Carels)
7 - ./configure honeyd with the apropriate --with-libnet=.. etc.
8 - Edit the Makefile and make these changes:
- Scroll to the bottom and find this line:
cp .libs/libtmp$@.so $@
- change it like this:
cp .libs/libtmp$@.a $@ (Thanks Daniel Hilster)
9 - make
10 - make install
==========================================
==========================================
from http://www.linville.org/dsniff.html :
Aside from dsniff itself, these utilities are quite useful for writing lowlevel network utilities, investigating and maintaining network security. I use them fairly regularly in industry to test and instrument equipment in my line of work.
If you have any problems, chances are it's my fault. I wrote this up from memory and haven't had time to check it yet. - Aaron Linville
mkdir -p /usr/local/sbin
mkdir -p /usr/lib
mkdir -p /usr/local/lib
mkdir -p /usr/local/
mkdir -p /usr/local/include
mkdir -p /usr/local/include/net
mkdir -p /usr/include
mkdir -p /usr/include/libnet
wget http://www.tcpdump.org/release/libpcap-0.6.2.tar.gz
tar -xvzf libpcap-0.6.2.tar.gz
cd libpcap-0.6.2
cp /usr/libexec/config.guess ./
cp /usr/libexec/config.sub ./
./configure
make
cp libpcap.a /usr/local/lib/
cp pcap.h /usr/local/include/
cp pcap-namedb.h /usr/local/include/
cp pcap-int.h /usr/local/include/
cp net/bpf.h /usr/local/include/net/
cp pcap.3 /usr/local/man/man3/
ranlib /usr/local/lib/libpcap.a
wget http://www.packetfactory.net/libnet/dist/libnet-1.0.2.tgz
tar -xvzf libnet-1.0.2.tgz
cd libnet-1.0.2
cp /usr/libexec/config.guess ./
cp /usr/libexec/config.sub ./
./configure
cp libnet-config /usr/bin
cp include/libnet.h /usr/include
cp include/libnet-* /usr/include/libnet/
cp lib/libnet.a /usr/lib
cp doc/libnet.3 /usr/local/man/man3
cd /usr/lib
ln -f -s libnet.a libpwrite.a
ranlib /usr/lib/libnet.a
wget http://www.packetfactory.net/Projects/Libnids/dist/libnids-1.16.tar.gz
tar -xvzf libnids-1.16.tar.gz
cd libnids-1.16
./configure
make
make install
ranlib /usr/local/lib/libnids.a
wget http://www.monkey.org/~dugsong/dsniff/dsniff-2.3.tar.gz
tar -xvzf dsniff-2.3.tar.gz
cd dsniff-2.3
./configure --with-openssl=/usr/local/ssl
make
make install
wget http://www.snort.org/Files/snort-1.7.tar.gz
tar -xvzf snort-1.7.tar.gz
cd snort-1.7
cp /usr/libexec/config.guess ./
cp /usr/libexec/config.sub ./
./configure --with-openssl=/usr/local/ssl
make
make install