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(webconnectivitylte): handle domains w/o A/AAAA records #1473

Merged
merged 8 commits into from
Jan 24, 2024

Conversation

bassosimone
Copy link
Contributor

@bassosimone bassosimone commented Jan 24, 2024

This diff improves webconnectivitylte and minipipeline to correctly handle the case where a website has no configured IP addresses but the domain for the website exists. When this happens, the TH returns no error but an empty list of resolved addresses for historical reasons, while the probe fails with the "dns_no_answer" error. We need to intercept and correctly handle this scenario both for the ordinary analysis and the classic analysis.

Let's also add QA test cases to make sure we don't regress.

Part of ooni/probe#2652.

This diff improves webconnectivitylte and minipipeline to correctly
handle the case where a website has no configured IP addresses but
the domain for the website exists.

Let's also add QA test cases to make sure we don't regress.

Part of ooni/probe#2652.
@bassosimone bassosimone changed the title fix(webconnectivitylte): handle site with no IP addrs fix(webconnectivitylte): handle websites with no configured IP addrs Jan 24, 2024
@bassosimone bassosimone changed the title fix(webconnectivitylte): handle websites with no configured IP addrs fix(webconnectivitylte): handle domains w/o A or AAAA records Jan 24, 2024
@bassosimone bassosimone changed the title fix(webconnectivitylte): handle domains w/o A or AAAA records fix(webconnectivitylte): handle domains w/o A/AAAA records Jan 24, 2024
@bassosimone bassosimone merged commit 2d9d7ba into master Jan 24, 2024
9 of 11 checks passed
@bassosimone bassosimone deleted the issue/2652 branch January 24, 2024 18:02
Murphy-OrangeMud pushed a commit to Murphy-OrangeMud/probe-cli that referenced this pull request Feb 13, 2024
This diff improves webconnectivitylte and minipipeline to correctly
handle the case where a website has no configured IP addresses but the
domain for the website exists. When this happens, the TH returns no
error but an empty list of resolved addresses for historical reasons,
while the probe fails with the `"dns_no_answer"` error. We need to
intercept and correctly handle this scenario both for the ordinary
analysis and the classic analysis.

Let's also add QA test cases to make sure we don't regress.

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