Commit Graph

1855 Commits

Author SHA1 Message Date
copilot-swe-agent[bot]
e088cc4a25 Preserve startup error when browser dialer cleanup fails
Agent-Logs-Url: https://github.com/XTLS/Xray-core/sessions/b8c640ab-f93c-4609-8e34-a8e14e2be9e7

Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
2026-04-27 13:38:42 +00:00
copilot-swe-agent[bot]
41bc47b1ec Handle browser dialer cleanup errors on instance lifecycle
Agent-Logs-Url: https://github.com/XTLS/Xray-core/sessions/b8c640ab-f93c-4609-8e34-a8e14e2be9e7

Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
2026-04-27 13:36:11 +00:00
copilot-swe-agent[bot]
8043924af5 Move browser dialer start stop to instance lifecycle
Agent-Logs-Url: https://github.com/XTLS/Xray-core/sessions/b8c640ab-f93c-4609-8e34-a8e14e2be9e7

Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
2026-04-27 13:32:47 +00:00
copilot-swe-agent[bot]
3a826b7ece docs: clarify idempotent browser dialer listener startup
Agent-Logs-Url: https://github.com/XTLS/Xray-core/sessions/bd037532-6fba-48d4-bf72-77fbb3bf8fc4

Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
2026-04-27 11:55:25 +00:00
copilot-swe-agent[bot]
ccac265911 chore: make browser dialer listener startup idempotent
Agent-Logs-Url: https://github.com/XTLS/Xray-core/sessions/bd037532-6fba-48d4-bf72-77fbb3bf8fc4

Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
2026-04-27 11:52:48 +00:00
copilot-swe-agent[bot]
c423317305 fix: split browser dialer configure and listener startup phases
Agent-Logs-Url: https://github.com/XTLS/Xray-core/sessions/bd037532-6fba-48d4-bf72-77fbb3bf8fc4

Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
2026-04-27 11:50:15 +00:00
copilot-swe-agent[bot]
286a702bfa refactor: split browser dialer manager logic to keep dialer.go minimal
Agent-Logs-Url: https://github.com/XTLS/Xray-core/sessions/2f611863-296d-48df-b3c4-e02384132848

Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
2026-04-26 21:28:35 +00:00
copilot-swe-agent[bot]
9d4dd2c32f refactor: switch browser dialer scheme back to browser and trim wrappers
Agent-Logs-Url: https://github.com/XTLS/Xray-core/sessions/4df6450c-a247-4e14-951f-2859a7875fe3

Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
2026-04-26 21:18:00 +00:00
copilot-swe-agent[bot]
8939657016 refactor: drop socket proto browser_dialer and remove dialer init locks
Agent-Logs-Url: https://github.com/XTLS/Xray-core/sessions/b6b773ed-3d59-4a25-b688-8032a496a8de

Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
2026-04-26 21:07:28 +00:00
copilot-swe-agent[bot]
f1f0d5970a fix: require full valid browser dialer URL for http scheme
Agent-Logs-Url: https://github.com/XTLS/Xray-core/sessions/de6da8b1-0d9b-4d56-a5a2-d0b06edc2965

Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
2026-04-26 20:56:05 +00:00
copilot-swe-agent[bot]
3004e1e399 refactor: use http:// dialerProxy scheme for browser dialer
Agent-Logs-Url: https://github.com/XTLS/Xray-core/sessions/de6da8b1-0d9b-4d56-a5a2-d0b06edc2965

Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
2026-04-26 20:54:10 +00:00
copilot-swe-agent[bot]
2ecfbcf1b6 chore: align browser dialer collection error style
Agent-Logs-Url: https://github.com/XTLS/Xray-core/sessions/84d72770-6ad0-447a-8d86-94d692972a05

Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
2026-04-26 20:50:38 +00:00
copilot-swe-agent[bot]
9f8f5c2591 chore: polish browser dialer URL collection error message
Agent-Logs-Url: https://github.com/XTLS/Xray-core/sessions/84d72770-6ad0-447a-8d86-94d692972a05

Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
2026-04-26 20:49:28 +00:00
copilot-swe-agent[bot]
bb79f554dd fix: tighten browser URL collection order and error handling
Agent-Logs-Url: https://github.com/XTLS/Xray-core/sessions/84d72770-6ad0-447a-8d86-94d692972a05

Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
2026-04-26 20:48:03 +00:00
copilot-swe-agent[bot]
be9a229d68 refactor: switch browser dialer to browser:// dialerProxy collection
Agent-Logs-Url: https://github.com/XTLS/Xray-core/sessions/84d72770-6ad0-447a-8d86-94d692972a05

Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
2026-04-26 20:46:22 +00:00
copilot-swe-agent[bot]
7416fd225e refactor: simplify browser dialer parsed path normalization
Agent-Logs-Url: https://github.com/XTLS/Xray-core/sessions/56a85a3a-5e08-44ce-97d9-d441379c11cc

Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
2026-04-26 19:02:41 +00:00
copilot-swe-agent[bot]
e79f3a4361 fix: normalize parsed browser dialer path with explicit leading slash
Agent-Logs-Url: https://github.com/XTLS/Xray-core/sessions/56a85a3a-5e08-44ce-97d9-d441379c11cc

Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
2026-04-26 19:00:58 +00:00
copilot-swe-agent[bot]
9421ac0b13 refactor: further simplify browser dialer URL parsing path
Agent-Logs-Url: https://github.com/XTLS/Xray-core/sessions/56a85a3a-5e08-44ce-97d9-d441379c11cc

Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
2026-04-26 18:59:10 +00:00
copilot-swe-agent[bot]
7a9c592221 refactor: use browserDialers URL array and dialerProxy URL matching
Agent-Logs-Url: https://github.com/XTLS/Xray-core/sessions/6ed9ad08-e0b0-43d4-878b-7fe355be5325

Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
2026-04-26 18:49:21 +00:00
copilot-swe-agent[bot]
266ae17654 refactor: simplify browser dialer static state and remove sockopt browserDialer parsing
Agent-Logs-Url: https://github.com/XTLS/Xray-core/sessions/4875f50c-9a90-4d34-afbe-2e629296faa0

Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
2026-04-26 18:38:07 +00:00
copilot-swe-agent[bot]
1cc7349529 refactor: enforce browserDialers-only usage via dialerProxy tags
Agent-Logs-Url: https://github.com/XTLS/Xray-core/sessions/92209153-115a-4303-8c4e-5825c971881b

Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
2026-04-26 18:23:29 +00:00
copilot-swe-agent[bot]
61c39a2834 chore: align browserDialers runtime error wording
Agent-Logs-Url: https://github.com/XTLS/Xray-core/sessions/808be5b1-7ed2-4309-87f1-18a808d6aba4

Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
2026-04-26 17:57:52 +00:00
copilot-swe-agent[bot]
1d13700481 chore: polish browserDialers xhttp runtime error client behavior
Agent-Logs-Url: https://github.com/XTLS/Xray-core/sessions/808be5b1-7ed2-4309-87f1-18a808d6aba4

Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
2026-04-26 17:56:03 +00:00
copilot-swe-agent[bot]
ca3cd5fb88 feat: add root browserDialers tags for dialerProxy integration
Agent-Logs-Url: https://github.com/XTLS/Xray-core/sessions/808be5b1-7ed2-4309-87f1-18a808d6aba4

Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
2026-04-26 17:54:10 +00:00
copilot-swe-agent[bot]
97ad6cef43 chore: polish xhttp browser dialer mode validation messages
Agent-Logs-Url: https://github.com/XTLS/Xray-core/sessions/071df77b-69fb-4b1f-a14d-9dab447e1efa

Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
2026-04-26 17:20:23 +00:00
copilot-swe-agent[bot]
181193581b chore: improve xhttp browser dialer validation errors
Agent-Logs-Url: https://github.com/XTLS/Xray-core/sessions/071df77b-69fb-4b1f-a14d-9dab447e1efa

Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
2026-04-26 17:18:37 +00:00
copilot-swe-agent[bot]
5906445c68 fix: restrict xhttp browser dialer mode and remove added tests
Agent-Logs-Url: https://github.com/XTLS/Xray-core/sessions/071df77b-69fb-4b1f-a14d-9dab447e1efa

Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
2026-04-26 17:16:42 +00:00
copilot-swe-agent[bot]
a54c54a559 fix: enforce same-port different-address browser dialer rejection
Agent-Logs-Url: https://github.com/XTLS/Xray-core/sessions/b21c3fc4-8476-4107-975a-9d921d55ffea

Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
2026-04-26 16:42:56 +00:00
copilot-swe-agent[bot]
64f783f2b0 fix: allow same-address browser dialer port reuse across outbounds
Agent-Logs-Url: https://github.com/XTLS/Xray-core/sessions/b21c3fc4-8476-4107-975a-9d921d55ffea

Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
2026-04-26 16:39:27 +00:00
copilot-swe-agent[bot]
12ecf47fcc fix: clean browser dialer path parsing guard
Agent-Logs-Url: https://github.com/XTLS/Xray-core/sessions/3aee4c73-7847-433c-905a-2eafe5b1bfe8

Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
2026-04-26 16:27:13 +00:00
copilot-swe-agent[bot]
4636ca2675 fix: clean up dialer refactor review issues
Agent-Logs-Url: https://github.com/XTLS/Xray-core/sessions/3aee4c73-7847-433c-905a-2eafe5b1bfe8

Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
2026-04-26 16:25:25 +00:00
copilot-swe-agent[bot]
5afd664c8b refactor: simplify browser dialer and remove added conf tests
Agent-Logs-Url: https://github.com/XTLS/Xray-core/sessions/3aee4c73-7847-433c-905a-2eafe5b1bfe8

Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
2026-04-26 16:23:37 +00:00
copilot-swe-agent[bot]
1d4250e6f0 fix: normalize browser dialer UUID before parsing
Agent-Logs-Url: https://github.com/XTLS/Xray-core/sessions/d0035ff5-3633-402f-890e-e68c267a65c1

Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
2026-04-26 16:07:23 +00:00
copilot-swe-agent[bot]
e06c536ce6 refactor: tighten browser dialer UUID and config error handling
Agent-Logs-Url: https://github.com/XTLS/Xray-core/sessions/d0035ff5-3633-402f-890e-e68c267a65c1

Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
2026-04-26 16:05:57 +00:00
copilot-swe-agent[bot]
aeb689284c feat: validate and initialize browser dialer at config build
Agent-Logs-Url: https://github.com/XTLS/Xray-core/sessions/d0035ff5-3633-402f-890e-e68c267a65c1

Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
2026-04-26 16:03:45 +00:00
copilot-swe-agent[bot]
9ad099774a refactor: simplify browser dialer UUID path validation
Agent-Logs-Url: https://github.com/XTLS/Xray-core/sessions/9288cc3c-d788-49d9-8bdc-f03281c238bf

Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
2026-04-26 15:54:00 +00:00
copilot-swe-agent[bot]
8fca7745fb feat: require UUID path for sockopt browser dialer
Agent-Logs-Url: https://github.com/XTLS/Xray-core/sessions/f1db6008-e292-4b43-a2e0-0bc80567ebba

Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
2026-04-26 15:49:47 +00:00
copilot-swe-agent[bot]
57253b736d refactor: use path plus header for browser dialer upgrade
Agent-Logs-Url: https://github.com/XTLS/Xray-core/sessions/33541da0-fdc4-4415-b7c4-7183f01b762e

Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
2026-04-26 15:43:35 +00:00
copilot-swe-agent[bot]
c48c475256 feat: require browserDialer path and multiplex by path
Agent-Logs-Url: https://github.com/XTLS/Xray-core/sessions/d3d25e7b-e62f-49e0-90be-0ca7f974e115

Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
2026-04-26 15:20:37 +00:00
copilot-swe-agent[bot]
2691a1aa0e feat: use path-based browser dialer csrf endpoint
Agent-Logs-Url: https://github.com/XTLS/Xray-core/sessions/b6b47cc0-5a64-49d5-9447-22c9c202c95d

Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
2026-04-26 15:01:48 +00:00
copilot-swe-agent[bot]
84d04d0eab chore: warn legacy browser dialer env has been removed
Agent-Logs-Url: https://github.com/XTLS/Xray-core/sessions/d30a26b2-60aa-4f86-b2ed-3c6997652bfb

Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
2026-04-26 07:55:48 +00:00
copilot-swe-agent[bot]
27b8b29ef8 refactor: remove browser dialer env reload path and refresh proto metadata
Agent-Logs-Url: https://github.com/XTLS/Xray-core/sessions/e3502f01-e171-4e6f-9ae7-dc29b6682951

Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
2026-04-26 07:44:58 +00:00
copilot-swe-agent[bot]
2fdfa727b4 refactor: improve browser dialer instance handling and diagnostics
Agent-Logs-Url: https://github.com/XTLS/Xray-core/sessions/56665ec5-84ea-4bc3-a812-2e699e0e880d

Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
2026-04-26 07:26:34 +00:00
copilot-swe-agent[bot]
c2116bb869 feat: add browserDialer under sockopt and wire transports
Agent-Logs-Url: https://github.com/XTLS/Xray-core/sessions/56665ec5-84ea-4bc3-a812-2e699e0e880d

Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
2026-04-26 07:22:38 +00:00
RPRX
b4f08981be v26.4.25
Announcement of NFTs by Project X: https://github.com/XTLS/Xray-core/discussions/3633
Project X NFT: https://opensea.io/assets/ethereum/0x5ee362866001613093361eb8569d59c4141b76d1/1

