1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-18 02:16:10 -05:00
Commit Graph

5468 Commits

Author SHA1 Message Date
loyalsoldier
24948c6520
Merge branch 'master' into dev-wsimprovement 2021-03-28 08:40:05 +08:00
dependabot[bot]
139dfadb62
Chore: bump google.golang.org/grpc from 1.36.0 to 1.36.1 (#824) 2021-03-26 14:13:21 +08:00
github-actions[bot]
09ae6e764a update geoip, geosite 2021-03-26 00:06:38 +00: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
ad09269791
Chore: refine errorgen (#821) 2021-03-24 15:18:07 +08:00
Loyalsoldier
921c6d71ee
Feat: format code in one-key (#802) 2021-03-24 14:43:00 +08:00
Loyalsoldier
1454bed646
Feat: vprotogen refine logic (#820) 2021-03-24 13:03:14 +08:00
Loyalsoldier
389ff73a26
Feat: vprotogen adds version detector (#819)
* Feat: vprotogen adds version detector to block generation code from old protobuf version
* Chore: update .gitignore
2021-03-24 11:49:32 +08:00
Loyalsoldier
3db3ba5872
Fix: remove AA header flag in DNS query (#817) 2021-03-23 15:49:20 +08:00
Loyalsoldier
f3a56ca090
Feat: update lucas-clemente/quic-go to v0.20.0 (#816) 2021-03-22 22:26:30 +08:00
dependabot[bot]
9e039407d2
Chore: bump github.com/miekg/dns from 1.1.40 to 1.1.41 (#814) 2021-03-22 18:07:32 +08:00
Shelikhoo
1cc528636e
update dependency 2021-03-20 22:08:28 +00:00
Shelikhoo
664efadef0
update dependency 2021-03-20 22:05:51 +00:00
Shelikhoo
27e7f93922
exclude browser forwarder from conf build target 2021-03-20 22:05:04 +00:00
Shelikhoo
aac35a833d
added hash of browser forwarding asset to embedded hash 2021-03-20 22:05:04 +00:00
Shelikhoo
69da0da0e4
added rename alias for index.html 2021-03-20 22:05:04 +00:00
Shelikhoo
6c1abd9c6a
added use browser forwarding setting to the websocket config 2021-03-20 22:05:02 +00:00
Shelikhoo
3bc040e3ab
added browser forwarder firmware to the package 2021-03-20 22:03:45 +00:00
Shelikhoo
fd0844934c
added auto generated file 2021-03-20 22:03:45 +00:00
Shelikhoo
e161d6cc1f
added parsing of browser forwarder config 2021-03-20 22:03:45 +00:00
Shelikhoo
af641f3219
added browser forwarder early data 2021-03-20 22:03:43 +00:00
Shelikhoo
f63ee69fcf
added forwarder service 2021-03-20 21:59:30 +00:00
Shelikhoo
2d778239a3
added necessary infrastructure 2021-03-20 21:58:07 +00:00
Shelikhoo
57b4214284
added definition for websocket browser forwarder 2021-03-20 21:58:07 +00:00
Loyalsoldier
86a6d15028
Fix: DNS tests timeout due to network instability (#805) 2021-03-20 19:27:09 +08:00
Loyalsoldier
e6aaa57def
Feat: add queryStrategy option for DNS (#794) 2021-03-19 15:55:18 +08:00
Loyalsoldier
f0c5eded7d
Chore: change Git user (#803) 2021-03-19 12:35:02 +08:00
GitHub Action
fe4a9331d9 update geoip, geosite 2021-03-19 00:11:12 +00:00
Loyalsoldier
7459e2c5ef
Fix: vprotogen loop dependency (#797)
* Chore: remove protoc-gen-gofast
* Fix: loop dependency
* Chore: regenerate VLESS pb.go file
* Fix: compare test
2021-03-18 18:32:40 +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
RPRX
00879c483e
Add grpcSettings & gunSettings to streamSettings 2021-03-17 10:09:07 +00:00
Loyalsoldier
fcee3af250
Bump version to v4.36.2 2021-03-16 21:21:23 +08:00
Shelikhoo
1eaec6818a
Fix max delay unintentionally low 2021-03-16 12:49:23 +00:00
loyalsoldier
cb4dd644fc
Chore: fix MphDomainMatcher log 2021-03-16 19:21:14 +08:00
DarthVader
c71ae9b310
Fix: core panics when zero domain/full type of rule (#786) 2021-03-16 19:07:32 +08:00
Loyalsoldier
f9ac31853e
Update version to v4.36.1 2021-03-16 14:30:15 +08:00
Loyalsoldier
4028a09e70
Revert "Test: fix http2 dial timeout (#570)" (#778)
* Revert "Test: fix http2 dial timeout (#570)"

This reverts commit 405a051c50.

* Feat: lower the payload size

* Remove state.NegotiatedProtocolIsMutual

It has been deprecated since Go 1.16 because it shouldn't be used: this value is always true.
2021-03-15 16:57:33 +08:00
maskedeken
fb9a5a136b
Add remote address to grpc transport layer conn (#783)
* Add remote address to grpc transport layer conn

* go fmt
2021-03-15 16:50:09 +08:00
Loyalsoldier
933861a761
FakeDNS: use 198.18.0.0/15 as default IP pool (#779) 2021-03-15 16:47:10 +08:00
kslr
68f04295f9 Route: mph add alias hybrid 2021-03-15 15:27:40 +08:00
DarthVader
ac1e5cd925
Add minimal perfect hash domain matcher (#743)
* rename to HybridDomainMatcher & convert domain to lowercase

* refactor code & add open hashing for rolling hash map

* fix lint errors

* update app/dns/dns.go

* convert domain to lowercase in `strmatcher.go`

* keep the original matcher behavior

* add mph domain matcher & conver domain names to loweercase when matching

* fix lint errors

* fix lint errors
2021-03-15 15:21:38 +08:00
Loyalsoldier
e46204f828
Chore: fix lint according to golangci-lint errors (#781)
* Chore: fix lint according to golangci-lint errors
* Chore: regenerate pb.go files
2021-03-14 07:44:47 +08:00
Loyalsoldier
88e1e25aa9
Chore: format import using goimports (#780) 2021-03-14 07:09:51 +08:00
Shelikhoo
1440697240
update version 2021-03-13 14:06:23 +00:00
Xiaokang Wang
0e5e5164ff
loopback outbound, allow you to redirect connection to the dispatcher again (#770)
* Added Loop back proxy

* Added json processing for lo proxy

* Fix bug for lo proxy

* Fix bug for lo proxy

* rename the outbound name

* Loopback: update naming and fix lint issues

* Chore: change lo to loopback

Co-authored-by: kslr <kslrwang@gmail.com>
Co-authored-by: loyalsoldier <10487845+Loyalsoldier@users.noreply.github.com>
2021-03-13 17:25:56 +08:00
GitHub Action
0ae9ba5247 update geoip, geosite 2021-03-12 00:10:40 +00:00
RPRX
3b7ed982fb
Add grpcSettings (alias of gunSettings) 2021-03-11 16:01:57 +00:00
Shelikhoo
971eddaa12
fix applied wrong name, and wrong varible name 2021-03-11 15:02:31 +00:00
Xiaokang Wang
aaa9e788e7
Grpc Gun Transport (#757)
* introduce grpc transport structure

* fix package name inconsistency

* grpc gun transport dialer and listener

* add selective build tag

* add grpc:gun listener

* add grpc:gun config

* add generated files

* various bug fix for gun:grpc transport

* Cache dialed connections

* grpc:gun Use V2Ray Managed Dial function

* Update destination.pb.go

* Update gun.go

* GunSettings -> GunConfig

* gu -> gs

* add grpc alias

Co-authored-by: RPRX <63339210+rprx@users.noreply.github.com>
Co-authored-by: kslr <kslrwang@gmail.com>
2021-03-11 16:46:17 +08:00
dependabot[bot]
fb486d4181
Chore: bump github.com/pires/go-proxyproto from 0.4.2 to 0.5.0 (#751)
Bumps [github.com/pires/go-proxyproto](https://github.com/pires/go-proxyproto) from 0.4.2 to 0.5.0.
- [Release notes](https://github.com/pires/go-proxyproto/releases)
- [Commits](https://github.com/pires/go-proxyproto/compare/v0.4.2...v0.5.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-11 08:39:13 +08:00