Commit Graph

27 Commits (fc6f0a9ee1f41bda6825bcdf8372db4b8110211d)
 

Author SHA1 Message Date
fangdingjun fc6f0a9ee1 return err on Serve instead of log.Print
fangdingjun 0477b2d842 use t.Log instead of log.Print in test
fangdingjun 15d133571f add auth service to auth user for socks5
fangdingjun ba7b21d915 fix typo
Dingjun d2d0b77231 update doc
Dingjun 1ff9df1ae0 refine the code
read all data at once
allocate byte buffer once
reply a error to client when connect to remote failed, instead of
connection reset
socks4/5 use the same data exchange method
Dingjun 1b11369965 export DialFunc
fangdingjun 1d2a1a1d6d add Dail function for client connection
fangdingjun 350bb52c32 Merge branch 'master' of github.com:fangdingjun/socks-go
fangdingjun 9c3def8cdb go vet
Dingjun 6635d0746a Update README.md
fangdingjun d6a97c0a75 add client example
fangdingjun 3e9159571a golint: change SocksConn to Conn
fangdingjun 4094a344ef add socks client support
fangdingjun 14c964c1c2 Merge branch 'master' of https://github.com/fangdingjun/socks-go
Dingjun 63f16e0188 add password auth for socks5
fangdingjun 54b53f1f16 change mode
fangdingjun afbf42b5c0 Merge branch 'master' of https://github.com/fangdingjun/socks-go
Dingjun f624794388 add protocol data format
Dingjun a05b5b5ab9 fix mis-typed dash
Dingjun 8a138fb3db minor changes
add some comments
fix some wrong format
change the method of forward finish check
Dingjun 811a67f289 fix field name typo
Dingjun cdfc17d24a golint
Dingjun 0cdf31ddaf add optional Dial option
the dial function provider a way to connect to server
fangdingjun f0f0d1f88d go fmt
fangdingjun 179b61da8d add license file
fangdingjun e79873c7b5 Initial commit