[tor-commits] [ooni-probe/master] Add support to the sniffer subsystem in the vagrant and requirements file

art at torproject.org art at torproject.org
Tue Aug 5 10:33:36 UTC 2014


commit 33c25f08b6fe7f655a54495c8762f9503949e5ea
Author: kudrom <kudrom at riseup.net>
Date:   Sat Jul 19 19:04:51 2014 +0200

    Add support to the sniffer subsystem in the vagrant and requirements file
---
 Vagrantfile      |    3 +++
 requirements.txt |    3 +++
 2 files changed, 6 insertions(+)

diff --git a/Vagrantfile b/Vagrantfile
index 3d4b81d..419f0c6 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -32,6 +32,9 @@ apt-get update
 apt-get install -y tor deb.torproject.org-keyring
 apt-get install -y ooniprobe geoip-database-contrib
 
+# Setup for sniffer subsystem
+apt-get install -y build-essential libdnet-dev libpcap-dev python-dev python-pip python-networkx
+pip install PyDNET graphillion
 echo "Login using 'vagrant ssh', and dont forget to run ooniprobe as root."
 echo "First run: 'sudo ooniprobe -i /usr/share/ooni/decks/fast.deck'"
 
diff --git a/requirements.txt b/requirements.txt
index 3fb0142..719d994 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -8,3 +8,6 @@ txsocksx>=0.0.2
 parsley>=1.1
 scapy-real>=2.2.0-dev
 pypcap>=1.1
+PyDNET
+graphillion
+networkx





More information about the tor-commits mailing list