Skip to content

Instantly share code, notes, and snippets.

@helb
Created May 27, 2019 14:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save helb/7bc648d15d22ae68921b06dff9ce2ab5 to your computer and use it in GitHub Desktop.
Save helb/7bc648d15d22ae68921b06dff9ce2ab5 to your computer and use it in GitHub Desktop.
DoH odvr vs google
* Trying 2a00:1450:4014:800::200e:443...
* TCP_NODELAY set
* Connected to dns.google.com (2a00:1450:4014:800::200e) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
* CAfile: /etc/ssl/certs/ca-certificates.crt
CApath: /etc/ssl/certs
} [5 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [212 bytes data]
* TLSv1.2 (IN), TLS handshake, Server hello (2):
{ [100 bytes data]
* TLSv1.2 (IN), TLS handshake, Certificate (11):
{ [3217 bytes data]
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
{ [116 bytes data]
* TLSv1.2 (IN), TLS handshake, Server finished (14):
{ [4 bytes data]
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
} [37 bytes data]
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
} [1 bytes data]
* TLSv1.2 (OUT), TLS handshake, Finished (20):
} [16 bytes data]
* TLSv1.2 (IN), TLS handshake, Finished (20):
{ [16 bytes data]
* SSL connection using TLSv1.2 / ECDHE-ECDSA-CHACHA20-POLY1305
* ALPN, server accepted to use h2
* Server certificate:
* subject: C=US; ST=California; L=Mountain View; O=Google LLC; CN=*.google.com
* start date: May 7 11:29:56 2019 GMT
* expire date: Jul 30 10:54:00 2019 GMT
* issuer: C=US; O=Google Trust Services; CN=Google Internet Authority G3
* SSL certificate verify ok.
* Using HTTP2, server supports multi-use
* Connection state changed (HTTP/2 confirmed)
* Copying HTTP/2 data in stream buffer to connection buffer after upgrade: len=0
} [5 bytes data]
* Using Stream ID: 1 (easy handle 0x56059560e2b0)
} [5 bytes data]
> GET /experimental?dns=AAAAAAABAAAAAAAAA25pYwJjegAAAQAB HTTP/2
> Host: dns.google.com
> User-Agent: curl/7.65.0
> accept: application/dns-message
>
{ [5 bytes data]
* Connection state changed (MAX_CONCURRENT_STREAMS == 100)!
} [5 bytes data]
< HTTP/2 200
< strict-transport-security: max-age=31536000; includeSubDomains; preload
< access-control-allow-origin: *
< date: Mon, 27 May 2019 13:57:38 GMT
< expires: Mon, 27 May 2019 13:57:38 GMT
< cache-control: private, max-age=1595
< content-type: application/dns-message
< server: HTTP server (unknown)
< content-length: 40
< x-xss-protection: 0
< x-frame-options: SAMEORIGIN
< alt-svc: quic=":443"; ma=2592000; v="46,44,43,39"
<
{ [5 bytes data]
* Connection #0 to host dns.google.com left intact
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment