Commit Graph
153 Commits
Author SHA1 Message Date
Shelikhoo 001aace748 Fix Server Name not Supplied to Security Engine for TCP Transport 2023-01-14 15:27:16 +00:00
Shelikhoo de55f3a675 Use security engine for (tls like) security client without transport 2022-12-24 21:52:23 +00:00
Shelikhoo 137cd7093c chore: regenerate protobuf file 2022-09-06 20:36:27 +01:00
1ocalhost 64a780bba6 Fix: net.Address type checking (#1629)
Allow zero port for listening port, namely random port.
2022-04-06 13:42:25 +08:00
Shelikhoo 3ef7feaeaf update version: auto replacement to v5 path 2022-01-02 15:16:23 +00:00
Shelikhoo b960d3f1fb Add tcp transport registration 2021-11-28 22:49:16 +00:00
Loyalsoldier dce8764fd7 Lint: fix lint (#1427)
* Lint: replace golint with revive
* Lint: fix lint
2021-11-27 17:16:41 +08:00
世界 a66bb28aee Reformat code 2021-10-28 18:34:19 +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
Jebbs b05a469488 v5: Remove v2ctl & wv2ray (rebased from 7c1ab06206) 2021-09-04 11:09:55 +01:00
database64128 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
mzz 5f851c05b1 fix(tproxy): the problem that cannot find ipv6 destination in redirect mode of tproxy (#815)
* fix(tproxy): the problem that cannot find ipv6 destination in redirect mode of tproxy

* chore(lint): reformat the code

* chore(lint): Codacy Static Code Analysis
2021-03-25 16:42:58 +08:00
Loyalsoldier 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
Loyalsoldier e03947e6b0 Chore: update protobuf & dependencies (#748) 2021-03-08 05:12:27 +08:00
Loyalsoldier 49cf614346 Chore: update dependencies & protobuf (#728) 2021-03-03 17:31:53 +08:00
秋のかえで b084b4f980 Fix ALPN being set to h2 by default when using TCP (#716) 2021-03-01 16:23:59 +08:00
Loyalsoldier f94dd11a8c Chore: change module name (#677) 2021-02-17 04:31:50 +08:00
Loyalsoldier f98944c9e0 Chore: update protobuf (#670) 2021-02-11 14:57:20 +08:00
Loyalsoldier eed3f5a13f Fix: typo (#524) 2020-12-16 09:26:25 +08:00
Loyalsoldier e6fb0e1e5d Suppress lint error (#486) 2020-12-03 16:14:34 +08:00
Loyalsoldier b68f943c78 Fix lint according to golangci-lint (#439) 2020-11-22 05:05:01 +08:00
Kslrandloyalsoldier 623cb24644 Remove XTLS (#431)
* remove xtls

* generate pb

* Update protoc

* Clean up go.mod & go.sum

* format code

* restore vless flow

* fix codacy

* do NOT interfere with pb.go files

Co-authored-by: loyalsoldier <10487845+Loyalsoldier@users.noreply.github.com>
2020-11-20 15:53:10 +08:00
lucifer 770b994337 Refine unix domain socket (#367) 2020-10-29 07:30:38 +00:00
loyalsoldier b181045b0c Errorgen: support to run outside of GOPATH 2020-10-04 13:06:12 +08:00
RPRX 97eddc2374 Add XTLS support 2020-09-21 14:56:43 +00:00
RPRX f5642b4075 L -> l, A -> a 2020-08-26 05:01:35 +00:00
RPRX 9046bea466 Adjust TCP inbound logs 2020-08-26 04:50:00 +00: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
luciferandRPRX 5df17338a1 Add PROXY protocol support to tcp inbound (#103)
* Add  PROXY protocol support to tcp inbound

* add settings for PROXY protocol

* Adjust hub.go

Co-authored-by: RPRX <63339210+rprx@users.noreply.github.com>
2020-08-21 13:31:44 +00:00
RPRX 9311cb18e4 Remove unused utls 2020-07-20 05:59:46 +00:00
Darhwa 8e791e92bc Further strip unique signatures of tls handshake
1. allow users to disable session ticket
2. set default alpn to ["h2", "http/1.1"]
2020-06-18 11:32:37 +08:00
Shelikhoo 09b81b78c3 regenerate pb data 2020-06-08 16:16:32 +08:00
lucifer9 e176746d03 make Codacy/PR Quality Review happy 2020-03-12 00:42:29 +08:00
lucifer9 8c6dac924c code cleanup to make Codacy/PR Quality Review happy 2020-03-12 00:42:29 +08:00
lucifer 2ad7060375 add freebsd/pf support:
- transparent proxy (pf rdr) in IPv4 environment
- support both tcp and udp
- enable TCP_FASTOPEN, SO_REUSEPORT_LB, SO_REUSEADDR
- sockopt:mark is mapped to SO_USER_COOKIE
2020-03-12 00:42:29 +08:00
Darien Raymond d5de8e27cc slow down when there is not enough file descriptors. fixes #1574 2019-02-25 10:22:04 +01:00
Darien Raymond c072d38e2c refine tls connection 2019-02-17 00:58:02 +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 1ab94fed79 optimize v2ctl size 2019-02-01 20:08:21 +01:00
Darien Raymond a1b33c3bd6 remove unused functions 2019-01-06 20:33:58 +01:00
Darien Raymond 057e271588 update proto lib 2018-12-01 17:39:51 +01:00
Darien Raymond 9d17221266 fix test last time 2018-11-22 17:30:06 +01:00
Darien Raymond 39c84c8dcd fix broken test again 2018-11-22 17:19:24 +01:00
Darien Raymond 4b6e12815d fix sockopt test 2018-11-22 16:33:32 +01:00
Darien Raymond 5279296f03 remove use of context.WithValue in transport 2018-11-21 14:54:40 +01:00