-
Notifications
You must be signed in to change notification settings - Fork 372
/
INSTALL
33 lines (29 loc) · 1.36 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# General:
# PassiveDNS was developed on a Ubuntu 10.04 platform, so all main testing was done there.
# Ubuntu 10.04 ships with libldns 1.6.1 and libpcap 1.0.0. I have compiled it static and dynamic
# and tried it out on different linux OSes with great luck.
# I try to keep the git tags "stable" and the master branch might be under development.
# If you have issues with the current master, please read doc/ISSUES
FreeBSD Install
$ pkg_add -r gmake git ldns
$ rehash
$ mkdir /usr/local/src/; cd /usr/local/src
$ git clone git://github.com/gamelinux/passivedns.git
$ cd passivedns/src/
$ gmake
Ubuntu
$ sudo apt-get install git-core binutils-dev libldns1 libldns-dev libpcap-dev
# libdate-simple-perl is also needed for pdns2db.pl
$ git clone git://github.com/gamelinux/passivedns.git
$ cd passivedns/src/
$ make
RedHat (RHEL 6u2 x86_64)
$ yum groupinstall "Development tools"
# EPEL : http://fedora.uib.no/epel/6/x86_64/
$ rpm -Uvh http://download.fedora.redhat.com/pub/epel/6/x86_64/ldns-devel-1.6.11-2.el6.x86_64.rpm
$ rpm -Uvh http://download.fedora.redhat.com/pub/epel/6/x86_64/ldns-1.6.11-2.el6.x86_64.rpm
$ wget http://www.tcpdump.org/release/libpcap-1.2.1.tar.gz
$ tar zxf libpcap-1.2.1.tar.gz; cd libpcap-1.2.1; ./configure; make && make install
$ git clone git://github.com/gamelinux/passivedns.git
$ cd passivedns/src/
$ make