1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-30 05:56:54 -05:00
Commit Graph

5303 Commits

Author SHA1 Message Date
Chinsyo
32e0e6e484
Some minor fix (#430)
* fix typo pading to padding

* reorder common/buf/buffer.go code layout

* delete unused common/stack

Co-authored-by: Chinsyo <chinsyo@sina.cn>
2020-11-18 04:23:30 +08:00
Chinsyo
dc78733196
Refactor common/antireplay, unexport unnecessary public fields. (#422)
* rename AuthIDDecoderHolder private fields

* ignore unused return value more clear

* change PoolSwap to private fields

* refactor Unlock to defer

* use const capacity, reorder code layout

* replace mismatch field name poolX with type Filter

* change AntiReplayTime to private fileds, protect to modify

* rename lastSwapTime to lastSwap

* merge duplicate time.Now.
Since the current unit is in seconds, there is no need to repeat the call

* refine negate expression

* rename antiReplayTime to interval

* add docs

* fix lint stutter issue, rename antireplay.AntiReplayWindow to antireplay.ReplayFilter

* rename fileds m,n to poolA,poolB

* rename antireplay.go to replayfilter.go

* fix build issue

Co-authored-by: Chinsyo <chinsyo@sina.cn>
2020-11-17 21:05:26 +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
dependabot[bot]
1d1f207f0f
Bump github.com/pires/go-proxyproto from 0.3.1 to 0.3.2 (#424)
Bumps [github.com/pires/go-proxyproto](https://github.com/pires/go-proxyproto) from 0.3.1 to 0.3.2.
- [Release notes](https://github.com/pires/go-proxyproto/releases)
- [Commits](https://github.com/pires/go-proxyproto/compare/v0.3.1...v0.3.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-16 20:56:35 +08:00
Kslr
8b3068d26e
Update test.yml
某个平台失败时不影响其他平台测试
2020-11-15 23:39:23 +08:00
RPRX
7cc8b75006
Reorder dice_test.go 2020-11-14 05:06:07 +00:00
Chinsyo
bdf715afa9
rand.Intn(65536) -> rand.Int63() >> 47 (#417)
* Optimize rand.Intn(65536) to rand.Int31() >> 15, with ~20% performance improvement.

* Optimize rand.Intn(65536) to rand.rand.Int63() >> 47

* Remove rand.Seed call duplicate with original source code

Co-authored-by: Chinsyo <chinsyo@sina.cn>
2020-11-14 05:00:25 +00:00
dependabot[bot]
42f86fc6b8
Bump github.com/google/go-cmp from 0.5.2 to 0.5.3 (#413)
Bumps [github.com/google/go-cmp](https://github.com/google/go-cmp) from 0.5.2 to 0.5.3.
- [Release notes](https://github.com/google/go-cmp/releases)
- [Commits](https://github.com/google/go-cmp/compare/v0.5.2...v0.5.3)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-14 03:11:16 +08:00
RPRX
2952492eb8
1.15.4 -> 1.15.5 2020-11-13 10:45:24 +08:00
GitHub Action
156f534ca5 update geoip, geosite 2020-11-13 00:08:25 +00:00
RPRX
f06ede1bc1
Fix stat 2020-11-12 08:45:03 +00:00
Kslr
553bf3368b
fix deb stable 2020-11-09 22:52:37 +08:00
loyalsoldier
20fcb73d74
Refine debian package workflow 2020-11-09 12:28:26 +08:00
Nicholas Wang
7217d6f0de
update security policy with renewed GPG pubkey 2020-11-08 03:54:22 -06:00
Kslr
d2ed1434d3
update debian gpg 2020-11-08 17:50:00 +08:00
Kslr
dff48c99db
fix deb git branch name 2020-11-08 11:27:14 +08:00
Kslr
d0019630f6
Update deb.yml 2020-11-08 11:24:18 +08:00
Kslr
8011622f29
Update control 2020-11-08 11:13:31 +08:00
ymshenyu
af578d4af2
add support for debian packaging (#397)
* initial debian packaging

* add action for debian packaging

* trigger build

* fix syntax
2020-11-08 11:10:13 +08:00
Xiaokang Wang
fb0aadeea9
Transfer VSign and related project to V2Fly and share under the same license as v2ray-core (#392)
* Move VSign to V2Fly

* Use transfered V2BuildAssist  project
2020-11-08 03:11:45 +08:00
Arthur Morgan
e2392491d6
Add V2RAY_TROJAN_XTLS_SHOW (#391)
When using trojan, you can set the environment variable V2RAY_TROJAN_XTLS_SHOW=true to display the output of XTLS
2020-11-07 14:32:42 +00:00
Loyalsoldier
d433d5d01d
Clean & upgrade dependencies (#390) 2020-11-07 18:03:46 +08:00
RPRX
3fd964338f
v4.32.1 2020-11-06 13:39:43 +00:00
RPRX
d5bafa91ee
Upgrade dependencies 2020-11-06 13:00:52 +00:00
RPRX
a3ab9ce234
1.15.3 -> 1.15.4 2020-11-06 12:10:50 +00:00
GitHub Action
2e416d2102 update geoip, geosite 2020-11-06 08:20:36 +00:00
RPRX
eb70e06071
Merge pull request #388 from rprx/master
VLESS XTLS Direct Mode ReadV Experiment
2020-11-05 12:53:21 +00:00
RPRX
e8361016ae
VLESS XTLS ReadV 2020-11-03 14:32:17 +00:00
dependabot[bot]
fe0284a85a
Bump actions/stale from v3.0.12 to v3.0.13 (#382)
Bumps [actions/stale](https://github.com/actions/stale) from v3.0.12 to v3.0.13.
- [Release notes](https://github.com/actions/stale/releases)
- [Commits](https://github.com/actions/stale/compare/v3.0.12...af4072615903a8b031f986d25b1ae3bf45ec44d4)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-03 12:20:33 +00:00
RPRX
21739e6f38
32 -> 0 2020-11-02 11:00:08 +00:00
dependabot[bot]
b0dfaa83eb
Bump github.com/pires/go-proxyproto from 0.3.0 to 0.3.1 (#380)
Bumps [github.com/pires/go-proxyproto](https://github.com/pires/go-proxyproto) from 0.3.0 to 0.3.1.
- [Release notes](https://github.com/pires/go-proxyproto/releases)
- [Commits](https://github.com/pires/go-proxyproto/compare/v0.3.0...v0.3.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-02 10:43:37 +00:00
單dar 于ɦʷa
e3b96a1b56
Disable 0-rtt mechanism for http/1 outbound (#372)
Fix #357

Co-authored-by: August Njam Brong <longran1989@gmail.com>
2020-10-31 11:03:46 +08:00
loyalsoldier
a36489bfaa
Run go mod tidy 2020-10-30 23:43:53 +08:00
RPRX
74f96a83c8
v4.32.0 2020-10-30 07:50:07 +00:00
RPRX
1ce9ce9a60
Upgrade dependencies 2020-10-30 07:10:03 +00:00
GitHub Action
6b69f36f83 update geoip, geosite 2020-10-30 00:08:11 +00:00
dependabot[bot]
6f5a58c38c
Bump github.com/pires/go-proxyproto from 0.2.0 to 0.3.0 (#368)
Bumps [github.com/pires/go-proxyproto](https://github.com/pires/go-proxyproto) from 0.2.0 to 0.3.0.
- [Release notes](https://github.com/pires/go-proxyproto/releases)
- [Commits](https://github.com/pires/go-proxyproto/compare/v0.2.0...v0.3.0)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-29 07:50:38 +00:00
lucifer
770b994337
Refine unix domain socket (#367) 2020-10-29 07:30:38 +00:00
Loyalsoldier
f17063a08a
Update vprotogen (#366)
* Refine vprotogen
* Regenerate pb.go files
2020-10-29 09:27:05 +08:00
JimhHan
c4e47e4fbe
fix: vprotogen in windows (#365) 2020-10-29 09:04:12 +08:00
Xiaokang Wang
3684dc15de
Merge pull request #351 from v2fly/dev-fix-mutijson-dep
Fix json parsing dependency introduced by mutijson config
2020-10-26 15:44:58 +00:00
Kslr
dabf8456f0
Merge pull request #358 from v2fly/dependabot/go_modules/github.com/miekg/dns-1.1.35
Bump github.com/miekg/dns from 1.1.34 to 1.1.35
2020-10-26 15:35:14 +08:00
Kslr
52d0dafe15
Merge pull request #359 from v2fly/dependabot/github_actions/golangci/golangci-lint-action-v2.3.0
Bump golangci/golangci-lint-action from v2.2.1 to v2.3.0
2020-10-26 15:34:37 +08:00
dependabot[bot]
6c3113c273
Bump golangci/golangci-lint-action from v2.2.1 to v2.3.0
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from v2.2.1 to v2.3.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v2.2.1...e868220d9fd3b523f1a8fcfb69749e8c7521ba14)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-26 07:02:21 +00:00
dependabot[bot]
e9bd1db096
Bump github.com/miekg/dns from 1.1.34 to 1.1.35
Bumps [github.com/miekg/dns](https://github.com/miekg/dns) from 1.1.34 to 1.1.35.
- [Release notes](https://github.com/miekg/dns/releases)
- [Changelog](https://github.com/miekg/dns/blob/master/Makefile.release)
- [Commits](https://github.com/miekg/dns/compare/v1.1.34...v1.1.35)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-26 06:09:53 +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
Shelikhoo
9391f7c377
Apply Coding Style 2020-10-23 19:51:39 +01:00
Kslr
0dc17643a0
Merge pull request #299 from forever8938/master
Load JSON internally by default
2020-10-24 01:39:11 +08:00
Shelikhoo
0aee8053e8
Merge branch 'master' of github.com:v2fly/v2ray-core 2020-10-23 17:02:59 +01:00
Shelikhoo
fd2638c522
Fix json parsing dependency introduced by mutijson config 2020-10-23 15:04:03 +01:00