MCPcopy Create free account

hub / github.com/armon/go-socks5 / functions

Functions47 in github.com/armon/go-socks5

↓ 29 callersMethodWrite
([]byte)
request.go:85
↓ 10 callersFunctionsendReply
sendReply is used to send a reply message
request.go:307
↓ 5 callersFunctionNew
New creates a new Server and potentially returns an error
socks5.go:61
↓ 5 callersMethodauthenticate
authenticate is used to handle connection authentication
auth.go:113
↓ 3 callersMethodAllow
(ctx context.Context, req *Request)
ruleset.go:9
↓ 3 callersMethodAllow
(ctx context.Context, req *Request)
ruleset.go:30
↓ 3 callersFunctionNewRequest
NewRequest creates a new Request from the tcp connection
request.go:90
↓ 3 callersMethodValid
(user, password string)
credentials.go:11
↓ 3 callersMethodhandleRequest
handleRequest is used for request processing after authentication
request.go:119
↓ 2 callersFunctionPermitAll
PermitAll returns a RuleSet which allows all types of connections
ruleset.go:13
↓ 2 callersFunctionproxy
proxy is used to suffle data from src to destination, and sends errors down a dedicated channel
request.go:358
↓ 1 callersMethodAddress
Address returns a string suitable to dial; prefer returning IP-based address, fallback to FQDN
request.go:60
↓ 1 callersMethodAuthenticate
(reader io.Reader, writer io.Writer)
auth.go:34
↓ 1 callersMethodCloseWrite
()
request.go:353
↓ 1 callersMethodGetCode
()
auth.go:35
↓ 1 callersMethodListenAndServe
ListenAndServe is used to create a listener and serve on it
socks5.go:100
↓ 1 callersFunctionPermitNone
PermitNone returns a RuleSet which disallows all types of connections
ruleset.go:18
↓ 1 callersMethodRemoteAddr
()
request.go:86
↓ 1 callersMethodResolve
(ctx context.Context, name string)
resolver.go:11
↓ 1 callersMethodResolve
(ctx context.Context, name string)
resolver.go:17
↓ 1 callersMethodRewrite
(ctx context.Context, request *Request)
request.go:40
↓ 1 callersMethodServe
Serve is used to serve connections from a listener
socks5.go:109
↓ 1 callersMethodServeConn
ServeConn is used to serve a single connection.
socks5.go:121
↓ 1 callersMethodString
()
request.go:51
↓ 1 callersMethodValid
(user, password string)
credentials.go:5
↓ 1 callersMethodhandleAssociate
handleAssociate is used to handle a connect command
request.go:236
↓ 1 callersMethodhandleBind
handleBind is used to handle a connect command
request.go:217
↓ 1 callersMethodhandleConnect
handleConnect is used to handle a connect command
request.go:159
↓ 1 callersFunctionnoAcceptableAuth
noAcceptableAuth is used to handle when we have no eligible authentication mechanism
auth.go:134
↓ 1 callersFunctionreadAddrSpec
readAddrSpec is used to read AddrSpec. Expects an address type byte, follwed by the address and port
request.go:256
↓ 1 callersFunctionreadMethods
readMethods is used to read the number of methods and proceeding auth methods
auth.go:141
MethodAuthenticate
(reader io.Reader, writer io.Writer)
auth.go:45
MethodAuthenticate
(reader io.Reader, writer io.Writer)
auth.go:60
MethodGetCode
()
auth.go:41
MethodGetCode
()
auth.go:56
MethodRemoteAddr
()
request_test.go:22
FunctionTestDNSResolver
(t *testing.T)
resolver_test.go:9
FunctionTestNoAuth
(t *testing.T)
auth_test.go:8
FunctionTestNoSupportedAuth
(t *testing.T)
auth_test.go:94
FunctionTestPasswordAuth_Invalid
(t *testing.T)
auth_test.go:67
FunctionTestPasswordAuth_Valid
(t *testing.T)
auth_test.go:29
FunctionTestPermitCommand
(t *testing.T)
ruleset_test.go:9
FunctionTestRequest_Connect
(t *testing.T)
request_test.go:26
FunctionTestRequest_Connect_RuleFail
(t *testing.T)
request_test.go:101
FunctionTestSOCKS5_Connect
(t *testing.T)
socks5_test.go:14
FunctionTestStaticCredentials
(t *testing.T)
credentials_test.go:7
MethodWrite
(b []byte)
request_test.go:18