Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XHTTP: Add "stream-up" mode for client & server #3994

Merged
merged 2 commits into from
Nov 9, 2024
Merged

XHTTP: Add "stream-up" mode for client & server #3994

merged 2 commits into from
Nov 9, 2024

Conversation

RPRX
Copy link
Member

@RPRX RPRX commented Nov 9, 2024

上午十点发频道,下午两点就写好了,中间还吃饭刷剧,所以又是两个小时系列,测试也是一遍过

顾名思义,XHTTP-H2-REALITY 等不经过 CDN 的场景并不需要分包上行,只需要 流式上行彻底摆脱各种上行问题

XHTTP 的 stream-up 同样有默认的 header padding、XMUX,支持上下行分离 #3955 ,这些是与 HTTP 传输层的主要区别,极限性能基本没差,所以我决定 XHTTP 不再合并 HTTP 传输层,况且此前已决定 XHTTP 不应默认兼容 HTTP 传输层

配置项加了 "mode",三选一:

  • "auto" - 默认值 / 客户端:TLS H2 或 REALITY 时 stream-up,否则 packet-up / 服务端:同时兼容两种模式
  • "packet-up" - 客户端:使用分包上行 / 服务端:仅接受分包上行
  • "stream-up" - 客户端:使用流式上行 / 服务端:仅接受流式上行

具体实现就是 POST 到和 GET 相同的 URL,此外:

  • 现在服务端向 POST 回复的报错 header 也有 padding 了
  • 客户端 concurrency 计数减一移到了 onClose() 内,理论上有效,待观察
  • Browser dialer 支持待完善(Chromium streaming request),Nginx 等反代软件待测试 推荐 grpc_pass h2c 其次 HTTP/1.1

XHTTP stream-up 模式旨在取代现有的 H2 / gRPC over REALITY,XHTTP 有 header padding、XMUX,表现会更好

@yoohooyoo
Copy link

从女人身上下来的R大,轻松进入心流状态。还得是贤者模式改变世界。

@ImMohammad20000
Copy link

It can run on 2 separate server?
One server use for upload and other use for download 🤔

@RPRX
Copy link
Member Author

RPRX commented Nov 9, 2024

@ImMohammad20000 #3955

@RPRX
Copy link
Member Author

RPRX commented Nov 9, 2024

忘了说,XHTTP stream-up 模式旨在取代现有的 H2 / gRPC over REALITY,XHTTP 有 header padding、XMUX,表现会更好

@RPRX RPRX merged commit bc4bf3d into main Nov 9, 2024
36 checks passed
@zzlinwq
Copy link

zzlinwq commented Nov 10, 2024

大佬🐂(高产似母猪)

@RPRX RPRX deleted the xhttp-stream-up branch November 11, 2024 04:23
@hkbase
Copy link

hkbase commented Nov 12, 2024

小白问一下,大佬能给个配置参考吗?

@RPRX
Copy link
Member Author

RPRX commented Nov 12, 2024

小白问一下,大佬能给个配置参考吗?

@Fangliding 改文档,顺便把 SplitHTTP 更名为 XHTTP

@RPRX
Copy link
Member Author

RPRX commented Nov 12, 2024

你们在群里抓一下风扇去弄 XHTTP 的文档啊

@Fangliding
Copy link
Member

Fangliding commented Nov 12, 2024

因为我觉得套一层streamsettings有点那啥 多写个type多写个xhttpsettings 我觉得搞一个额外结构体再单独拿个xhttpsetting和secure设置就行了 但这样又改一道工程量又不小 我懒得做也不喜欢喊别人做事 而且也不知道其他人怎么想 再延伸到以后可能会允许服务端按这些设置监听 这样设计又是否科学 说白了就像当初和mmm讨论的那样有待商榷的地方太多 所以代码里留着可以分开的设置但是一直没急着端上来 要是以后真改了火急火燎写的文档又得重写 所以我想着再观察一下

@RPRX
Copy link
Member Author

RPRX commented Nov 12, 2024

要是以后真改了火急火燎写的文档又得重写 所以我想着再观察一下

短期内不会改的,XHTTP 自身基本开发完了,就剩 browser stream-up,以及修修遗留 bug 了,接下来的开发重点是 Vision Seed

下行完全独立一套,又要有 xhttp 又要有 tls/reality 又要有 sockopt,套一层 streamSettings 是最简单、合理的,重新设计太要命

streamSettings 内加 address 和 port 也是未来的方向,它们本来就应当属于底层传输,以后 Xray 整体会往这个方向改

总之就是 XHTTP 基本告一段落,短期内不会大改了,分享标准也出了,文档是时候跟上了

@Fangliding
Copy link
Member

以及我没有很看懂extra是干嘛的

@RPRX
Copy link
Member Author

RPRX commented Nov 12, 2024

以及我没有很看懂extra是干嘛的

Host、path、mode 以外的参数的分享方案,分享链接标准中 XHTTP 就这四项 #716

@Fangliding
Copy link
Member

这一会加糖一会又搞复杂的

@RPRX
Copy link
Member Author

RPRX commented Nov 12, 2024

这一会加糖一会又搞复杂的

是有点复杂,但这就像套娃 streamSettings,参数就是这么多,都要分享,只有这么干是最简单的,不然分享链接再搞一套更复杂

@Fangliding
Copy link
Member

还是没看懂这和分享整个原始json区别是什么 套娃stream是因为里外需要两套不一样的streamSettings 这个就只有里面部分覆盖外面 有和没有有什么区别吗

@RPRX
Copy link
Member Author

RPRX commented Nov 12, 2024

还是没看懂这和分享整个原始json区别是什么

