-
Notifications
You must be signed in to change notification settings - Fork 54
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(oohelperd): measure TLS for :443 endpoints #886
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. use a 4 seconds timeout for the DNS lookup; 2. use a 10 seconds timeout for TCP; 3. use a 15 seconds timeout for HTTP.
This diff refactors the oohelperd such that we wait for the DNS to complete before actually measuring endpoints. This change will come in handy soon when we'll merge endpoints provided by the client with endpoints resolved by the TH.
Rather than constraining on the expected maximum size, just drain the channel until it becomes empty.
Conflicts: internal/cmd/oohelperd/measure.go internal/cmd/oohelperd/tcpconnect.go
bassosimone
changed the title
feat(oohelperd): introduce TLS measurements
feat(oohelperd): measure TLS for :443 endpoints
Aug 28, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Checklist
Description
This pull request originally contained misc improvements to the TH that will allow us to collect better measurements. Even without deploying a new web connectivity, just the availability of this data in the results will increase clarity.
The plan is to go through these changes, format them as self-contained and fully tested patches and merge them.
After we've done that, we'll probably need to perform some canary testing of the new TH implementation.
We also need to create relevant issues for this work.
At the time of merging, most of the original context of this pull request was merged separately, such that, at the end, it only contained code for performing optional TLS measurements inside
oohelperd
.