[tor-commits] [ooni-probe/master] Implement retry of director startup with bounded exponential binary backoff

2016-09-19 Thread art
commit 4f80a3bb07df8d742cb79f8ca918734412159422 Author: Arturo Filastò Date: Thu Sep 8 16:17:28 2016 +0200 Implement retry of director startup with bounded exponential binary backoff --- ooni/director.py | 7 +++ ooni/geoip.py | 8 +++- ooni/ui/web/server.py | 29 ++

[tor-commits] [ooni-probe/master] Improve sanity checks on tor_data_dir

2016-09-19 Thread art
commit a731364e988798ebeb12e52eff1b1c11e18cdb2c Author: Arturo Filastò Date: Wed Sep 7 16:49:19 2016 +0200 Improve sanity checks on tor_data_dir --- ooni/utils/onion.py | 40 1 file changed, 36 insertions(+), 4 deletions(-) diff --git a/ooni/utils

[tor-commits] [ooni-probe/master] Don't override the report_id

2016-09-19 Thread art
commit 406c60567a16f6a795602f59c7ec5a1f3e5bcce2 Author: Arturo Filastò Date: Tue Sep 13 17:16:10 2016 +0200 Don't override the report_id --- ooni/reporter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ooni/reporter.py b/ooni/reporter.py index cfdce08..b149d49 1006

[tor-commits] [ooni-probe/master] Bugfix in updater

2016-09-19 Thread art
commit 96c7b6103023f4968141eb707266bf2bfa167368 Author: Arturo Filastò Date: Wed Sep 7 13:36:43 2016 +0200 Bugfix in updater --- data/updater.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/data/updater.py b/data/updater.py index 10086f5..65983aa 100755 --- a/data

[tor-commits] [ooni-probe/master] Check permissions on logfile as well

2016-09-19 Thread art
commit bfc0a51a0b63ceb1d07812f2a7edc6a63847ea90 Author: Arturo Filastò Date: Tue Sep 6 17:09:18 2016 +0200 Check permissions on logfile as well * Handle the case where the measurement directory doesn't exist yet --- ooni/measurements.py | 2 ++ ooni/utils/log.py| 7 --- 2

[tor-commits] [ooni-probe/master] Enable submission of reports when run through the web user interface

2016-09-19 Thread art
commit 2ab3219a6044b27c47dd310c1e6cecec20f006fd Author: Arturo Filastò Date: Tue Sep 13 18:57:03 2016 +0200 Enable submission of reports when run through the web user interface --- ooni/ui/web/server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ooni/ui/web/server

[tor-commits] [ooni-probe/master] Remove outdated comment

2016-09-19 Thread art
commit 0e452b1c70607da8d389988bb72e85b6b229fe4b Author: Arturo Filastò Date: Wed Sep 14 17:11:04 2016 +0200 Remove outdated comment --- ooni/resources.py | 5 - 1 file changed, 5 deletions(-) diff --git a/ooni/resources.py b/ooni/resources.py index f97616c..ac0f967 100644 --- a/ooni/

[tor-commits] [ooni-probe/master] Address feedback from @bassosimone

2016-09-19 Thread art
commit 47b4587d22993343a26aef6eef3667fe959e005e Author: Arturo Filastò Date: Wed Sep 14 17:03:21 2016 +0200 Address feedback from @bassosimone --- Vagrantfile| 5 - data/ooniprobe.conf.sample | 2 +- ooni/agent/scheduler.py| 24 +++- ooni/deck

[tor-commits] [ooni-probe/master] When we talk about time ALWAYS use UTC

2016-09-19 Thread art
commit 46027a39a768efa6beabac9af62765970762f6bf Author: Arturo Filastò Date: Tue Sep 13 13:21:36 2016 +0200 When we talk about time ALWAYS use UTC --- ooni/agent/scheduler.py | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ooni/agent/scheduler.py b/ooni/agent/sch

[tor-commits] [ooni-probe/master] Update updater script

2016-09-19 Thread art
commit 1d5d892181bf06f21b7c8df8566eb0906212382b Author: Arturo Filastò Date: Tue Sep 13 12:32:55 2016 +0200 Update updater script --- data/updater.py | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/data/updater.py b/data/updater.py index 65983aa..f7225dd 100755 -

