yuhan6665
f956b142d8
Use protojson for marshal api output
2 years ago
世界
f046feb9ca
Reformat code
3 years ago
yichya
35eb165f63
feat: metrics including pprof, expvars
3 years ago
yuhan6665
abb8ba8b0e
Observatory related fixes ( #788 )
...
* fix:observatory not supported by multi-json
* Fix: observatory starts with empty config & fails to close (#957 )
* Update strategy_leastping.go (#1019 )
* add custom probe URL support for observatory
* add custom probe interval for observer
* apply coding style
* Fix: observatory log & JSON config(#1211 )
Co-authored-by: ihotte <ihotte@yeah.net>
* Change default probe url from api.v2fly.org to www.google.com
* Cherry-pick missing code from branch 'dev-advloadblancer-2'
Co-authored-by: Shelikhoo <xiaokangwang@outlook.com>
Co-authored-by: Loyalsoldier <10487845+Loyalsoldier@users.noreply.github.com>
Co-authored-by: fanyiguan <52657276+fanyiguang@users.noreply.github.com>
Co-authored-by: ihotte <3087168217@qq.com>
Co-authored-by: ihotte <ihotte@yeah.net>
3 years ago
世界
707efd6d12
Add loopback outound
3 years ago
世界
5c366db847
Add observatory / latestPing balancing strategy
...
Co-authored-by: Shelikhoo <xiaokangwang@outlook.com>
3 years ago
yuhan6665
acb81ebe3d
Verify peer cert function for better man in the middle prevention ( #746 )
...
* verify peer cert function for better man in the middle prevention
* publish cert chain hash generation algorithm
* added calculation of certificate hash as separate command and tlsping, use base64 to represent fingerprint to align with jsonPb
* apply coding style
* added test case for pinned certificates
* refactored cert pin
* pinned cert test
* added json loading of the PinnedPeerCertificateChainSha256
* removed tool to prepare for v5
* Add server cert pinning for Xtls
Change command "xray tls certChainHash" to xray style
Co-authored-by: Shelikhoo <xiaokangwang@outlook.com>
3 years ago
yuhan6665
e286cdcaa8
Style: format code by gofumpt ( #761 )
3 years ago
yuhan6665
a97d45c93a
grammar fix ( #745 )
...
Co-authored-by: QxQ <59914293+U-v-U@users.noreply.github.com>
3 years ago
KallyDev
4abf98c1be
Move from deprecated ioutil to os and io packages ( #744 )
3 years ago
Arthur Morgan
ffc2f7c4e2
Style: format code
3 years ago
秋のかえで
b2d8168284
docs: add common name to the help of tls cert ( #435 )
4 years ago
秋のかえで
b0e7ad9663
Fix: format flag not working ( #410 )
4 years ago
RPRX
a0a32ee00d
Add gRPC Transport support ( #356 )
...
Co-authored-by: JimhHan <50871214+JimhHan@users.noreply.github.com>
4 years ago
yuhan6665
f50eff5ebb
Add Fake DNS support ( #309 )
...
Co-authored-by: Xiaokang Wang <xiaokangwang@outlook.com>
Co-authored-by: loyalsoldier <10487845+Loyalsoldier@users.noreply.github.com>
Co-authored-by: kslr <kslrwang@gmail.com>
4 years ago
RPRX
4b97edae74
Fix https://github.com/XTLS/Xray-core/issues/320
4 years ago
Monsoon
1b87264c53
Support loading config from different formats ( #228 )
4 years ago
RPRX
822afb0cc8
Improve UUID generator
...
https://github.com/XTLS/Xray-core/issues/158
4 years ago
RPRX
ee15cc253f
Improve configuration detector (cone or symmetric)
4 years ago
秋のかえで
9d4038427d
Enable loading TOML & YAML by confdir ( #120 )
4 years ago
RPRX
310a938511
VLESS & VMess are not ready to accept FullCone yet
4 years ago
RPRX
ffd8fd1d8a
Adjust JSON & TOML & YAML
4 years ago
Monsoon
85619b5a29
Add YAML Support ( #86 )
4 years ago
秋のかえで
f073456ac0
Add TOML Support ( #98 )
4 years ago
Jim Han
19ce0e99a5
Config loader returns error instead of directly panic ( #80 )
4 years ago
RPRX
45f44c401a
Refactor: Optimize Memory Usage At Startup
...
https://github.com/XTLS/Xray-core/issues/68#issuecomment-745231528
4 years ago
Arthur Morgan
32e7cd80e8
Fix trim package name error ( #36 )
4 years ago
RPRX
e3575277ba
bytes.Buffer -> strings.Builder
4 years ago
RPRX
7ca55add04
Fix main/commands/all/api/shared.go
4 years ago
RPRX
0a9db2d3d3
Apply JSON format to `xray api` commands' output
4 years ago
RPRX
16544c18ab
v1.1.0
4 years ago
RPRX
c7f7c08ead
v1.0.0
4 years ago