Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TLSHeaderLength = 5
Functions ¶
func GetExtensionBlock ¶
Given a raw TLS Client Hello, go ahead and find all the Extensions
func GetSNBlock ¶
Given a TLS Extensions data block, go ahead and find the SN block
func GetSNIBlock ¶
Given a Server Name TLS Extension block, parse out and return the SNI * (Server Name Indication) payload
Types ¶
type ClientHello ¶
type ClientHello struct {
Ts time.Time
Host string
Method string
ContentLength int
RequestURI string
StatusCode int
}
func Parse ¶
func Parse(data []byte) (*ClientHello, bool)
func (*ClientHello) GetSearchKey ¶
func (t *ClientHello) GetSearchKey() string
Click to show internal directories.
Click to hide internal directories.