cshirt2

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2020 License: GPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrAttackDetected = errors.New("active probing attack detected")

ErrAttackDetected denotes an error that can only happen when active probing attempts are made.

View Source
var ErrBadHandshakeMAC = errors.New("bad MAC in handshake")

ErrBadHandshakeMAC denotes a bad handshake mac.

Functions

func Client

func Client(secret []byte, transport net.Conn) (net.Conn, error)

Client negotiates low-level obfuscation as a client. The server secret must be given so that the client can prove knowledge.

func Server

func Server(secret []byte, transport net.Conn) (net.Conn, error)

Server negotiates obfuscation on a network connection, acting as the server. The secret must be provided.

Types

This section is empty.

Jump to

Keyboard shortcuts

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