主要是打个样,方便使用 Xray-core 的客户端不需要解析 json,直接把值填进 extra 就行

因为想把最关键的三项 host、path、mode 摘出来,如果 core 不做,客户端还要自己去解析、覆盖、再序列化,可能有兼容性问题

@RPRX
Copy link
Member Author

RPRX commented Nov 12, 2024

就是 GUI 不需要管 extra 的内容是什么,直接原样填进去就行,手写 json 的话用不到

另外 Xray 也能识别出这部分来自分享,然后把里面 sockopt 给去掉

2dust added a commit to 2dust/v2rayN that referenced this pull request Nov 14, 2024
@1265578519
Copy link

1265578519 commented Nov 21, 2024

我不更新就不会取消,作者真有创意,居然想到要删除现有h2功能来鼓励更新。
还好这是第三方版本,可以随便瞎搞,如果作为官方版本作者肯定被人骂一顿

@RPRX
Copy link
Member Author

RPRX commented Nov 21, 2024

我不更新就不会取消,作者真有创意,居然想到要删除现有h2功能来鼓励更新。

阴阳怪气的,这不是隔壁 v2fly 的贵物吗咋跑这里来了?不好意思忘了隔壁 v5 早就删了它,懒得废话,blocked @1265578519

还好这是第三方版本,可以随便瞎搞,如果作为官方版本作者肯定被人骂一顿

这什么傻逼啊,如果你所谓的“官方”指的是 v2fly,自己去看 v5 的文档,就没有过 h2 传输层,怎么没见有人骂,你去骂骂?

lowercase78 added a commit to lowercase78/v2rayN that referenced this pull request Nov 24, 2024
commit 49a3c84
Author: 2dust <[email protected]>
Date:   Sun Nov 24 11:31:45 2024 +0800

    up 7.2.1

commit 5e0c284
Author: 2dust <[email protected]>
Date:   Sat Nov 23 14:41:19 2024 +0800

    Refactor Localization for AmazTool

commit a6dc801
Author: 2dust <[email protected]>
Date:   Sat Nov 23 14:08:08 2024 +0800

    Merge pac function into the main program

