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

feat(archival): unconditionally scrub HTTP headers and bodies #1335

Merged
merged 2 commits into from
Sep 28, 2023

Conversation

bassosimone
Copy link
Contributor

@bassosimone bassosimone commented Sep 28, 2023

This commit modifies ArchivalMaybeBinaryData to unconditionally scrub IP addresses and endpoints. It also renames the struct ArchivalScrubbedMaybeBinaryData to underline that it's scrubbing now.

We're using ArchivalScrubbedMaybeBinaryData to represent HTTP headers and bodies collected by OONI measurements.

With this commit merged, I am now much less concerned about the potential unintended effects of aggressively using happy eyeballs, which we started introducing as part of ooni/probe#2531.

In other words, the rest of the refactoring of the OONI bootstrap could proceed a bit faster.

This commit modifies ArchivalMaybeBinaryData to unconditionally
scrub IP addresses and endpoints. It also renames the struct
ArchivalScrubbedMaybeBinaryData to underline that it's scrubbing now.

With this commit merged, I am now much less concerned about the
potential unintended effects of using happy eyeballs as part
of ooni/probe#2531.
@bassosimone bassosimone changed the title feat(archival): scrub HTTP headers and bodies feat(archival): unconditionally scrub HTTP headers and bodies Sep 28, 2023
@bassosimone bassosimone merged commit 7a6fd91 into master Sep 28, 2023
@bassosimone bassosimone deleted the issue/2531 branch September 28, 2023 21:14
Murphy-OrangeMud pushed a commit to Murphy-OrangeMud/probe-cli that referenced this pull request Feb 13, 2024
)

This commit modifies ArchivalMaybeBinaryData to unconditionally scrub IP
addresses and endpoints. It also renames the struct
ArchivalScrubbedMaybeBinaryData to underline that it's scrubbing now.

We're using ArchivalScrubbedMaybeBinaryData to represent HTTP headers
and bodies collected by OONI measurements.

With this commit merged, I am now much less concerned about the
potential unintended effects of aggressively using happy eyeballs, which
we started introducing as part of
ooni/probe#2531.

In other words, the rest of the refactoring of the OONI bootstrap could
proceed a bit faster.
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