Skip to content

cli: add support for passing proxy command line parameter #981

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Nov 15, 2022

Conversation

hellais
Copy link
Member

@hellais hellais commented Nov 14, 2022

This implements the bare minimum needed to have circumvention proxy support in OONI Probe CLI.

The reference issue is ooni/probe#1955. (Most of that issue is implemented, save for the fact that currently we do not have support for http and https proxies.)

While there, add to Makefile a rule for correctly building ooniprobe and miniooni for "this system" (i.e., the default GOOS and GOARCH on a system), because we needed this for testing this patch and we needed to figure out the commands instead.

@hellais hellais requested a review from bassosimone as a code owner November 14, 2022 14:16
It's sometimes usefult to have rules for building for "this system" (i.e., the
current GOOS/GOARCH) for testing the binary locally or remotely.

Rather than requiring developers to remember the correct way to include the
psiphon config and strip binaries, let's have a rule for that.
@bassosimone bassosimone changed the title Add support for passing proxy command line parameter cli: add support for passing proxy command line parameter Nov 15, 2022
Copy link
Contributor

@bassosimone bassosimone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🐳

@bassosimone bassosimone merged commit d6def35 into master Nov 15, 2022
@bassosimone bassosimone deleted the feature/cli-tunnel branch November 15, 2022 08:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants