Xray-core: critical bug in windows

only tls-request is fragmented in freedom-fragment-outbound and http-request is not fragmented!!!

This should happen for tlshello-fragment but it also happens for tcp-fragment!!!

test: http://8.8.8.8:443 in v25.2.21 in windows in chrome.

config:

{
  "inbounds": [   
    {
      "tag": "socks-in",
      "port": 10808,
      "protocol": "socks",      
      "settings": {"udp": true}
    }   
  ],

  "outbounds": [    
    {
      "tag": "test-fragment",
      "protocol": "freedom",
      "settings": {
        "fragment": {
          "packets": "1-1",
          "length": "1",
          "interval": "1"
        }
      }      
    }            
  ]
}

and wireshark show that only the last byte is seperated!!!

(this bug was found by @ImMohammad20000)

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 1
  • Comments: 78 (78 by maintainers)

Most upvoted comments

用户的描述永远都是不可信的。这是我在TG上待了几年了总结出来的。整个代理娱乐圈能正常交流问题(要求略高)的人我见过的一个手数的过来。所以我的标准一直是我能复现 而不是其他人怎么描述怎么猜。我照着配置打一遍自己想一圈没有问题就会直接关掉。这样的"请确认"case只会越堆越多,80%以上的issue连提供完整配置都做不到,只是无脑打勾而已,再加选项也是空的。

你像这个,我一开始就测了,压根没有问题,只能推测肯定是有什么东西在重组流量。tun接口只是其中之一,我只是不想鸟这人开的issue罢了

Image

TUN 应该也能接管 loopback 吧,只是一般默认直接放行,但是可以附加个 sniffer

@RPRX @Fangliding

please test yourself, this is a strange thing, but it is really happening