Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/ooni/probe-engine
Semi-automatic export of https://github.com/ooni/probe-cli internals
https://github.com/ooni/probe-engine
Part of https://github.com/ooni/probe-engine/issues/501
We still need to use our vendored mla...
820e69e172832786abfda96da341d3acc26160fe authored over 4 years ago by Simone Basso <[email protected]>Part of https://github.com/ooni/probe-engine/issues/501
0757758db77be750e980ef994ce5e4fd865d7623 authored over 4 years ago by Simone Basso <[email protected]>Part of https://github.com/ooni/probe-engine/issues/268
0fda41ad507df2b471e2f1e071e64a1fbe5116b6 authored over 4 years ago by Simone Basso <[email protected]>Closes https://github.com/ooni/probe-engine/issues/453
d8a4f56d1246366d173e66fb8d137b1deab84cd1 authored over 4 years ago by Simone Basso <[email protected]>
This is wrong because there may be persistent connection that we
may be missing. For this reaso...
1db5f63610272051f7e52609207d4511431a49ed authored over 4 years ago by Simone Basso <[email protected]>
9f9959fcf8aaf4c1364f561b2f32598a1f583147 authored over 4 years ago by Simone Basso <[email protected]>
233cd6285091414c93fb102714c6b7c211354934 authored over 4 years ago by Simone Basso <[email protected]>
This PR implements a drop-in API-and-ABI-compatible replacement for MK that can be used by FFI c...
f0b3aeadfb91489e7d26791948a78d1cd000ab8a authored over 4 years ago by Simone Basso <[email protected]>
This seems more consistent. Making mkcgo conditional on CGO is
a relic of when one needed to di...
Spotted while working on something else.
20f831b14049541aa268642ce9a04b9d891f0df8 authored almost 5 years ago by Simone Basso <[email protected]>* ndt7: add explicit protocol version
Simplifies data analysis wrt to future versions. To tak...
7ac6a379604bba7ec00c24ab87f8739292c3917f authored almost 5 years ago by Simone Basso <[email protected]>* model: let Input be `null` if empty
Part of https://github.com/ooni/probe-engine/issues/423...
72c12b0b81bbbbf814ccec7f75190268a49960f8 authored almost 5 years ago by Simone Basso <[email protected]>Release v0.9.0
8fb409ae4608f74a6468f964a5e62cc5ceb40a6c authored almost 5 years ago by Simone Basso <[email protected]>7f35d86f3d1b99ed93e4f59353d2f3fd2f8ad3bd authored almost 5 years ago by Simone Basso <[email protected]>
e2817eaeb96f2777f9f977c0d9558e742ab16932 authored almost 5 years ago by Simone Basso <[email protected]>
Finalizing https://github.com/ooni/probe-engine/issues/125
f043fd55320fd284d70e8a9a4bb5065499af867a authored almost 5 years ago by Simone Basso <[email protected]>* oonimkall: use bytes measured by the experiment
Part of the work to finally call https://gi...
1f81847e418fb2aa6fc6745f2e24825ccfcd0b9e authored almost 5 years ago by Simone Basso <[email protected]>* engine: use the new httptransport
This allows us to count bytes (https://github.com/ooni/pr...
6f130fd14330662b52dedbfdc845d62d78585654 authored almost 5 years ago by Simone Basso <[email protected]>This seems to happen very often. Add also a test to catch regressions.
Part of https://github...
788368d1aa8780325c2555e130717a94be1ad8ec authored almost 5 years ago by Simone Basso <[email protected]>
This httptransport does not use the context at all, features logging and
bytecounting functiona...
* netx/{dialer,resolver}: introduce independent logger
One of the main points of https://gith...
49845daa87ab8b81cc7def2a7e352ca169ee4898 authored almost 5 years ago by Simone Basso <[email protected]>
The existing transport mechanism is working but it's relying too much
on the context, which is ...
* netx/internal/httptransport: rename before merging packages
Part of https://github.com/ooni...
c2eafb8fedde962323acbcda1bca3f06d70cda0d authored almost 5 years ago by Simone Basso <[email protected]>Part of https://github.com/ooni/probe-engine/issues/359
d6795de255005024f420d60032f8a0fc35c98206 authored almost 5 years ago by Simone Basso <[email protected]>* netx/dialer: finish refactoring
- move policy to netx/dialer.go (i.e. down one level)
- ...
ee52ed81bdee915b807f52c13fdade7ff1ec6a84 authored almost 5 years ago by Simone Basso <[email protected]>Part of https://github.com/ooni/probe-engine/issues/359
97cb90694e21b1d3df6019bbe06598abf52eb2e3 authored almost 5 years ago by Simone Basso <[email protected]>Part of https://github.com/ooni/probe-engine/issues/359
fe5ca538589e3f7204dd632b36544df37569c16b authored almost 5 years ago by Simone Basso <[email protected]>
Let's try and use the context as little as possible as said
in https://github.com/ooni/probe-en...
Part of https://github.com/ooni/probe-engine/issues/359
351f58b114ab7e1c1f87edf7f2771612968eaa71 authored almost 5 years ago by Simone Basso <[email protected]>
Now the netx/resolver folder contains the mechanism. The netx/resolver.go
file instead contains...
Exposing fakes only increases unnecessary coupling between packages.
Part of https://github.c...
6ea02f95c910d14eeee653dfcd5deef49ed9d0c3 authored almost 5 years ago by Simone Basso <[email protected]>Part of https://github.com/ooni/probe-engine/issues/359
dcd735ca29fb488b9419e4ac545aa32d76a5b8a7 authored almost 5 years ago by Simone Basso <[email protected]>* netx/resolver: rename OONI => Serial
This is a more descriptive name for what this resolver...
b24970f7bc154a88382de7caf3ba114b3ec9bcba authored almost 5 years ago by Simone Basso <[email protected]>* netx/resolver: reduce number of pointer receivers
If a struct does not need to be mutable, ...
76d484403a7d7d6c0e872f6afffd92d9b0ba8478 authored almost 5 years ago by Simone Basso <[email protected]>And write true unit tests
Part of https://github.com/ooni/probe-engine/issues/359
9caa2f0648a1262e4a49b82b55233eb78d2a56e4 authored almost 5 years ago by Simone Basso <[email protected]>Part of https://github.com/ooni/probe-engine/issues/359
48717d3696442ea84426aa53177847aceae21c27 authored almost 5 years ago by Simone Basso <[email protected]>Part of https://github.com/ooni/probe-engine/issues/359
e82dcac9bbfec61dfd94b55044505bf9da47e611 authored almost 5 years ago by Simone Basso <[email protected]>998f8ecc6748a8eaa4043ee8b80295803de5cfa1 authored almost 5 years ago by Simone Basso <[email protected]>
netx: refactor doh and dns-over-udp w/ unit tests
6e10fbdd480f3a9606064d85deedf402add44b08 authored almost 5 years ago by Simone Basso <[email protected]>Part of https://github.com/ooni/probe-engine/issues/359
b1bb0d4d9b04ca7fac9ad1da2313f0585c7c1330 authored almost 5 years ago by Simone Basso <[email protected]>Part of https://github.com/ooni/probe-engine/issues/359
2f73887e1f03eba68ad4c2cc4decb421ff296702 authored almost 5 years ago by Simone Basso <[email protected]>refactor(netx/resolver): more consistent System resolver design
96532b0fbd0e035c83772a0ddb71f3d402277643 authored almost 5 years ago by Simone Basso <[email protected]>Part of https://github.com/ooni/probe-engine/issues/359
cf1160365577cdb06b96f14709c4f5111a5a03dc authored almost 5 years ago by Simone Basso <[email protected]>Implement and test several simple resolvers
f225b4efa36527b10f14cf9b3ae5a7dff04a4680 authored almost 5 years ago by Simone Basso <[email protected]>Part of https://github.com/ooni/probe-engine/issues/359
c208771faef928e275c9f529802a797dc40775d6 authored almost 5 years ago by Simone Basso <[email protected]>1. no need to repeat Resolver for what is clearly a resolver
2. no need to use pointer receiver...
e47e7a3fc7088bbc34bebad307c34a6f8741f79d authored almost 5 years ago by Simone Basso <[email protected]>Part of https://github.com/ooni/probe-engine/issues/359
d76ce8a8c63dcca054781c720c1df7d6da4e95ef authored almost 5 years ago by Simone Basso <[email protected]>Part of https://github.com/ooni/probe-engine/issues/359
2988575f2b91454bc1baf51061068ac6b0a18a62 authored almost 5 years ago by Simone Basso <[email protected]>Evolution of the BrokenResolver.
Part of https://github.com/ooni/probe-engine/issues/359
c247d4d43598a94ffa9edeee5ab1068a192f30ab authored almost 5 years ago by Simone Basso <[email protected]>If it needs an interface, let it declare that.
Part of https://github.com/ooni/probe-engine/i...
c1715724ddf6717d6d3b53686435a0d752417c22 authored almost 5 years ago by Simone Basso <[email protected]>netx/resolver: flatten all packages
35ce3949698774e1e82454ac833d1d5670c92d13 authored almost 5 years ago by Simone Basso <[email protected]>Part of https://github.com/ooni/probe-engine/issues/359
bcf0712f0ccae7c88f4107983a3ab9b8f70750a6 authored almost 5 years ago by Simone Basso <[email protected]>Part of https://github.com/ooni/probe-engine/issues/359
39f5dec4d36b4b0f688c62784b54bd350053eff7 authored almost 5 years ago by Simone Basso <[email protected]>c5a052724c17902b5fd638a2aa49b5a0cdec79f3 authored almost 5 years ago by Simone Basso <[email protected]>
Removes a bunch of unused code and tests that are only making the
process of further refactoring...
This is part of the effort to refactor netx.
See https://github.com/ooni/probe-engine/issues/359
a9a1d5d51897b19f0d3424f0e61dab12f099e6df authored almost 5 years ago by Simone Basso <[email protected]>
Here I'm renaming all the resolvers before moving all the possible
resolvers into the `netx/reso...
This will allow me to cherry-pick specific bits of the resolver once
the code has been further r...
Luckily the mechanism for registering a byte counter with the context is
idempotent, so it does...
Usually ErrSomething is the name of an error. So use the ErrorWrapper
prefix rather than ErrWra...
Part of https://github.com/ooni/probe-engine/issues/125
9ea8a2b153b9137fa72e344ed068070ffe278936 authored almost 5 years ago by Simone Basso <[email protected]>
This strategy is like the one adopted by Psiphon where they have
a staging branch into which th...
This ensures we're using the correct string.
Spotted when working on https://github.com/ooni/...
b5f4eb3ec0c6c6868326d355edfd33d24afacf4b authored almost 5 years ago by Simone Basso <[email protected]>For conveniency and similarly to NewTLSDialer.
See https://github.com/ooni/probe-engine/issue...
7fa64e2230c2ffd7a709343536f8601291b1e6b4 authored almost 5 years ago by Simone Basso <[email protected]>Like we do for the dialer. While there:
1. name the tls handshakers like the dialers
2. ma...
5eee29aec652a61a6e5d673f03b23492c19b599a authored almost 5 years ago by Simone Basso <[email protected]>Part of https://github.com/ooni/probe-engine/issues/125
9080bb2729d243fc945429caa47a8b36dc40501d authored almost 5 years ago by Simone Basso <[email protected]>Implements the "interface defined by user" rule.
Part of https://github.com/ooni/probe-engine...
af4d39c2c139c01d559d6dd123e98b0f203e55b2 authored almost 5 years ago by Simone Basso <[email protected]>Part of https://github.com/ooni/probe-engine/issues/125
42989c94ab097275fe22640485de6fe391ef9f48 authored almost 5 years ago by Simone Basso <[email protected]>Part of https://github.com/ooni/probe-engine/issues/125
a82dcf6440a33edf525012cec0404594af417b50 authored almost 5 years ago by Simone Basso <[email protected]>Part of https://github.com/ooni/probe-engine/issues/125
acb6178f44ea0fc9d00aebe42a38b03951a945f1 authored almost 5 years ago by Simone Basso <[email protected]>
This was of computing the ConnID does not assume that we know for sure
the underlying connectio...
When we construct a TLS dialer in netx/dialer.go we're already setting up
everything such that ...
This simplifies further refactoring.
Part of https://github.com/ooni/probe-engine/issues/125
96fea4cba40b0106dd4400b12b849557ecd242ca authored almost 5 years ago by Simone Basso <[email protected]>This is also part of https://github.com/ooni/probe-engine/issues/125
It seems there's some ya...
e1b744f41e9401cd6c4e7c82edc68513d956ec76 authored almost 5 years ago by Simone Basso <[email protected]>
This allows me in the next commits to split dialerbase in a bunch of
smaller and much more inde...
Part of https://github.com/ooni/probe-engine/issues/125
1388acaf52b852f0af9304f08ebb90dd2ca05c80 authored almost 5 years ago by Simone Basso <[email protected]>This is part of https://github.com/ooni/probe-engine/issues/125
a6f4974a4d1604d32071c3db5625908a276b9397 authored almost 5 years ago by Simone Basso <[email protected]>Part of https://github.com/ooni/probe-engine/issues/125
120d44ed9293a8fd32428e50f3c602fd8da3ee90 authored almost 5 years ago by Simone Basso <[email protected]>This is part of a wider effort to:
1. more aggressively use the decorato pattern in the diale...
a51113afa37a0f02e65d33bf36de84ab9a0c0bae authored almost 5 years ago by Simone Basso <[email protected]>
This is part of the plan discussed with @FedericoCeratto
here https://github.com/ooni/probe-eng...
We are not changing the external API dramatically and we would like the
snapshots published at ...
* Reject all MK settings we don't support
Everything that does not matter to the OONI mobile ...
dbb2c73e92226ed3cdc4df9fafe9f2fce0e58c96 authored almost 5 years ago by Simone Basso <[email protected]>54c0fcbb9022da0430482b899a6c991c897885b0 authored almost 5 years ago by Simone Basso <[email protected]>
57693cfcb5e208c4cbdcbd8dde898afdd1e43bf3 authored almost 5 years ago by Simone Basso <[email protected]>
Closes https://github.com/ooni/probe-engine/issues/350
8578ae0bedc2731f76289023de9fa87d6074666a authored almost 5 years ago by Simone Basso <[email protected]>
Experiments still report the bytes sent and received by them. Session
has the whole view and kn...
* Now ndt is an alias for ndt7, introduce ndt5
Since now, if you request for ndt, we will giv...
72996215e2f317229598ee1ac7e4690f3e29c02c authored almost 5 years ago by Simone Basso <[email protected]>* Revert "oonitemplates: remove code causing crash on x86/arm64 (#360)"
This reverts commit 4...
c4f1f285f927b06f76e262ae84b0564d508a2537 authored almost 5 years ago by Simone Basso <[email protected]>1. interrupts experiments that are marked as interruptible (e.g. ndt7)
2. interrupts experime...
f27c4416174be1a40f4509f7449697a623170fe8 authored almost 5 years ago by Simone Basso <[email protected]>* runner: set experiment callbacks
Allow us to count bytes consumed and to see progress from ...
c4b2b64e7adaf050b505e0fa13fb8beb84b4730f authored almost 5 years ago by Simone Basso <[email protected]>
The protocol is simple enough that we can afford that. This reduces the
coupling between our co...
Part of https://github.com/ooni/probe/issues/969
b089e727e4eac485c41a8a28e5ce23dc74b5d14d authored almost 5 years ago by Simone Basso <[email protected]>
While there, cleanup code that was not used inside of a bunch
of unit tests, spotted while work...
I am going to reimplement a bunch of functionality for which we were
using mlab code up until n...
824ff9ddf1c6b52e772b121a667809e177b517a1 authored almost 5 years ago by Simone Basso <[email protected]>
Part of https://github.com/ooni/probe-engine/issues/384.
While there, document the mobile API.
dea2d217f3b3b0d14433e541b7c6ee51dfb779c1 authored almost 5 years ago by Simone Basso <[email protected]>Part of https://github.com/ooni/probe-engine/issues/309
This is the result of a two hours bra...
bb5f4006b62b32bb0842a3a15ddbfff8343fd5f5 authored almost 5 years ago by Simone Basso <[email protected]>
Part of https://github.com/ooni/probe-engine/issues/362. I wish to do
https://github.com/ooni/p...
Closes https://github.com/ooni/probe-engine/issues/288
While there, I figured it made sense t...
e5272b194594d51a0c7ae3fe8655a1100e6cbbcf authored almost 5 years ago by Simone Basso <[email protected]>