Re: [Doh] Running code

Ben Schwartz <bemasc@google.com> Thu, 11 January 2018 20:47 UTC

Return-Path: <bemasc@google.com>
X-Original-To: doh@ietfa.amsl.com
Delivered-To: doh@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B57E612EC41 for <doh@ietfa.amsl.com>; Thu, 11 Jan 2018 12:47:19 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.709
X-Spam-Level:
X-Spam-Status: No, score=-2.709 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hK-NxWW4fUOo for <doh@ietfa.amsl.com>; Thu, 11 Jan 2018 12:47:17 -0800 (PST)
Received: from mail-it0-x22f.google.com (mail-it0-x22f.google.com [IPv6:2607:f8b0:4001:c0b::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4BBA0127444 for <doh@ietf.org>; Thu, 11 Jan 2018 12:47:17 -0800 (PST)
Received: by mail-it0-x22f.google.com with SMTP id p124so6668064ite.1 for <doh@ietf.org>; Thu, 11 Jan 2018 12:47:17 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=J2KEOcotLAookVl/tTF4lOsXx9VIANSSmlEVLTMUtno=; b=g3ey/eF+75+6w/Lz0IJnFAjnKoB4hGGWPuARS1d3dJ5rhKrCXpDR/sd6eAaVjhZb6k QCbH1DXDFdtJf/nUYGnkBBx7gO/xxZYLWkNvm8npD8sDrNkClcUo7X0KQLn5mdl8gCNF oGDAwgMXyH2Pxy+9dGT+YoSnOCFHDcPdTNsJqnZEb+xhf/auwD2ghUEMQx8XPXysxW8f LGm9x8GLhA2ZWYDHLWGB09GXmCO37iz2zj6+/RaTx1+OEJSNvv+5fnz8wBD3JDEiW4Rn 5GusvgK4dxXK2Pwa29g8IuEjmDNbGE2rVKwn0mF8O2OC8zy/nGf6nY9CG7sagNL2tCFj TNYQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=J2KEOcotLAookVl/tTF4lOsXx9VIANSSmlEVLTMUtno=; b=IJXPVB5Da3urld3UfhQqZxKyEcdXupKdmJ/OdVZ9jSzMQR0U+cZTAwcVyaKgB1u4mf YkOGrJF8NJjBqIvReMo/PY5fExpaK4OZgcxJA95Uu617/EdxQgwkqNbcnz5lqZf36QKl rkTiLTurzkRwFa0xLzGzlwWU0GpwPpB2jiNv9b+O4F9lRq3vTTW6MsDoaWaRlyeVoy35 RfAZBIs0C990goBvLwB7VR4xlyXsgQjYcv4KPEWGrFFvCarnkbbcSVU8H8ZNYinx0TxO WEi7nPFGXB4juEUKjggAJ+Y/4xK69KK2/KwRk8vNy79/doI8TQoCjnYCqsh73+aISDdA Sfwg==
X-Gm-Message-State: AKwxytded5OpEOhHqC/Y75D+sKtTAcV93FcdlqQLCuHUhcBV4wvmM4to xyW5CMoSVDUWOFrO8PpDujkEyZphny5az5rWzJBerA==
X-Google-Smtp-Source: ACJfBosp90sWjlVurUWnSs6xM4zj9ekZ7bgDKJKjgdcnb5q0E6mdwTkuoT7O+D4qVvA1zXu/3UZWL8upwo909NnvMYs=
X-Received: by 10.36.114.149 with SMTP id x143mr2841687itc.82.1515703636047; Thu, 11 Jan 2018 12:47:16 -0800 (PST)
MIME-Version: 1.0
Received: by 10.107.160.200 with HTTP; Thu, 11 Jan 2018 12:47:15 -0800 (PST)
In-Reply-To: <CAArYzr+VZvqNH-kCoCtJicOjCTzrGmdzqg-6suVcwqE_5z+B1g@mail.gmail.com>
References: <CAHbrMsAyEA2=RmS3NUSA-agZ5A-vWxE9E0iUMbcLgHQ2S4estA@mail.gmail.com> <CAArYzrK_k+PDPx9GCRbD03P+mdY6fEtKUn-khCHbzj5EQA4Q1A@mail.gmail.com> <CAArYzr+VZvqNH-kCoCtJicOjCTzrGmdzqg-6suVcwqE_5z+B1g@mail.gmail.com>
From: Ben Schwartz <bemasc@google.com>
Date: Thu, 11 Jan 2018 15:47:15 -0500
Message-ID: <CAHbrMsBO1NE6w11_wKC7XT4h1CGWwwQrp_k92NCcQxT0ovyi+w@mail.gmail.com>
To: manu tman <chantr4@gmail.com>
Cc: doh@ietf.org
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="001a11450d60d9d388056286403e"
Archived-At: <https://mailarchive.ietf.org/arch/msg/doh/uPliqiGQGN5kMtuOKSdi9vZaB-s>
Subject: Re: [Doh] Running code
X-BeenThere: doh@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: DNS Over HTTPS <doh.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/doh>, <mailto:doh-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/doh/>
List-Post: <mailto:doh@ietf.org>
List-Help: <mailto:doh-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/doh>, <mailto:doh-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 11 Jan 2018 20:47:20 -0000

Very cool!

On Thu, Jan 11, 2018 at 3:19 PM, manu tman <chantr4@gmail.com>; wrote:

> Hi all,
>
> Following up on Ben's announcement of a "publicly" available DOH server, I
> brushed up some of the work I did during IETF 100 Hackathon and pushed the
> changes to https://github.com/facebookexperimental/doh-proxy . This is
> best effort support, but feel free to file tasks and/or submit PRs.
>
> TL;DR if you have at least python 3.5, you can get the tool from pypi
> directly:
> ```
> pip3 install doh-proxy
> doh-stub  --listen-port 5553 --domain dns.google.com --remote-address
> 216.58.193.78 --uri /experimental
> ```
>
> And the test with `dig @127.0.0.1 -p 5553 ....`
>
> Manu
>
> On Wed, Jan 10, 2018 at 7:26 AM, manu tman <chantr4@gmail.com>; wrote:
>
>> Great stuff!
>>
>> I tried the client and stub I implemented during IETF 100 hackathon [0]
>> against it.
>> After some minor changes (configurable DOH_URI and using ct instead of
>> content-type parameter, the client (which is just performing 1 query) is
>> working, but the stub is not. It seems that aioh2 client is not working
>> correctly with http2 servers in general, not just dns.google.com (other
>> than its own). I will dig into this when times permits and update the code
>> and this list.
>>
>> Manu
>>
>> [0] https://github.com/chantra/doh-proxy
>>
>> On Tue, Jan 9, 2018 at 3:11 PM Ben Schwartz <bemasc@google.com>; wrote:
>>
>>> Hi DOH,
>>>
>>> As a DOH participant, I've been working on an implementation
>>> of draft-ietf-doh-dns-over-https-02, and I'm happy to report that it's
>>> now available at https://dns.google.com/experimental.  For example, you
>>> can test the example from Section 5.2 by running
>>>
>>> wget 'https://dns.google.com/experimental?ct&body=q80BAAABAAAAAAA
>>> AA3d3dwdleGFtcGxlA2NvbQAAAQAB'
>>>
>>> This service is experimental, and is not intended to support a large
>>> volume of queries.  We may make compatibility-breaking changes to keep up
>>> with this working group's drafts, and we will likely shut it down (and move
>>> it to a more permanent path) if and when the working group reaches
>>> consensus on the protocol.
>>>
>>> I hope this service is useful to DOH participants who are working on
>>> clients.  I also hope anyone who encounters a bug in this implementation,
>>> or a deviation from the draft, will let me know.
>>>
>>> --Ben Schwartz
>>> _______________________________________________
>>> Doh mailing list
>>> Doh@ietf.org
>>> https://www.ietf.org/mailman/listinfo/doh
>>>
>>
>