How to install DionaeaFR Front-end Visualization tool

per-requisites:
1) Install pip (Python package manager) and python-netaddr package:

apt-get install python-pip python-netaddr

2) use pip for automated installation:

pip install Django
 pip install pygeoip
 pip install django-pagination
 pip install django-tables2
 pip install django-compressor
 pip install django-htmlmin

3) To install django-tables2-simplefilter manually use the next commands:

cd /opt/
wget https://github.com/benjiec/django-tables2-simplefilter/archive/master.zip -O django-tables2-simplefilter.zip
unzip django-tables2-simplefilter.zip
mv django-tables2-simplefilter-master/ django-tables2-simplefilter/
cd django-tables2-simplefilter/
python setup.py install

4) Retrieve PySubnetTree from the sources and install:

cd /opt/
  git clone https://github.com/bro/pysubnettree.git
  cd pysubnettree/
  python setup.py install

5) Manually compile Node.js from sources:

cd /opt/
  wget http://nodejs.org/dist/v0.8.16/node-v0.8.16.tar.gz
  tar xzvf node-v0.8.16.tar.gz
  cd node-v0.8.16
  ./configure
  make
  make install

6) Install LESS and promise using npm (Node.js package manager):

npm install -g less
npm install -g promise

7) Then now install the visualization tool
Download DionaeaFR itself:

cd /opt/
wget https://github.com/RootingPuntoEs/DionaeaFR/archive/master.zip -O DionaeaFR.zip
  unzip DionaeaFR.zip
  mv DionaeaFR-master/ DionaeaFR

8) GeoIP and GeoLite databases for DionaeaFR:

cd /opt/
  wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz
  wget http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz
  gunzip GeoLiteCity.dat.gz
  gunzip GeoIP.dat.gz
  mv GeoIP.dat DionaeaFR/DionaeaFR/static
  mv GeoLiteCity.dat DionaeaFR/DionaeaFR/static

9) Copy the sample file to the config file:

cp /opt/DionaeaFR/DionaeaFR/settings.py.dist /opt/DionaeaFR/DionaeaFR/settings.py
  nano /opt/DionaeaFR/DionaeaFR/settings.py

There you’ll want to change line 18 that points to Dionaea’s SQLite db.

10) Once everythinng is installed You can start the webserver using the commands:

mkdir /var/run/dionaeafr #for DionaeaFR's pid file
  cd /opt/DionaeaFR/
  python manage.py collectstatic #type yes when asked
 python manage.py runserver 0.0.0.0:8000

The web components are accessible through: http://SERVER-REMOTE-IP:8000

 

DionaeaFR-connections

index

images

 

index

images2

more here

Advertisements
%d bloggers like this: