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

5628 Commits

Author SHA1 Message Date
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
CalmLong
630ec22108
DNS: refine Android bootstrap DNS logic (#767) 2021-03-10 21:23:15 +08:00
dependabot[bot]
d15d6a7beb
Chore: bump actions/stale from v3.0.17 to v3.0.18 (#752)
Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-08 14:27:50 +08:00
Loyalsoldier
e03947e6b0
Chore: update protobuf & dependencies (#748) 2021-03-08 05:12:27 +08:00
Shelikhoo
2eda576547
update version to 4.35.1 2021-03-07 13:42:17 +00:00
Shelikhoo
e24ddf588e
Create a name for linear domain matcher 2021-03-07 13:39:36 +00:00
Shelikhoo
867bbb429e
create session content in the context if do not exist yet 2021-03-06 14:33:20 +00:00
Shelikhoo
b585f2283a
fixing misbehaving code in mux that do not propagate context 2021-03-06 14:31:46 +00:00
Shelikhoo
8cf51a847e
fix misbehaving code crash and create bug on transport level front proxy 2021-03-06 13:53:25 +00:00
Shelikhoo
e22cf451f4
Allow bulk definition of domain matcher at parent level 2021-03-05 18:37:32 +00:00
Shelikhoo
0043dd6685
rename config for NewACAutomatonDomainMatcher to hybrid 2021-03-05 18:36:36 +00:00
Shelikhoo
9103f05e5c
Merge branch 'master' of github.com:v2fly/v2ray-core 2021-03-05 16:27:17 +00:00
Shelikhoo
e8ac0412a5
workaround crash when V is not in context 2021-03-05 16:27:02 +00:00
dependabot[bot]
bda84984a0
Chore: bump github.com/google/go-cmp from 0.5.4 to 0.5.5 (#732)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-05 15:47:37 +08:00
GitHub Action
145b3d2280 update geoip, geosite 2021-03-05 00:15:22 +00:00
Shelikhoo
1f9c4eebb8
update version 2021-03-04 11:17:36 +00:00
Shelikhoo
7dabfb755e
merge vmess zero encryption support 2021-03-04 00:12:37 +00:00
Shelikhoo
0010783191
Merge chained proxy with transport support 2021-03-03 23:27:26 +00:00
Shelikhoo
e65f96fa6b
output debug message when ACAutomatonDomainMatcher is enabled. 2021-03-03 22:56:12 +00:00
Shelikhoo
38b0f026fe
json parsing rule for domain matcher 2021-03-03 22:35:55 +00:00
Shelikhoo
9d653dc708
Apply domain selector choice 2021-03-03 22:27:23 +00:00
Shelikhoo
837d5e7618
Allow the selection of domain matcher 2021-03-03 22:23:52 +00:00
DarthVader
a31a8e6f89
A memory-efficient and fast hybrid matcher (#639)
* a faster DomainMatcher implementation

* rename benchmark name

* fix linting errors

* add hybrid matcher

* add rabin-karp algorithm

* rename test & fix linting errors

* add more comment

* format code

* revert `MatcherGroup` match func

* fix linting errors
2021-03-04 05:39:51 +08:00
Loyalsoldier
49cf614346
Chore: update dependencies & protobuf (#728) 2021-03-03 17:31:53 +08:00
Loyalsoldier
45740be4af
Fix panic: index out of range (#727) 2021-03-03 16:53:42 +08:00
Shelikhoo
77bddcceb7
Test for Imaginary Security Level: zero 2021-03-01 16:13:59 +00:00
Shelikhoo
1368e92605
Imaginary Security Lever: zero: turn off all security on payload data 2021-03-01 15:39:52 +00:00
Shelikhoo
770a2bc1a3
Regenerate protobuf for Zero Security imaginary security level 2021-03-01 15:32:19 +00:00
Shelikhoo
833997df5a
Zero Security imaginary security level 2021-03-01 15:30:36 +00:00
Xiaokang Wang
733c5dea88
Deprecate legacy VMess header with a planned decommission (#717) 2021-03-01 21:26:54 +08:00
秋のかえで
b084b4f980
Fix ALPN being set to h2 by default when using TCP (#716) 2021-03-01 16:23:59 +08:00
Shelikhoo
616b0d122e
Fix for context with empty content 2021-02-28 20:42:32 +00:00
Shelikhoo
e532085d3c
don't build tagged outbound dial on configure setting 2021-02-28 19:59:45 +00:00
Shelikhoo
bf6e8f2389
Added Auto generated file 2021-02-28 19:58:22 +00:00
Shelikhoo
9722488fd6
Disable routing for platform initialized detour 2021-02-28 19:57:57 +00:00
Shelikhoo
6925870600
Fix forced outbound tag not set correctly 2021-02-28 19:57:21 +00:00
Shelikhoo
5f3851df39
Fix dependency cycle caused by core import in internet package 2021-02-28 19:10:38 +00:00
Shelikhoo
dd51d32250
Added Transport Layer Chained Proxy Support 2021-02-28 18:47:31 +00:00
Shelikhoo
8980cf2fcc
Regenerate protobuf for transport layer chain proxy 2021-02-28 17:52:16 +00:00
Shelikhoo
aaa55fc9d2
Add definition for transport layer chained proxy 2021-02-28 17:50:45 +00:00
Kid
d2a4e6bc47
Add /opt to assets location (#715) 2021-02-27 17:09:48 +08:00