proxy

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SSHServer

type SSHServer struct {
	// contains filtered or unexported fields
}

SSHServer is a SOCKS5 proxy that tunnels connections through SSH over slipstream.

func NewSSHServer

func NewSSHServer(listenAddr string, bufferSize int, maxConns int, mgr *engine.Manager, bal balancer.Balancer, umgr *users.Manager) *SSHServer

func (*SSHServer) Close

func (s *SSHServer) Close()

func (*SSHServer) ListenAndServe

func (s *SSHServer) ListenAndServe() error

type Server

type Server struct {
	// contains filtered or unexported fields
}

Server is a SOCKS5 proxy with optional user auth, load balancing across instances.

func NewServer

func NewServer(listenAddr string, bufferSize int, maxConns int, mgr *engine.Manager, bal balancer.Balancer, umgr *users.Manager) *Server

func (*Server) ActiveConnections

func (s *Server) ActiveConnections() int64

func (*Server) ListenAndServe

func (s *Server) ListenAndServe() error

Jump to

Keyboard shortcuts

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