[tor-commits] [ooni-probe/master] Add some debugging logs to the refresh deck list

2016-09-19 Thread art
commit a3700b5eabd923886f0e6951784196bdc451caaa Author: Arturo Filastò Date: Tue Sep 13 17:20:34 2016 +0200 Add some debugging logs to the refresh deck list --- ooni/agent/scheduler.py | 5 + 1 file changed, 5 insertions(+) diff --git a/ooni/agent/scheduler.py b/ooni/agent/scheduler.

[tor-commits] [ooni-probe/master] Make changes to the updater based on feedback by @bassosimone

2016-09-19 Thread art
commit 45993baf6bf0ae5377dcc9f99d9bf1c19a050b0b Author: Arturo Filastò Date: Thu Sep 15 12:41:42 2016 +0200 Make changes to the updater based on feedback by @bassosimone --- MANIFEST.in | 2 +- data/lepidopter-update.py | 385 ++

[tor-commits] [ooni-probe/master] Force creation of decks-available directory.

2016-09-19 Thread art
commit 28a441b1da39b8b8de28752dcfc0578352f6911c Author: Arturo Filastò Date: Tue Sep 13 15:28:02 2016 +0200 Force creation of decks-available directory. Failing to do so will lead to the decks not being copied over and pip will silently fail. --- setup.py | 19 +++

[tor-commits] [ooni-probe/master] Use is_process_running function in reporter

2016-09-19 Thread art
commit 379533a802272ad34bbd1353493b6d9bf8d8449b Author: Arturo Filastò Date: Fri Sep 16 11:55:57 2016 +0200 Use is_process_running function in reporter --- ooni/reporter.py | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/ooni/reporter.py b/ooni/reporter.py

[tor-commits] [ooni-probe/master] Add keyword arguments to ProbeIP.lookup method

2016-09-19 Thread art
commit 60fd4ec19818f77f68824c59db17739f86c87914 Author: Arturo Filastò Date: Fri Sep 16 11:55:07 2016 +0200 Add keyword arguments to ProbeIP.lookup method --- ooni/geoip.py | 17 ++--- ooni/scripts/oonideckgen.py | 3 +-- 2 files changed, 11 insertions(+), 9 del

[tor-commits] [ooni-probe/master] Add note about locking logic for run() of tasks

2016-09-19 Thread art
commit 6d13ade8bf4faae42e18c4e2c79dc695891d75c4 Author: Arturo Filastò Date: Thu Sep 15 19:39:17 2016 +0200 Add note about locking logic for run() of tasks --- ooni/agent/scheduler.py | 9 + 1 file changed, 9 insertions(+) diff --git a/ooni/agent/scheduler.py b/ooni/agent/schedul

[tor-commits] [ooni-probe/master] Update Changelog and version for 2.0.0-rc.2

2016-09-19 Thread art
commit 1fd8ad6526f4d49ad8bcd387a0d912efff568582 Author: Arturo Filastò Date: Tue Sep 13 12:38:24 2016 +0200 Update Changelog and version for 2.0.0-rc.2 --- ChangeLog.rst| 18 ++ ooni/__init__.py | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/Ch

[tor-commits] [ooni-probe/master] The last runtime should be determined based on the time we started the task

2016-09-19 Thread art
commit 5c0fd074630b7fdd4e066c0b783242880d0838a3 Author: Arturo Filastò Date: Mon Sep 12 14:53:32 2016 +0200 The last runtime should be determined based on the time we started the task --- ooni/agent/scheduler.py | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/o

[tor-commits] [ooni-probe/master] ooniprobe_agent: fix behavior when no command is specified

2016-09-19 Thread art
commit 300660ff9873d45d78e54b4a9c09c7c659afe6f5 Author: Simone Basso Date: Mon Sep 19 11:02:17 2016 +0200 ooniprobe_agent: fix behavior when no command is specified --- ooni/scripts/ooniprobe_agent.py | 21 +++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git

[tor-commits] [ooni-probe/master] Bump to release candidate 3

2016-09-19 Thread art
commit b6b03acf87c44e798480deefd86ce2bb5926b7c0 Author: Arturo Filastò Date: Mon Sep 19 13:38:27 2016 +0200 Bump to release candidate 3 --- ooni/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ooni/__init__.py b/ooni/__init__.py index 20bdef0..41f5c37 10064

