Commit Graph

986 Commits (12106cddae1c5610be96e130edb76e388442f037)

Author SHA1 Message Date
Darien Raymond a059ee2c00
fix lint errors
7 years ago
Darien Raymond 798212b311
fix timer settings
7 years ago
Darien Raymond 768e30c37b
disable socks 4 when auth is required.
7 years ago
Darien Raymond 16c6a5f078
fix test break
7 years ago
Darien Raymond 546c2fb226
settings for forcing secure encryption in vmess server
7 years ago
Darien Raymond 6b872c266c
session id
7 years ago
Darien Raymond 80a1e73361
fix error propagation in vmess server
7 years ago
Darien Raymond cdfbd0317f
remove unused function
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 88b25d38cb
simplify context retrieval
7 years ago
Darien Raymond 1f8fcb558d
fix error handling in freedom, shadowsocks and socks
7 years ago
Darien Raymond 226d65c6c7
fix error handling in vmess outbound
7 years ago
Darien Raymond e7858e78d5
properly set timeout in dokodemo door
7 years ago
Darien Raymond 03ba5ef4cb
properly close shadowsocks client udp connection
7 years ago
Shelikhoo 7f34cbdaff
Add Generated Files
7 years ago
Darien Raymond 34f51c6a0d
enable mux command for next version
7 years ago
Darien Raymond 6f4bddd62e
disable mux command temporarily
7 years ago
Darien Raymond 92aef24f98
remove unnecessary proxy functions
7 years ago
Darien Raymond 42d83a703e
fix transfer for mux
7 years ago
Darien Raymond 30a0aa6fb0
don't read 0 bytes
7 years ago
Darien Raymond 8460d016ab
fix address parsing for mux
7 years ago
Darien Raymond 05d93e5eb0
fix handling for empty email addresses
7 years ago
Darien Raymond 87ba7dd0d1
implement remove user in vmess
7 years ago
Darien Raymond 5755d4153a
fix encoding test
7 years ago
Darien Raymond efcb567273
remove context in struct
7 years ago
Darien Raymond a1ae4aa515
cleanup session history
7 years ago
Darien Raymond 3a0f211c22
gofmt
7 years ago
Darien Raymond 1e6d5561cc
prototype of commander
7 years ago
Darien Raymond cf832a4272
adjust init sequence
7 years ago
Darien Raymond 0273b36027
prepare for remove function
7 years ago
Darien Raymond c3dce11c4e
fix a typo
7 years ago
Darien Raymond 4b5e41c783
fix UDP handling in Shadowsocks client
7 years ago
Darien Raymond 0e01e28278
use uuid as struct
7 years ago
Darien Raymond 14176a340d
fix error usage
7 years ago
Darien Raymond 292d7cc353
massive refactoring for interoperability
7 years ago
Darien Raymond 664b840812
send username/password together with initial handshake data in socks client. Fix #785
7 years ago
Darien Raymond ab4f245313
overrideable dns
7 years ago
Darien Raymond f4c35db968
merge log into common log
7 years ago
Darien Raymond 1f226797bc
remove header operation to http protocol package
7 years ago
Darien Raymond 484bdeecc9
comments
7 years ago
Darien Raymond b81ff78af3
fix basic auth response
7 years ago
DarienRaymond 82009c869e
Merge pull request #758 from sunshineplan/master
7 years ago
Darien Raymond 81c4f23691
merge address writing
7 years ago
Darien Raymond d43a23aa96
move error generator to common
7 years ago
sunshineplan cf0fc6e4a0
完善HTTP基本认证
7 years ago
Darien Raymond 9ff0dc7327
remove struct scoped context
7 years ago
Darien Raymond 3aa5102036
lazy init of authenticator
7 years ago
Darien Raymond f6bb214d30
fix lint warnings
7 years ago
Darien Raymond cb68575444
support none cipher in shadowsocks
7 years ago
Darien Raymond fd8db49dc9
generalized event handler
7 years ago
Darien Raymond f90ec9fff0
rename interfaces
7 years ago
Darien Raymond 3214a5078c
customizable policy
7 years ago
Darien Raymond 64e5430ed9
lazy init of authenticator
7 years ago
Darien Raymond eef2a72ac0
fix aes cfb decode packet. fix #739
7 years ago
Darien Raymond fefb5c8e01
fix aead udp
7 years ago
Darien Raymond b64aceabcf
fix aead reader and writer
7 years ago
Darien Raymond b7d022702e
warn user when http proxy is not finished properly
7 years ago
Darien Raymond 721bea5d54
fix lint warnings
7 years ago
Darien Raymond 6c0a1439c4
fix #739
7 years ago
Darien Raymond 02ab3f3494
refine aead check on server
7 years ago
Darien Raymond 9dbdcb3a39
fix check of AEAD cipher
7 years ago
Darien Raymond 80258c0542
handle AEAD cipher
7 years ago
Darien Raymond 713ebfb203
implementation for Shadowsocks AEAD
7 years ago
Darien Raymond 25dd739285
refactor
7 years ago
Darien Raymond 74327ea8ae
prevent using net.Conn.WriteTo()
7 years ago
Darien Raymond 2371617a22
fix lint warnings
7 years ago
Darien Raymond 3ed16fad38
enable pading for cfb
7 years ago
Darien Raymond 4aa87be0f2
enable command mux
7 years ago
Darien Raymond 9f146ac7d2
cleanup
7 years ago
Darien Raymond ed1243b32b
require proxy auth when not set. fix #712
7 years ago
Darien Raymond 028b2b74c9
fix lint warning
7 years ago
Darien Raymond a6393449e0
force reader to be nil
7 years ago
Darien Raymond 5e8cf7bde6
redo http upload performance
7 years ago
Darien Raymond 41bc2a6ce4
Revert "improve performance for http upload"
7 years ago
Darien Raymond c4be61e854
retrieve the root cause of the error
7 years ago
Darien Raymond cddf74334d
improve performance for http upload
7 years ago
Darien Raymond f3ba1dbb8c
fix lint warnings
7 years ago
Darien Raymond 23f209075f
use ip if already resolved
7 years ago
Darien Raymond 26f005e822
resolve to ip on demand
7 years ago
Darien Raymond f3c5df8798
make sure writer not buffered
7 years ago
Darien Raymond 5a6022d1ed
log err for SetReadDeadline(). fix #707
7 years ago
Darien Raymond 0dbfb66126
clean up dns package
7 years ago
Darien Raymond 594ec15c09
cleanup buffer usage
7 years ago
Darien Raymond 66b82e4ab7
cleanup MultiBuffer
7 years ago
Darien Raymond cab5c10fc2
remove use of KeepAlive
7 years ago
DarienRaymond 71d34e7451
Merge pull request #685 from valture/ua-leak
7 years ago
Darien Raymond 4444cc985d http proxy in transparent mode
7 years ago
Valture 40b97e7cd3 add test for UA header
7 years ago
Valture 973378d610 Prevent UA from being set to golang's default ones
7 years ago
Darien Raymond cec45a416c allow fast close on UDP session. fix #682
7 years ago
Darien Raymond fde421ac58 Revert "check request.Host instead of request.URL.Host. fix #681"
7 years ago
Darien Raymond ba16987a07 check request.Host instead of request.URL.Host. fix #681
7 years ago
Darien Raymond 10712b3235 fix http port parsing
7 years ago
Darien Raymond 100391fdb7 fix http basic auth. fix #659
7 years ago
Darien Raymond 02685094d3 rewrite vmess encoding using buf
7 years ago
Darien Raymond 1d3c8098e9 basic auth in http server
7 years ago
Darien Raymond 12a0d6e0b9 cleanup
7 years ago
DarienRaymond 1a8ed61b9b Merge pull request #651 from v2ray/udpfollow
7 years ago
Darien Raymond 74cf833758 fully migrate to new assertion lib
7 years ago