Commit Graph

65 Commits

Author SHA1 Message Date
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
秋のかえで 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 eed3f5a13f
Fix: typo (#524) 2020-12-16 09:26:25 +08:00
Loyalsoldier b68f943c78
Fix lint according to golangci-lint (#439) 2020-11-22 05:05:01 +08:00
Kslr 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
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
lucifer 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
Darien Raymond d5de8e27cc
slow down when there is not enough file descriptors. fixes #1574 2019-02-25 10:22:04 +01:00
Darien Raymond 1ab94fed79
optimize v2ctl size 2019-02-01 20:08:21 +01:00
Darien Raymond 5279296f03
remove use of context.WithValue in transport 2018-11-21 14:54:40 +01:00
Darien Raymond 20251bf499
system listener for both TCP and UDP 2018-09-15 21:35:32 +02:00
Darien Raymond 6d750e8149
options for enable TFO 2018-09-10 13:23:27 +02:00
Darien Raymond b79ec5f1ed
use protocol in string form 2018-08-06 13:48:35 +02:00
Darien Raymond 9977eadf8c
remove dependency from errors to session 2018-06-25 01:09:02 +02:00
Darien Raymond a320196b77
refine domain socket transport 2018-04-09 17:09:24 +02:00
Darien Raymond bdab1af29a
update tls config generation 2018-02-28 15:15:22 +01:00
Darien Raymond 6b872c266c
session id 2018-02-22 15:26:00 +01:00
Darien Raymond efcb567273
remove context in struct 2018-02-08 15:39:46 +01:00
Darien Raymond 9ccdf67d2d
fix lint warnings 2018-01-02 18:57:22 +01:00
Darien Raymond 30f27706e0
Use 'h2' for ALPN in TCP 2018-01-02 18:16:36 +01:00
Darien Raymond f4c35db968
merge log into common log 2017-12-19 21:28:12 +01:00
Darien Raymond 048ffbc7dc
simplify tls config 2017-12-17 00:53:17 +01:00
Darien Raymond 9ff0dc7327
remove struct scoped context 2017-12-01 10:36:08 +01:00
Darien Raymond 52ad41cda3 completely move away from net package 2017-08-29 14:32:54 +02:00
Darien Raymond 1c856a46ab step 1 to remove reference to net package 2017-08-29 12:56:57 +02:00
Darien Raymond 5829b45bbe
close timer faster 2017-05-09 00:01:15 +02:00
Darien Raymond 114f390a69
cleanup 2017-04-20 14:37:53 +02:00
Darien Raymond 5f4acaa9ea
merging reader and writer 2017-04-20 11:00:15 +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 ade8453c0a
completely remove connection reuse feature 2017-04-07 21:54:40 +02:00
Darien Raymond 75f5cb9afb
refactor log and error 2017-04-06 21:13:17 +02:00
Darien Raymond fc31f9b94c
refactor error interface 2017-04-06 15:13:09 +02:00
Darien Raymond 514dcffe2e
Fix a potential issue causing high CPU usage 2017-03-02 11:54:40 +01:00
Darien Raymond ec0986d6a9
remove useless code 2017-02-27 15:13:22 +01:00
Darien Raymond d93ff628bc
refactor tcp worker 2017-02-26 14:38:41 +01:00
Darien Raymond 7792237b50
adopt context in listeners 2017-02-24 01:05:16 +01:00
Darien Raymond 949a74edfa
fix a nil reference issue in tls listener 2017-02-17 10:33:42 +01:00
Darien Raymond 6888093197
gofmt 2017-02-10 16:42:24 +01:00
Darien Raymond f046f334cd
move common/log to app/log 2017-02-01 21:35:40 +01:00
Darien Raymond 9139a87865
closw conn in the same routine 2017-01-28 16:28:18 +01:00
Darien Raymond ca721230e1
split listening settings from inbound proxies and apply context 2017-01-26 20:46:44 +01:00
Darien Raymond db1c9131f0
global config creator 2017-01-12 22:47:10 +01:00
Darien Raymond d24fe9dbfb
separate network and transport protocol 2017-01-12 12:54:34 +01:00