Upgrade to Pro — share decks privately, control downloads, hide ads and more …

DNS Related Stuff @ IETF 105

sylph01
September 07, 2019

DNS Related Stuff @ IETF 105

Presented @ DNS-Onsen 6, during "the drunkards LT session"
https://atnd.org/events/107142

sylph01

September 07, 2019
Tweet

More Decks by sylph01

Other Decks in Technology

Transcript

  1. એ఻ "DNSDNS Resolution" ͳΔຊΛॻ͍ٕͯ ज़ॻయ6(ࠓ೥ͷ4݄)ʹ൦෍͠·ͨ͠ DNSʹର͢Δ߈ܸɺDNSϒϩοΩϯάɺ DNSSECɺDNS over TLS/HTTPS͋ͨΓ ͷɺDNSͷηΩϡϦςΟɾϓϥΠόγʔ

    ʹؔΘΔτϐοΫΛѻ͍ͬͯ·͢ ෺ཧ൛͸׬ച͠·͕ͨ͠ݟຊ͸͖࣋ͬͯ ͯ·͢ɻిࢠ൛͸ܧଓͯ͠൦෍த ϚαΧϦ͓଴͍ͪͯ͠·͢
  2. એ఻ͦͷ2 ಉٕ͘͡ज़ॻయ4(ࡢ೥)ʹͯ "Dark Depths of SMTP" ͳΔຊΛग़͠·ͨ͠ ೔ຊޠͷ঎ۀͷSMTPͷຊ͸5೥Ҏ্ग़ͯ ͳ͍ϋζͳͷͰ͜ͷ෼໺ͷوॏͳup-to- dateͳຊͰ͢

    SPF, DKIM, DMARC౳΋౰વΧόʔ͍ͯ͠ ·͢ ͪ͜Β΋෺ཧ൛͸׬ചɺిࢠ൛Λܧଓ͠ ͯ൦෍த ͳ͓౦ํཁૉ͸දࢴ͚ͩͰ͢
  3. Who Is Answering My Queries: Understanding and Characterizing Interception of

    the DNS Resolution Path ύϒϦοΫDNSαʔόʔͱͷ௨৴Λinterceptͯ͠ҟͳΔIPΞυϨε Λฦ͍ͯ͠Δon-path deviceͷଘࡏͱͦͷಛ௃Λେن໛ଌఆʹΑΓ ໌Β͔ʹͨ͠ɺͱ͍͏ݚڀɻ શੈքͰ7.36%ɺதࠃࠃ಺Ͱ17.13%ͷAS͕͜ͷΑ͏ͳinterceptionΛ ߦ͍ͬͯΔͱͷ͜ͱɻ
  4. Who Is Answering My Queries(ry Կ͕ى͜Δ͔͸ https:/ /labs.ripe.net/Members/babak_farrokhi/is- your-isp-hijacking-your-dns-traffic ͷهड़͕Θ͔Γ΍͍͢ɻ

    http:/ /whatismydnsresolver.com/ Ͱࣗ෼ͷ؀ڥʹ͍ͭͯ஌Δ͜ͱ͕ Ͱ͖Δʢ͜Ε͸ݚڀνʔϜ͕༻ҙͨ͠΋ͷʣɻ
  5. Who Is Answering My Queries(ry • Global analysis: TCP SOCKSΛ࢖ͬͨproxy

    networkͰଟ਺ͷIPΞυ Ϩε͔Βͷ௨৴ΛࢼΈΔ • ϞόΠϧϢʔβʔ޲͚ͷωοτϫʔΫσόοάπʔϧΛ։ൃ͠ ͍ͯΔձࣾͱڞಉݚڀɺ͜ΕʹΑͬͯUDPͰͷDNS௨৴΋ଌఆ Մೳʹ
  6. Oblivious DNS: Practical Privacy for DNS Queries ݱߦͷDNSͰ͸recursive resolver͕ϢʔβʔͷϓϥΠόγʔʹؔΘ Δ৘ใͷଟ͘ΛऩूͰ͖ΔɻύϒϦοΫDNS΋τϥετΛ൴Βʹ

    ҕͶΔ͚ͩͰղܾʹͳ͍ͬͯͳ͍ɻ ͜ͷఏҊͰ͸ݱߦͷΠϯϑϥͱޓ׵ੑͷ͋Δํ๏ͰϢʔβʔͷݸ ਓಛఆ৘ใΛΫΤϦ಺༰͔Β෼཭͢Δɺͱ͍͏͜ͱΛࢼΈ͍ͯ Δɻ
  7. Analyzing the Costs (and Benefits) of DNS, DoT, and DoH

    for the Modern Web DoH͕Do53ΑΓ଎͍͜ͱ͕͋ΔɻͳΜͰʁ • DNS wire formatͷHTTP cachingʹΑΔޮՌ • lossy networkͰ͸TCPͷ࠶ૹ੍ޚͷ͓͔͛ͰDoT/DoH > Do53
  8. What Can You Learn from an IP? (Measurement and Optimisation͔Β)

    DNSΫΤϦͷϦΫΤετ/Ϩεϙϯε͸DoH/DoTɺSNI͸Encrypted SNIɺαʔόʔূ໌ॻ͸TLS 1.3Ͱ҉߸Խ͞ΕΔΑ͏ʹͳͬͨɻ߈ܸ ऀ͕ݟΕΔͷ͸IPͷΈɻͰ͸IP͸߈ܸऀʹϢʔβʔಛఆͷͨΊͷ͍ ͔ͳΔ৘ใΛఏڙ͢Δͷ͔ʁ -> ͚ͬ͜͏͍ΖΜͳ͜ͱ͕Θ͔Δɻ rDNSͰ͸େͨ͠৘ใ͕ಘΒΕͳ͍ͷͰɺେن໛ΫϩʔϦϯάͰIP → υϝΠϯͷϚοϐϯάΛ࡞Δɻ
  9. What Can You Learn from an IP? • 47.6%ͷIP͸anonimity set(1

    IPʹର͍͍ͯͭͯ͠ΔυϝΠϯͷू ߹)ͷαΠζ͕1 • ࠷େͷanonimity setͷαΠζ͸16000+ • αΠτϢχʔΫͳIPΞυϨε͸68% • ϖʔδϩʔυ࣌ʹಡΈࠐΉIPΞυϨεͷηοτΛऔಘ͢Δ͜ͱ Ͱ͞ΒʹಛఆΛਐΊΒΕΔ • ରࡦ: ϗεςΟϯάΠϯϑϥͷมߋɻCDNͷIPΞυϨεͷϥϯμ ϜԽͳͲɻ
  10. What Can You Learn from an IP? ݸਓతʹڵຯਂ͍ͱࢥͬͨ͜ͱ͸ʮIPv4ރׇରࡦͷͨΊʹIPv6ɺ SNIཁΒͳ͍ʯΛશྗͰਪ͠ਐΊΔͱAnonimity Set

    1ͷIPΞυϨε ͩΒ͚ʹͳͬͯ͠·͍ɺIPΞυϨεͰͷfingerprinting͕༰қʹͳͬ ͯ͠·͏͜ͱɺ·ͨͦͷͨΊSNIͷॏཁੑ͸IPv4ރׇରࡦΑΓ΋ϓ ϥΠόγʔʹγϑτ͍ͯ͠ΔՄೳੑ͕͋Δɺͱ͍͏͜ͱɻ
  11. interoperable dns server cookies https:/ /datatracker.ietf.org/doc/draft-sury-toorop-dnsop-server- cookies/ DNS Server Cookies͸ʢݶఆతͰ͸͋Δ͕ʣ૿෯߈ܸɺύε֎ͷ

    ΩϟογϡϙΠζχϯάͳͲʹରͯ͠ରࡦΛఏڙ͢Δ࢓૊Έɻຊ ౰ʹ༗༻ʹͳΔͨΊʹ͸ଟ͘ͷαʔόʔ͕ಋೖ͢Δඞཁ͕͋Δɻ Αͬͯ͜ΕΛαʔόʔؒͰinteroperableʹ͍ͨ͠ɻ
  12. HTTPSSVC HTTPS઀ଓͷࡍʹඞཁͳ৘ใΛͻͱ·ͱΊʹͨ͠Ϩίʔυ͕ཉ͠ ͍ • Encrypted SNIͷͨΊͷ伴 (-> ESNI DNSϨίʔυ) •

    HTTP/2͋Δ͍͸HTTP/3Ͱ௨৴ՄೳͰ͋Δͱ͍͏͜ͱΛࣔ͢Alt- svc (-> HTTPϨεϙϯεϔομ౳ʹؚ·ΕΔ) • ...
  13. HTTPSSVC example.com. 2H IN HTTPSSVC 0 0 svc.example.net. svc.example.net. 2H

    IN HTTPSSVC 1 2 svc3.example.net. "hq=\":8003\" \ esnikeys=\"...\"" svc.example.net. 2H IN HTTPSSVC 1 3 svc2.example.net. "h2=\":8002\" \ esnikeys=\"...\"" (subtyping͋Δͷ͸࣮૷্໘౗ͳͷͰ͸…ʁ৽͍͠ϑΥʔϚοτ͕ ௥ՃͰ͖Δͱ͸͍ͬͯ΋ઈରʹαϙʔτ͞Εͳ͍ɻྫͱͯ͠ DNSKEY)
  14. DNS Resolver Information Self-Publication https:/ /datatracker.ietf.org/doc/draft-ietf-dnsop-resolver-information/ looking for WG adoption

    -> WGʹadopt͞Εͨɻ DoHΤϯυϙΠϯτ͕ͲͷΑ͏ʹৼΔ෣͏͔Λࣔ͢৘ใΛඪ४త ͳํ๏Ͱ஌Γ͍ͨɻDNS Resolver͕ͦͷ৘ใΛࣗΒࠂ஌Ͱ͖Δɻ
  15. draft-krecicki-dns-covert-00 "Domain Name System (DNS) Resource Record types for transferring

    covert information from primary to secondaries" ΫΤϦ͞ΕΔ΂͖Ͱͳ͍৘ใ(nsec5 keys, zsk for inline signing, ...)Λ primary͔Βsecondaryʹzone transfer͢ΔͨΊͷํ๏ͷఏҊɻυϝ ΠϯϨίʔυͷಋೖΛఏҊ͍ͯ͠Δ͕ɺͿͬͪΌ͚DNS RRͰ΍Δ ͳɺͱ͍͏ҙݟ͕ڧ͍ɻ
  16. add (Applications Doing DNS) DoH/DoTʹؔ͢Δ͍Ζ͍ΖͳBoFɺͿͬͪΌ͚ͱͬࢄΒ͔ͬͯͨɻ • DoHͷσϓϩΠͲ͏͢΂͖ʁBCP࡞Δʁ • Ͳͷάϧʔϓ͕͜ͷ΁Μ΍Δͷʁ •

    DNSOPͰ΍Εɺ͚ͩͲ͜Εͬͯ"ops"͚ͩͬͨͬ • DNSOP͕࣮࣭DNS WGͱԽͯ͠ΔͷͰϦϑΝΫλϦϯά͕ඞ ཁͳͷͰ͸