Commit Graph

126 Commits (359f84407ac35e2fe4f48d7298a7669f2da65bdc)

Author SHA1 Message Date
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
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
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
Darien Raymond 091fa6ad23
use new errorgen 2018-09-30 23:08:41 +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 94b880d060
move session based info into session package 2018-09-18 23:09:54 +02:00
Darien Raymond 383b84e7dd
unified tproxy option 2018-09-17 15:12:58 +02:00
Darien Raymond 20251bf499
system listener for both TCP and UDP 2018-09-15 21:35:32 +02:00
Darien Raymond d068f357bd
update proto lib 2018-09-14 11:00:59 +02:00
Darien Raymond 6d750e8149
options for enable TFO 2018-09-10 13:23:27 +02:00
Darien Raymond b3847fb7c0
MemoryStreamSettings 2018-09-07 14:50:25 +02:00
Darien Raymond b79ec5f1ed
use protocol in string form 2018-08-06 13:48:35 +02:00
Darien Raymond 4b63638dca
update protobuf lib 2018-07-25 00:36:28 +02:00
Darien Raymond ff0ae91b9b
update protobuf generated files 2018-06-26 16:28:54 +02:00
Darien Raymond 9977eadf8c
remove dependency from errors to session 2018-06-25 01:09:02 +02:00
Darien Raymond 68da956fc4
re-generate code 2018-05-25 11:56:01 +02:00
Darien Raymond a320196b77
refine domain socket transport 2018-04-09 17:09:24 +02:00
Shelikhoo c542c043f3
Merge branch 'master' of github.com:v2ray/v2ray-core into domainsocket 2018-04-05 19:11:33 +08: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
Shelikhoo 7f34cbdaff
Add Generated Files 2018-02-12 14:17:14 +08:00
Darien Raymond efcb567273
remove context in struct 2018-02-08 15:39:46 +01:00
Darien Raymond c5d356545e
comments for typed messages 2018-01-04 11:24:17 +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 d43a23aa96
move error generator to common 2017-12-03 01:04:57 +01:00
Darien Raymond 9ff0dc7327
remove struct scoped context 2017-12-01 10:36:08 +01:00