Fragment settings
Fragment solution almost solves Clean IP issue for Cloudflare CDN by hiding SNI from MitM, however, settings should be obtained based on ISP. Also please note that Fragment can be enabled for sing-box, however sing-box does not use fragment settings and has its own default settings.
By default settings are:
- Length: 100-200
- Interval: 1-1
- Packets: tlshello
You can also switch Fragment modes and test based on network situation. Usually default or Low
mode should be ok. Please note that by switching to Medium
or High
profiles, handshake ping goes higher but it can result in better and more stable connection in high situations. The Best Fragment
config is always the best and smart solution, just connect and wait for at least 30 seconds.
You can set the parameters based on your ISP's situation.
Info
- Packets have multiple modes. However,
tlshello
only applies to TLS configurations; ports like 80, 8080, etc., are not affected.
Tip for Iranians
Currently, fragment performance is significantly more efficient on clients using the Xray Knocker core, specifically MahsaNG and v2rayN PRO clients. This core was developed and customized for conditions in Iran.
Tip
If you cannot find the optimum fragment settings for your ISP, there is a Best fragment configuration available in the subscription. Simply connect to it and wait a short while; it tests nearly all valid fragment settings and automatically connects to the best one.
Note
Fragment values have maximum limits. The Length cannot exceed 500, and the Interval cannot exceed 30ms.