Skip to content

mihi-tr/glasnost

Repository files navigation

Glasnost

Introduction

Glasnost is a measurement lab test that allows users to measure their connection speed and whether their internet provider throttels certain things. see http://measurementlab.net/measurement-lab-tools

The data collected by glasnost if freely available: http://measurementlab.net/data

Requirements

M-lab data

create a virtualenv::

virtualenv env
source env/bin/activate 

Now install the requirements::

pip install -r requirements.txt

Download the geoip database from http://www.maxmind.com/download/geoip/database/GeoLiteCountry/ and edit your settings.py accordingly

Toolchain

Download the glasnost data using gs-util

extract all the datafiles you want to import

run python glasnost.py <dir> where

points to the directory of your logfiles

run python asn.py to do the asn lookups (providers)

run python results.py to calculate the results tables

Frontend

run python create-json.py

rsync the html directory to a server or call python -m SimpleHTTPServer in the directory

About

Parsing and working with the data from the glasnost measurement lab test.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published