[tor-commits] [ooni-probe/master] Move check for running process into utility function

2016-09-19 Thread art
commit 8c3a65edc75e6830f4e5c7a6c2e1afd55851de3e Author: Arturo Filastò Date: Thu Sep 15 16:22:12 2016 +0200 Move check for running process into utility function * More fixes based on review by @bassosimone --- ooni/measurements.py| 18 +++--- ooni/nettest.

[tor-commits] [ooni-probe/master] In virtualenvs the /usr/share path is actually prefix/share/

2016-09-19 Thread art
commit 38775a3d39f598e925170f5f30792a44415a8a74 Author: Arturo Filastò Date: Tue Sep 13 15:41:11 2016 +0200 In virtualenvs the /usr/share path is actually prefix/share/ --- ooni/settings.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/oon

[tor-commits] [ooni-probe/master] Fix cache updating logic.

2016-09-19 Thread art
commit 79ed2a50afc489b925bd6eaa78f1342d60877955 Author: Arturo Filastò Date: Fri Sep 16 17:52:06 2016 +0200 Fix cache updating logic. * Fix typo in comment --- ooni/deck/store.py| 11 --- ooni/ui/web/server.py | 4 ++-- 2 files changed, 10 insertions(+), 5 deletions(

[tor-commits] [ooni-probe/master] Revert "ui/web/server.py: pass binary, not unicode cookies"

2016-09-19 Thread art
commit baee35fe51e70547e6128885ee0a97e1937d95d0 Author: Simone Basso Date: Mon Sep 19 11:37:20 2016 +0200 Revert "ui/web/server.py: pass binary, not unicode cookies" This reverts commit 21548e9f0f53100336ef4f22d423f5f728a117e5 since now Travis is failing for all versions of Twi

[tor-commits] [ooni-probe/master] Bump up the default timeout for tor to 400 seconds

2016-09-19 Thread art
commit 3f25dad2ed4ede50798465eb284dbbc8f52e5ee4 Author: Arturo Filastò Date: Tue Sep 13 17:42:33 2016 +0200 Bump up the default timeout for tor to 400 seconds --- ooni/settings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ooni/settings.py b/ooni/settings.py i

[tor-commits] [ooni-probe/master] Merge pull request #582 from TheTorProject/v2.0.0-alpha

2016-09-19 Thread art
commit 7d5f430becd2372d71c8e5839d32244121dbbe80 Merge: da00195 b6b03ac Author: Simone Basso Date: Mon Sep 19 13:56:08 2016 +0200 Merge pull request #582 from TheTorProject/v2.0.0-alpha V2.0.0 alpha .coveragerc| 2 +- .gitignore

[tor-commits] [ooni-probe/master] Skip tests for http_requests integration tests

2016-09-19 Thread art
commit a89d9124caaac15dd54af44975e6029821c41f78 Author: Arturo Filastò Date: Mon Sep 19 12:43:55 2016 +0200 Skip tests for http_requests integration tests --- ooni/tests/test_oonicli.py | 14 +- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/ooni/tests/test_ooni

[tor-commits] [ooni-probe/master] Revert "Revert "ui/web/server.py: pass binary, not unicode cookies""

2016-09-19 Thread art
commit 897041c08eb6a54e8b181781718412d1500e9800 Author: Simone Basso Date: Mon Sep 19 12:12:42 2016 +0200 Revert "Revert "ui/web/server.py: pass binary, not unicode cookies"" This reverts commit baee35fe51e70547e6128885ee0a97e1937d95d0 because apparently the error was on a unre

[tor-commits] [ooni-probe/master] Bump the timeout value for test_oonicli.

2016-09-19 Thread art
commit 4fd30aab622dcd9dc50311dd8e1ccf58cdafaa87 Author: Arturo Filastò Date: Fri Sep 16 18:23:40 2016 +0200 Bump the timeout value for test_oonicli. Travis has gotten slower or our tests have gotten slower, either way let's increase this to avoid all the annoying transient tra

[tor-commits] [ooni-probe/master] Refactor the pattern for directory creation into a function

2016-09-19 Thread art
commit ba8558514aabc963782688ac694daa196c53dc8d Author: Arturo Filastò Date: Fri Sep 16 12:10:20 2016 +0200 Refactor the pattern for directory creation into a function --- ooni/deck/store.py | 14 -- ooni/resources.py | 16 +--- ooni/scripts/ooni

[tor-commits] [ooni-probe/master] Various code style fixes suggested by @bassosimone

2016-09-19 Thread art
commit 3483c8005ecf8eb0c856f04913f6132f547f2d84 Author: Arturo Filastò Date: Fri Sep 16 11:56:38 2016 +0200 Various code style fixes suggested by @bassosimone --- ooni/reporter.py| 6 +++--- ooni/resources.py | 4 ooni/scripts/ooniprobe.py | 10 +

[tor-commits] [ooni-probe/master] First kill ooniprobe-agent with SIGTERM and then hit it harder with SIGKILL

2016-09-19 Thread art
commit 16fa7de0af33194376ea1da6a8813ffe85d18a81 Author: Arturo Filastò Date: Fri Sep 16 11:57:32 2016 +0200 First kill ooniprobe-agent with SIGTERM and then hit it harder with SIGKILL --- ooni/scripts/ooniprobe_agent.py | 20 1 file changed, 16 insertions(+), 4 deleti

[tor-commits] [ooni-probe/master] The version numbers of oonideckgen, oonireport and ooniresources are now the same of ooniprobe

2016-09-19 Thread art
commit 9f92dc3eefef065ef0be7b577950e2c916f2cc47 Author: Arturo Filastò Date: Fri Sep 16 11:57:02 2016 +0200 The version numbers of oonideckgen, oonireport and ooniresources are now the same of ooniprobe --- ooni/scripts/oonideckgen.py | 4 +--- ooni/scripts/oonireport.py| 3 +-- oo

[tor-commits] [ooni-probe/master] Retry 3 times the http_requests integration tests.

2016-09-19 Thread art
commit 7be2fc5571c9a0c7fa65de70381819f9f458e6fe Author: Arturo Filastò Date: Fri Sep 16 19:19:31 2016 +0200 Retry 3 times the http_requests integration tests. Hopefully this will overcome the transient failures. --- ooni/tests/test_oonicli.py | 13 + 1 file changed, 9

[tor-commits] [ooni-probe/master] Strip the filepath from input_store listing

2016-09-19 Thread art
commit baa505da2dcd2cf69e58fe212a2bc8478cf99617 Author: Arturo Filastò Date: Sun Sep 18 16:41:38 2016 +0200 Strip the filepath from input_store listing --- ooni/deck/store.py| 4 ++-- ooni/ui/web/server.py | 6 -- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/ooni

[tor-commits] [ooni-probe/master] ooni/agent/scheduler.py: fix easter egg date

2016-09-19 Thread art
commit 1b9cb5e63687ca41abadb38282717b63620c719b Author: Simone Basso Date: Mon Sep 19 12:43:07 2016 +0200 ooni/agent/scheduler.py: fix easter egg date --- ooni/agent/scheduler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ooni/agent/scheduler.py b/ooni/agent/schedu

[tor-commits] [ooni-probe/master] ui/web/server.py: pass binary, not unicode cookies

2016-09-19 Thread art
commit 21548e9f0f53100336ef4f22d423f5f728a117e5 Author: Simone Basso Date: Mon Sep 19 11:04:53 2016 +0200 ui/web/server.py: pass binary, not unicode cookies It seems that Twisted has added a function enforcing binary data (not unicode, or str) when sending to the network.

[tor-commits] [ooni-probe/master] Add changelog entry for 2.0.0-rc.3

2016-09-19 Thread art
commit 77c2e0f7f2c1df0d7490d560103ba241c5502c87 Author: Arturo Filastò Date: Mon Sep 19 14:11:00 2016 +0200 Add changelog entry for 2.0.0-rc.3 --- ChangeLog.rst | 5 + 1 file changed, 5 insertions(+) diff --git a/ChangeLog.rst b/ChangeLog.rst index 3c0ecd8..f847675 100644 --- a/Chang

[tor-commits] [collector/master] Split up bridge descriptor tarballs into one per type.

2016-09-19 Thread karsten
commit f608c94c7f731241bf7ee8e627ca1da98c23d858 Author: Karsten Loesing Date: Sun Sep 18 16:09:52 2016 +0200 Split up bridge descriptor tarballs into one per type. --- CHANGELOG.md | 4 src/main/resources/create-tarballs.sh | 26 -- sr

[tor-commits] [collector/master] Sanitize TCP ports in bridge descriptors.

2016-09-19 Thread karsten
commit ecb053899eb965c2778cf05479c26549d67f7956 Author: Karsten Loesing Date: Fri Jun 10 13:28:42 2016 +0200 Sanitize TCP ports in bridge descriptors. Implements #19317. --- CHANGELOG.md | 2 + .../bridgedescs/SanitizedBridgesWriter.java

[tor-commits] [tor/master] Merge remote-tracking branch 'teor/bug20117'

2016-09-19 Thread nickm
commit 144bd86570ee2afc4efd8ecd7c59a65973452064 Merge: b08ddb6 42a74f7 Author: Nick Mathewson Date: Mon Sep 19 14:21:12 2016 -0400 Merge remote-tracking branch 'teor/bug20117' changes/bug20117 | 6 ++ doc/tor.1.txt| 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) __

