patterniha and RPRX
40ce850bd9
Direct/Freedom config: Add targetStrategy as an alias of domainStrategy; Routing config: Remove domainMatcher, "linear" and type ( #5027 )
...
https://github.com/XTLS/Xray-core/pull/5006#issuecomment-3193547307
2025-08-16 14:54:10 +00:00
风扇滑翔翼 and GitHub
5a8e9c25a4
Chore: Migrate to Go 1.25 ( #5024 )
...
* Try to update to go1.25
* Remove unsafe usage
2025-08-15 14:50:35 +00:00
fb7a9d8d61
TLS client & server: Support Encrypted Client Hello (ECH) ( #3813 )
...
https://github.com/XTLS/Xray-docs-next/commit/b9a72a4a26490cda4c915a857a78ce08ec273fe7
---------
Co-authored-by: yuhan6665 <1588741+yuhan6665@users.noreply.github.com >
2025-07-26 08:47:27 +00:00
3fe02a658a
Commands: Add adu/rmu inbound user management to API ( #4943 )
...
Co-authored-by: nobody <nobody@nowhere.mars >
2025-07-26 08:40:04 +00:00
87d8b97d9a
Commands: Output certificate chain's total length in tls ping ( #4933 )
...
Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com >
2025-07-25 10:18:26 +00:00
RPRX and GitHub
446315cf1f
REALITY protocol: Add optional Post-Quantum ML-DSA-65 verification for cert's ExtraExtensions ( #4915 )
...
https://github.com/XTLS/REALITY/commit/00881f67406628275c0e4c778848e0c4dff4a2ee
2025-07-23 02:29:11 +00:00
风扇滑翔翼 and GitHub
cbcab89c7e
Commands: Display Post-Quantum key exchange in tls ping ( #4857 )
...
https://github.com/XTLS/Xray-core/pull/4857#issuecomment-3064964301
2025-07-19 01:14:56 +00:00
Jesus and GitHub
486d005986
API: add option to fetch only tags from ListInbounds ( #4870 )
...
* feat: add new method for get only inbound tags from core. ListTags.
* refactor: simplify creating response.
* refactor: move getting tags in already exist method via option.
2025-07-11 12:52:51 -04:00
Sergey Gorbunov and GitHub
af7a76da67
API: Add ListInbounds and ListOutbounds ( #4723 )
2025-06-06 01:51:48 +00:00
风扇滑翔翼 and GitHub
d451078e72
Chore: Fix tests ( #4440 )
2025-02-25 13:11:37 +00:00
Bill Zhong and GitHub
a1714cc4ce
API: Improve cli usage descriptions ( #4401 )
2025-02-18 08:36:39 +00:00
RPRX
925a985cc0
Commands: Use ".crt" & ".key" suffixes when generating TLS certificates
...
https://github.com/XTLS/Xray-core/issues/4313#issuecomment-2645844058
2025-02-08 18:29:54 +00:00
Maxim Plotnikov and GitHub
e893fa1828
API: Add user IPs and access times tracking ( #4360 )
2025-02-07 12:19:47 +00:00
RPRX and GitHub
527caa3711
Log: Add microseconds for golang's standard logger
...
Completes https://github.com/XTLS/Xray-core/commit/5679d717eef23f48d4f60a0a34684f46c478e053
2025-02-06 07:50:48 +00:00
auvred and GitHub
c2f6c89987
Commands: Fix ambiguous printing of private x25519 key ( #4343 )
2025-02-01 14:45:34 +00:00
leo and GitHub
b287d6419b
chore: use errors.New to replace fmt.Errorf with no parameters ( #4204 )
...
Signed-off-by: RiceChuan <lc582041246@gmail.com >
2024-12-24 00:17:00 -05:00
RPRX
ae62a0fb52
Transport: Remove HTTP
...
Migrated to XHTTP "stream-one" mode.
2024-12-02 09:56:16 +00:00
zonescape and GitHub
83bab5dd90
Chore: Run gofmt ( #3990 )
2024-11-09 11:16:11 +00:00
2c72864935
API: Add user online stats ( #3637 )
...
* add statsUserOnline bool to policy
* add OnlineMap struct to stats
* apply UserOnline functionality to dispatcher
* add statsonline api command
* fix comments
* Update app/stats/online_map.go
Co-authored-by: mmmray <142015632+mmmray@users.noreply.github.com >
* improve AddIP
* regenerate pb
---------
Co-authored-by: mmmray <142015632+mmmray@users.noreply.github.com >
2024-11-03 08:44:15 -05:00
yuhan6665 and GitHub
85a1c33709
API: Add new Get Inbound User ( #3644 )
...
* Add GetInboundUser in proto
* Add get user logic for all existing inbounds
* Add inbounduser command
* Add option to get all users
* Fix shadowsocks2022 config
* Fix init users in shadowsocks2022
* Fix copy
* Add inbound user count command
This api costs much less than get inbound user, could be useful in some case
* Update from latest main
2024-11-03 00:25:23 -04:00
Kobe Arthur Scofield and GitHub
7086d286be
Remove legacy code ( #3838 )
...
* Add feature migration notice
* Remove legacy code of transport processing
* Clear legacy proto field
* Fix missing
* Unify protocolname
* Test remove
* Supressor
* Weird code
* Remove errorgen related comments
2024-09-23 11:28:19 -04:00
mmmray and GitHub
c0a98f74fc
Transport: Remove DomainSocket ( #3757 )
...
https://github.com/XTLS/Xray-core/pull/3755#issuecomment-2325533003
2024-09-03 11:36:11 +00:00
mmmray and GitHub
9a953c070f
Transport: Remove QUIC ( #3754 )
...
https://github.com/XTLS/Xray-core/pull/3554#issuecomment-2236171077
2024-09-03 02:39:44 +00:00
curlwget and GitHub
790f908f0b
chore: fix some comment typos ( #3716 )
...
Signed-off-by: curlwget <curlwget@icloud.com >
2024-08-22 17:32:38 +08:00
030c9efc8c
Commands: Comment some useless codes ( #3681 )
...
Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com >
2024-08-15 08:04:09 +00:00
yuhan6665 and mmmray
f0547bc04d
Commands: Use creflect.MarshalToJson() as output ( #3674 )
2024-08-12 05:59:23 -05:00
f650d87083
Commands: Add convert with two sub-commands ( #3661 )
...
* Add back convert-configs-to-protobuf command.
* Add convert-typedMessage-to-json command.
* Add -debug and -type arguments into convert.pb sub-command.
---------
Co-authored-by: nobody <nobody@nowhere.mars >
2024-08-10 12:09:07 -04:00
MHSanaei and GitHub
16de0937a8
Fix typos ( #3527 )
2024-07-12 00:20:06 +02:00
yuhan6665 and GitHub
079d0bd8a9
Refactor log ( #3446 )
...
* Refactor log
* Add new log methods
* Fix logger test
* Change all logging code
* Clean up pathObj
* Rebase to latest main
* Remove invoking method name after the dot
2024-06-29 14:32:57 -04:00
mmmray and GitHub
c10bd28731
Add SplitHTTP Transport ( #3412 )
2024-06-18 05:36:36 +00:00
チセ and yuhan6665
cabc4c6013
Command: Add tls ech for ech config generation
2024-04-16 10:41:13 -04:00
Hossin Asaadi and GitHub
ba57ccdd45
API: add Source IP Block command ( #3211 )
...
* add SourceIpBlock to API
* improve inboundTag
2024-03-31 00:29:15 -04:00
Hossin Asaadi and GitHub
53e5814d19
API - Add | Remove Routing Rules ( #3189 )
...
* add RuleTag to routing rules
* add router pb commands
* add and remove routing rules api
* cleanup
* fix
* improve error msg
* add append flag
apply balancer config
2024-03-29 11:17:36 -04:00
Hossin Asaadi and yuhan6665
bd38578978
improve balancer_info.go
...
fix balancer args
2024-03-23 07:41:22 -10:00
A1lo and GitHub
a994bf8b04
chore: fix some errors detected by staticcheck ( #3089 )
...
* chore: fix some errors detected by staticcheck
* feat: remove `rand.Seed()` usage for possibly using "fastrand64" runtime to avoid locking
ref: https://pkg.go.dev/math/rand#Seed
2024-03-03 10:52:22 -05:00
Eken Chan and yuhan6665
173b03448f
transport: add httpupgrade
2024-03-03 10:45:36 -05:00
fa5d7a255b
Least load balancer ( #2999 )
...
* v5: Health Check & LeastLoad Strategy (rebased from 2c5a71490368500a982018a74a6d519c7e121816)
Some changes will be necessary to integrate it into V2Ray
* Update proto
* parse duration conf with time.Parse()
* moving health ping to observatory as a standalone component
* moving health ping to observatory as a standalone component: auto generated file
* add initialization for health ping
* incorporate changes in router implementation
* support principle target output
* add v4 json support for BurstObservatory & fix balancer reference
* update API command
* remove cancelled API
* return zero length value when observer is not found
* remove duplicated targeted dispatch
* adjust test with updated structure
* bug fix for observer
* fix strategy selector
* fix strategy least load
* Fix ticker usage
ticker.Close does not close ticker.C
* feat: Replace default Health Ping URL to HTTPS (#1991 )
* fix selectLeastLoad() returns wrong number of nodes (#2083 )
* Test: fix leastload strategy unit test
* fix(router): panic caused by concurrent map read and write (#2678 )
* Clean up code
---------
Co-authored-by: Jebbs <qjebbs@gmail.com >
Co-authored-by: Shelikhoo <xiaokangwang@outlook.com >
Co-authored-by: 世界 <i@sekai.icu >
Co-authored-by: Bernd Eichelberger <46166740+4-FLOSS-Free-Libre-Open-Source-Software@users.noreply.github.com >
Co-authored-by: 秋のかえで <autmaple@protonmail.com >
Co-authored-by: Rinka <kujourinka@gmail.com >
2024-02-17 22:51:37 -05:00
44bb83033f
Add sub-command "-dump" to "run". ( #2854 )
...
* Add MarshalToJson().
* Add cmd arg -dump for printing out merged multiple json configs.
---------
Co-authored-by: nobody <nobody@nowhere.mars >
2023-12-29 11:16:48 -05:00
チセ and GitHub
2da476eef4
Command: Add wg for wireguard key generation ( #2794 )
...
* Command: Add `wg` for wireguard key generation
* Command: Merge `x25519` and `wg`
2023-12-11 20:52:10 -05:00
hax0r31337 and GitHub
0ac7da2fc8
WireGuard Inbound (User-space WireGuard server) ( #2477 )
...
* feat: wireguard inbound
* feat(command): generate wireguard compatible keypair
* feat(wireguard): connection idle timeout
* fix(wireguard): close endpoint after connection closed
* fix(wireguard): resolve conflicts
* feat(wireguard): set cubic as default cc algorithm in gVisor TUN
* chore(wireguard): resolve conflict
* chore(wireguard): remove redurant code
* chore(wireguard): remove redurant code
* feat: rework server for gvisor tun
* feat: keep user-space tun as an option
* fix: exclude android from native tun build
* feat: auto kernel tun
* fix: build
* fix: regulate function name & fix test
2023-11-17 22:27:17 -05:00
冬花ice and GitHub
017b56adf5
Recognize .jsonc files automatically ( #2398 )
...
Closes https://github.com/XTLS/Xray-core/issues/2399
2023-08-06 06:47:31 +00:00
yuhan6665
c9f517108c
Remove mtproto
2023-06-06 23:38:34 -04:00
Hellojack and GitHub
4a0b45d1ff
Output real private key in x25519 command ( #1747 )
2023-03-08 13:43:42 +00:00
yuhan6665 and GitHub
9e5bc07bf2
Legends never die ( #1725 )
2023-03-04 10:39:26 +00:00
RPRX and GitHub
4d2e2b24d3
THE NEXT FUTURE becomes THE REALITY NOW
...
Thank @yuhan6665 for testing
2023-02-15 16:07:12 +00:00
e18b52a5df
Implement WireGuard protocol as outbound (client) ( #1344 )
...
* implement WireGuard protocol for Outbound
* upload license
* fix build for openbsd & dragonfly os
* updated wireguard-go
* fix up
* switch to another wireguard fork
* fix
* switch to upstream
* open connection through internet.Dialer (#1 )
* use internet.Dialer
* maybe better code
* fix
* real fix
Co-authored-by: nanoda0523 <nanoda0523@users.noreply.github.com >
* fix bugs & add ability to recover during connection reset on UDP over TCP parent protocols
* improve performance
improve performance
* dns lookup endpoint && remove unused code
* interface address fallback
* better code && add config test case
Co-authored-by: nanoda0523 <nanoda0523@users.noreply.github.com >
2022-11-21 20:05:54 -05:00
yuhan6665
f956b142d8
Use protojson for marshal api output
2022-07-15 22:05:40 -04:00
世界
f046feb9ca
Reformat code
2022-05-18 15:29:01 +08:00
yichya and yuhan6665
35eb165f63
feat: metrics including pprof, expvars
2022-03-29 00:01:14 -04:00
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 >
2021-10-26 13:00:31 +08:00