package socks

import "github.com/gravitational/teleport/lib/utils/socks"

package socks implements a SOCKS5 handshake.

Index

Functions

func Handshake

func Handshake(conn net.Conn) (string, error)

Handshake performs a SOCKS5 handshake with the client and returns the remote address to proxy the connection to.

Source Files

socks.go

Version
v3.2.17+incompatible (latest)
Published
Feb 4, 2021
Platform
linux/amd64
Imports
7 packages
Last checked
2 weeks ago

Tools for package owners.