[tor-commits] [tor/master] Document the default PathsNeededToBuildCircuits value

2016-09-19 Thread nickm
commit 42a74f707c3031dab2aa21983040f58ba7b190e4 Author: teor Date: Fri Sep 9 11:20:20 2016 +1000 Document the default PathsNeededToBuildCircuits value ... when the directory authorities don't set min_paths_for_circs_pct. Fixes bug 20117; bugfix on 02c320916e02 in tor-0.2.4

[tor-commits] [tor/master] Merge remote-tracking branch 'public/aes256'

2016-09-19 Thread nickm
commit af01e8211e08fd418365f66c79a04e0db5a74aaa Merge: 144bd86 6cb9c2c Author: Nick Mathewson Date: Mon Sep 19 14:22:27 2016 -0400 Merge remote-tracking branch 'public/aes256' src/common/aes.c | 28 +-- src/common/aes.h | 3 +- src/common/crypto.c| 98

[tor-commits] [tor/master] Simplify the crypto_cipher_t interface and structure

2016-09-19 Thread nickm
commit ff116b780896bb735f887a669d87694bb6d8a964 Author: Nick Mathewson Date: Fri Sep 16 10:12:30 2016 -0400 Simplify the crypto_cipher_t interface and structure Previously, the IV and key were stored in the structure, even though they mostly weren't needed. The only purpose th

