Skip to content

Commit

Permalink
Merge pull request #2 from Kkevsterrr/lvalenta/fix-ech-extension
Browse files Browse the repository at this point in the history
Use correct TLS extension for ECH
  • Loading branch information
lukevalenta committed Nov 10, 2020
2 parents dbaed84 + bc69e3c commit a04393d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions layers/tls_handshake.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@ const (

// TLS extension numbers
const (
extensionServerName uint16 = 0
extensionEncryptedClientHello uint16 = 0xff02
extensionServerName uint16 = 0
// https://tlswg.org/draft-ietf-tls-esni/draft-ietf-tls-esni.html
extensionEncryptedClientHello uint16 = 0xfe08
)

// TLSHandshakeRecord defines the structure of a Handshare Record
Expand Down

0 comments on commit a04393d

Please sign in to comment.