<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>takuya_1st</author_name>
  <author_url>https://blog.hatena.ne.jp/takuya_1st/</author_url>
  <blog_title>それマグで！</blog_title>
  <blog_url>https://takuya-1st.hatenablog.jp/</blog_url>
  <categories>
    <anon>dns</anon>
    <anon>doh</anon>
    <anon>nginx</anon>
    <anon>sslh</anon>
  </categories>
  <description>SSLHで dohをさばけない dig DoHでDNS問い合わせがうまく行かないと思って４時間格闘した結果、DoHはdns-cryptなので、純粋なSNI/ALPNではないとわかった。まじかよ。それTLS特定フラグで識別可能じゃん。暗号化解除しなくても止められちゃうじゃん。 色々調べると、DoHにはclient-magic of 0x42.が付与されるっぽい。 https://github.com/yrutschle/sslh/issues/164 &lt;dnscrypt-query&gt; ::= &lt;client-magic&gt; &lt;client-pk&gt; &lt;client-nonce&gt; &lt;encrypted…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakuya-1st.hatenablog.jp%2Fentry%2F2023%2F07%2F11%2F143832&quot; title=&quot;sslhでdohが捌けないのは dns-crypt 特定フラグのせいだった。nginx - それマグで！&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-07-11 14:38:32</published>
  <title>sslhでdohが捌けないのは dns-crypt 特定フラグのせいだった。nginx</title>
  <type>rich</type>
  <url>https://takuya-1st.hatenablog.jp/entry/2023/07/11/143832</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
