Kirill Motkov
0401a91ef4
Some code improvements
...
* Rewrite empty string checks more idiomatically.
* Change strings.ToLower comparisons to strings.EqualFold.
* Rewrite switch statement with only one case as if.
2019-06-28 17:53:44 +03:00
Darien Raymond
4d23411d80
comments
2019-02-23 00:29:09 +01:00
Darien Raymond
6178d7281c
completely remove usage of go:nosplit
2019-02-22 12:54:26 +01:00
Darien Raymond
98950d5ada
remove dep of assert lib
2019-02-10 15:02:28 +01:00
Darien Raymond
836440c61a
dns outbound proxy
2019-02-06 10:21:04 +01:00
Darien Raymond
66a60dbfa3
remove dep on assert lib
2019-02-03 19:46:53 +01:00
Darien Raymond
bdd71a44b4
remove dep on assert lib
2019-02-02 22:19:30 +01:00
Darien Raymond
5c37439dbb
fix broken test
2019-01-08 23:41:34 +01:00
Darien Raymond
163776b182
remove dependency on assert lib
2019-01-08 23:27:02 +01:00
Darien Raymond
d26700a2fe
remove common/compare package
2019-01-07 00:12:04 +01:00
Darien Raymond
21f8bfe476
move udp packet to protocol
2019-01-05 19:49:21 +01:00
Darien Raymond
1c830472b9
dns protocol package
2018-12-29 09:03:32 +01:00
Darien Raymond
d670629651
more test case for tls sniffing
2018-12-27 19:41:23 +01:00
Darien Raymond
372da062d4
fix build break
2018-12-10 23:34:54 +01:00
Victoria Raymond
ce412aec65
Merge branch 'master' into fix-sniff-http-ipv6
2018-12-10 23:09:55 +01:00
Darien Raymond
7e37d141e2
move parseHost to http protocol
2018-12-10 23:08:16 +01:00
comwrg
e52b387483
fix sniff http ipv6 address
2018-12-10 20:37:17 +08:00
Darien Raymond
057e271588
update proto lib
2018-12-01 17:39:51 +01:00
Darien Raymond
2364f5f280
remove AddressFamily.Either()
2018-11-16 11:13:36 +01:00
Darien Raymond
bd7bc63fac
prevent stack copy
2018-11-15 21:16:43 +01:00
Darien Raymond
770a20d266
stack allocated buffer
2018-11-15 16:04:13 +01:00
Darien Raymond
24288a74a2
update tests
2018-11-15 11:17:20 +01:00
Darien Raymond
ff7e5a7cdb
benchmark mux frame
2018-11-14 22:11:05 +01:00
Darien Raymond
16102271dd
improve address serialization performance
2018-11-14 19:16:46 +01:00
Darien Raymond
77c03f0da5
move back to serial
2018-11-03 13:03:02 +01:00
Darien Raymond
35ccc3a49c
cleanup unnecessary method in serial.
2018-11-02 18:20:02 +01:00
Darien Raymond
815c7f09ba
migrate to std lib
2018-11-02 15:47:58 +01:00
Darien Raymond
ee489c95b3
remove Port.Bytes()
2018-11-02 15:14:34 +01:00
Darien Raymond
58e2ed3381
remove closure on ReadFullFrom
2018-11-02 15:01:33 +01:00
Darien Raymond
595f3d685e
merge user info inbound metadata
2018-10-15 08:36:50 +02:00
Darien Raymond
b6dc31d3fe
first part to move feature interfaces into dedicated directory
2018-10-11 20:43:37 +02:00
Darien Raymond
091fa6ad23
use new errorgen
2018-09-30 23:08:41 +02:00
Darien Raymond
f7a68fe4b8
simplify errorgen calling
2018-09-30 19:37:52 +02:00
Darien Raymond
d55fbd7f8d
simplify error creation
2018-09-30 18:39:53 +02:00
Darien Raymond
00ea6e3cb2
update protobuf generated files
2018-09-30 18:39:28 +02:00
Darien Raymond
f589769947
remove unused code
2018-09-18 17:50:09 +02:00
Darien Raymond
383b84e7dd
unified tproxy option
2018-09-17 15:12:58 +02:00
Darien Raymond
d068f357bd
update proto lib
2018-09-14 11:00:59 +02:00
Darien Raymond
16051587b5
fix test break
2018-08-27 00:33:27 +02:00
Darien Raymond
54e1bb96cc
introduce in-memory user
2018-08-27 00:11:32 +02:00
Darien Raymond
9ad1e034e0
use gcm on arm64
2018-08-25 10:04:38 +02:00
Darien Raymond
e8959dff86
fix http sniffer
2018-07-25 23:34:52 +02:00
Darien Raymond
4b63638dca
update protobuf lib
2018-07-25 00:36:28 +02:00
Darien Raymond
e3cc12995f
fix some lint errors
2018-07-19 13:31:57 +02:00
Darien Raymond
8912e4eb90
move sniffer to their own directory
2018-07-16 12:56:50 +02:00
Darien Raymond
5e25741742
update tests
2018-07-13 14:36:09 +02:00
Darien Raymond
29ad2cbbdb
function to compare byte array
2018-07-12 23:38:10 +02:00
Darien Raymond
f54a8735ab
global padding in vmess protocol
2018-07-07 15:42:24 +02:00
Darien Raymond
e3cc852c57
udp dispatcher takes context with dispatching requests. fixes #1182 .
2018-07-03 21:38:02 +02:00
Darien Raymond
07e2592117
fix #1181
2018-07-03 16:56:57 +02:00