Skip to content

Instantly share code, notes, and snippets.

Arturo Filastò hellais

View GitHub Profile
View 20190226-cuba-report-measurements.csv
We can make this file beautiful and searchable if this error is corrected: It looks like row 7 should actually have 9 columns, instead of 4. in line 6.
,input,measurement_start_time,http_experiment_failure,blocking,report_id,probe_cc,probe_asn,input_name
14,http://www.therealcuba.com/,2017-05-31 00:43:43,,http-diff,20170531T004025Z_AS27725_hxX2uLGCA4NngoDcAlsNSTjnXZlA3Q5qtejSucNF2gJxz6Kjua,CU,27725,therealcuba.com
20,https://www.cubanet.org/,2017-05-31 00:47:48,response_never_received,http-failure,20170531T004745Z_AS27725_32tEB17Lm9JjVq2xr6jwlEA9LYSbOg7LjuGZZVqzgf0QBi6d8C,CU,27725,cubanet.org (https)
17,http://www.therealcuba.com/,2017-05-31 00:47:58,,http-diff,20170531T004745Z_AS27725_32tEB17Lm9JjVq2xr6jwlEA9LYSbOg7LjuGZZVqzgf0QBi6d8C,CU,27725,therealcuba.com
18,http://www.14ymedio.com/,2017-05-31 00:52:20,,http-diff,20170531T004745Z_AS27725_32tEB17Lm9JjVq2xr6jwlEA9LYSbOg7LjuGZZVqzgf0QBi6d8C,CU,27725,14ymedio.com
19,https://www.cibercuba.com/,2017-05-31 00:53:42,response_never_received,http-failure,20170531T004745Z_AS27725_32tEB17Lm9JjVq2xr6jwlEA9LYSbOg7LjuGZZVqzgf0QBi6d8C,CU,27725,cibercuba.com (https)
21,https://www.cibercuba.com/,2017-05-31 01:08:14,resp
View OONI Run link research.ipynb
View probe-cli-schema.sql
CREATE TABLE `results` (
`id` INTEGER PRIMARY KEY AUTOINCREMENT,
-- This can be one of "websites", "im", "performance", "middlebox".
`test_group_name` VARCHAR(255),
-- We use a different start_time and runtime, because we want to also have
-- data to measure the overhead of creating a report and other factors that
-- go into the test.
-- That is to say: `SUM(runtime) FROM measurements` will always be <=
-- `runtime FROM results` (most times <)
`start_time` DATETIME,
@hellais
hellais / Mining+OONI+Data.ipynb
Created Feb 19, 2018
Mining OONI Data Notebook
View Mining+OONI+Data.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View mk-api-docs.md

Measurement Kit API

This directory contains Measurement Kit API. It is composed of the following C/C++ header files (in alphabetic order):

@hellais
hellais / query.sql
Created Nov 29, 2017
Tor failure rate around the world
View query.sql
SELECT
probe_cc,
probe_asn_count,
success_count,
failure_count,
total_count,
ROUND(
(CAST(success_count AS FLOAT) / CAST(total_count AS FLOAT))::numeric
, 3) AS percentage,
test_runtime_avg
@hellais
hellais / probe_asn_counts.csv
Created Nov 8, 2017
SELECT COUNT(report_id), probe_asn FROM report GROUP BY probe_asn;
View probe_asn_counts.csv
count probe_asn
2 2848
112 32780
763 30873
4 25643
2 48023
3 61145
7 33785
92 31252
30 4323
View vanilla_tor-runtime-dump-20171014.csv
We can't make this file beautiful and searchable because it's too large.
test_runtime,report_id,probe_cc,probe_asn,test_name,test_start_time
5.747074,20170426T005821Z_AS35141_pVtxTOYaSA9s5eDz5ObNHwVI5mgLoFezA9yRI6qu62vbWmrlt5,BG,35141,vanilla_tor,2017-04-26 06:58:21.000000
44.195904,20170426T012318Z_AS45595_KEh7Zf0st0juaDbebp77J5rziT277Mec1f3HP5Mhy910XbUcqo,PK,45595,vanilla_tor,2017-04-26 07:23:16.000000
65.92859,20170426T090656Z_AS17974_IaxB7EKscRgAMk4eZYBMc3233dLJvkG6xYo7dNZE53uh9z3I0v,ID,17974,vanilla_tor,2017-04-26 15:06:55.000000
4.9648743,20170426T092402Z_AS15557_pWDzGILzls0F0rqopVvAXNcAnXtR5St1HNCzUIH3WpprbO0RzB,FR,15557,vanilla_tor,2017-04-26 15:24:05.000000
10.37127,20170426T104928Z_AS0_UNWhg8vpY7vgEYewOedVNLbXJZcCP0WuwCbnMeFdlSbrsLQWsR,ZZ,0,vanilla_tor,2017-04-26 16:49:28.000000
10.554186,20170426T110311Z_AS1267_ijN4eJJAAxfZ57ONAPjs3Ct63BBkM4ojRls67emiWkDbK5jAQJ,IT,1267,vanilla_tor,2017-04-26 17:03:11.000000
8.645699,20170426T174451Z_AS1267_yZ7NZFkNMqKO2gKh3SwPu81Sn248jXlN0FL2rPcCU24BFJOVBq,IT,1267,vanilla_tor,2017-04-26 23:44:51.000000
@hellais
hellais / instructions.md
Last active Jul 20, 2017
ooniprobe custom deck
View instructions.md

How to setup custom decks

1. Discover where the deck should be written to by running:*

$ ooniprobe --info

(The path you care about is the one for "decks available directory")

View keybase.md

Keybase proof

I hereby claim:

  • I am hellais on github.
  • I am hellais (https://keybase.io/hellais) on keybase.
  • I have a public key ASBedJ38ARWbpirB4XyaDdcTngu8LURz57-tUUscmn-4zAo

To claim this, I am signing this object:

You can’t perform that action at this time.