ooni / ooni/probe

engine: add flag indicating if the probe network has ipv6 connectivity

Open
#2,192 3 comments 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

engine feature
Dominant language
No language data
Stars
919
Forks
150
PR merge metrics
No merged PRs in 30d

Description

It's currently tricky to distinguish inside of tcp_connect measurements if an IPv6 target is unreachable due to it being blocked vs it being unreachable because the probe has no IPv6 connectivity.

I think we should add an initial check to the startup of a probe, when we do geoip lookup and resolver identification, that checks if there is IPv6 connectivity and if not present maybe even disable some measurements (it doesn't make sense to check if an IPv6 address is reachable if we have no working connectivity).

It looks like windows uses these endpoints to check for it:
IPv4: http://www.msftconnecttest.com/connecttest.txt
IPv6: http://ipv6.msftconnecttest.com/connecttest.txt

We could maybe do the same.

This is loosely related to captive portal detection too: https://github.com/ooni/probe/issues/1629

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.