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

Add ddr experiment #1675

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Add ddr experiment #1675

wants to merge 2 commits into from

Conversation

frcroth
Copy link

@frcroth frcroth commented Dec 19, 2024

Checklist

  • I have read the contribution guidelines
  • reference issue for this pull request: New experiment request: DDR queries probe#2819
  • if you changed anything related to how experiments work and you need to reflect these changes in the ooni/spec repository, please link to the related ooni/spec pull request: See description
  • if you changed code inside an experiment, make sure you bump its version number

Description

As described here: ooni/probe#2819, I would be interested to run experiments of the DDR protocol (RFC 9462). This experiment uses the system resolver, as I am interested in whether the local system resolvers support this protocol (we have already conducted tests using zmap from one vantage point).

To get the system resolver I am checking /etc/resolve, it should also be possible by querying using the default DNS provider and checking the answer or config, however I did not get this to work.

I have no idea about what the spec should look like. Right now I just put the DDR responses as JSON objects into the testkeys. If that is not supported because it could violate the spec, it would also be possible to just insert the string / do some parsing here to get some more useful information (e.g. if DoT or DoH is supported, what the target is...)

TODOs

  • Testing
  • PR for spec

@frcroth frcroth marked this pull request as ready for review December 19, 2024 15:06
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