Comments (5)
Nice, thank you for pointing this out! It seems we were working in similar directions, in that we're also doing happy eyeballs and trying different strategies and caching what works. I will take a look at your implementation and see what we can learn from it and whether there's code with can integrate (with attribution!) to improve how we're doing. I'd rather avoid adding external dependencies at this time, since we already have significant issues with finding out the right version of packages for all dependencies. Thanks again!
from probe.
The Outline SDK is very lean. We wrote our own code for Shadowsocks, SOCKS5 and Web Proxy. We have very few, small dependencies, and don’t rewrite any dependency, so it shouldn’t give you much trouble.
from probe.
You may want to check out our strategy finder as well:
https://github.com/Jigsaw-Code/outline-sdk/blob/main/x/smart/stream_dialer.go
from probe.
Thank you!
from probe.
I did some more investigation in the OONI implementation.
The transport is injected into the http.Client
in Network.NewHTTPClient
The transport is created in network.NewNetwork
This is where the TLS handshake actually happens: https://github.com/ooni/probe-cli/blob/cd2a9f7f73cd9d16ec1d8fa377bd46396afc26f9/internal/enginenetx/httpsdialer.go#L397
from probe.
Related Issues (20)
- probe-android: Instrumented Tests are not running on CI
- expose openvpn experiment in the experimental card
- deploy probe-services v2 in production HOT 3
- Found Intent-Based Bug HOT 5
- ooniprobe-cli v3.23 release process
- hardcode default OpenVPN endpoints in the openvpn experiment
- Update Tor dirauths HOT 1
- Unable to submit measurement HOT 3
- News Media Scan: iOS version of application
- probe-engine: investigate go toolchain for versioning
- probe-engine: investigate using a stronger random generator to comply with gosec
- publish hashes of android apk signing keys
- Android: QA for release `3.8.9`
- iOS: QA for release `3.8.9`
- Probe-desktop: Integrate engine v3.23.0 into probe-desktop v3.9.8
- Torsf measurements are unusable
- ooni-probe: Add `openvpn` experiment to experimental card. HOT 1
- Pirates
- Android: QA for release 3.9.0
- iOS: QA for release 3.9.0
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from probe.