mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #5328] [Feature]: TLSHello xhttp fragmentation subscribe #3734
Labels
No labels
backlog
bug
clarification needed
documentation
duplicate
enhancement
github_actions
good first issue
invalid
javascript
New Feature
PR welcomed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MHSanaei/3x-ui#3734
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @to03 on GitHub (Jun 14, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/5328
Is your feature request related to a problem?
Please add fragmentation to the vless tlshello subscription, like in happ. It's a must-have in Russia right now.
Describe the solution you'd like
?fragment=100-200,10-20,tlshello - if you add this to the vless:// link, it will work, but I have a lot of relatives. I can't add it to everyone.
Alternatives you've considered
No response
Concrete use case
No response
Mockups, screenshots, or examples
No response
Which parts of the panel would this affect?
No response
Are you willing to help?
Before submitting
@github-actions[bot] commented on GitHub (Jun 14, 2026):
The panel already has partial support for this, but there is a gap between what exists and what you are asking for.
What is currently supported
The inbound editor exposes a "Final Mask" (finalmask) section. Under TCP masks you can add an entry with type
fragmentand setpacketstotlshello, plus alengthanddelayrange. When that is configured on an inbound:fm=<json>query parameter — confirmed ininternal/sub/service.go(applyFinalMaskParams) andfrontend/src/lib/xray/inbound-link.ts(serializeFinalMask).finalmaskobject insidestreamSettings— confirmed ininternal/sub/json_service.go(applyGlobalFinalMask,streamData).subJsonFinalMasksetting (internal/web/service/setting.go:769) that overlays a finalmask onto every JSON subscription config, so you can apply fragment globally without editing each inbound.What is not currently supported
The compact
?fragment=<length>,<interval>,<packets>URI query parameter format you described is not generated by the subscription service. The panel uses thefm=<json>encoding instead. If the clients your relatives use (e.g. happ) only parse the compactfragment=form and notfm=, the existing mechanism will not help them.There is also no equivalent of
subJsonFinalMaskfor plain share links — the global override applies to the JSON subscription format only. Share links pick up fragment settings only from the inbound's own finalmask configuration.Summary of the gap
fm=<json>?fragment=length,interval,packetsURI formatThis request is valid as a feature enhancement: either adding a global subscription-level fragment override for share links, or emitting the compact
fragment=parameter alongside or instead offm=. A PR implementing either approach would be welcome.If you want a workaround today and your clients understand
fm=<json>(v2rayN, sing-box, and others do): open each inbound, add a TCP Final Mask entry withtype=fragment,packets=tlshello, and your preferredlength/delayranges, then re-share the subscription link.This reply was generated automatically; a maintainer may follow up.
[GH-ISSUE #5328] [Feature]: TLSHello xhttp fragmentation subscribeto [GH-ISSUE #5328] [Feature]: TLSHello xhttp fragmentation subscribe