Giter Site home page Giter Site logo

odoh-client-go's Introduction

odoh-client-go

odoh-client is a command line interface as a client for making Oblivious DNS-over-HTTPS queries. The implementation is based on chris-wood/odoh-client.

It currently supports the following functionalities:

  • DoH Query: odoh-client doh --domain www.cloudflare.com. --dnstype AAAA --target <target> where <target> is the name of the target resolver, e.g., odoh.cloudflare-dns.com.
  • ODoH Query: odoh-client odoh --domain www.cloudflare.com. --dnstype AAAA --target <target>
  • ODoH Query via Proxy: odoh-client odoh --domain www.cloudflare.com. --dnstype AAAA --target <target> --proxy <proxy> where <proxy> is the name of a proxy server.

Usage

To build the executable, do:

go build -o odoh-client ./cmd/...

DoH query to target

./odoh-client doh --domain www.cloudflare.com. --target odoh.cloudflare-dns.com --dnstype AAAA

ODoH query to target

./odoh-client odoh --domain www.cloudflare.com. --dnstype AAAA --target odoh.cloudflare-dns.com

ODoH query to target via a proxy

./odoh-client odoh --domain www.cloudflare.com. --dnstype AAAA --target odoh.cloudflare-dns.com --proxy odoh1.surfdomeinen.nl

Fetch ODoH configuration

./odoh-client odohconfig-fetch --target odoh.cloudflare-dns.com --pretty

Note

This tool includes a sub command for benchmarking various protocols and has been used for performing measurements presented in this arxiv paper. There are also traces of telemetry which are used for the same purpose in an effort to reproduce the results of the paper.

odoh-client-go's People

Contributors

chris-wood avatar cjpatton avatar kimbo avatar sudheesh001 avatar tanyav2 avatar xhdix avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

odoh-client-go's Issues

target provided no odoh configs

Why do I get this error: target provided no odoh configs

This is what I tried.

./odoh-client odohconfig-fetch --target odoh.cloudflare-dns.com --pretty

./odoh-client odoh --domain www.cloudflare.com. --dnstype AAAA --target odoh.cloudflare-dns.com --proxy odoh1.surfdomeinen.nl

--
It does not work. I get this error: target provided no odoh configs

Please help. Thanks.

bench command not working

Looks bench command is defunct:

Please make bench command working locally with optional usage of Elasticsearch or Google Cloud for submitting results.

Errors during "go build -o odoh-client ./cmd/..."

I am seeing below errors on my ubuntu machine

root@doh-client:~/odoh-client-go# go build -o odoh-client ./cmd/...
cmd/odoh-client.go:9:2: cannot find package "github.com/cloudflare/odoh-client-go/commands" in any of:
/usr/src/github.com/cloudflare/odoh-client-go/commands (from $GOROOT)
/root/go/src/github.com/cloudflare/odoh-client-go/commands (from $GOPATH)
cmd/odoh-client.go:10:2: cannot find package "github.com/urfave/cli" in any of:
/usr/src/github.com/urfave/cli (from $GOROOT)
/root/go/src/github.com/urfave/cli (from $GOPATH)

cant build client/go cant import X448

Hi, :-)

while trying to build the odoh-client I got this error as the server sends a certificate for sekigahara.schwanenlied.me instead of git.schwanenlied.me:

go build -o odoh-client ./cmd/...
go: finding git.schwanenlied.me/yawning/x448.git v0.0.0-20170617130356-01b048fb03d6
go: git.schwanenlied.me/yawning/[email protected]: git fetch -f git://git.schwanenlied.me/yawning/x448 refs/heads/:refs/heads/ refs/tags/:refs/tags/ in /home/pi/go/pkg/mod/cache/vcs/8152cd180220565c544ca8181542f7a915d0f83fdee0b4dba3e1051502d96d0a: exit status 128:

It turns out, the developer "yawning angel" does not self-host X448 anymore. In a recent e-mail he responded:

"I gave up on self-hosting git repositories a while ago, and the git CNAME shouldn't even exist anymore.
The correct fix here is to get the package to update their import path (the canonical location for what
they are using is "gitlab.com/yawning/x448.git")."

Could you follow his hint and update the import path for X448? And by the way, the build of the odoh-server breaks for the same reason.

Thank you for any help,

dzhub

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.