Darien Raymond
e33b7df34c
remove use of any
2016-10-16 14:22:21 +02:00
Darien Raymond
be026870f7
protogen update
2016-10-16 00:23:27 +02:00
Darien Raymond
0a32345af9
protobuf for v2ray config
2016-10-14 22:21:45 +02:00
Darien Raymond
f87d7f36f5
check nil settings
2016-10-14 21:19:45 +02:00
Darien Raymond
b060bb3b94
refactor proxy config cache
2016-10-13 11:14:24 +02:00
Darien Raymond
fc6a706166
refactor protos
2016-10-12 18:43:55 +02:00
Darien Raymond
22ef12a456
simplify router
2016-10-12 16:11:13 +02:00
Darien Raymond
1d13f47f9c
protobuf for stream settings
2016-10-02 23:43:58 +02:00
Darien Raymond
af6abfa3e3
update proto generated code
2016-09-26 15:14:39 +02:00
Darien Raymond
91f2a40dae
refine proto package names
2016-09-26 15:14:16 +02:00
Darien Raymond
922e761bef
rename server spec user
2016-09-25 22:57:27 +02:00
Darien Raymond
c5f09c64a2
refine socks config
2016-09-25 22:54:18 +02:00
Darien Raymond
c6a7389817
refine cipher settings
2016-09-25 22:19:49 +02:00
Darien Raymond
ce5bc72f0c
refine shadowsocks proto
2016-09-25 22:07:32 +02:00
Darien Raymond
5e9017720e
check nil
2016-09-24 23:36:26 +02:00
Darien Raymond
24e575f2cd
protobuf for vmess
2016-09-24 23:11:58 +02:00
Darien Raymond
60f4292882
protobuf for dokodemo config
2016-09-22 16:49:20 +02:00
Darien Raymond
dc6b7e2e75
protobuf for blackhole config
2016-09-22 12:01:36 +02:00
Darien Raymond
1a3f51ade7
protobuf for kcp config
2016-09-21 14:39:07 +02:00
Darien Raymond
8f6a972970
refactor config cache
2016-09-21 13:52:16 +02:00
Darien Raymond
d38e62932d
proto for dns config
2016-09-20 16:05:35 +02:00
Darien Raymond
7de7588ec2
proto for destination
2016-09-20 11:53:05 +02:00
Darien Raymond
c518726910
network proto
2016-09-20 10:44:44 +02:00
Darien Raymond
9ade07db03
remove IsTCP() and IsUDP()
2016-09-19 16:39:11 +02:00
Darien Raymond
8b37edd02d
format log
2016-09-18 00:46:16 +02:00
Darien Raymond
d08cba000f
accounts in protobuf
2016-09-18 00:41:21 +02:00
Darien Raymond
3423adaea4
fix test break
2016-08-29 12:25:16 +02:00
Darien Raymond
7a31e7a0c2
fix test break
2016-08-29 12:23:17 +02:00
Darien Raymond
7f2ba0d106
remove unnecessary code
2016-08-28 23:47:39 +02:00
Darien Raymond
948f04921d
update socks code for server config
2016-08-28 23:46:50 +02:00
Darien Raymond
ea2c491ade
global proto gen
2016-08-28 23:41:51 +02:00
Darien Raymond
11e310298c
proto for socks server
2016-08-28 23:41:45 +02:00
Darien Raymond
0f74c618de
close input stream early
2016-08-28 12:01:37 +02:00
Darien Raymond
9b72d3cbd7
simplify socks transport
2016-08-28 11:59:03 +02:00
Darien Raymond
cdb4c56546
protobuf for net
2016-08-27 00:04:35 +02:00
Darien Raymond
bbca180dba
try protobuf
2016-08-25 21:55:49 +02:00
Darien Raymond
e6e0419958
format private annotation
2016-08-24 11:17:42 +02:00
v2ray
07a86f549b
unified import path
2016-08-20 20:55:45 +02:00
v2ray
2268f3d1bc
remove import path restriction
2016-08-19 17:05:15 +02:00
v2ray
ad1353ac2f
merge similar error definitions
2016-08-18 08:34:21 +02:00
v2ray
39737f6fc1
merge bad configuration error
2016-08-18 08:21:20 +02:00
v2ray
89a876a6d4
rename proxy/internal to proxy/registry
2016-08-17 23:30:15 +02:00
v2ray
99821dc2fb
change to wait group
2016-08-16 17:00:04 +02:00
v2ray
125ef8372c
actually follow redirect of UDP
2016-08-16 13:04:07 +02:00
v2ray
d025b8d48f
fix test break
2016-08-15 23:02:03 +02:00
v2ray
a5a70afdb8
remove port testing
2016-08-15 22:12:11 +02:00
Darien Raymond
667b71aad0
Merge pull request #238 from xiaokangwang/websocket
...
Websocket transport support for v2ray
2016-08-15 17:45:25 +02:00
v2ray
210a32dc12
support udp redirection
2016-08-15 17:44:46 +02:00
v2ray
956b47f6ae
release connection after all data read in freedom
2016-08-15 14:31:46 +02:00
v2ray
66bb7879e0
handle empty payload in freedom and outbound
2016-08-15 12:23:35 +02:00
Shelikhoo
7259b3363b
Merge branch 'master' into websockwt
2016-08-15 10:17:22 +08:00
v2ray
cc92973daf
fix destination from addr
2016-08-14 23:20:23 +02:00
v2ray
07dee80f54
update server
2016-08-14 22:08:23 +02:00
v2ray
4419f1e3d6
introduce address family in v2net
2016-08-14 18:14:12 +02:00
v2ray
a9d583b92f
connection session
2016-08-14 17:08:01 +02:00
Shelikhoo
508f79f95f
Advertise WS cap
2016-08-13 21:33:34 +08:00
v2ray
bcd27ba36f
option to allow passive connection
2016-08-12 23:37:21 +02:00
v2ray
9e997a5be7
typo
2016-08-09 23:17:02 +02:00
v2ray
c6ad190f0a
add json tag
2016-08-08 23:53:07 +02:00
v2ray
545fa5b53c
rename errors
2016-08-07 15:32:41 +02:00
v2ray
0d73726930
srtp header for kcp
2016-08-06 21:59:22 +02:00
v2ray
c42ed62fd5
remove use of small buffer in tests
2016-08-01 22:59:18 +02:00
v2ray
283bafdd4a
remove use of small buffer
2016-08-01 17:47:20 +02:00
v2ray
e6a61930d9
remove use of small buffer
2016-07-29 23:18:58 +02:00
v2ray
443e9d4725
fix a bug in vmess encoding
2016-07-27 16:36:46 +02:00
v2ray
b72afc7c35
fix build break
2016-07-26 10:23:02 +02:00
v2ray
6a620d1c6d
socks client config
2016-07-25 23:45:25 +02:00
v2ray
2034d54bab
rename VMessAccount to vmess.Account
2016-07-25 17:36:24 +02:00
v2ray
2049759640
use server spec in vmess
2016-07-25 16:48:09 +02:00
v2ray
0857fdb0f8
test code for blackhole config
2016-07-24 13:40:27 +02:00
v2ray
f871ca63e2
refine error message
2016-07-24 11:29:59 +02:00
v2ray
96ec5cfc58
Fix VMess inbound for empty response
2016-07-24 09:59:52 +02:00
v2ray
6f5b54747e
move encoding to vmess
2016-07-23 13:17:51 +02:00
v2ray
3be5045dfc
replace NewSmallBuffer with NewLocalBuffer
2016-07-23 11:55:57 +02:00
v2ray
84a7a2ad61
correct initialization in socks server
2016-07-23 11:09:49 +02:00
v2ray
85d6e1ad13
prepend hash
2016-07-17 23:11:05 +02:00
v2ray
3f396078ab
remove unnecessary buffer
2016-07-16 13:22:34 +02:00
v2ray
fc69c77369
fix an offset issue in OTA
2016-07-13 11:38:14 +02:00
v2ray
e13ea7a54f
refine log in vmess
2016-07-12 00:12:35 +02:00
v2ray
566adec285
allow customized timeout in socks protocol
2016-07-11 15:46:18 +02:00
v2ray
30041041d3
timeout settings in http proxy
2016-07-10 15:34:14 +02:00
v2ray
754e8b6e78
tls config
2016-07-10 15:27:58 +02:00
v2ray
d5cb2e88c9
Fix Shadowsocks OTA
2016-07-04 09:47:14 +02:00
v2ray
2c259165ff
read entire small payload
2016-07-03 22:32:28 +02:00
v2ray
54b791821e
remove unnecessary log
2016-07-03 09:40:22 +02:00
v2ray
7aa848dc02
remove unused import
2016-06-30 10:47:33 +02:00
v2ray
f050113925
fix #185
2016-06-30 00:08:20 +02:00
v2ray
7f661f5215
rename Error to Err
2016-06-27 08:53:35 +02:00
v2ray
67ac925ee7
refactor bytes functions
2016-06-26 22:34:48 +02:00
v2ray
560b429902
Update log
2016-06-19 02:02:38 +02:00
v2ray
20f046af0b
fix a race condition issue in VMess inbound
2016-06-18 17:01:48 +02:00
v2ray
71ce8f4416
enable kcp
2016-06-14 23:00:00 +02:00
v2ray
9b6dc6bcea
massive refactoring for kcp
2016-06-14 22:54:08 +02:00
Darien Raymond
22ce652a25
Merge pull request #170 from xiaokangwang/kcptransport
...
Add KCP(UDPSession) as a transport for v2ray, reslove #162
2016-06-13 16:35:57 +02:00
v2ray
8a5f37dad7
check if address is set
2016-06-12 22:54:33 +02:00
Shelikhoo
e72a7cb96f
KCP: VMess will call setProxyCap to advertise KCP capacity on init
2016-06-12 13:57:08 +08:00
Shelikhoo
29cb680a4b
KCP: VMess will advertise its KCP capacity
2016-06-12 13:52:29 +08:00
Shelikhoo
6d6158b089
KCP: Vmess will pass its meta to Dial3 and ListenTCP6
2016-06-12 13:48:40 +08:00
Shelikhoo
a9ef8d27bd
Merged latest master
2016-06-12 12:58:20 +08:00
Shelikhoo
8666d122f0
InboundHandlerMeta,OutboundHandlerMeta added KcpSupported bool to declare KCP support
2016-06-12 12:46:26 +08:00
v2ray
679d646571
only build for linux
2016-06-12 01:35:40 +02:00
v2ray
1c06fc216a
allow redirection in dokodemo
2016-06-12 01:30:56 +02:00
v2ray
09f7e8b61e
meaningful error message
2016-06-11 22:52:37 +02:00
v2ray
d9b59133cc
Properly close inbound when no payload
2016-06-11 01:37:33 +02:00
v2ray
8a83a0b30e
typo
2016-06-11 01:32:55 +02:00
v2ray
9c3f2ada47
update default response
2016-06-10 23:09:14 +02:00
v2ray
8b3875050d
http response in blackhole
2016-06-10 23:01:17 +02:00
v2ray
e732ba62a6
unified config loader
2016-06-10 22:26:39 +02:00
Darien Raymond
3f7b70a465
Merge pull request #168 from xiaokangwang/fix.internal.CreateOutboundHandler.ErrorProxyNotFound
...
Fixed: internal.CreateOutboundHandler should return ErrorProxyNotFound if !found instead of ErrorNameExists
2016-06-09 11:03:18 +02:00
Shelikhoo
3b1f8b553b
Fixed: internal.CreateOutboundHandler should return ErrorProxyNotFound if !found instead of ErrorNameExists
2016-06-09 09:38:44 +08:00
v2ray
83c7e8491c
fix conn reuse
2016-06-06 01:20:20 +02:00
v2ray
e878973def
retry if vmess conn fails
2016-06-06 00:10:51 +02:00
v2ray
aad10a75d3
typo
2016-06-05 23:37:28 +02:00
v2ray
5eae540e5c
log access in socks and http
2016-06-05 15:02:15 +02:00
v2ray
50ca869929
organize handler metadata
2016-06-04 14:25:13 +02:00
v2ray
a4d76dc394
support using specific address
2016-06-04 00:38:22 +02:00
v2ray
6c31ff91e6
Merge branch 'master' of https://github.com/v2ray/v2ray-core
2016-06-03 20:21:53 +02:00
v2ray
4b92e6b25b
update log
2016-06-03 20:21:46 +02:00
Darien Raymond
a2d8d55ba1
Update io_test.go
2016-06-03 11:40:50 +02:00
v2ray
0a7deabd46
remove unnecessary log
2016-06-02 23:23:04 +02:00
v2ray
47338fba1e
timeout setting for freedom
2016-06-02 23:18:44 +02:00
v2ray
72fb5a256c
send reuse option in header
2016-06-02 21:34:25 +02:00
v2ray
b9c88b673b
unexpected eof
2016-06-02 21:20:58 +02:00
v2ray
dfe1ac1f2b
Fix connection reuse
2016-06-02 02:20:53 +02:00
v2ray
6ce7b1d532
informational logs
2016-06-02 00:57:08 +02:00
v2ray
9713bf9adf
completely fix detour config
2016-06-01 22:45:12 +02:00
v2ray
957eaf38db
Assign detour config
2016-06-01 22:33:45 +02:00
v2ray
43f6998d31
discard bad connections
2016-06-01 22:09:34 +02:00
v2ray
0fac2084c7
reusable connection
2016-05-31 00:21:41 +02:00
v2ray
9b07ffd68f
cleanup http proxy package
2016-05-29 16:46:31 +02:00
v2ray
b47c1ca609
get rid of annoying firewall warnings
2016-05-29 16:37:52 +02:00
v2ray
3f9cb1136a
allow dynamic type of user accounts
2016-05-28 13:44:11 +02:00
v2ray
46f76e55e5
reorg chan reader
2016-05-25 22:36:52 +02:00
v2ray
81cdaa0e4e
Unify buffer allocation
2016-05-25 22:05:47 +02:00
v2ray
3156c4586c
Allow data stream passing through http proxy
2016-05-25 09:32:26 +02:00
v2ray
c75d840706
Remove serial.String
2016-05-24 22:41:51 +02:00
v2ray
444808a51a
Remove Intxx interfaces
2016-05-24 22:15:46 +02:00
v2ray
ab39750ceb
Remove serial.Bytes
2016-05-24 22:09:22 +02:00
v2ray
fc63f0432c
simplify testing
2016-05-24 21:55:46 +02:00
v2ray
3582b9d869
move net/testing/assert into assert
2016-05-24 15:29:08 +02:00
v2ray
50957b9973
Fix build break
2016-05-23 20:25:24 +02:00
v2ray
47b2fafb32
Shorten StringLiteral
2016-05-23 20:23:40 +02:00
v2ray
cfdda19834
Shorten BytesLiteral
2016-05-23 20:21:23 +02:00
v2ray
5b23d25e35
address
2016-05-23 20:16:36 +02:00
v2ray
0ea2678e72
Allow freedom to consume DNS settings
2016-05-22 22:30:21 +02:00
v2ray
ec610494ea
Fix dokodemo for space
2016-05-22 19:32:37 +02:00
v2ray
3ded18a75b
initializable apps
2016-05-18 08:12:04 -07:00
v2ray
18d75cb7b4
bug fixes to dns server
2016-05-16 11:53:18 -07:00
v2ray
3b545abe02
dns client implementation
2016-05-15 23:09:28 -07:00
v2ray
634c4964cc
Massive fixes
2016-05-12 17:20:07 -07:00
v2ray
9a3c7a03c9
rename shadowsocks server
2016-05-12 10:42:08 -07:00
v2ray
ff210aa67f
agressively close stream
2016-05-09 08:23:31 -07:00
v2ray
b5f43031d4
refactor alter id generation
2016-05-07 21:07:46 +02:00
v2ray
8a07534586
remove unnecessary package alias
2016-05-07 20:26:29 +02:00
v2ray
ef200c3c5e
http client
2016-05-07 14:08:27 +02:00
v2ray
f2c656843e
allow tls connection in http proxy
2016-05-07 10:36:36 +02:00
v2ray
b65017d28d
Fix build break
2016-05-07 10:06:56 +02:00
v2ray
301b0ccff7
refine cert config in http
2016-05-07 10:06:12 +02:00
v2ray
67db5830be
agreesively close rays
2016-05-07 09:53:15 +02:00
v2ray
8d1f06ebaf
clean up on error
2016-05-07 00:19:06 +02:00
v2ray
0bc846f016
Fix ending in vmess reader.
2016-05-05 00:24:18 +02:00
v2ray
a7f61af79b
fix auth reader
2016-05-04 23:41:24 +02:00
v2ray
c20c44526c
Fix buffer overrun in vmess
2016-05-03 14:57:09 +02:00
v2ray
7d43952690
tcphub now takes tls config as construtor parameter
2016-05-03 00:16:07 +02:00
v2ray
f594f5b606
simplify tcp connection
2016-05-02 23:53:16 +02:00
v2ray
36bf645199
Fix a dead lock issue in VMess
2016-05-02 14:03:31 +02:00
v2ray
0442000964
fix nil reference issue in shadowsocks
2016-05-02 09:38:50 +02:00
v2ray
c11ddace15
fix a buffer bug
2016-05-01 20:14:57 +02:00
v2ray
b453288e04
release shadowsocks request
2016-05-01 17:18:02 +02:00
v2ray
58530e6920
force chunked stream
2016-04-28 21:14:00 +02:00
v2ray
94eab286c0
introduct Connection interface
2016-04-27 23:01:31 +02:00
v2ray
d9d3eac8f7
Fix unkeyed fields
2016-04-26 00:59:44 +02:00
v2ray
a7f40da07a
Fix unused variables
2016-04-26 00:46:04 +02:00
v2ray
26ebd8dde9
refactor
2016-04-26 00:35:42 +02:00
v2ray
991cea01ab
rename SocksServer to Server
2016-04-26 00:33:16 +02:00
v2ray
42907ff2e8
Remove v2net.Packet
2016-04-26 00:13:26 +02:00
v2ray
7db14dad9b
releasble user validator
2016-04-25 18:39:30 +02:00
v2ray
c044234e4a
tls settings for http proxy
2016-04-25 15:30:28 +02:00
v2ray
6486891b18
comments
2016-04-24 22:54:41 +02:00
v2ray
9e1d0d8c5e
update detour config settings
2016-04-24 22:40:43 +02:00
v2ray
44bf412dfc
release all adaptive readers and writers
2016-04-18 19:01:24 +02:00
v2ray
7407c8d561
use stream instead of raw chan
2016-04-18 18:44:10 +02:00
v2ray
42b8dbe871
release all readers and writers
2016-04-12 21:56:36 +02:00
v2ray
70f803173a
simplify reader/writer interface
2016-04-12 21:43:13 +02:00
v2ray
e8023f0d92
releasable writer
2016-03-24 23:36:18 +08:00
v2ray
77ecd1649b
fix test break
2016-03-13 11:34:09 +01:00
v2ray
ff69ac7a0e
Release all references
2016-03-11 23:51:58 +01:00
v2ray
3b35df1244
Handler state
2016-03-06 16:36:08 +01:00
v2ray
7f2b157956
Fix OTA in Shadowsocks TCP
2016-02-28 21:11:50 +01:00
v2ray
684e133ac5
better log
2016-02-28 21:02:03 +01:00
v2ray
e298121126
Fix shadowsocks OTA issue
2016-02-28 21:00:53 +01:00
v2ray
3d4da5822b
Email in shadowsocks
2016-02-28 14:50:30 +01:00
v2ray
c1c22a50d5
remove old commands
2016-02-27 22:41:57 +01:00
v2ray
3ec40eedc1
remove old vmess request
2016-02-27 22:37:22 +01:00
v2ray
547cc75651
Migrate VMessIn with protocol
2016-02-27 17:28:21 +01:00
v2ray
2144c47102
Migrate VMessOut into protocol
2016-02-27 16:41:21 +01:00
v2ray
ef51c600fb
Apply buffered reader and writer to socks
2016-02-27 11:02:42 +01:00
v2ray
76ca9de25f
refactor protocol
2016-02-25 21:50:10 +01:00
v2ray
59bc881d70
move timestamp generator to protocol
2016-02-25 17:14:49 +01:00
v2ray
f0081f5327
remove unused code
2016-02-25 16:58:54 +01:00
v2ray
791ac307a2
Move userset to protocol
2016-02-25 16:40:43 +01:00
v2ray
9f50692d15
auto user creation for dynamic port
2016-02-25 14:38:41 +01:00
v2ray
87b15b2b20
Add ChaCha20 in Shadowsocks
2016-02-23 18:16:13 +01:00
v2ray
471b655934
log whole destination in vmess out
2016-02-22 17:10:11 +01:00
v2ray
b60f491cec
add test case for http proxy
2016-02-20 23:27:06 +01:00
v2ray
c9750fa3ba
prefer pointer over struct
2016-02-17 16:46:53 +01:00
v2ray
131e6bf239
Fix a potential issue mentioned in #81
2016-02-16 14:35:24 +01:00
v2ray
45db388e3f
more docs
2016-02-06 18:01:27 +01:00
v2ray
6c860d64ad
rename destIp to destIP
2016-02-05 22:12:46 +01:00
v2ray
d0de8060b6
Merge branch 'master' of https://github.com/v2ray/v2ray-core
2016-02-05 22:04:51 +01:00
v2ray
25dfa66822
typos
2016-02-05 22:04:43 +01:00
Darien Raymond
e5d0da0982
wording
2016-02-05 11:45:31 +00:00
Darien Raymond
20147cb0bd
fix test break
2016-02-05 10:48:34 +00:00
Darien Raymond
d1e990d46e
test case for shadowsocks ota
2016-02-05 10:38:45 +00:00
Darien Raymond
c618ce543c
use net.ParseAddress in socks udp
2016-02-05 10:23:16 +00:00
Darien Raymond
4d2bcda9cc
test case for socks protocol
2016-02-05 10:21:13 +00:00
v2ray
76b0db2016
return ErrorInvalidAuthentication when OTA is not valid
2016-02-04 22:52:42 +01:00
v2ray
c849f3df54
test case for shadowsocks protocol
2016-02-04 22:10:52 +01:00
v2ray
903985eab5
close dokodemo after testing
2016-02-04 18:03:15 +01:00
v2ray
4f59d6847f
fix test break
2016-02-04 13:27:35 +01:00
v2ray
3212337aa3
clean up test cases for dokodemo
2016-02-04 13:13:15 +01:00
v2ray
77f5c15dbc
fix freedom test
2016-02-04 13:09:17 +01:00
Darien Raymond
b18693a9c4
more test cases for freedom
2016-02-04 10:11:11 +00:00
v2ray
29c100e613
doc for proxy
2016-02-03 22:56:40 +01:00
v2ray
32b2220739
apply udpHub in socks proxy
2016-02-03 22:43:09 +01:00
v2ray
2d1ded9b9e
fix race condition in shadowsocks
2016-02-03 22:42:58 +01:00
v2ray
265c9e4abb
fix race condition in dokodemo
2016-02-03 22:42:44 +01:00
v2ray
11c7191b38
clean up after error
2016-02-03 21:44:20 +01:00
v2ray
c6df0fde19
clean up variable initialization
2016-02-03 21:36:52 +01:00
v2ray
2932d23b32
apply user settings to shadowsocks
2016-02-03 12:18:28 +01:00
v2ray
2147ba5ab3
move fundamental interfaces from vmess to common
2016-02-03 11:58:42 +01:00
v2ray
e8b0505c01
import comment of package vmess
2016-02-02 22:21:43 +01:00
v2ray
159644a230
remove out dated test case
2016-02-01 23:53:20 +01:00
v2ray
5e2583ec8d
fix udp for dokodemo and shadowsocks
2016-02-01 21:34:07 +01:00
v2ray
48aa9af631
remove out dated test
2016-02-01 17:21:31 +01:00
Darien Raymond
0d77139c24
fix udp issue in socks proxy
2016-02-01 15:36:33 +00:00
Darien Raymond
8006d0cfdc
update version in install-release.sh
2016-02-01 14:06:03 +00:00
Darien Raymond
3b1f92b7e8
allow multiple UDP incoming packets in freedom
2016-02-01 11:38:38 +00:00
v2ray
d3ff2b3698
chunk stream in vmess
2016-02-01 12:22:29 +01:00
v2ray
6c7a9586d0
Save 1 allocation in shadowsocks
2016-01-31 21:37:00 +01:00
v2ray
2031c13a7f
refactor app.Space
2016-01-31 17:01:28 +01:00
v2ray
fcf8a74a3a
log access info in shadowsocks
2016-01-30 22:57:20 +01:00
v2ray
026f17fdcc
todo sync
2016-01-30 22:50:36 +01:00
v2ray
6b9cb3f80d
send to UDP dest
2016-01-30 22:36:28 +01:00
v2ray
383eb57487
rename CorruptedPacket to ErrorCorruptedPacket
2016-01-30 17:20:30 +01:00
v2ray
1e79a3b75a
rename errors
2016-01-30 12:32:38 +01:00
v2ray
f34e253ea3
Rename errors with Error prefix
2016-01-30 12:23:56 +01:00
v2ray
be10ca7e09
fix shadowsocks udp ota
2016-01-29 21:55:42 +01:00
v2ray
e9c784d4bd
refactor shadowsocks
2016-01-29 20:54:06 +01:00
Darien Raymond
57ff7ba923
complete implementation of shadowsocks ota
2016-01-29 15:43:45 +00:00
Darien Raymond
7f5184e943
understand OTA bit
2016-01-29 14:09:51 +00:00
Darien Raymond
008c285324
move transport methods from net to io
2016-01-29 13:39:55 +00:00
v2ray
494f431c37
remove ReadAllBytes in favor of io.ReadFull
2016-01-28 23:58:23 +01:00
v2ray
795c49b6fb
close udp hub
2016-01-28 21:30:46 +01:00
v2ray
dde3f60e30
udp for shadowsocks
2016-01-28 21:30:05 +01:00
v2ray
1f9bd5f692
rename TCPListener to TCPHub
2016-01-28 20:47:00 +01:00
Darien Raymond
4be27a6377
udp hub
2016-01-28 16:43:47 +00:00
Darien Raymond
925c06aeed
rename transport/listener to hub
2016-01-28 16:08:32 +00:00
Darien Raymond
30f131b9ee
test case for shadowsocks tcp
2016-01-28 12:40:00 +00:00
v2ray
095905a460
tcp handler for shadowsocks
2016-01-28 12:33:58 +01:00
v2ray
8ae8b3c9f5
custom tcp listener and connection object
2016-01-27 22:11:31 +01:00
v2ray
3f634eb54f
fix build break
2016-01-27 15:57:53 +01:00
v2ray
2e866be181
R.I.P Shadowsocks
2016-01-27 12:46:40 +01:00
Darien Raymond
6b894c719d
own hosts in http config
2016-01-26 10:28:09 +00:00
v2ray
e11088aad5
update doc
2016-01-25 21:33:28 +01:00
v2ray
9ae258de3d
rename
2016-01-25 17:29:26 +01:00
v2ray
5e16fa2dcd
rename InboundConnectionHandlerCreator
2016-01-25 17:27:15 +01:00
v2ray
d4dcee5fa3
rename InboundConfig methods
2016-01-25 17:23:10 +01:00
v2ray
d325400f2e
rename RegisterInboundConnectionHandlerFactory to RegisterInboundHandlerCreator
2016-01-25 17:20:44 +01:00
v2ray
01ed2fa889
rename RegisterInboundConnectionConfig to RegisterInboundConfig
2016-01-25 17:19:09 +01:00
v2ray
9fe8178e4a
rename InboundConnectionHandler to InboundHandler
2016-01-25 17:18:24 +01:00
v2ray
4817f8ab1f
Merge branch 'master' of https://github.com/v2ray/v2ray-core
2016-01-25 11:54:59 +01:00
Darien Raymond
4624de091b
remove cache of existing user hashes
2016-01-25 10:54:03 +00:00
v2ray
9f6822411b
late set of cmd id
2016-01-25 00:43:55 +01:00
v2ray
2b1441b030
bytes to number methods
2016-01-24 22:28:44 +01:00
v2ray
73c17d9931
more fuzz test
2016-01-22 21:56:37 +01:00
v2ray
42b4764700
revert lock change
2016-01-22 17:56:19 +01:00
v2ray
f735663364
check input value nil
2016-01-22 17:56:12 +01:00
v2ray
790d37bf90
checksum for response command
2016-01-22 17:56:03 +01:00
v2ray
9ec238d161
account fuzz test
2016-01-22 17:55:03 +01:00
v2ray
795681c288
fix locking in vmess inbound
2016-01-22 16:50:31 +01:00
v2ray
d8f29f4b5e
log for detour picking
2016-01-22 16:48:17 +01:00
v2ray
f478db2b2e
ensure that detour list has not changed
2016-01-22 01:10:25 +01:00
v2ray
2c03641f74
test case for receiver
2016-01-22 01:10:12 +01:00
v2ray
37a9d8ef50
dice.Roll()
2016-01-21 22:45:44 +01:00
Darien Raymond
d623b1809d
minor fix
2016-01-21 16:29:18 +00:00
Darien Raymond
d8c6102638
test case for on demand detour
2016-01-21 16:22:56 +00:00
Darien Raymond
d75eeed25d
format code
2016-01-21 12:05:16 +00:00
Darien Raymond
85feb725a5
BytesLiteral.All()
2016-01-21 11:52:09 +00:00
v2ray
f60747c455
2nd step to reduce number of authentication bits
2016-01-21 10:08:00 +01:00
Darien Raymond
23b6b987ca
fix a bug in cmdkey generation
2016-01-20 16:45:50 +00:00
v2ray
baaef1dad5
handle switch account command in vmess out
2016-01-20 17:31:43 +01:00
v2ray
b0adb24003
handle inbound detour in vmess inbound
2016-01-19 23:41:40 +01:00
v2ray
6eff759b05
more fields in switch account command
2016-01-19 01:21:07 +01:00
v2ray
65d5c07533
BytesLiteral.String
2016-01-18 12:58:04 +01:00
v2ray
4dd771170c
lazy evaluation of access log
2016-01-18 12:31:27 +01:00
v2ray
eec0bb4db4
lazy evaluation of log fields
2016-01-18 12:24:33 +01:00
v2ray
8f20933457
cleanup socks log
2016-01-18 11:43:24 +01:00
v2ray
dde47290d7
completely remove json folder in v2ray
2016-01-17 21:43:10 +01:00
v2ray
48f1d34ca5
fix config in http
2016-01-16 13:08:50 +01:00
v2ray
a403859105
move network to net
2016-01-15 14:34:33 +01:00
v2ray
5ceac7a6e2
move host from net/json to net
2016-01-15 13:17:04 +01:00
v2ray
e5fa96f814
massive refactoring against json config parsing
2016-01-15 12:43:06 +01:00
v2ray
04e7dc87a8
log request content as debug
2016-01-12 18:28:00 +01:00
v2ray
7881330644
remove unnecessary memory allocation in vmess
2016-01-12 13:39:17 +01:00
v2ray
f7a152b871
remove unnecessary memory allocation in id generation
2016-01-12 13:39:02 +01:00
v2ray
48ff2a5ae8
use [16]byte instead of string for faster hashing
2016-01-12 13:02:05 +01:00
Darien Raymond
bed5235772
remove proxy/vmess/protocol/user
2016-01-12 10:52:40 +00:00
Darien Raymond
dc1fbecdfb
remove fuzzing tests
2016-01-12 10:45:38 +00:00
v2ray
349b02084c
rewrite hashing logic in vmess
2016-01-12 11:38:43 +01:00
v2ray
ea080b2ebf
rewrite id hash queue
2016-01-11 22:51:35 +01:00
v2ray
47e2d957d1
don't process malformed request
2016-01-11 12:35:28 +01:00
v2ray
8daea1dc06
close inbound ray when there is an error
2016-01-11 01:01:52 +01:00
v2ray
d1fecba6e4
improve timed queue performance
2016-01-10 09:11:46 +01:00
v2ray
242624de96
fix test break
2016-01-09 00:22:50 +01:00
v2ray
4ca43c3121
alternative user ids
2016-01-09 00:10:57 +01:00
v2ray
43f76d4704
doc for InboundConnectionHandler
2016-01-06 22:39:56 +01:00
v2ray
5b1854f842
simplify connection handler registration
2016-01-06 16:23:54 +01:00
v2ray
350b31cad9
First step to reduce number of bytes for response validation
2016-01-06 01:37:53 +01:00
v2ray
b9c3f2cb75
Fix for empty packets
2016-01-05 12:08:16 +01:00
v2ray
7c64093a7a
Output debug info when parsing VMess request
2016-01-05 00:08:00 +01:00
v2ray
3e76c3f307
fix a typo
2016-01-04 23:00:14 +01:00
v2ray
1239b1a57b
fix buffer usage in vmess out
2016-01-04 22:02:22 +01:00
Darien Raymond
e6ad1d8518
format code
2016-01-04 14:16:52 +00:00
Darien Raymond
27b521d2aa
fix buffer usage in VMess
2016-01-04 12:01:32 +00:00
v2ray
5f6d932c03
fixes for mutex usage
2016-01-04 08:41:01 +01:00
v2ray
4271e619fe
fixes for mutex usage
2016-01-04 08:40:24 +01:00
v2ray
59a5f832f6
fixes for sync logic
2016-01-04 01:19:27 +01:00
v2ray
4a7f45113a
check accepting in http
2016-01-04 01:13:43 +01:00
v2ray
56c5302367
close method for point server
2016-01-04 00:33:25 +01:00
v2ray
201481a82c
close method for inbound connection handler
2016-01-03 23:30:37 +01:00
v2ray
0780db7999
move connhandler to proxy
2016-01-02 23:32:18 +01:00
v2ray
54ce82fbfa
Move unnecessary functions to internal
2016-01-02 23:08:36 +01:00
v2ray
1c4c9bffad
Move proxy/common/config to proxy/internal/config
2016-01-02 17:40:51 +01:00
v2ray
3baa1f5bc5
interface for inbound connection handler manager
2016-01-01 23:44:11 +01:00
adoot
09bf6def69
http bug fixes & disable keep-alive
...
This patch defers Conn.Close call until all responses from server
has been written to the client. It should fix many of the hanging
issues we have with plain HTTP requests.
2016-01-01 13:08:53 -08:00
v2ray
8d6fdd014a
dns cache command
2015-12-25 01:07:42 +01:00
v2ray
4a8ec6926b
dialer
2015-12-17 01:19:04 +01:00
v2ray
6543facd51
converting from host to address directly
2015-12-17 00:58:45 +01:00
v2ray
34a0cb0b70
move port out of address
2015-12-16 23:53:38 +01:00
v2ray
e3a00d1400
improve http proxy effeciency
2015-12-16 16:37:32 +01:00
v2ray
b3ec97058e
refind http proxy
2015-12-16 15:52:40 +01:00
v2ray
34f34bb25d
refine http proxy
2015-12-15 22:13:09 +01:00
v2ray
24653aef21
still close connection agressively
2015-12-15 16:38:25 +01:00
v2ray
e12e5a0ecb
barely working http proxy
2015-12-15 16:00:47 +01:00
v2ray
d0a75ce9f3
handle connect request in http proxy
2015-12-15 00:53:40 +01:00
Darien Raymond
05caf04eee
unfinished http proxy
2015-12-14 16:26:29 +00:00
Darien Raymond
f0c1695db4
send request without waiting for the first packet.
2015-12-14 14:51:48 +00:00
v2ray
1f584f1502
interface for secondary id
2015-12-13 00:10:35 +01:00
v2ray
a63670311e
use uuid in vmess id
2015-12-12 21:40:16 +01:00
v2ray
1c5c1a7aef
debug info
2015-12-12 20:57:47 +01:00
v2ray
88851f2bc9
Allow IP address is passed as domain in socks5 protocol
2015-12-12 20:57:39 +01:00
v2ray
fed5697dc3
SwitchAccount command
2015-12-12 13:11:49 +01:00
Darien Raymond
b6ed26aedf
pubsub
2015-12-11 14:56:10 +00:00
Darien Raymond
dd81fc6f6a
hide space implementations from interfaces
2015-12-11 11:01:20 +00:00
Darien Raymond
ed09b4ea6a
support domain as host in VMess outbound config.
2015-12-09 11:20:59 +00:00
Darien Raymond
af8412175e
re-org vmess content
2015-12-07 19:32:38 +00:00
v2ray
092217182a
simplify config directory
2015-12-06 18:21:15 +01:00
v2ray
8bee0c4a7b
cleanup shell/point/config
2015-12-06 16:41:41 +01:00
v2ray
e1c58fae2b
dns cache
2015-12-06 11:00:10 +01:00
v2ray
15e6e6d80c
introduce app.Space
2015-12-05 22:55:45 +01:00
v2ray
32c3565681
typo
2015-12-05 01:49:03 +01:00
v2ray
06f9b65ec4
receiver manager
2015-12-05 01:16:21 +01:00
Darien Raymond
6bb53251e9
handle response command in vmess outbound.
2015-12-04 11:42:56 +00:00
Darien Raymond
11220a4952
split vmess inbound and outbound
2015-12-04 11:07:32 +00:00
v2ray
36b7a3fe07
test case for socks protocol
2015-12-03 23:31:04 +01:00
v2ray
f69b83f3e6
add interface for socks config
2015-12-03 22:41:06 +01:00
Darien Raymond
5003afc85c
test case for vmess outbound config
2015-12-02 21:30:15 +00:00
Darien Raymond
ae056714db
refactor common/net.Port
2015-12-02 20:44:01 +00:00
Darien Raymond
fa7c1069bc
more update
2015-12-02 16:27:55 +00:00
Darien Raymond
36848af749
leveral serial.String in code
2015-12-02 15:49:34 +00:00
Darien Raymond
3c12469ae5
leverage serial.String in assert
2015-12-02 15:41:19 +00:00
Darien Raymond
7960b97c8e
fix test break
2015-12-02 15:26:11 +00:00
Darien Raymond
0a2e4343bc
massive refactoring against unit test lib
2015-12-02 14:27:18 +00:00
V2Ray
cee85bdf26
Add Port as a type
2015-12-02 12:47:54 +01:00
Darien Raymond
cab29a7bc9
breaking change: update the way in vmess response validation
2015-12-01 13:54:49 +00:00
V2Ray
07582c5b60
Move point to shell
2015-11-29 14:45:32 +01:00
V2Ray
10b5f5cc5e
Rename vmess in & out file
2015-11-28 20:50:44 +01:00
V2Ray
c2904383b3
FIx a bug that mutex is passed by value.
2015-11-28 20:29:42 +01:00
V2Ray
3f0ada1bc8
add response op in vmess protocol
2015-11-28 10:11:56 +01:00
V2Ray
9a88e8696a
format code
2015-11-27 21:57:15 +01:00
V2Ray
4046ee968c
refactor code
2015-11-27 21:50:28 +01:00
V2Ray
a8d07ce931
refactor code
2015-11-27 12:29:20 +01:00
V2Ray
1b8e100879
validation reader for vmess
2015-11-15 21:54:28 +01:00
V2Ray
8597642002
UDP support for dokodemo door
2015-11-11 00:08:43 +01:00
V2Ray
b6cebd127d
fuzz test for socks udp
2015-11-10 18:16:13 +01:00
V2Ray
3a6844f482
reduce number of iterations of vmess fuzzing test.
2015-11-10 12:25:26 +01:00
V2Ray
bd48556b98
Smarter reader generator
2015-11-10 12:13:01 +01:00
V2Ray
2a6f4740c1
fuzzing test for vmess protocol
2015-11-10 00:05:25 +01:00
V2Ray
d34678d9a6
fuzzing test for socks protocol
2015-11-09 23:52:31 +01:00
V2Ray
e60fcba4b3
Test cases for Socks end 2 end.
2015-11-06 13:08:20 +01:00
V2Ray
fdc72ed8c9
Move mocked userset to vmess/protocol/user
2015-11-04 23:04:00 +01:00
V2Ray
1d4b541d2f
Move mock config to app/config
2015-11-04 23:01:04 +01:00
V2Ray
31fb65b3d8
Remove VMess UDP
2015-11-04 21:52:48 +01:00
V2Ray
8204c9923d
typo
2015-11-04 17:57:11 +01:00
V2Ray
0d06561b7e
More test case
2015-11-03 22:27:26 +01:00
V2Ray
c144e77eb3
Refactor socks config
2015-11-03 22:23:50 +01:00
V2Ray
654cdf18d9
Refactor socks json config
2015-11-03 22:09:07 +01:00
V2Ray
a46db069fb
Refactor AES encryption/decryption
2015-11-03 21:26:16 +01:00
V2Ray
6faff6d514
test case for socks udp protocol
2015-11-03 18:33:58 +01:00
V2Ray
d9ebd008d3
Check lenth of the udp packet before parsing
2015-11-03 18:20:28 +01:00
V2Ray
f080f36372
format code
2015-11-03 00:07:19 +01:00
V2Ray
1edd0e660e
Remove redunent code
2015-11-02 23:55:10 +01:00
V2Ray
8fbb9762db
typo
2015-11-02 23:54:11 +01:00
V2Ray
1a4405dbe1
Remove redunent code
2015-11-02 23:52:22 +01:00
V2Ray
f2cf4a1f89
Test case for too-short request
2015-11-02 23:48:47 +01:00
V2Ray
1c6b66eacf
Test case for dokodemo
2015-11-01 22:17:49 +01:00
V2Ray
03b8c8f9e8
Port picker
2015-11-01 21:32:08 +01:00
V2Ray
192960b711
Move mocked connection handlers to proxy/testing/mocks
2015-11-01 21:15:08 +01:00
V2Ray
1c09b70931
format code
2015-10-31 14:08:13 +01:00
V2Ray
3765826602
Test case for config cache.
2015-10-31 14:08:09 +01:00
V2Ray
46c0d457d9
User settings for trusted user
2015-10-31 09:39:45 +01:00
V2Ray
b44098d752
Introduce user level
2015-10-31 00:38:31 +01:00
V2Ray
2b45e63607
Move config cache to proxy/common
2015-10-30 22:42:24 +01:00
V2Ray
c56e17fff9
Dokodemo proxy
2015-10-30 15:56:46 +01:00
V2Ray
f93b29993b
Move connection handler interfaces to proxy/common/connhandler
2015-10-30 00:11:29 +01:00
V2Ray
361a22d74d
Move proxy errors to proxy/common/errors
2015-10-29 23:59:57 +01:00
V2Ray
fdb41bbd50
Remove call to UTC() which is not necessary.
2015-10-29 12:04:14 +01:00
V2Ray
9b8632d01a
BlackHole proxy
2015-10-28 17:41:14 +01:00
V2Ray
08328d23fa
beginning of http proxy
2015-10-28 12:13:27 +01:00
V2Ray
294376edc0
Remove unused const
2015-10-25 21:44:08 +01:00
V2Ray
58dcfd5e84
Reduce timeout for reading VMess header
2015-10-21 23:10:03 +02:00
V2Ray
f474fc32a7
Remove all []byte allocation
2015-10-21 22:38:53 +02:00
V2Ray
96c5d32d59
Remove []byte allocation in vmess
2015-10-21 22:28:26 +02:00
V2Ray
2c710d6b1c
Protect from DoS attack
2015-10-21 21:53:55 +02:00
V2Ray
a81327c5b9
Fix zero users bug
2015-10-16 14:15:28 +02:00
Claire Raymond
771d0225c7
Refactor vmess config
2015-10-16 10:03:22 +00:00
Claire Raymond
f10f08c87d
add retry on socks and vmess inbound
2015-10-15 11:42:43 +00:00
V2 Ray
9071b3ea10
more comments
2015-10-15 11:15:59 +00:00
V2Ray
4bc91b0215
Fix test
2015-10-14 14:56:11 +02:00
V2Ray
890d185979
Cleanup root directory
2015-10-14 14:51:19 +02:00
V2Ray
1b80a1a85a
Handle multiple UDP packets in socks.
2015-10-14 09:56:04 +02:00
V2Ray
99671a173f
Customize UDP server address
2015-10-14 00:04:49 +02:00
V2Ray
3c259b7069
Remove unused const
2015-10-13 23:55:54 +02:00
V2Ray
4ac3eab385
format code
2015-10-13 22:00:12 +02:00
V2Ray
8c5865d4e7
Lazy initialize of socks5 response
2015-10-13 22:00:03 +02:00
V2Ray
7cc8d90f26
test case for wrong auth method
2015-10-13 21:55:12 +02:00
V2Ray
dc7d4a2309
Test case for wrong user account in socks5
2015-10-13 21:29:27 +02:00
V2Ray
efb881d73c
Remove log level detection during runtime
2015-10-13 18:27:29 +02:00
V2Ray
1d40220d31
Remove error defination
2015-10-13 13:55:06 +02:00
V2Ray
9e078d533d
continue to work even if failed to accept connection
2015-10-11 22:46:56 +02:00
V2Ray
bc6174d4b5
Continue to work even if failed to accept connection
2015-10-11 22:44:48 +02:00
V2Ray
37112f737e
Log UDP access as well
2015-10-11 17:03:52 +02:00
V2Ray
95b44f2160
Clear buffer for UDP response.
2015-10-11 15:18:35 +02:00
V2Ray
5cee727308
Fix socks authentication
2015-10-10 22:31:25 +02:00
V2Ray
d4f3fc0c0f
More accurate hash generation
2015-10-10 21:43:40 +02:00
V2Ray
ab151cc053
Don't generate duplicated hash
2015-10-10 21:29:26 +02:00
V2Ray
7f6878fbc3
Ray is never nil
2015-10-10 20:52:31 +02:00
V2Ray
a77f62428a
Use Buffer as a writer
2015-10-10 20:52:13 +02:00
V2Ray
32ab3dcd61
typo
2015-10-10 17:30:37 +02:00