1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-16 09:26:21 -05:00
Commit Graph

222 Commits

Author SHA1 Message Date
Loyalsoldier
8cb2db5321
Fix: security issues & overflow potentiality (#465) 2020-11-28 21:56:20 +08:00
loyalsoldier
784775f689
Refine code according to golangci-lint results 2020-10-11 19:22:46 +08:00
Loyalsoldier
bb44d01096
Format proto files using clang-format according to google style (#264)
* Format proto files using clang-format according to google style
* Regenerate pb.go files
2020-10-05 08:36:40 +08:00
loyalsoldier
b181045b0c
Errorgen: support to run outside of GOPATH 2020-10-04 13:06:12 +08:00
loyalsoldier
f9175e3bc8
Fix according to go vet results 2020-08-26 19:35:33 +08:00
Loyalsoldier
ef460f68f8
Adjust Protocol Buffers (#109)
* Update protoc binary executable files to v3.13.0

* Write proto files in more standard way

* Make go generate & vprotogen compatible with protoc-gen-gofast

* Regenerate pb.go files according to new proto files

* Clean go.sum by running go mod tidy

* Implement mustEmbedUnimplementedServiceServer for gPRC services
2020-08-24 12:10:26 +00:00
Roger Shimizu
90af5f19ba
Apply Debian's patch to upstream 2020-06-24 12:57:03 +08:00
Shelikhoo
09b81b78c3
regenerate pb data 2020-06-08 16:16:32 +08:00
Shelikhoo
9bf07b1f26
VMess AEAD Experiment 2020-06-06 17:11:30 +08:00
Shelikhoo
5e59534333
Fix when rolled number is zero 2020-06-02 17:30:48 +08:00
mzz
49b63cbd79 code quality review 2020-03-24 22:26:03 +08:00
mzz2017
9e84ce38dd feat: support more types of certificates 2020-03-24 22:26:03 +08:00
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