This repository has been archived by the owner on May 23, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 62
PlatformUbuntuManual
Wes edited this page Oct 24, 2015
·
4 revisions
This installation generally takes 5-10min on hardware with more than 8 cores. Generally you'd want something with at-least 16GB ram and 8cores.
- Setup the Dependencies
$ sudo apt-get update && sudo apt-get upgrade -y && sudo apt-get install -y htop build-essential automake autoconf git
- Download the latest CIF release
- Un-tar the release and smash the EasyButton(tm)
$ wget https://github.com/csirtgadgets/massive-octo-spice/archive/2.00.00-rc.4.tar.gz -O massive-octo-spice-2.00.00-rc.4.tar.gz
$ tar -zxvf massive-octo-spice-2.00.00-rc.4.tar.gz
$ cd massive-octo-spice--2.00.00-rc.4
$ VERSION=2.00.00-rc.4 bash autogen.sh
$ sudo bash ./hacking/platforms/easybutton.sh
$ sudo chown `whoami`:`whoami` ~/.cif.yml
- test connectivity to the router
$ cif -p
roundtrip: 0.518286 ms
roundtrip: 0.487317 ms
roundtrip: 0.47499 ms
roundtrip: 0.518493 ms
- perform an initial
cif-smrt
test run
$ sudo service monit stop
$ sudo service cif-smrt stop
$ sudo -u cif /opt/cif/bin/cif-smrt --testmode
[2014-10-21T15:17:10,668Z][INFO][main:322]: cleaning up tmp: /var/smrt/cache
[2014-10-21T15:17:10,691Z][DEBUG][main:294]: id4.us - ssh
[2014-10-21T15:17:10,691Z][INFO][main:295]: processing: /opt/cif/bin/cif-smrt -d -r /etc/cif/rules/default/1d4_us.yml -f ssh
[2014-10-21T15:17:10,692Z][INFO][CIF::Smrt:92]: starting at: 2014-10-21T00:00:00Z
[2014-10-21T15:17:10,692Z][DEBUG][CIF::Smrt:97]: fetching...
...
-
re-start cif-smrt
$ sudo service cif-smrt start $ sudo service monit start
-
test out a query:
$ cif --cc US
$ cif --cc CN
$ cif --tags scanner --cc us
$ cif --otype ipv4 --cc cn
- checkout the SDK Guides to setup a client locally.