crash.software
Projects
Pull Requests
Issues
Builds
SeaMoon
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
SeaMoon
Files
🤬
Sign In
ff358b7c
ROOT
/
pkg
/
network
/
socks5.go
Search
History
597 lines
|
ISO-8859-1
|
11 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
AddrIPv4
:
uint8
AddrDomain
AddrIPv6
SOCKS5Version
SOCKS5UserPassVer
MethodNoAuth
:
uint8
MethodGSSAPI
MethodUserPass
MethodNoAcceptable
:
uint8
SOCKS5CmdConnect
:
uint8
SOCKS5CmdBind
SOCKS5CmdUDP
SOCKS5CmdUDPOverTCP
SOCKS5RespSucceeded
:
uint8
SOCKS5RespFailure
SOCKS5RespAllowed
SOCKS5RespNetUnreachable
SOCKS5RespHostUnreachable
SOCKS5RespConnRefused
SOCKS5RespTTLExpired
SOCKS5RespCmdUnsupported
SOCKS5RespAddrUnsupported
smallSize
largeSize
ReadMethods
(r io.Reader)
:
([]uint8, error)
WriteMethod
(method uint8, w io.Writer)
:
error
WriteMethods
(methods []uint8, w io.Writer)
:
error
UserPassRequest
Version
:
byte
Username
:
string
Password
:
string
NewUserPassRequest
(ver byte, u, p string)
:
*UserPassRequest
ReadUserPassRequest
(r io.Reader)
:
(*UserPassRequest, error)
UserPassResponse
Version
:
byte
Status
:
byte
NewUserPassResponse
(ver, status byte)
:
*UserPassResponse
ReadUserPassResponse
(r io.Reader)
:
(*UserPassResponse, error)
SOCKS5Request
Cmd
:
uint8
Addr
:
*Addr
NewSOCKS5Request
(cmd uint8, addr *Addr)
:
*SOCKS5Request
ReadSOCKS5Request
(r io.Reader)
:
(*SOCKS5Request, error)
Reply
Rep
:
uint8
Addr
:
*Addr
NewReply
(rep uint8, addr *Addr)
:
*Reply
ReadReply
(r io.Reader)
:
(*Reply, error)
UDPHeader
Rsv
:
uint16
Frag
:
uint8
Addr
:
*Addr
NewUDPHeader
(rsv uint16, frag uint8, addr *Addr)
:
*UDPHeader
UDPDatagram
Header
:
*UDPHeader
Data
:
[]byte
NewUDPDatagram
(header *UDPHeader, data []byte)
:
*UDPDatagram
ReadUDPDatagram
(r io.Reader)
:
(*UDPDatagram, error)
*UserPassRequest
Write
(w io.Writer)
:
error
String
()
:
string
*UserPassResponse
Write
(w io.Writer)
:
error
String
()
:
string
*SOCKS5Request
Write
(w io.Writer)
:
(err error)
String
()
:
string
*Reply
Write
(w io.Writer)
:
(err error)
String
()
:
string
*UDPHeader
Write
(w io.Writer)
:
error
String
()
:
string
*UDPDatagram
Write
(w io.Writer)
:
error
All occurrences
Please wait...
Page is in error, reload to recover