1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-15 08:46:34 -05:00
Commit Graph

884 Commits

Author SHA1 Message Date
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
cf11bf0498
Suppress lint error (#480) 2020-12-02 21:07:58 +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
Chinsyo
231f5bf024
Add missing deprecation notice to deprecated code (#437) 2020-11-20 15:18:44 +08:00
Chinsyo
2ac380788b
Some minor fixes (#433) 2020-11-20 01:02:52 +08:00
Chinsyo
c4c750d03f
change temporary variable to lower camel case (#427)
Co-authored-by: Chinsyo <chinsyo@sina.cn>
2020-11-17 15:14:48 +08:00
lucifer
770b994337
Refine unix domain socket (#367) 2020-10-29 07:30:38 +00:00
Kslr
a770d72ca4
Merge pull request #168 from p4gefau1t/fix-mkcp-control-window
fix mkcp sending window
2020-10-26 00:46:14 +08:00
Kslr
f7ed96f5d4
Merge pull request #292 from Loyalsoldier/refine-code
Refine code according to golangci-lint results
2020-10-13 13:50:04 +08:00
RPRX
d1ed330f9f
Remove XTLS WriteMultiBuffer method 2020-10-13 04:33:11 +00:00
loyalsoldier
784775f689
Refine code according to golangci-lint results 2020-10-11 19:22:46 +08:00
RPRX
ff6bb51732
Fix XTLS over mKCP (#302) 2020-10-11 02:52:38 +00:00
Kslr
a44e1ede5b
update to IETF QUIC draft-29 (#287)
* update to IETF QUIC draft-29
2020-10-09 10:04:35 +08:00
RPRX
bcc7b78ff7
Add XTLS support to mKCP (#267) 2020-10-06 16:25:02 +00: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
RPRX
cde63bfac1
Add XTLS support to DomainSocket (#241) 2020-09-30 08:40:08 +00:00
RPRX
97eddc2374
Add XTLS support 2020-09-21 14:56:43 +00:00
DuckSoft
9def692b21
kcp: removing annoying NewAEADAESGCMBasedOnSeed hint 2020-09-20 17:47:15 +08:00
Page Fault
1a652933d9
fix mkcp sending window 2020-09-08 07:01:16 +00:00
lucifer9
801b9490b8
fix abstract UDS & add PROXY protocol support to DS inbound 2020-09-04 15:35:54 +08:00
loyalsoldier
f12f76582f
Fix according to staticcheck result
staticcheck repo: https://github.com/dominikh/go-tools/tree/master/cmd/staticcheck
2020-08-30 23:41:15 +08:00
loyalsoldier
1fa89b32d4
Format: run go fmt ./... 2020-08-30 21:17:22 +08:00
lucifer
4c9210cf11
Parse X-Forwarded-For in http transport (#142)
* Parse X-Forwarded-For

* Update hub.go

Co-authored-by: RPRX <63339210+rprx@users.noreply.github.com>
2020-08-30 04:30:05 +00:00
loyalsoldier
f9175e3bc8
Fix according to go vet results 2020-08-26 19:35:33 +08: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
RPRX
a3bc930075
Add PROXY protocol support to WS inbound
https://github.com/v2fly/v2ray-core/pull/103
2020-08-26 04:29:12 +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
Vigilans
39cbe4ab13 Implement setReuseAddr and setReusePort in sockopt_{os}.go 2020-07-31 01:20:12 +08:00
Vigilans
bb932d8a1e Move setting of SO_REUSEPORT out of applyInboundSocketOptions 2020-07-31 00:01:36 +08:00
RPRX
9311cb18e4
Remove unused utls 2020-07-20 05:59:46 +00:00
Kslr
a8f3450b89
Merge pull request #38 from yuhan6665/master
Add stats counter for outbounds
2020-06-28 16:29:29 +08:00
Shelikhoo
e4acbcee8f
Allow the use of Browser Bridge 2020-06-28 15:54:53 +08:00
yuhan6665
f34c092a06 Rename fields in StatCouterConnection
The fields will be used by Outbounds as well in the next commit
2020-06-27 00:31:46 -04:00
Xiaokang Wang
327a6ee1f7
Merge pull request #18 from darhwa/enhance_http_outbound
使http outbound支持连接https与http/2代理服务器
2020-06-25 16:25:44 +08:00
Roger Shimizu
90af5f19ba
Apply Debian's patch to upstream 2020-06-24 12:57:03 +08:00
Darhwa
d29370a654 Enhance http outbound
1. Enables http outbound to set up a HTTP tunnel above HTTP/1.1,
  HTTP/1.1 over TLS, or HTTP/2 over TLS. Previously it only works for
  plain HTTP/1.1
2. In setting up CONNECT tunnel, replaces handcrafted request with
  standard http.Request
2020-06-20 23:03:44 +08: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
8988dc32b9
Update Version 2020-06-10 11:15:28 +08:00
Shelikhoo
aece8a6a86
Added Seed to mKCP, encrypts the packets 2020-06-09 08:36:40 +08:00
Shelikhoo
09b81b78c3
regenerate pb data 2020-06-08 16:16:32 +08:00
Shelikhoo
b610fc0a70
make error less sensitive 2020-06-03 16:32:58 +08:00
Shelikhoo
221a13e658
Early detection of non http traffic to match web server behavior 2020-06-03 15:44:25 +08:00
Shelikhoo
087a62ef3d
Fixed HTTP response not adjusted based on request 2020-06-03 15:16:03 +08:00
Araragi Hokuto
2a96605138
Fix build failure on illumos
Previously v2ray can not be built on illumos due to following reasons:
1. missing build tags in transport/internet/sockopt_other.go
2. many definitions in syscall does not exist on illumos
This commit addresses these problems by adding missing build tags, and
updates those missing syscall deps on illumos to use x/sys/unix.
2020-05-31 12:37:24 +08:00
vcptr
524b2aca56 let crypto/tls choose the proper ciphers 2020-05-31 11:25:56 +08:00