Commit Graph
5441 Commits
Author SHA1 Message Date
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
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
DarthVaderandGitHub c71ae9b310 Fix: core panics when zero domain/full type of rule (#786) 2021-03-16 19:07:32 +08:00
LoyalsoldierandGitHub f9ac31853e Update version to v4.36.1 v4.36.1 2021-03-16 14:30:15 +08:00
LoyalsoldierandGitHub 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
maskedekenandGitHub 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
LoyalsoldierandGitHub 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
DarthVaderandGitHub 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
LoyalsoldierandGitHub 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
LoyalsoldierandGitHub 88e1e25aa9 Chore: format import using goimports (#780) 2021-03-14 07:09:51 +08:00
Shelikhoo 1440697240 update version v4.36.0 2021-03-13 14:06:23 +00:00
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
RPRXandGitHub 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
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
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
CalmLongandGitHub 630ec22108 DNS: refine Android bootstrap DNS logic (#767) 2021-03-10 21:23:15 +08:00
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
LoyalsoldierandGitHub e03947e6b0 Chore: update protobuf & dependencies (#748) 2021-03-08 05:12:27 +08:00
Shelikhoo 2eda576547 update version to 4.35.1 v4.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
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 v4.35.0 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
DarthVaderandGitHub 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
LoyalsoldierandGitHub 49cf614346 Chore: update dependencies & protobuf (#728) 2021-03-03 17:31:53 +08:00
LoyalsoldierandGitHub 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