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

6103 Commits

Author SHA1 Message Date
Ovear
36df3b035c
Remove unnecessary log.
(cherry picked from commit b3e0d54630)
2021-09-30 15:30:21 +01:00
Ovear
9a8e113ad3
Fix: Remove udp conn twice
(cherry picked from commit 75eead5a6e)

See Also: https://github.com/v2fly/v2ray-core/pull/1305
https://github.com/v2fly/v2ray-core/issues/1297
2021-09-30 15:29:51 +01:00
yuhan6665
c58811c14b
Fix flaky TestVMessDynamicPort (#723)
(cherry-picked from a4cd3110f1, modified by committer)

See Also: https://github.com/v2fly/v2ray-core/pull/1289
2021-09-30 15:27:29 +01:00
yuhan6665
d84ead3e00
Fix some tests to use udp.PickPort()
(cherry picked from commit 9458a1abd3, modified by committer)

In the previous version of the test code, when attempting to listen for a UDP socket, the port availability check check for TCP port instead of UDP port. This make it possible to select a UDP port that is unavailable.

See Also: https://github.com/v2fly/v2ray-core/pull/1302
2021-09-30 15:27:27 +01:00
Shelikhoo
52d414fa49
integrate ioutil migration in test
Some inconsistent change have been introduced in a previous version of ioutil migration(0c3105691f).
2021-09-29 09:25:23 +01:00
Shelikhoo
2fcddf1966
return error if the tag is not found
The previous routine cause panic if the tag is not found. Thanks for report from mzz
2021-09-29 09:14:23 +01:00
Shelikhoo
a9979057dc
fix torjan protobuf version
We could migrate to v2 version of protobuf interface now, but it would cause additional trouble. A quick fix is applied.
2021-09-28 18:34:56 +01:00
Shelikhoo
40140c2977
better error reason reporting for auto config format
Without this change, the user will not be able to know the detail of error if auto config format detection is used.
2021-09-28 18:32:38 +01:00
Shelikhoo
82e730bb70
fix: switch away from ioutil 2021-09-28 18:12:40 +01:00
Shelikhoo
0c3105691f
refactor: move from io/ioutil to io and os package (#1298)
Author: Eng Zer Jun <engzerjun@gmail.com>
Date:   Mon Sep 27 00:56:31 2021 +0800

    refactor: move from io/ioutil to io and os package (#1298)
2021-09-27 23:02:19 +01:00
秋のかえで
be4dd56ac7
Feat: custom TCP Fast Open queue length (#1293)
* Feat: custom TCP Fast Open queue length

* Feat: change default TFO queue length to 4096
2021-09-27 22:49:08 +01:00
世界
7d78683d6f
Send shadowsocks handshake with payload if available (#1292) 2021-09-27 22:14:11 +01:00
世界
8cc6fbc6f9
Fix queryStrategy ignored (#1285) 2021-09-27 22:13:40 +01:00
秋のかえで
908408dd45
Fix: Trojan fallback (#1286) 2021-09-27 22:13:25 +01:00
Loyalsoldier
3b1f8b8cc3
Fix: debian package (#1279) 2021-09-27 22:13:13 +01:00
Loyalsoldier
4a056048cf
Chore: update debian package to v4.42.2 (#1277) 2021-09-27 22:13:01 +01:00
Shelikhoo
0f9db48acd
update version 2021-09-27 22:11:38 +01:00
世界
f383f896ed
Add disableFallbackIfMatch dns option 2021-09-27 22:10:54 +01:00
世界
9ee66f7efe
Add socks4/4a support 2021-09-27 21:54:29 +01:00
Loyalsoldier
41ae53e60d
Fix: IP length not deterministic (#1267)
The length of IPv4 address in Go standard library could be 16
if it is in IPv6-mapped-IPv4 format.

(cherry picked from commit c58a372d93)
2021-09-27 21:53:49 +01:00
Loyalsoldier
389a0585f3
Chore: update build script to include geoip-only-cn-private.dat (#1266)
(cherry picked from commit 8a22e942c4)
2021-09-27 21:50:57 +01:00
Shelikhoo
0f7345ba76
adjustment: ♻️ refactor geoip match logic (#1157)
cherry-pick f1902165c7
2021-09-27 21:50:18 +01:00
Loyalsoldier
a86415cb43
♻️ refactor geoip match logic (#1157)
cherry-pick f1902165c7
2021-09-27 21:43:05 +01:00
Ye Zhihao
1919d47649
cherry-pick adjustment for uint socket mask 2021-09-27 21:39:29 +01:00
Ye Zhihao
27614e56fc
🐛 http dialer add socket config; sockopt.mark use uint32 (#1264)
(cherry picked from commit 4d155bc2bf)
2021-09-27 21:37:45 +01:00
dependabot[bot]
38f10d029e
Chore: bump github.com/pires/go-proxyproto from 0.6.0 to 0.6.1 (#1263)
Bumps [github.com/pires/go-proxyproto](https://github.com/pires/go-proxyproto) from 0.6.0 to 0.6.1.
- [Release notes](https://github.com/pires/go-proxyproto/releases)
- [Commits](https://github.com/pires/go-proxyproto/compare/v0.6.0...v0.6.1)

---
updated-dependencies:
- dependency-name: github.com/pires/go-proxyproto
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 4a174e8aa6)
2021-09-27 18:11:05 +01:00
kslr
b1311cf807
🐛 fix CodeQL is triggered multiple times
(cherry picked from commit 36d320a4a9)
2021-09-27 18:08:47 +01:00
Shelikhoo
2fcc0ba1bb
add ip preprocessor logic 2021-09-18 21:04:30 +01:00
kslr
6216bd0acb
🎨 refine restful-api 2021-09-15 19:48:46 +01:00
Shelikhoo
cb5875fe62
fix incomplete revert for name change 2021-09-13 17:01:09 +01:00
Shelikhoo
a7eae67723
add back "door" to dokodemo-door's name
kslr said that without door it would lose its spirit
2021-09-13 16:55:43 +01:00
Shelikhoo
6dc2dfb6c7
use custom loading rules for dns 2021-09-10 20:35:02 +01:00
Shelikhoo
89d9eba1a9
use custom loading rules for router 2021-09-09 14:45:19 +01:00
秋のかえで
a8ff0a6371
fix: VLESS simplified config inbound user account 2021-09-08 19:38:14 +01:00
Shelikhoo
33a42e05da
chore: tidy up go.mod 2021-09-08 19:37:06 +01:00
Shelikhoo
e0c76fd1e6
integrate chi restful api 2021-09-08 19:37:06 +01:00
kslr
c96096aa72
gin move to chi 2021-09-08 19:37:02 +01:00
Shelikhoo
d9f293e135
add transport original name support 2021-09-07 16:53:09 +01:00
Shelikhoo
e314b1ef2f
Revert "rename gun, ws to full name"
This reverts commit d4d6e16295.
2021-09-07 16:36:26 +01:00
Shelikhoo
d4d6e16295
rename gun, ws to full name 2021-09-07 15:57:50 +01:00
Shelikhoo
c89d629943
support more than one type for a config 2021-09-07 14:48:44 +01:00
Shelikhoo
9b93bb614a
improve reflection logic in registry 2021-09-07 14:45:56 +01:00
Shelikhoo
434d9e8700
add grpc service register 2021-09-07 14:43:45 +01:00
Shelikhoo
8ed83b6d0a
register commander 2021-09-07 14:33:00 +01:00
Shelikhoo
eeaa1e96e4
add register for reverse, instman, fakedns 2021-09-07 14:19:56 +01:00
秋のかえで
a67132e3d2
feat: add gRPC transport simplified config 2021-09-07 13:51:30 +01:00
秋のかえで
d4b6ac37e6
fix: require simplified config in all.go 2021-09-07 13:51:18 +01:00
秋のかえで
35ba772e6e
feat: add Dokodemo simplified config 2021-09-07 13:51:05 +01:00
秋のかえで
383bd4ce62
feat: add network to Shadowsocks simplified config 2021-09-07 13:50:47 +01:00
秋のかえで
6d7220bd6c
feat: add Loopback simplified config 2021-09-07 13:50:34 +01:00