Commit Graph

760 Commits (cc8935ee029a7c223c0961084528ce10cb5d9a35)

Author SHA1 Message Date
Darien Raymond c5a92e00ef
dont reuse shadowsock connections
8 years ago
Darien Raymond 68b85cce60
remove unused code
8 years ago
Darien Raymond cdb0debcb0
register shadowsocks client factory
8 years ago
Darien Raymond 5f3f173b5e
shadowsocks client factory
8 years ago
Darien Raymond 35aa16d40d
refine shadowsocks user
8 years ago
Darien Raymond 63d3c9fa30
typo
8 years ago
Darien Raymond 687e008c9a
refine shadowsocks ota settings
8 years ago
Darien Raymond 43dacc3936
remove small buffer pool
8 years ago
Darien Raymond c221802963
shadowsocks client
8 years ago
Darien Raymond be4f3d0772
refine shadowsocks server
8 years ago
Darien Raymond 369256c82f
include user when dispatch requests in VMess.
8 years ago
Darien Raymond 687ae6c50e
chunk writer
8 years ago
Darien Raymond 7a14f646ee
gofmt
8 years ago
Darien Raymond 5a311cbe08
json config parser
8 years ago
Darien Raymond e33b7df34c
remove use of any
8 years ago
Darien Raymond be026870f7
protogen update
8 years ago
Darien Raymond 0a32345af9
protobuf for v2ray config
8 years ago
Darien Raymond f87d7f36f5
check nil settings
8 years ago
Darien Raymond b060bb3b94
refactor proxy config cache
8 years ago
Darien Raymond fc6a706166
refactor protos
8 years ago
Darien Raymond 22ef12a456
simplify router
8 years ago
Darien Raymond 1d13f47f9c
protobuf for stream settings
8 years ago
Darien Raymond af6abfa3e3
update proto generated code
8 years ago
Darien Raymond 91f2a40dae
refine proto package names
8 years ago
Darien Raymond 922e761bef
rename server spec user
8 years ago
Darien Raymond c5f09c64a2
refine socks config
8 years ago
Darien Raymond c6a7389817
refine cipher settings
8 years ago
Darien Raymond ce5bc72f0c
refine shadowsocks proto
8 years ago
Darien Raymond 5e9017720e
check nil
8 years ago
Darien Raymond 24e575f2cd
protobuf for vmess
8 years ago
Darien Raymond 60f4292882
protobuf for dokodemo config
8 years ago
Darien Raymond dc6b7e2e75
protobuf for blackhole config
8 years ago
Darien Raymond 1a3f51ade7
protobuf for kcp config
8 years ago
Darien Raymond 8f6a972970
refactor config cache
8 years ago
Darien Raymond d38e62932d
proto for dns config
8 years ago
Darien Raymond 7de7588ec2
proto for destination
8 years ago
Darien Raymond c518726910
network proto
8 years ago
Darien Raymond 9ade07db03
remove IsTCP() and IsUDP()
8 years ago
Darien Raymond 8b37edd02d
format log
8 years ago
Darien Raymond d08cba000f
accounts in protobuf
8 years ago
Darien Raymond 3423adaea4
fix test break
8 years ago
Darien Raymond 7a31e7a0c2
fix test break
8 years ago
Darien Raymond 7f2ba0d106
remove unnecessary code
8 years ago
Darien Raymond 948f04921d
update socks code for server config
8 years ago
Darien Raymond ea2c491ade
global proto gen
8 years ago
Darien Raymond 11e310298c
proto for socks server
8 years ago
Darien Raymond 0f74c618de
close input stream early
8 years ago
Darien Raymond 9b72d3cbd7
simplify socks transport
8 years ago
Darien Raymond cdb4c56546
protobuf for net
8 years ago
Darien Raymond bbca180dba
try protobuf
8 years ago
Darien Raymond e6e0419958
format private annotation
8 years ago
v2ray 07a86f549b
unified import path
8 years ago
v2ray 2268f3d1bc
remove import path restriction
8 years ago
v2ray ad1353ac2f
merge similar error definitions
8 years ago
v2ray 39737f6fc1
merge bad configuration error
8 years ago
v2ray 89a876a6d4
rename proxy/internal to proxy/registry
8 years ago
v2ray 99821dc2fb
change to wait group
8 years ago
v2ray 125ef8372c
actually follow redirect of UDP
8 years ago
v2ray d025b8d48f
fix test break
8 years ago
v2ray a5a70afdb8
remove port testing
8 years ago
Darien Raymond 667b71aad0 Merge pull request #238 from xiaokangwang/websocket
8 years ago
v2ray 210a32dc12
support udp redirection
8 years ago
v2ray 956b47f6ae
release connection after all data read in freedom
8 years ago
v2ray 66bb7879e0
handle empty payload in freedom and outbound
8 years ago
Shelikhoo 7259b3363b
Merge branch 'master' into websockwt
8 years ago
v2ray cc92973daf
fix destination from addr
8 years ago
v2ray 07dee80f54
update server
8 years ago
v2ray 4419f1e3d6
introduce address family in v2net
8 years ago
v2ray a9d583b92f
connection session
8 years ago
Shelikhoo 508f79f95f
Advertise WS cap
8 years ago
v2ray bcd27ba36f
option to allow passive connection
8 years ago
v2ray 9e997a5be7
typo
8 years ago
v2ray c6ad190f0a
add json tag
8 years ago
v2ray 545fa5b53c
rename errors
8 years ago
v2ray 0d73726930
srtp header for kcp
8 years ago
v2ray c42ed62fd5
remove use of small buffer in tests
8 years ago
v2ray 283bafdd4a
remove use of small buffer
8 years ago
v2ray e6a61930d9
remove use of small buffer
8 years ago
v2ray 443e9d4725
fix a bug in vmess encoding
8 years ago
v2ray b72afc7c35
fix build break
8 years ago
v2ray 6a620d1c6d
socks client config
8 years ago
v2ray 2034d54bab
rename VMessAccount to vmess.Account
8 years ago
v2ray 2049759640
use server spec in vmess
8 years ago
v2ray 0857fdb0f8
test code for blackhole config
8 years ago
v2ray f871ca63e2
refine error message
8 years ago
v2ray 96ec5cfc58
Fix VMess inbound for empty response
8 years ago
v2ray 6f5b54747e
move encoding to vmess
8 years ago
v2ray 3be5045dfc
replace NewSmallBuffer with NewLocalBuffer
8 years ago
v2ray 84a7a2ad61
correct initialization in socks server
8 years ago
v2ray 85d6e1ad13
prepend hash
8 years ago
v2ray 3f396078ab
remove unnecessary buffer
8 years ago
v2ray fc69c77369
fix an offset issue in OTA
8 years ago
v2ray e13ea7a54f
refine log in vmess
8 years ago
v2ray 566adec285
allow customized timeout in socks protocol
8 years ago
v2ray 30041041d3
timeout settings in http proxy
8 years ago
v2ray 754e8b6e78
tls config
8 years ago
v2ray d5cb2e88c9
Fix Shadowsocks OTA
9 years ago
v2ray 2c259165ff
read entire small payload
9 years ago
v2ray 54b791821e
remove unnecessary log
9 years ago
v2ray 7aa848dc02
remove unused import
9 years ago
v2ray f050113925
fix #185
9 years ago
v2ray 7f661f5215
rename Error to Err
9 years ago
v2ray 67ac925ee7
refactor bytes functions
9 years ago
v2ray 560b429902
Update log
9 years ago
v2ray 20f046af0b fix a race condition issue in VMess inbound
9 years ago
v2ray 71ce8f4416 enable kcp
9 years ago
v2ray 9b6dc6bcea massive refactoring for kcp
9 years ago
Darien Raymond 22ce652a25 Merge pull request #170 from xiaokangwang/kcptransport
9 years ago
v2ray 8a5f37dad7 check if address is set
9 years ago
Shelikhoo e72a7cb96f
KCP: VMess will call setProxyCap to advertise KCP capacity on init
9 years ago
Shelikhoo 29cb680a4b
KCP: VMess will advertise its KCP capacity
9 years ago
Shelikhoo 6d6158b089
KCP: Vmess will pass its meta to Dial3 and ListenTCP6
9 years ago
Shelikhoo a9ef8d27bd
Merged latest master
9 years ago
Shelikhoo 8666d122f0
InboundHandlerMeta,OutboundHandlerMeta added KcpSupported bool to declare KCP support
9 years ago
v2ray 679d646571 only build for linux
9 years ago
v2ray 1c06fc216a allow redirection in dokodemo
9 years ago
v2ray 09f7e8b61e meaningful error message
9 years ago
v2ray d9b59133cc Properly close inbound when no payload
9 years ago
v2ray 8a83a0b30e typo
9 years ago
v2ray 9c3f2ada47 update default response
9 years ago
v2ray 8b3875050d http response in blackhole
9 years ago
v2ray e732ba62a6 unified config loader
9 years ago
Darien Raymond 3f7b70a465 Merge pull request #168 from xiaokangwang/fix.internal.CreateOutboundHandler.ErrorProxyNotFound
9 years ago
Shelikhoo 3b1f8b553b
Fixed: internal.CreateOutboundHandler should return ErrorProxyNotFound if !found instead of ErrorNameExists
9 years ago
v2ray 83c7e8491c fix conn reuse
9 years ago
v2ray e878973def retry if vmess conn fails
9 years ago
v2ray aad10a75d3 typo
9 years ago
v2ray 5eae540e5c log access in socks and http
9 years ago
v2ray 50ca869929 organize handler metadata
9 years ago
v2ray a4d76dc394 support using specific address
9 years ago
v2ray 6c31ff91e6 Merge branch 'master' of https://github.com/v2ray/v2ray-core
9 years ago
v2ray 4b92e6b25b update log
9 years ago
Darien Raymond a2d8d55ba1 Update io_test.go
9 years ago
v2ray 0a7deabd46 remove unnecessary log
9 years ago
v2ray 47338fba1e timeout setting for freedom
9 years ago
v2ray 72fb5a256c send reuse option in header
9 years ago
v2ray b9c88b673b unexpected eof
9 years ago
v2ray dfe1ac1f2b Fix connection reuse
9 years ago
v2ray 6ce7b1d532 informational logs
9 years ago
v2ray 9713bf9adf completely fix detour config
9 years ago
v2ray 957eaf38db Assign detour config
9 years ago
v2ray 43f6998d31 discard bad connections
9 years ago
v2ray 0fac2084c7 reusable connection
9 years ago
v2ray 9b07ffd68f cleanup http proxy package
9 years ago
v2ray b47c1ca609 get rid of annoying firewall warnings
9 years ago
v2ray 3f9cb1136a allow dynamic type of user accounts
9 years ago
v2ray 46f76e55e5 reorg chan reader
9 years ago
v2ray 81cdaa0e4e Unify buffer allocation
9 years ago
v2ray 3156c4586c Allow data stream passing through http proxy
9 years ago
v2ray c75d840706 Remove serial.String
9 years ago
v2ray 444808a51a Remove Intxx interfaces
9 years ago
v2ray ab39750ceb Remove serial.Bytes
9 years ago
v2ray fc63f0432c simplify testing
9 years ago
v2ray 3582b9d869 move net/testing/assert into assert
9 years ago
v2ray 50957b9973 Fix build break
9 years ago
v2ray 47b2fafb32 Shorten StringLiteral
9 years ago
v2ray cfdda19834 Shorten BytesLiteral
9 years ago
v2ray 5b23d25e35 address
9 years ago
v2ray 0ea2678e72 Allow freedom to consume DNS settings
9 years ago
v2ray ec610494ea Fix dokodemo for space
9 years ago
v2ray 3ded18a75b initializable apps
9 years ago
v2ray 18d75cb7b4 bug fixes to dns server
9 years ago
v2ray 3b545abe02 dns client implementation
9 years ago
v2ray 634c4964cc Massive fixes
9 years ago
v2ray 9a3c7a03c9 rename shadowsocks server
9 years ago
v2ray ff210aa67f agressively close stream
9 years ago
v2ray b5f43031d4 refactor alter id generation
9 years ago
v2ray 8a07534586 remove unnecessary package alias
9 years ago
v2ray ef200c3c5e http client
9 years ago
v2ray f2c656843e allow tls connection in http proxy
9 years ago
v2ray b65017d28d Fix build break
9 years ago
v2ray 301b0ccff7 refine cert config in http
9 years ago
v2ray 67db5830be agreesively close rays
9 years ago
v2ray 8d1f06ebaf clean up on error
9 years ago
v2ray 0bc846f016 Fix ending in vmess reader.
9 years ago
v2ray a7f61af79b fix auth reader
9 years ago
v2ray c20c44526c Fix buffer overrun in vmess
9 years ago
v2ray 7d43952690 tcphub now takes tls config as construtor parameter
9 years ago
v2ray f594f5b606 simplify tcp connection
9 years ago
v2ray 36bf645199 Fix a dead lock issue in VMess
9 years ago
v2ray 0442000964 fix nil reference issue in shadowsocks
9 years ago
v2ray c11ddace15 fix a buffer bug
9 years ago
v2ray b453288e04 release shadowsocks request
9 years ago
v2ray 58530e6920 force chunked stream
9 years ago
v2ray 94eab286c0 introduct Connection interface
9 years ago
v2ray d9d3eac8f7 Fix unkeyed fields
9 years ago
v2ray a7f40da07a Fix unused variables
9 years ago
v2ray 26ebd8dde9 refactor
9 years ago
v2ray 991cea01ab rename SocksServer to Server
9 years ago
v2ray 42907ff2e8 Remove v2net.Packet
9 years ago
v2ray 7db14dad9b releasble user validator
9 years ago
v2ray c044234e4a tls settings for http proxy
9 years ago
v2ray 6486891b18 comments
9 years ago
v2ray 9e1d0d8c5e update detour config settings
9 years ago
v2ray 44bf412dfc release all adaptive readers and writers
9 years ago
v2ray 7407c8d561 use stream instead of raw chan
9 years ago
v2ray 42b8dbe871 release all readers and writers
9 years ago
v2ray 70f803173a simplify reader/writer interface
9 years ago
v2ray e8023f0d92 releasable writer
9 years ago
v2ray 77ecd1649b fix test break
9 years ago
v2ray ff69ac7a0e Release all references
9 years ago
v2ray 3b35df1244 Handler state
9 years ago
v2ray 7f2b157956 Fix OTA in Shadowsocks TCP
9 years ago
v2ray 684e133ac5 better log
9 years ago
v2ray e298121126 Fix shadowsocks OTA issue
9 years ago
v2ray 3d4da5822b Email in shadowsocks
9 years ago
v2ray c1c22a50d5 remove old commands
9 years ago
v2ray 3ec40eedc1 remove old vmess request
9 years ago
v2ray 547cc75651 Migrate VMessIn with protocol
9 years ago
v2ray 2144c47102 Migrate VMessOut into protocol
9 years ago
v2ray ef51c600fb Apply buffered reader and writer to socks
9 years ago
v2ray 76ca9de25f refactor protocol
9 years ago
v2ray 59bc881d70 move timestamp generator to protocol
9 years ago
v2ray f0081f5327 remove unused code
9 years ago
v2ray 791ac307a2 Move userset to protocol
9 years ago
v2ray 9f50692d15 auto user creation for dynamic port
9 years ago
v2ray 87b15b2b20 Add ChaCha20 in Shadowsocks
9 years ago
v2ray 471b655934 log whole destination in vmess out
9 years ago
v2ray b60f491cec add test case for http proxy
9 years ago
v2ray c9750fa3ba prefer pointer over struct
9 years ago
v2ray 131e6bf239 Fix a potential issue mentioned in #81
9 years ago
v2ray 45db388e3f more docs
9 years ago
v2ray 6c860d64ad rename destIp to destIP
9 years ago
v2ray d0de8060b6 Merge branch 'master' of https://github.com/v2ray/v2ray-core
9 years ago
v2ray 25dfa66822 typos
9 years ago
Darien Raymond e5d0da0982 wording
9 years ago
Darien Raymond 20147cb0bd fix test break
9 years ago
Darien Raymond d1e990d46e test case for shadowsocks ota
9 years ago
Darien Raymond c618ce543c use net.ParseAddress in socks udp
9 years ago
Darien Raymond 4d2bcda9cc test case for socks protocol
9 years ago
v2ray 76b0db2016 return ErrorInvalidAuthentication when OTA is not valid
9 years ago
v2ray c849f3df54 test case for shadowsocks protocol
9 years ago
v2ray 903985eab5 close dokodemo after testing
9 years ago
v2ray 4f59d6847f fix test break
9 years ago
v2ray 3212337aa3 clean up test cases for dokodemo
9 years ago
v2ray 77f5c15dbc fix freedom test
9 years ago
Darien Raymond b18693a9c4 more test cases for freedom
9 years ago
v2ray 29c100e613 doc for proxy
9 years ago
v2ray 32b2220739 apply udpHub in socks proxy
9 years ago
v2ray 2d1ded9b9e fix race condition in shadowsocks
9 years ago
v2ray 265c9e4abb fix race condition in dokodemo
9 years ago
v2ray 11c7191b38 clean up after error
9 years ago
v2ray c6df0fde19 clean up variable initialization
9 years ago
v2ray 2932d23b32 apply user settings to shadowsocks
9 years ago
v2ray 2147ba5ab3 move fundamental interfaces from vmess to common
9 years ago
v2ray e8b0505c01 import comment of package vmess
9 years ago
v2ray 159644a230 remove out dated test case
9 years ago
v2ray 5e2583ec8d fix udp for dokodemo and shadowsocks
9 years ago
v2ray 48aa9af631 remove out dated test
9 years ago
Darien Raymond 0d77139c24 fix udp issue in socks proxy
9 years ago