Documentation ¶
Overview ¶
Package socks implemented SOCKS protocol version 4, 4a and 5 (RFC1928).
http://www.openssh.com/txt/socks4.protocol
Index ¶
Constants ¶
View Source
const ( ReplyCode4Granted byte = 0x5A ReplyCode4RejectedOrFailed byte = 0x5B ReplyCode4CannotConnectToIdentd byte = 0x5C ReplyCode4IdentdReportDifferentUserID byte = 0x5D )
View Source
const ( AuthTypeNotRequired byte = 0x00 AuthTypeGSSAPI byte = 0x01 AuthTypeUsernamePassword byte = 0x02 AuthTypeNoAcceptedMethods byte = 0xFF UsernamePasswordStatusSuccess byte = 0x00 UsernamePasswordStatusFailure byte = 0x01 CommandConnect byte = 0x01 CommandBind byte = 0x02 CommandUDPAssociate byte = 0x03 AddressTypeIPv4 byte = 0x01 AddressTypeDomain byte = 0x03 AddressTypeIPv6 byte = 0x04 ReplyCode5Success byte = 0 ReplyCode5Failure byte = 1 ReplyCode5NotAllowed byte = 2 ReplyCode5NetworkUnreachable byte = 3 ReplyCode5HostUnreachable byte = 4 ReplyCode5ConnectionRefused byte = 5 ReplyCode5TTLExpired byte = 6 ReplyCode5Unsupported byte = 7 ReplyCode5AddressTypeUnsupported byte = 8 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.