commit 22009d1
Author: Space Time <[email protected]>
Date:   Sat Nov 23 10:45:16 2024 +0800

    调整订阅分组设置窗口的布局 (2dust#6132)

    * 调整订阅分组设置窗口的布局

    * 避免添加配置后出现滚动条

commit 50f39dc
Author: 2dust <[email protected]>
Date:   Fri Nov 22 20:56:34 2024 +0800

    Delete splithttp

commit 05d446e
Author: 2dust <[email protected]>
Date:   Fri Nov 22 18:04:36 2024 +0800

    up 7.2.0

commit 7a0b068
Author: 2dust <[email protected]>
Date:   Fri Nov 22 17:37:30 2024 +0800

    Improve Follow System Theme for windows

commit c0ef8c0
Author: 2dust <[email protected]>
Date:   Fri Nov 22 17:35:49 2024 +0800

    Add Follow System Theme for desktop

commit a2db6dd
Author: fonaix <[email protected]>
Date:   Thu Nov 21 09:02:35 2024 +0800

    修复:TrayIcon不跟随代理模式变化的问题 (2dust#6126)

    * 添加:MacOS 代理配置与清除

    * 修复:点击表头排序时,超时服务器排在前面的问题

    * 添加:MacOS 打开存储所在位置功能

    * 修复:删除全部节点时,UI不更新的问题

    * 修复:TrayIcon不跟随代理模式变化的问题

commit 471bc0f
Author: 2dust <[email protected]>
Date:   Wed Nov 20 15:33:29 2024 +0800

    Update README.md

commit 80f840a
Author: 2dust <[email protected]>
Date:   Wed Nov 20 15:29:06 2024 +0800

    Fix

    2dust#6119

commit a2413fd
Author: 2dust <[email protected]>
Date:   Wed Nov 20 12:01:04 2024 +0800

    Remove Routing Basic function

commit 9cbe2b9
Author: 2dust <[email protected]>
Date:   Wed Nov 20 10:34:51 2024 +0800

    Fixed the inbound issue caused by server configuration error during speed test

    2dust#6110

commit e915726
Author: 2dust <[email protected]>
Date:   Wed Nov 20 10:29:04 2024 +0800

    Improved upgrade

    2dust#6102

commit b11e68c
Author: 2dust <[email protected]>
Date:   Tue Nov 19 19:20:12 2024 +0800

    Remove StatisticsV2rayService

    Remove ProtosLib project

commit bee66d0
Author: 2dust <[email protected]>
Date:   Tue Nov 19 16:43:00 2024 +0800

    Added real IP location display

    https://ipapi.co/api/?shell#introduction

commit 945a0ad
Author: 2dust <[email protected]>
Date:   Tue Nov 19 15:52:08 2024 +0800

    Code clean

commit 294cabc
Author: 2dust <[email protected]>
Date:   Mon Nov 18 17:14:42 2024 +0800

    Update README.md

commit 22eb993
Author: 2dust <[email protected]>
Date:   Mon Nov 18 16:51:51 2024 +0800

    up 7.1.3

commit b5e1a29
Author: 2dust <[email protected]>
Date:   Mon Nov 18 16:44:12 2024 +0800

    Optimize Linux start tun mode

    You can choose not to store the password and enter it manually each time

commit 499a16f
Author: 2dust <[email protected]>
Date:   Mon Nov 18 10:13:49 2024 +0800

    Fix LocalizationHelper for AmazTool

commit 1866a59
Author: Slnanx <[email protected]>
Date:   Mon Nov 18 09:57:38 2024 +0800

    更新程序内嵌资源文件 (2dust#6101)

    * fix

    * fix

    * 移除自述

    * 改用单例模式,避免多次初始化。

    * 小修正

    * 修正

    * 更正自述

    * 应该完成了

    * 内嵌资源

    * Update LocalizationHelper.cs

commit 10513e0
Author: 2dust <[email protected]>
Date:   Mon Nov 18 09:56:13 2024 +0800

    Fixed the problem that the statistics column would not be hidden

commit 2e32de2
Author: Slnanx <[email protected]>
Date:   Sun Nov 17 19:42:14 2024 +0800

    fix (2dust#6099)

    * fix

    * fix

    * 移除自述

    * 改用单例模式,避免多次初始化。

    * 小修正

    * 修正

    * 更正自述

    * 应该完成了

commit 30a838d
Author: 2dust <[email protected]>
Date:   Sun Nov 17 16:18:46 2024 +0800

    Bug fix

    2dust#6092

commit 7cf9b9f
Author: 2dust <[email protected]>
Date:   Sun Nov 17 14:15:37 2024 +0800

    up 7.1.2

commit 736d995
Author: 2dust <[email protected]>
Date:   Sun Nov 17 14:11:51 2024 +0800

    up PackageReference

commit e335b2c
Author: 2dust <[email protected]>
Date:   Sun Nov 17 14:11:17 2024 +0800

    Fix with AppendQuotes

commit 96ae551
Author: 2dust <[email protected]>
Date:   Sun Nov 17 09:58:57 2024 +0800

    Improve core msg

commit fb4b8d9
Author: Slnanx <[email protected]>
Date:   Sun Nov 17 09:42:40 2024 +0800

    可以通过判断系统语言来显示对应语言 (2dust#6083)

commit 2ade705
Author: 2dust <[email protected]>
Date:   Sat Nov 16 20:15:05 2024 +0800

    Bug fix

commit e0086b4
Author: NagisaEfi <[email protected]>
Date:   Sat Nov 16 10:34:55 2024 +0800

    Update ResUI.zh-Hant.resx (2dust#6080)

commit 8f6d443
Author: 2dust <[email protected]>
Date:   Fri Nov 15 19:50:37 2024 +0800

    Hide to tray when closing the window

    2dust#6076

commit 5dbce16
Author: 2dust <[email protected]>
Date:   Fri Nov 15 13:36:44 2024 +0800

    up 7.1.1

commit 1016dcb
Author: 2dust <[email protected]>
Date:   Fri Nov 15 11:59:22 2024 +0800

    Improve PAC

commit ba5ad12
Author: 2dust <[email protected]>
Date:   Fri Nov 15 09:42:49 2024 +0800

    Linux password encryption storage

commit 57f9c81
Author: 2dust <[email protected]>
Date:   Thu Nov 14 15:20:14 2024 +0800

    up 7.1.0

commit b8a0293
Author: 2dust <[email protected]>
Date:   Thu Nov 14 14:37:03 2024 +0800

    Add xhttp extra for xray

    XTLS/Xray-core#4000

commit 59b7daa
Author: 2dust <[email protected]>
Date:   Thu Nov 14 14:25:58 2024 +0800

    Improve UI

commit d781c76
Author: 2dust <[email protected]>
Date:   Thu Nov 14 09:48:43 2024 +0800

    Add xhttp mode for xray

    XTLS/Xray-core#3994

commit 04efed2
Author: 2dust <[email protected]>
Date:   Wed Nov 13 19:48:44 2024 +0800

    SplitHTTP is now XHTTP for xray

commit 2de9e14
Author: 2dust <[email protected]>
Date:   Wed Nov 13 19:00:35 2024 +0800

    xray-core uses quic to add failure prompts and plans to remove quic

commit a849dec
Author: 2dust <[email protected]>
Date:   Wed Nov 13 18:00:31 2024 +0800

    Remove SagerNet

commit 28019dc
Author: 2dust <[email protected]>
Date:   Wed Nov 13 16:45:23 2024 +0800

    Migrate xray traffic statistics to Metrics

    https://xtls.github.io/config/metrics.html

commit 9d63896
Author: 2dust <[email protected]>
Date:   Wed Nov 13 16:22:56 2024 +0800

    Use tun mode without running with sudo in linux

commit f921ff7
Author: 2dust <[email protected]>
Date:   Wed Nov 13 16:00:01 2024 +0800

    Update README.md

commit e3ea329
Author: NagisaEfi <[email protected]>
Date:   Wed Nov 13 09:49:41 2024 +0800

    Update ResUI.zh-Hant.resx (2dust#6049)

commit 87f1c12
Author: TTG <[email protected]>
Date:   Mon Nov 11 20:42:10 2024 -0500

    Update DNS Routing (2dust#6045)

    * Update DNS Routing

    * Removed outdated DNS IP

commit a1c8bc0
Author: 2dust <[email protected]>
Date:   Mon Nov 11 16:56:08 2024 +0800

    Improve the code

commit 61e9101
Author: fonaix <[email protected]>
Date:   Mon Nov 11 09:48:20 2024 +0800

    添加:MacOS 打开存储所在位置功能 (2dust#6038)

    * 添加:MacOS 代理配置与清除

    * 修复:点击表头排序时,超时服务器排在前面的问题

    * 添加:MacOS 打开存储所在位置功能

    * 修复:删除全部节点时,UI不更新的问题

commit a628934
Author: 2dust <[email protected]>
Date:   Mon Nov 11 09:37:49 2024 +0800

    Bug fix

    2dust#6037

commit 9e84de8
Author: 2dust <[email protected]>
Date:   Sun Nov 10 17:30:03 2024 +0800

    Migrating the sing-box configuration to 1.10.0

    https://sing-box.sagernet.org/migration/#tun-address-fields-are-merged

commit d04cc53
Author: 2dust <[email protected]>
Date:   Sun Nov 10 17:25:36 2024 +0800

    Fill ResUI

commit 1ff3c5f
Author: 2dust <[email protected]>
Date:   Sun Nov 10 17:24:41 2024 +0800

    Fix

    2dust#6032

commit 3db047a
Author: 2dust <[email protected]>
Date:   Sat Nov 9 14:37:48 2024 +0800

    Fix

commit bf4615f
Author: TTG <[email protected]>
Date:   Fri Nov 8 20:28:10 2024 -0500

    Update Configuration to Optimize (2dust#6027)

    * Remove geolocation-cn

    * Segment and update DNS lists

commit 798c7fa
Author: 2dust <[email protected]>
Date:   Fri Nov 8 20:44:28 2024 +0800

    up 7.0.9

commit 5797b37
Author: 2dust <[email protected]>
Date:   Fri Nov 8 20:41:07 2024 +0800

    Bug fix

    2dust#6023

commit ce22f34
Author: 2dust <[email protected]>
Date:   Fri Nov 8 20:01:36 2024 +0800

    up 7.0.8

commit 4c49e52
Author: 2dust <[email protected]>
Date:   Fri Nov 8 19:24:36 2024 +0800

    Bug fix

    2dust#5963

commit 47318b5
Author: 2dust <[email protected]>
Date:   Fri Nov 8 11:11:06 2024 +0800

    Improve the code for Desktop Exit

commit d122979
Author: 2dust <[email protected]>
Date:   Fri Nov 8 11:04:03 2024 +0800

    Improve the code for WPF Global Window

commit 5fb4eda
Author: fonaix <[email protected]>
Date:   Fri Nov 8 09:21:43 2024 +0800

    添加:MacOS 代理配置与清除 (2dust#6018)

    * 添加:MacOS 代理配置与清除

    * 修复:点击表头排序时,超时服务器排在前面的问题

commit c4b490e
Author: DecorativeFamily <[email protected]>
Date:   Thu Nov 7 10:16:27 2024 +0330

    [CodeFactor] Apply fixes (2dust#6005)

    Co-authored-by: codefactor-io <[email protected]>

commit 45febe3
Author: 2dust <[email protected]>
Date:   Wed Nov 6 15:00:45 2024 +0800

    up 7.0.7

    2dust#5970

commit 689a81a
Author: 2dust <[email protected]>
Date:   Wed Nov 6 14:52:54 2024 +0800

    Built-in font for Desktop

    2dust#5970

commit 28620b3
Author: 2dust <[email protected]>
Date:   Tue Nov 5 19:49:27 2024 +0800

    Update MsgView.xaml

    2dust#5997

commit be13446
Author: 2dust <[email protected]>
Date:   Mon Nov 4 14:21:11 2024 +0800

    Speed ​​test address maintenance

commit ee57d5b
Author: 2dust <[email protected]>
Date:   Mon Nov 4 14:15:59 2024 +0800

    Improve checkup date

commit 4eda3dd
Author: 2dust <[email protected]>
Date:   Mon Nov 4 10:42:42 2024 +0800

    Add Memo attribute to subscription group

    2dust#5981

commit 911dc7f
Author: 2dust <[email protected]>
Date:   Mon Nov 4 10:37:44 2024 +0800

    Revert

    9fd20ff

commit 18005b9
Author: fonaix <[email protected]>
Date:   Mon Nov 4 09:44:03 2024 +0800

    修复:双击表头弹出编辑窗口的问题 (2dust#5984)

    * 修复:日志文本框垂直显示上下空白问题

    * 修复:双击表头弹出编辑窗口的问题

commit a3e45d2
Author: 2dust <[email protected]>
Date:   Sun Nov 3 21:15:50 2024 +0800

    Bug fix

    2dust#5979

commit 0accf26
Author: 2dust <[email protected]>
Date:   Sun Nov 3 16:49:06 2024 +0800

    up 7.0.6

commit e0eb73b
Author: 2dust <[email protected]>
Date:   Sun Nov 3 16:45:48 2024 +0800

    Code clean

commit 258e822
Author: 2dust <[email protected]>
Date:   Sun Nov 3 14:48:13 2024 +0800

    Add exit function to the main interface for Desktop

commit 4f05b93
Author: 2dust <[email protected]>
Date:   Sun Nov 3 13:44:12 2024 +0800

    Bug fix

    MainModule FileName only exists in Win32.

commit bb661d4
Author: 2dust <[email protected]>
Date:   Sun Nov 3 13:30:32 2024 +0800

    Only one instance is allowed to run

commit 201cfaa
Author: 2dust <[email protected]>
Date:   Sat Nov 2 15:02:30 2024 +0800

    Fix

    2dust#5966

commit c339aa3
Author: 2dust <[email protected]>
Date:   Sat Nov 2 14:42:26 2024 +0800

    up PackageReference

commit 046421f
Author: 2dust <[email protected]>
Date:   Sat Nov 2 14:42:01 2024 +0800

    Code clean

commit 3a2c9e7
Author: fonaix <[email protected]>
Date:   Sat Nov 2 10:28:18 2024 +0800

    修复:日志文本框垂直显示上下空白问题 (2dust#5967)

commit 0bb6e6b
Author: 2dust <[email protected]>
Date:   Fri Nov 1 16:54:16 2024 +0800

    up 7.0.5

commit 693e8ab
Author: 2dust <[email protected]>
Date:   Fri Nov 1 14:54:23 2024 +0800

    Add startup auto-start for desktop

commit 033c16c
Author: 2dust <[email protected]>
Date:   Fri Nov 1 10:19:31 2024 +0800

    Refactor to select active nodes when updating subscriptions

commit 6ec6143
Author: 2dust <[email protected]>
Date:   Fri Nov 1 09:26:15 2024 +0800

    Only update the stable version of the core

    2dust#5950

commit 072f773
Author: 2dust <[email protected]>
Date:   Thu Oct 31 09:59:59 2024 +0800

    up 7.0.4

commit 0086f65
Author: 2dust <[email protected]>
Date:   Wed Oct 30 08:57:10 2024 +0800

    Bug fix

    b7f4fd7

commit 281f14f
Author: 2dust <[email protected]>
Date:   Mon Oct 28 13:45:39 2024 +0800

    Adjustment of preset rule sets

commit 9fd20ff
Author: 2dust <[email protected]>
Date:   Mon Oct 28 09:38:20 2024 +0800

    De-duplication after subscription update

commit 7df90a6
Author: 2dust <[email protected]>
Date:   Mon Oct 28 09:16:24 2024 +0800

    Bug fix

    2dust#5928

commit 019869e
Author: 2dust <[email protected]>
Date:   Sun Oct 27 15:01:14 2024 +0800

    up 7.0.3

commit b7f4fd7
Author: 2dust <[email protected]>
Date:   Sun Oct 27 14:59:06 2024 +0800

    Add font settings for Desktop

commit 1273d2a
Author: 2dust <[email protected]>
Date:   Sun Oct 27 14:57:45 2024 +0800

    Improved font settings

commit 88990b4
Author: 2dust <[email protected]>
Date:   Sat Oct 26 18:00:22 2024 +0800

    Bug fix

    0efb0b5

commit 2f02c29
Author: 2dust <[email protected]>
Date:   Sat Oct 26 17:55:36 2024 +0800

    UseShellExecute  = true

commit ade789c
Author: 2dust <[email protected]>
Date:   Sat Oct 26 17:55:08 2024 +0800

    Update UpgradeApp.cs

commit 9738f90
Author: 2dust <[email protected]>
Date:   Sat Oct 26 15:00:57 2024 +0800

    up 7.0.2

commit 6ed0741
Author: 2dust <[email protected]>
Date:   Sat Oct 26 14:57:28 2024 +0800

    Bug fix

    2dust#5923

commit e6b1e22
Author: 2dust <[email protected]>
Date:   Sat Oct 26 14:42:58 2024 +0800

    Update UpgradeApp.cs

commit 6b922be
Author: 2dust <[email protected]>
Date:   Sat Oct 26 10:42:29 2024 +0800

    Set AssemblyName to v2rayN

commit 6e35a26
Author: 2dust <[email protected]>
Date:   Sat Oct 26 09:55:22 2024 +0800

    Bug fix

    2dust#5915

commit 1106fd8
Author: 2dust <[email protected]>
Date:   Fri Oct 25 20:32:47 2024 +0800

    Give upgrade app execute permission at runtime

commit fb92b90
Author: 2dust <[email protected]>
Date:   Fri Oct 25 17:58:54 2024 +0800

    Bug fix

    2dust#5909

commit 5effbee
Author: 2dust <[email protected]>
Date:   Fri Oct 25 17:41:01 2024 +0800

    Fix

    2dust#5905

commit 9bc50a9
Author: 2dust <[email protected]>
Date:   Fri Oct 25 13:50:17 2024 +0800

    up 7.0.1

commit 2a5a339
Author: 2dust <[email protected]>
Date:   Fri Oct 25 11:56:15 2024 +0800

    Update UpgradeApp.cs

commit 78d182f
Author: 2dust <[email protected]>
Date:   Fri Oct 25 11:06:04 2024 +0800

     Add a warning about the use of insecure HTTP protocol subscription address

commit 0efb0b5
Author: 2dust <[email protected]>
Date:   Fri Oct 25 10:10:55 2024 +0800

    Give core execute permission at runtime

commit a2e8755
Author: 2dust <[email protected]>
Date:   Fri Oct 25 09:31:16 2024 +0800

    Xray Asset Location use XRAY_LOCATION_ASSET

commit 06ddedb
Author: 2dust <[email protected]>
Date:   Fri Oct 25 09:27:11 2024 +0800

    The core folder is all lowercase letters

commit fa148cd
Author: 2dust <[email protected]>
Date:   Fri Oct 25 09:01:59 2024 +0800

    Bug fix

commit c1f71de
Author: 2dust <[email protected]>
Date:   Thu Oct 24 17:57:04 2024 +0800

    up 7.0.0

commit 871cb81
Author: 2dust <[email protected]>
Date:   Thu Oct 24 17:56:39 2024 +0800

    Code clean

commit 34f5c0f
Author: 2dust <[email protected]>
Date:   Thu Oct 24 17:09:07 2024 +0800

    Adding checks for subscription url

commit 3fafc6d
Author: 2dust <[email protected]>
Date:   Thu Oct 24 15:35:37 2024 +0800

    Code optimization

commit b013213
Author: 2dust <[email protected]>
Date:   Thu Oct 24 10:55:15 2024 +0800

    Remove simple routing settings

commit 40ea454
Author: 2dust <[email protected]>
Date:   Thu Oct 24 10:32:19 2024 +0800

    Remove X86 support

commit f0bac4b
Author: 2dust <[email protected]>
Date:   Thu Oct 24 10:25:02 2024 +0800

    Code optimization

commit ffb3812
Author: 2dust <[email protected]>
Date:   Wed Oct 23 17:19:57 2024 +0800

    The first letter of the guiconfig attribute must be capitalized.

commit 3c550c0
Author: 2dust <[email protected]>
Date:   Wed Oct 23 17:00:33 2024 +0800

    The first letter of the guiconfig attribute must be capitalized.

commit 2d14368
Author: 2dust <[email protected]>
Date:   Wed Oct 23 10:42:35 2024 +0800

    The first letter of the guiconfig attribute must be capitalized.

commit 1e7284f
Author: 2dust <[email protected]>
Date:   Wed Oct 23 10:18:55 2024 +0800

    Bug fix

commit 50bdf09
Author: DecorativeFamily <[email protected]>
Date:   Wed Oct 23 05:05:02 2024 +0330

    use Dependabot keep actions updated to latest (2dust#5886)

    like: v2-->v3

commit 10a60b2
Author: 2dust <[email protected]>
Date:   Tue Oct 22 20:08:33 2024 +0800

    After the Linux version updates the core, set chmod+x

commit b3c2084
Author: 2dust <[email protected]>
Date:   Tue Oct 22 17:50:42 2024 +0800

    Code optimization, function asynchrony

commit 3bf2dc7
Author: 2dust <[email protected]>
Date:   Tue Oct 22 11:04:12 2024 +0800

    Improved fontsize

commit 5a78361
Author: 2dust <[email protected]>
Date:   Tue Oct 22 09:46:50 2024 +0800

    Fix some code

commit 0da9cb4
Author: gush4 <[email protected]>
Date:   Tue Oct 22 09:32:07 2024 +0800

    Add icon for PAC mode (2dust#5876)

    Co-authored-by: author <[email protected]>

commit 28aa954
Author: 2dust <[email protected]>
Date:   Mon Oct 21 20:31:19 2024 +0800

    Improved CheckUpdate

commit 4fc71fb
Merge: 5ea6b1e 0cdfc97
Author: 2dust <[email protected]>
Date:   Mon Oct 21 20:29:54 2024 +0800

    Merge branch 'master' of https://github.com/2dust/v2rayN

commit 5ea6b1e
Author: 2dust <[email protected]>
Date:   Mon Oct 21 18:18:41 2024 +0800

    Update RetResult

commit 0cdfc97
Author: runetfreedom <[email protected]>
Date:   Mon Oct 21 08:47:38 2024 +0300

    change ru templates path (2dust#5869)

commit 3dd5431
Author: 2dust <[email protected]>
Date:   Mon Oct 21 13:46:13 2024 +0800

    Code optimization, function asynchrony

commit a866017
Author: 2dust <[email protected]>
Date:   Mon Oct 21 09:45:33 2024 +0800

    Code optimization, function asynchrony

commit 394b657
Author: 2dust <[email protected]>
Date:   Sun Oct 20 11:51:05 2024 +0800

    Code optimization, function asynchrony

commit 50449df
Author: 2dust <[email protected]>
Date:   Sat Oct 19 14:30:14 2024 +0800

    Improved

commit fe3836b
Author: 2dust <[email protected]>
Date:   Sat Oct 19 14:29:53 2024 +0800

    Bug fix QRCodeHelper

commit 055cd62
Author: runetfreedom <[email protected]>
Date:   Fri Oct 18 15:33:41 2024 +0300

    Sing-box srs updating support (2dust#5855)

commit 4d1f7fa
Author: runetfreedom <[email protected]>
Date:   Fri Oct 18 12:54:47 2024 +0300

    External dns configs support + ru translation  (2dust#5854)

    * Ru translation

    * External dns for presets

commit 5c0fba8
Author: 2dust <[email protected]>
Date:   Fri Oct 18 17:35:32 2024 +0800

    Add scanning QR code from image

commit b74ddc0
Author: 2dust <[email protected]>
Date:   Thu Oct 17 15:29:23 2024 +0800

    Adjust Resources

commit d004c68
Author: 2dust <[email protected]>
Date:   Thu Oct 17 15:28:32 2024 +0800

    Add check update for sing-box

commit fc3ba6c
Author: 2dust <[email protected]>
Date:   Wed Oct 16 19:36:38 2024 +0800

    Improved UI

commit 9c4dc18
Author: 2dust <[email protected]>
Date:   Wed Oct 16 15:42:44 2024 +0800

    Adjust some code

    2dust#5840

commit 2edbbc5
Author: runetfreedom <[email protected]>
Date:   Wed Oct 16 09:11:20 2024 +0300

    External routing rules templates + regional presets support (2dust#5840)

    * External routing rules templates + auto download geo file if repo changed

    * Regional presets support

commit a5122b6
Author: 2dust <[email protected]>
Date:   Wed Oct 16 10:52:45 2024 +0800

    Bug fix for Dsktop

commit 74f980a
Author: 2dust <[email protected]>
Date:   Wed Oct 16 09:20:05 2024 +0800

    Refactor system proxy

commit 35e5475
Author: 2dust <[email protected]>
Date:   Tue Oct 15 20:22:26 2024 +0800

    Add system proxy for kde

commit fb649c0
Author: 2dust <[email protected]>
Date:   Tue Oct 15 15:17:05 2024 +0800

    Code clean

commit 4ce7ca3
Author: 2dust <[email protected]>
Date:   Tue Oct 15 13:37:36 2024 +0800

    Fix

    2dust#5835

commit eebb673
Author: runetfreedom <[email protected]>
Date:   Tue Oct 15 08:28:51 2024 +0300

    Add sing-box srs custom url support for fix TUN (2dust#5835)

    Co-authored-by: 2dust <[email protected]>

commit e96c9ab
Author: 2dust <[email protected]>
Date:   Tue Oct 15 11:02:17 2024 +0800

    Improved share Uri

    2dust#5807

commit fd7cf16
Author: 2dust <[email protected]>
Date:   Tue Oct 15 09:31:30 2024 +0800

    Fix

    2dust#5821

commit 24afe8b
Author: 2dust <[email protected]>
Date:   Mon Oct 14 19:29:15 2024 +0800

    Fix

    2dust#5829

commit 9540669
Author: 2dust <[email protected]>
Date:   Mon Oct 14 19:27:22 2024 +0800

    prefer_ipv4 for sing-box dns strategy

    2dust#5790

commit c6caf29
Author: runetfreedom <[email protected]>
Date:   Mon Oct 14 12:50:44 2024 +0300

    Custom geo file source from settings (2dust#5829)

    Co-authored-by: 2dust <[email protected]>

commit 2698137
Author: 2dust <[email protected]>
Date:   Mon Oct 14 17:28:10 2024 +0800

    Improved UI

    2dust#5814

commit bdae08b
Author: 2dust <[email protected]>
Date:   Mon Oct 14 14:27:53 2024 +0800

    Improved UI

commit 019c69e
Author: 2dust <[email protected]>
Date:   Mon Oct 14 10:57:40 2024 +0800

    Refactor Common

commit 6b99b7e
Author: 2dust <[email protected]>
Date:   Mon Oct 14 10:42:05 2024 +0800

    Refactor Utils

commit 4eb443e
Author: 2dust <[email protected]>
Date:   Sun Oct 13 20:15:43 2024 +0800

    Bug fix for IsAdministrator

    This reverts commit 7618f9f.

commit e530789
Author: 2dust <[email protected]>
Date:   Sat Oct 12 19:46:06 2024 +0800

    Improved Desktop TrayIcon

commit 7618f9f
Author: 2dust <[email protected]>
Date:   Sat Oct 12 15:45:21 2024 +0800

    Refactor new StatusBarViewModel

commit d7bde77
Author: 2dust <[email protected]>
Date:   Fri Oct 11 15:06:48 2024 +0800

    up PackageReference

commit a0286ff
Author: 2dust <[email protected]>
Date:   Fri Oct 11 10:17:44 2024 +0800

    Improved MessageBus contract

commit b172b03
Author: 2dust <[email protected]>
Date:   Fri Oct 11 09:24:15 2024 +0800

    Improved UI for Desktop

commit a556bf9
Author: 2dust <[email protected]>
Date:   Thu Oct 10 18:02:09 2024 +0800

    Improved  ReactiveCommand.CreateFromTask

commit 4f5362f
Author: 2dust <[email protected]>
Date:   Thu Oct 10 14:05:14 2024 +0800

    Update build.ps1

commit 176a91e
Author: 2dust <[email protected]>
Date:   Wed Oct 9 20:44:37 2024 +0800

    Update build.ps1

commit 3c45ef6
Author: 2dust <[email protected]>
Date:   Wed Oct 9 20:13:25 2024 +0800

    Rename v2rayUpgrade 2 AmazTool

commit fea7c9f
Author: 2dust <[email protected]>
Date:   Tue Oct 8 20:45:56 2024 +0800

    Improved CliWrap

commit aa6b6e3
Author: 2dust <[email protected]>
Date:   Tue Oct 8 17:40:25 2024 +0800

    Remove Mono.Posix.NETStandard

commit f5956e7
Author: 2dust <[email protected]>
Date:   Tue Oct 8 14:55:06 2024 +0800

    Improved await _updateView

commit b266910
Author: 2dust <[email protected]>
Date:   Tue Oct 8 14:03:15 2024 +0800

    Refactor Upgrade

commit 53e19ec
Author: 2dust <[email protected]>
Date:   Tue Oct 8 13:47:13 2024 +0800

    Improved Action Invoke

commit 3e74bb6
Author: 2dust <[email protected]>
Date:   Tue Oct 8 09:50:03 2024 +0800

    Improved models

commit f60575b
Author: 2dust <[email protected]>
Date:   Mon Oct 7 20:10:00 2024 +0800

    Improved CoreInfo

commit 7a83906
Author: 2dust <[email protected]>
Date:   Mon Oct 7 11:18:24 2024 +0800

    Refactor CoreHandler

commit 4ccc7aa
Author: 2dust <[email protected]>
Date:   Mon Oct 7 10:59:13 2024 +0800

    Refactor NoticeHandler

commit d5c6a42
Author: 2dust <[email protected]>
Date:   Mon Oct 7 10:39:43 2024 +0800

    Refactor some service

commit 3bdef4d
Author: 2dust <[email protected]>
Date:   Mon Oct 7 09:51:41 2024 +0800

    Rename LazyConfig to AppHandler

commit f40eb72
Author: 2dust <[email protected]>
Date:   Sun Oct 6 21:16:17 2024 +0800

    Add AppViewModel for Desktop

commit 4d84eed
Author: 2dust <[email protected]>
Date:   Sun Oct 6 20:44:43 2024 +0800

    Refactor ProxySettingWindows

commit 53a2fbd
Author: 2dust <[email protected]>
Date:   Sun Oct 6 10:42:08 2024 +0800

    Bug fix

commit 409fe52
Author: 2dust <[email protected]>
Date:   Sun Oct 6 10:23:44 2024 +0800

    Implementing IsAdministrator for non-Windows

commit 75d86cf
Author: 2dust <[email protected]>
Date:   Sat Oct 5 17:51:31 2024 +0800

    Remove SagerNet clash clash_meta

commit b33f536
Author: 2dust <[email protected]>
Date:   Sat Oct 5 14:53:34 2024 +0800

    Improved UI for Desktop PathIcon

commit 1f77c56
Author: 2dust <[email protected]>
Date:   Sat Oct 5 11:12:52 2024 +0800

    Fix TrayIcon display

commit fe895b1
Author: 2dust <[email protected]>
Date:   Sat Oct 5 10:43:37 2024 +0800

    Improved v2rayUpgrade

commit 20bb263
Author: 2dust <[email protected]>
Date:   Fri Oct 4 17:10:30 2024 +0800

    Bug fix for check update

commit 3ecbd3b
Author: 2dust <[email protected]>
Date:   Fri Oct 4 16:01:36 2024 +0800

    Improved UI for Desktop CheckUpdate

commit fe81b51
Author: 2dust <[email protected]>
Date:   Fri Oct 4 15:22:32 2024 +0800

    Add BackupAndRestore

commit 90ba804
Author: 2dust <[email protected]>
Date:   Fri Oct 4 14:25:09 2024 +0800

    Improved UI for Desktop version

commit 2bb5f6a
Author: 2dust <[email protected]>
Date:   Thu Oct 3 17:22:07 2024 +0800

    Add DialogHost fro Desktop

commit 3971318
Author: 2dust <[email protected]>
Date:   Thu Oct 3 13:56:06 2024 +0800

    Improved UI for  routing rules

commit 5fbeb4b
Author: 2dust <[email protected]>
Date:   Wed Oct 2 21:08:17 2024 +0800

    Improved UI for Desktop version

commit 1b2b838
Author: NagisaEfi <[email protected]>
Date:   Tue Oct 1 09:49:02 2024 +0800

    Update ResUI.resx and ResUI.zh-Hant.resx (2dust#5767)

commit 8e28cc0
Author: 2dust <[email protected]>
Date:   Mon Sep 30 09:29:06 2024 +0800

    Fix TextFormattingMode = Display

    2dust#5740

commit 77a59e9
Author: 2dust <[email protected]>
Date:   Sun Sep 29 20:59:53 2024 +0800

    StorageUI and RestoreUI

commit 1411643
Author: 2dust <[email protected]>
Date:   Sat Sep 28 10:41:30 2024 +0800

    Add system proxy for Linux

commit fde2a76
Author: 2dust <[email protected]>
Date:   Fri Sep 27 20:25:06 2024 +0800

    Improved UI for Desktop version

commit b008a58
Author: 2dust <[email protected]>
Date:   Fri Sep 27 09:58:33 2024 +0800

    Code improvements

commit 8e02394
Author: 2dust <[email protected]>
Date:   Fri Sep 27 09:58:09 2024 +0800

    Adjustments to automatically update GEO files
@RPRX
Copy link
Member Author

RPRX commented Nov 25, 2024

重新决定一下,明天写个 stream-one 模式,即把 HTTP 传输层并入 XHTTP,正式补上最后一块拼图,相当于 HTTP 传输层也有了 header padding、XMUX 等功能而不用维护两份代码和名称滥用,但不应默认兼容原 HTTP 传输层所以应默认检查 x_padding

@RPRX
Copy link
Member Author

RPRX commented Nov 25, 2024

https://t.me/projectXtls/514

HTTP 传输层一直以来连 header padding 都没有,固定包长早就能被精准识别了,如果现在给它加就陷入了要维护两份代码的问题

@RPRX
Copy link
Member Author

RPRX commented Nov 25, 2024

https://t.me/projectXtls/515

协议的安全性更新不应兼容过去,原因是会被猪队友害了,Vision 最初兼容无 flow 就有不少人被封端口,改成不兼容了才清净

@RPRX
Copy link
Member Author

RPRX commented Nov 25, 2024

https://t.me/projectXtls/516

就是因为没多少人还在用 HTTP 传输层才没那么 break,服务端要加检查 x_padding 也是防止猪队友客户端,当然如果你服务端设个 -1 也就不会检查 x_padding 也就完全兼容原 HTTP 了,虽然我不建议大家这样做也没必要这样做

此外 HTTP 传输层名称的问题还在于我们还有个代理协议也叫 HTTP,容易搞混,而且 fly v5 都扔了,别有 sb 提 VLESS,那不是一回事

@RPRX
Copy link
Member Author

RPRX commented Nov 25, 2024

https://t.me/projectXtls/517

代码没扔主要是因为还要兼容 v4,v5 没它文档态度已经很明确了,可能是因为他们的 h2 还有些 bug 没修,现在发现能过 cf 可能又会捡回来,Xray 这边是去年我搞 REALITY 时把 h2 的 bug 修了才有人捡起来用,anyway 我自己修好的东西我删掉都不心疼

下一条频道消息已删,既然都改成兔头图了

@RPRX
Copy link
Member Author

RPRX commented Nov 25, 2024

https://t.me/projectXtls/519

其实我想保它的原因是它是ray的所有transport里除了直进直出的tcp外最好实现的一个 绝大多数语言只需要标准库就能写出来

这下被隔壁那群写软件的带坑里了,对于穿墙协议来说,容易实现可以有但是是次要的,而且太容易实现、都去实现的话,有些实现不当的反而会成为猪队友,就像原版 Clash 的单独发协议头,就像他们喜欢 SS、Trojan 是因为简单,巧了,GFW 也是这么想的

@RPRX
Copy link
Member Author

RPRX commented Nov 25, 2024

https://t.me/projectXtls/520

幽默padding=复杂

这个也挺抽象的,话说回来要求 header padding 又不复杂,且不实现 XMUX 也能兼容 XHTTP stream-one,更没理由保 HTTP 传输层了

@RPRX
Copy link
Member Author

RPRX commented Nov 25, 2024

https://t.me/projectXtls/521

为啥会这样,那server端遇到原版clash这种的可以断开吗

可以写但已经没必要了,原版 Clash 的那些协议早就不适合过墙了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants