Commit Graph

51 Commits (cccd568ea378dfc6d266669ee6c787a27e950744)

Author SHA1 Message Date
Darien Raymond a01fdc29a6
remove NewMultiBufferValue
6 years ago
Darien Raymond f2f67132a7
refactor socks handshake
6 years ago
Darien Raymond a20262ef20
allocate buffer on stack
6 years ago
Darien Raymond 6c7dcc35ab
remove buffer.WriteBytes
6 years ago
Darien Raymond 5c5816072e
use buffer for reading user id in socks
6 years ago
Darien Raymond 77c03f0da5
move back to serial
6 years ago
Darien Raymond 58e2ed3381
remove closure on ReadFullFrom
6 years ago
Darien Raymond 54e1bb96cc
introduce in-memory user
6 years ago
Darien Raymond 206f52affc
refine buffer interface
6 years ago
Darien Raymond ebea255c74
eliminate partial writes
6 years ago
Darien Raymond 4f33540b19
temporary workaround for Tor command in socks.
7 years ago
Darien Raymond b453190e58
fix lint errors in socks
7 years ago
Darien Raymond 3997d13b97
rename Slice and Slice from to Resize and Advance
7 years ago
Darien Raymond 1425fd2ba9
remove Buffer.Append method
7 years ago
Darien Raymond 08dab81eb2
migrate int to int32
7 years ago
Darien Raymond 4de3f1adc1
change ReadFullFrom to take int32 size
7 years ago
Darien Raymond e44394ade5
more informational error
7 years ago
Darien Raymond fda85506c8
reuse buffer
7 years ago
Darien Raymond af1abf687c
unify all address reading and writing
7 years ago
Darien Raymond 768e30c37b
disable socks 4 when auth is required.
7 years ago
Darien Raymond 0920af171b
remove redundent code
7 years ago
Darien Raymond 1077e33d62
unify address reading in socks and shadowsocks
7 years ago
Darien Raymond 664b840812
send username/password together with initial handshake data in socks client. Fix #785
7 years ago
Darien Raymond 81c4f23691
merge address writing
7 years ago
Darien Raymond 594ec15c09
cleanup buffer usage
7 years ago
Darien Raymond 26818a2602 fix domain length issue for all proxies
7 years ago
Darien Raymond 190adf1872 fix socks client for super long domain
7 years ago
Darien Raymond 9594f76f93 ensure enough buffer for socks header
7 years ago
Darien Raymond 1c856a46ab step 1 to remove reference to net package
7 years ago
Darien Raymond 6a90ce3c43
comments
8 years ago
Darien Raymond 498c7dafdf
clean udp writer
8 years ago
Darien Raymond 5bfab82c41
refactor
8 years ago
Darien Raymond d6988f1a63
simplify code
8 years ago
Darien Raymond b1dfff2fdd
remove 8k buffer pool
8 years ago
Darien Raymond f506a39d32
multi buffer
8 years ago
Darien Raymond 7c1b3ac1f0
cleanup error messages
8 years ago
Darien Raymond 35248497d2
refactor error messages
8 years ago
Darien Raymond fc31f9b94c
refactor error interface
8 years ago
Darien Raymond 6363c33790
detect actual address type for domain address type
8 years ago
Darien Raymond 6629b6dd28
fix socks password authentication
8 years ago
Darien Raymond ca721230e1
split listening settings from inbound proxies and apply context
8 years ago
Darien Raymond 6056cc6638
handle nil error
8 years ago
Darien Raymond f2a750a019
comment out unused const
8 years ago
Darien Raymond 74938dc428
write back error status when authentication timeout
8 years ago
Darien Raymond 7401807c5f
test case for socks udp
8 years ago
Darien Raymond 5b89c6aada
socks4 tests
8 years ago
Darien Raymond e87a16900e
remove debug info
8 years ago
Darien Raymond f2e9d8a4e0
socks client
8 years ago
Darien Raymond b00ee67369
refine socks udp handling
8 years ago
Darien Raymond b9fb670ca6
remove duplicated methods
8 years ago