getsni

package module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 15, 2020 License: BSD-3-Clause Imports: 2 Imported by: 2

README

getsni

A single-purpose library for reading the TLS Server Name Indication.

Build Status

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSNI

func GetSNI(clienthello []byte) (string, error)

GetSNI accepts the beginning of a TLS connection and returns the indicated server name, or an error if the server name was not found. Derived from unmarshal() in crypto/tls.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL