transparent_udp

package
v0.0.0-...-21adeaf Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2022 License: BSD-2-Clause, BSD-3-Clause Imports: 19 Imported by: 0

Documentation

Overview

Go language Tor Pluggable Transport suite. Works only as a managed client/server.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClientSetup

func ClientSetup(socksAddr string, target string, ptClientProxy *url.URL, names []string, options string) bool

func ServerSetup

func ServerSetup(ptServerInfo pt.ServerInfo, stateDir string, options string) (launched bool, listeners []net.Listener)

Types

type ConnState

type ConnState struct {
	Conn    net.Conn
	Waiting bool
}

func NewConnState

func NewConnState() ConnState

type ConnTracker

type ConnTracker map[string]ConnState

Jump to

Keyboard shortcuts

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