VLESS Post-Quantum Encryption: https://github.com/XTLS/Xray-core/pull/5067
VLESS NFT: https://opensea.io/collection/vless

XHTTP: Beyond REALITY: https://github.com/XTLS/Xray-core/discussions/4113
REALITY NFT: https://opensea.io/assets/ethereum/0x5ee362866001613093361eb8569d59c4141b76d1/2
v26.4.25
2026-04-25 23:16:35 +00:00
RPRX
cd4d0baacd Xray-core: Mark "legacy reverse" as removed to avoid confusions
https://github.com/XTLS/Xray-core/issues/5973#issuecomment-4273582111

https://github.com/XTLS/Xray-core/pull/5947#issuecomment-4273415252
2026-04-25 23:03:19 +00:00
Meow
3bc24a3d5d Geodata: Support automatically updating .dat files and hot reloading (#5992)
https://github.com/XTLS/Xray-core/pull/5992#issuecomment-4320551920

Usage: https://github.com/XTLS/Xray-core/pull/5992#issuecomment-4291168039
2026-04-25 21:20:42 +00:00
LjhAUMEM
fa07b34956 XDNS finalmask: Use single UDP socket for multiple resolvers for now (#5982)
https://github.com/XTLS/Xray-core/pull/5982#issuecomment-4302271929

Closes https://github.com/XTLS/Xray-core/pull/5976#issuecomment-4320460288
2026-04-25 20:26:15 +00:00
fish4terrisa-MSDSM
85a8bf5f39 Browser Dialer: Allow being switched on runtime when Xray is used as a lib (#5978)
https://github.com/XTLS/Xray-core/pull/5978#issuecomment-4279520473

https://github.com/XTLS/Xray-core/pull/5978#issuecomment-4320401635
2026-04-25 19:48:49 +00:00
Exclude0122
d0f533f94a app/router/condition.go: Retrieve original target in net.FindProcess() when "IPIfNonMatch" is enabled (#5979)
Fixes https://github.com/XTLS/Xray-core/issues/5980

---------

Co-authored-by: 风扇滑翔翼 <Fangliding.fshxy@outlook.com>
2026-04-25 17:45:03 +00:00