Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/ooni/netx
OONI's Go net and net/http extensions for performing network measurements
https://github.com/ooni/netx
c29dee4d3d2bef1a884d9b735073de6a4e95cd3b authored over 5 years ago by Simone Basso <[email protected]>
89c8b4de4290b821a5edbe4063bf6596b84afa6b authored over 5 years ago by Simone Basso <[email protected]>
973fb0a74fdffa8ba233df504a0dc641bf4babe4 authored over 5 years ago by Simone Basso <[email protected]>
ed3b32fff6d144ef3912bb0e02ca7245c0725700 authored over 5 years ago by Simone Basso <[email protected]>
6a79f614a71cb6a370a442925993ee0680fea00d authored over 5 years ago by Simone Basso <[email protected]>
2d2dacd723936cdba049d80f43902d9d9294b92a authored over 5 years ago by Simone Basso <[email protected]>
Same strategy used for other DNS transports. Convince the real Go
resolver that we're an UDP con...
5f966f82ced20fb225f36109537a168c3c264346 authored over 5 years ago by Simone Basso <[email protected]>
With DoT and DNS-over-TCP, we cannot guarantee that we will really
see full messages, even thoug...
09fbf93bb313f7ae255d3a8ede1d15e78d799b99 authored over 5 years ago by Simone Basso <[email protected]>
We create a net.PacketConn like connection and let the Go DNS
client do the encoding and decodin...
3a915d482a1a4bb78c4ab61fcf15b88ab836c388 authored over 5 years ago by Simone Basso <[email protected]>
4a8f38a4f34d22632fac0af909aa7add495d2f16 authored over 5 years ago by Simone Basso <[email protected]>
Since append is a built-in function, a different name may be
helpful. For example, the append me...
be601cbbd293c7a23baa7ab1dd29acbde29eca4a authored over 5 years ago by Simone Basso <[email protected]>
After the previous patch, which paved the way, the only remaining
bit is to use a *tls.Config wi...
89a8b5f9582fae215003e191c536a524cf0326cd authored over 5 years ago by Simone Basso <[email protected]>
There is code in net/http that casts a net.Conn to *tls.Conn to
inspect the ALPN for upgrading t...
f85f6fd6b410d49c1ad7b3c6b4e796c121124e58 authored over 5 years ago by Simone Basso <[email protected]>
Basically, make sure using this code is pleasant and it
does not require one to do too much work.
I think logx is possibly a better name because it does not
conflict with the log package name in...
66ec339361d17a7b9661fc00441bfd0d387c6c7f authored over 5 years ago by Simone Basso <[email protected]>
6703baff1a645b11558e46cab31cbf7f94e3b63d authored over 5 years ago by Simone Basso <[email protected]>
0d4a3f6d2bad89cbc3b03a05f4152b8d397170ec authored over 5 years ago by Simone Basso <[email protected]>
c2a55b4e44432ebb53d775478ad077d6eb1385b9 authored over 5 years ago by Simone Basso <[email protected]>
b5c802c94ddabbb588aee18c6222a4f82cf8f92e authored over 5 years ago by Simone Basso <[email protected]>
That is the more logical place to do tls because doing tls there
allows to wrap tls.Con in a way...
f0373eeea2525c3150af1effd96cde8054adf3f7 authored over 5 years ago by Simone Basso <[email protected]>
This is key to (1) avoid reading the whole request in a single
memory buffer and (2) bind HTTP t...
7cb98d8ebae365e69cee5ebf614eeac6f6ccdec8 authored over 5 years ago by Simone Basso <[email protected]>
1c3f1e6a964a53284fbbcd7cb7162f07568e041a authored over 5 years ago by Simone Basso <[email protected]>
Do not use anything larger than log.DebugLevel because we want to
give ooni/prob-cli freedom to ...
fb3bbe58fda504ae2c5e1fa87390b03763affa0c authored over 5 years ago by Simone Basso <[email protected]>
1f9c7effa5d69331c674ab0a9d565825a77a9909 authored over 5 years ago by Simone Basso <[email protected]>
c82d01a939a0670dbf051932ee7e918ea06b0b67 authored over 5 years ago by Simone Basso <[email protected]>
80189fbf24d3c5e5c6aa413e82bcc2b948e82853 authored over 5 years ago by Simone Basso <[email protected]>
5b0f8a3975e5d08a3190d5603d85b9cb147b5302 authored over 5 years ago by Simone Basso <[email protected]>