Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AptyDomainName = byte('\x03')
View Source
var AptyIPV4 = byte('\x01')
ATYP
View Source
var AptyIPV6 = byte('\x04')
View Source
var AuthNo = byte('\x00')
auth
View Source
var AuthUsernamePassword = byte('\x02')
View Source
var CmdConnect = byte('\x01')
command
View Source
var NoAcceptableMethods = byte('\xFF')
View Source
var Pool32K = &bufferPool{freeList: make(chan []byte, 100), size: 32 * 1024}
View Source
var Pool33K = &bufferPool{freeList: make(chan []byte, 100), size: 33 * 1024}
View Source
var ReplySuccess = byte('\x00')
View Source
var Rsv = byte('\x00')
View Source
var Version = byte('\x05')
global
Functions ¶
Types ¶
type EncryptedConn ¶
EncryptedConn is a sort of encrypted connection between socccks-client and socccks-server
func NewEncryptedConn ¶
func NewEncryptedConn(conn net.Conn, password string) *EncryptedConn
type Encryptor ¶
type Encryptor struct {
// contains filtered or unexported fields
}
func NewEncryptor ¶
func (*Encryptor) CFBDecrypter ¶
Click to show internal directories.
Click to hide internal directories.