Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions analyzer/internal/tls.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ const (
extServerName = 0x0000
extALPN = 0x0010
extSupportedVersions = 0x002b
extEncryptedServerName = 0xffce
extEncryptedClientHello = 0xfe0d
)

Expand Down Expand Up @@ -216,6 +217,8 @@ func parseTLSExtensions(extType uint16, extDataBuf *utils.ByteBuffer, m analyzer
}
m["supported_versions"] = versions
}
case extEncryptedServerName:
m["esni"] = true
case extEncryptedClientHello:
// We can't parse ECH for now, just set a flag
m["ech"] = true
Expand Down