crash.software
Projects
Pull Requests
Issues
Builds
tun2socks
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
tun2socks
Files
🤬
Sign In
main
ROOT
/
transport
/
socks4
/
socks4.go
Search
History
128 lines
|
ISO-8859-1
|
2 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
Version
Command
CmdConnect
:
Command
CmdBind
:
Command
Code
RequestGranted
:
Code
RequestRejected
:
Code
RequestIdentdFailed
:
Code
RequestIdentdMismatched
:
Code
errVersionMismatched
errIPv6NotSupported
ErrRequestRejected
ErrRequestIdentdFailed
ErrRequestIdentdMismatched
ErrRequestUnknownCode
ClientHandshake
(rw io.ReadWriter, addr string, command Command, userID string)
:
(err error)
isReservedIP
(ip net.IP)
:
bool
splitHostPort
(addr string)
:
(string, uint16, error)
All occurrences
Please wait...
Page is in error, reload to recover