1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-09 14:11:29 +00:00

Update ALPN protos

This commit is contained in:
dmiller
2017-10-30 17:27:45 +00:00
parent e2ea8b8587
commit 6f5cd7465b

View File

@@ -157,6 +157,7 @@ end
action = function(host, port) action = function(host, port)
local alpn_protos = { local alpn_protos = {
-- IANA-registered names
"http/1.1", "http/1.1",
"spdy/1", "spdy/1",
"spdy/2", "spdy/2",
@@ -164,13 +165,15 @@ action = function(host, port)
"stun.turn", "stun.turn",
"stun.nat-discovery", "stun.nat-discovery",
"h2", "h2",
"h2c", "h2c", -- should never be negotiated over TLS
"webrtc", "webrtc",
"c-webrtc", "c-webrtc",
"ftp", "ftp",
"imap", "imap",
"pop3", "pop3",
"managesieve", "managesieve",
-- Other sources
"grpc-exp", -- gRPC, see grpc.io
} }
local chosen = {} local chosen = {}