Skip to content
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

fix(enginenetx): use dns policy with proxy (+renames) #1315

Merged
merged 1 commit into from
Sep 26, 2023
Merged

Conversation

bassosimone
Copy link
Contributor

This diff modifies how we construct a *Network to use a very simple DNS-only policy when using a proxy.

We don't need to try anything fancy when we're using a proxy because we assume the proxy knows how to do circumvention and we don't to get in the proxy way.

While there, recognize that the static policy was named very similarly to the stats policy, so rename the former user policy, such that there is more lexicographical difference.

Part of ooni/probe#2531

This diff modifies how we construct a `*Network` to use a very
simple DNS-only policy when using a proxy.

We don't need to try anything fancy when we're using a proxy because we
assume the proxy knows how to do circumvention and we don't to get in
the proxy way.

While there, recognize that the static policy was named very
similarly to the stats policy, so rename the former user policy,
such that there is more lexicographical difference.

Part of ooni/probe#2531
@bassosimone bassosimone changed the title fix(enginenetx): use a simple policy with proxy fix(enginenetx): use dns policy with proxy (+renames) Sep 26, 2023
@bassosimone bassosimone merged commit 8cd35fd into master Sep 26, 2023
7 checks passed
@bassosimone bassosimone deleted the issue/2531 branch September 26, 2023 21:24
Murphy-OrangeMud pushed a commit to Murphy-OrangeMud/probe-cli that referenced this pull request Feb 13, 2024
This diff modifies how we construct a `*Network` to use a very simple
DNS-only policy when using a proxy.

We don't need to try anything fancy when we're using a proxy because we
assume the proxy knows how to do circumvention and we don't to get in
the proxy way.

While there, recognize that the static policy was named very similarly
to the stats policy, so rename the former user policy, such that there
is more lexicographical difference.

Part of ooni/probe#2531
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.

1 participant