[tor-commits] [tor/master] Remove a needless level of indirection from crypto_cipher_t

2016-09-19 Thread nickm
commit 83129031b1a1a3c719810d30df0e3ec6fa320661 Author: Nick Mathewson Date: Fri Sep 16 10:18:02 2016 -0400 Remove a needless level of indirection from crypto_cipher_t Now that crypto_cipher_t only contains a pointer, it no longer has any reason for an independent existence. --

[tor-commits] [tor/master] In aes.c, support 192-bit and 256-bit keys.

2016-09-19 Thread nickm
commit 981d0a24b81f27a642946648e49b3cadbd0c28b7 Author: Nick Mathewson Date: Fri Sep 16 09:51:51 2016 -0400 In aes.c, support 192-bit and 256-bit keys. Also, change the input types for aes_new_cipher to be unsigned, as they should have been all along. --- src/common/aes.c|

[tor-commits] [tor/master] Add support for AES256 and AES192

2016-09-19 Thread nickm
commit 6cb9c2cf77cc8375f89cc8d625d0b60e292d8160 Author: Nick Mathewson Date: Fri Sep 16 11:21:33 2016 -0400 Add support for AES256 and AES192 (This will be used by prop224) --- src/common/aes.c | 2 +- src/common/crypto.c| 39 +++ src/common/

[tor-commits] [stem/master] Stacktrace when queue module is present

2016-09-19 Thread atagar
commit 03f32518527070f4584aa52b7ce2ea11028cc2ba Author: Damian Johnson Date: Mon Sep 19 22:12:30 2016 -0700 Stacktrace when queue module is present When running with the python 2.x if you have the queue module we use io.StringIO rather than StringIO.StringIO. This causes two of

<    1   2