1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-22 01:57:12 -05:00
Commit Graph

51 Commits

Author SHA1 Message Date
Darien Raymond
a01fdc29a6
remove NewMultiBufferValue 2018-11-16 11:08:12 +01:00
Darien Raymond
f2f67132a7
refactor socks handshake 2018-11-15 23:37:53 +01:00
Darien Raymond
a20262ef20
allocate buffer on stack 2018-11-15 21:32:27 +01:00
Darien Raymond
6c7dcc35ab
remove buffer.WriteBytes 2018-11-14 22:55:20 +01:00
Darien Raymond
5c5816072e
use buffer for reading user id in socks 2018-11-14 20:23:52 +01:00
Darien Raymond
77c03f0da5
move back to serial 2018-11-03 13:03:02 +01:00
Darien Raymond
58e2ed3381
remove closure on ReadFullFrom 2018-11-02 15:01:33 +01:00
Darien Raymond
54e1bb96cc
introduce in-memory user 2018-08-27 00:11:32 +02:00
Darien Raymond
206f52affc
refine buffer interface 2018-07-30 22:45:06 +02:00
Darien Raymond
ebea255c74
eliminate partial writes 2018-07-28 15:03:40 +02:00
Darien Raymond
4f33540b19
temporary workaround for Tor command in socks. 2018-06-25 13:20:02 +02:00
Darien Raymond
b453190e58
fix lint errors in socks 2018-05-26 02:01:48 +02:00
Darien Raymond
3997d13b97
rename Slice and Slice from to Resize and Advance 2018-04-19 23:48:38 +02:00
Darien Raymond
1425fd2ba9
remove Buffer.Append method 2018-04-19 22:56:55 +02:00
Darien Raymond
08dab81eb2
migrate int to int32 2018-04-02 20:00:50 +02:00
Darien Raymond
4de3f1adc1
change ReadFullFrom to take int32 size 2018-04-02 00:44:47 +02:00
Darien Raymond
e44394ade5
more informational error 2018-03-26 16:56:19 +02:00
Darien Raymond
fda85506c8
reuse buffer 2018-03-09 11:26:00 +01:00
Darien Raymond
af1abf687c
unify all address reading and writing 2018-02-23 23:42:01 +01:00
Darien Raymond
768e30c37b
disable socks 4 when auth is required. 2018-02-23 13:55:56 +01:00
Darien Raymond
0920af171b
remove redundent code 2018-02-22 10:49:06 +01:00
Darien Raymond
1077e33d62
unify address reading in socks and shadowsocks 2018-02-22 10:31:08 +01:00
Darien Raymond
664b840812
send username/password together with initial handshake data in socks client. Fix #785 2017-12-26 23:33:25 +01:00
Darien Raymond
81c4f23691
merge address writing 2017-12-04 00:55:34 +01:00
Darien Raymond
594ec15c09
cleanup buffer usage 2017-11-09 22:33:15 +01:00
Darien Raymond
26818a2602 fix domain length issue for all proxies 2017-10-22 20:17:06 +02:00
Darien Raymond
190adf1872 fix socks client for super long domain 2017-09-19 01:39:33 +02:00
Darien Raymond
9594f76f93 ensure enough buffer for socks header 2017-09-07 22:58:04 +02:00
Darien Raymond
1c856a46ab step 1 to remove reference to net package 2017-08-29 12:56:57 +02:00
Darien Raymond
6a90ce3c43
comments 2017-04-21 15:36:05 +02:00
Darien Raymond
498c7dafdf
clean udp writer 2017-04-21 14:51:09 +02:00
Darien Raymond
5bfab82c41
refactor 2017-04-18 22:36:43 +02:00
Darien Raymond
d6988f1a63
simplify code 2017-04-16 13:17:35 +02:00
Darien Raymond
b1dfff2fdd
remove 8k buffer pool 2017-04-15 21:19:21 +02:00
Darien Raymond
f506a39d32
multi buffer 2017-04-15 21:07:23 +02:00
Darien Raymond
7c1b3ac1f0
cleanup error messages 2017-04-09 13:30:46 +02:00
Darien Raymond
35248497d2
refactor error messages 2017-04-09 01:43:25 +02:00
Darien Raymond
fc31f9b94c
refactor error interface 2017-04-06 15:13:09 +02:00
Darien Raymond
6363c33790
detect actual address type for domain address type 2017-02-22 10:24:04 +01:00
Darien Raymond
6629b6dd28
fix socks password authentication 2017-01-29 08:25:01 +01:00
Darien Raymond
ca721230e1
split listening settings from inbound proxies and apply context 2017-01-26 20:46:44 +01:00
Darien Raymond
6056cc6638
handle nil error 2017-01-17 10:22:18 +01:00
Darien Raymond
f2a750a019
comment out unused const 2017-01-08 23:31:45 +01:00
Darien Raymond
74938dc428
write back error status when authentication timeout 2017-01-08 23:19:03 +01:00
Darien Raymond
7401807c5f
test case for socks udp 2017-01-08 16:31:28 +01:00
Darien Raymond
5b89c6aada
socks4 tests 2017-01-08 10:23:55 +01:00
Darien Raymond
e87a16900e
remove debug info 2017-01-08 01:36:03 +01:00
Darien Raymond
f2e9d8a4e0
socks client 2017-01-08 01:06:35 +01:00
Darien Raymond
b00ee67369
refine socks udp handling 2017-01-07 21:57:24 +01:00
Darien Raymond
b9fb670ca6
remove duplicated methods 2017-01-05 16:07:34 +01:00