sshproxy

package module
v0.0.0-...-a58f059 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2017 License: MIT Imports: 13 Imported by: 0

README

sshproxy

SSH based proxying (Proxy mix cascade)

This code is still subject to changes. Purely experimental.

For the production version, look at: https://github.com/mad-day/sshproxy

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Level int = 4

Functions

func Add

func Add(c *Client)

func DevNullChannel

func DevNullChannel(nc <-chan ssh.NewChannel)

func DevNullRequest

func DevNullRequest(reqs <-chan *ssh.Request)

func Dial

func Dial(netw, addr string) (net.Conn, error)

func Handle

func Handle(conn ssh.Conn, nc <-chan ssh.NewChannel, reqs <-chan *ssh.Request)

func Resolve

func Resolve(name string) (net.IP, error)

Types

type Client

type Client struct {
	Client ssh.ClientConfig
	Net    string
	Addr   string
	// contains filtered or unexported fields
}

Directories

Path Synopsis
SOCKS 5 binding for sshproxy.
SOCKS 5 binding for sshproxy.
Multi-Hop Anonymization Protocol for one connection.
Multi-Hop Anonymization Protocol for one connection.

Jump to

Keyboard shortcuts

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