forked from osmocom/wireshark
DNS: Add DoT ALPN (RFC 7858)
This codepoint was not registered in RFC 7858, but requested later by Jon Reed at 2019-12-12, in "[dns-privacy] ALPN protocol ID for DoT": Tne primary use case we have is supporting both DoT and DoH on port 443, when port 853 is blocked between clients and the servers (this is by mutual agreement, as discussed in RFC 7858 § 3.1). Change-Id: Ic993023eedf6f40565a208033703aa1575710c17 Reviewed-on: https://code.wireshark.org/review/36151 Petri-Dish: Peter Wu <peter@lekensteyn.nl> Tested-by: Petri Dish Buildbot Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
This commit is contained in:
parent
a2530f740d
commit
1403c09105
|
@ -4298,6 +4298,8 @@ proto_reg_handoff_dns(void)
|
|||
gssapi_handle = find_dissector_add_dependency("gssapi", proto_dns);
|
||||
ntlmssp_handle = find_dissector_add_dependency("ntlmssp", proto_dns);
|
||||
ssl_dissector_add(TCP_PORT_DNS_TLS, dns_handle);
|
||||
// RFC 7858 - registration via https://mailarchive.ietf.org/arch/msg/dns-privacy/iZ2rDIhFB2ZWsGC3PcdBVLGa8Do
|
||||
dissector_add_string("tls.alpn", "dot", dns_handle);
|
||||
dtls_dissector_add(UDP_PORT_DNS_DTLS, dns_handle);
|
||||
dissector_add_uint_range_with_preference("tcp.port", DEFAULT_DNS_TCP_PORT_RANGE, dns_handle);
|
||||
dissector_add_uint_range_with_preference("udp.port", DEFAULT_DNS_PORT_RANGE, dns_handle);
|
||||
|
|
Loading…
Reference in New Issue