Commit Graph
256 Commits
Author SHA1 Message Date
dyhkwongandGitHub 8de2f27043 fix protocol matching in routing (#2540)
* remove invalid http2 sniffer

* do not set metadata protocol for http inbound

http inbound may have transport settings

* fix doh metadata protocol
2023-09-14 08:27:36 +08:00
AkinoKaede 8c5bcacb99 feat: bulit-in qtls cipher suite implementation 2023-07-17 12:38:25 +08:00
dyhkwongandShelikhoo 8433420654 make use of buf.NewWithSize() in Trojan's PacketReader and PacketWriter
also fix a domain length check bug
2023-05-24 00:18:19 +01:00
AkinoKaede 746c45036e Chore: remove Go 1.18 support 2023-04-06 20:10:14 +08:00
VigilansandShelikhoo 8b3215c72a Correctly implement quic sniffer's frame parsing 2023-02-19 12:28:41 +00:00
MoetaYukoandShelikhoo 0dcf8cad0d Compatibility change for go 1.18 2023-02-18 14:36:47 +00:00
秋のかえでandGitHub 07ed4e0d29 Chore: use Go 1.20 (#2297) 2023-02-03 17:08:53 +08:00
Shelikhoo 137cd7093c chore: regenerate protobuf file 2022-09-06 20:36:27 +01:00
HellojackandGitHub a8b0991b52 Feat: refine the logic of security type AUTO (#1913)
* Feat: refine the logic of security type AUTO

https://cs.opensource.google/go/go/+/master:src/crypto/tls/cipher_suites.go;drc=9e6cd3985dbcdcfe0ed2075be6dbe8c5d6de59cb;l=364

* fix fmt
2022-08-19 20:56:32 +01:00
秋のかえで 9ae51c1f15 Chore: use Go v1.19 2022-08-19 19:37:09 +08:00
秋のかえで e0df70b16d Feat: use different qtls modules for different Go version 2022-04-05 14:47:21 +08:00
Shelikhoo 3ef7feaeaf update version: auto replacement to v5 path 2022-01-02 15:16:23 +00:00
秋のかえで 423d566024 fix typo 2021-12-23 13:14:43 +08:00
LoyalsoldierandGitHub 43447aa2e4 Chore: format code to fix lint (#1426) 2021-11-27 14:32:07 +08:00
Shelikhoo 65174fa487 rename buf type adaptor into FromBytes 2021-11-13 14:24:43 +00:00
世界andShelikhoo d781cc0cfd Add uTP sniffer 2021-11-13 14:22:36 +00:00
世界andShelikhoo dbc26775c9 Add quic sniffer 2021-11-13 14:21:57 +00:00
ayanamistandGitHub 80d92381af Add PATCH TRACE http method to sniffer (#1314) 2021-11-05 13:22:30 +08:00
Shelikhoo e0700ccc4b regenerate protobuf file 2021-09-04 11:26:13 +01:00
Shelikhoo 1531cb0ca4 update protobuf version 2021-09-04 11:13:51 +01:00
Shelikhoo a4e6fe5a94 reference google version of protobuf library 2021-09-04 11:13:31 +01:00
Shelikhoo ba2dd5995d replace TypedMessage with anypb.Any 2021-09-04 11:13:28 +01:00
database64128andGitHub c78ee5aac7 🏡 Housekeeping: Update to Go 1.17 (#1215)
* ⬆ Update to Go 1.17

* 🏗 Update workflows and add windows-arm64

* 💾 Update generated files

* 📛 Update not-so-friendly filenames
2021-08-21 13:20:40 +08:00
Shelikhoo 1409be04c2 regenerate protobuf files 2021-07-01 18:58:48 +01:00
Shelikhoo 0822160008 VMess AEAD based packet length 2021-06-22 12:26:01 +01:00
LoyalsoldierandGitHub 6f8979d017 Style: format code by gofumpt (#1022) 2021-05-20 05:28:52 +08:00
LoyalsoldierandGitHub 9e9173acb4 Chore: update protobuf & dependencies (#793)
* Chore: update protobuf
* Chore: regenerate mock files
* Chore: update dependencies
* Chore: use Go v1.16.2 and later
2021-03-18 12:17:26 +08:00
LoyalsoldierandGitHub e03947e6b0 Chore: update protobuf & dependencies (#748) 2021-03-08 05:12:27 +08:00
Shelikhoo 7dabfb755e merge vmess zero encryption support 2021-03-04 00:12:37 +00:00
LoyalsoldierandGitHub 49cf614346 Chore: update dependencies & protobuf (#728) 2021-03-03 17:31:53 +08:00
Shelikhoo 770a2bc1a3 Regenerate protobuf for Zero Security imaginary security level 2021-03-01 15:32:19 +00:00
Shelikhoo 833997df5a Zero Security imaginary security level 2021-03-01 15:30:36 +00:00
LoyalsoldierandGitHub f94dd11a8c Chore: change module name (#677) 2021-02-17 04:31:50 +08:00
LoyalsoldierandGitHub f98944c9e0 Chore: update protobuf (#670) 2021-02-11 14:57:20 +08:00
LoyalsoldierandGitHub 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
LoyalsoldierandGitHub 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
LoyalsoldierandGitHub 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 ShimizuandShelikhoo 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
mzzandkslr 49b63cbd79 code quality review 2020-03-24 22:26:03 +08:00
mzz2017andkslr 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