Skip to content

Conversation

@JxQg
Copy link

@JxQg JxQg commented Aug 27, 2025

This PR fixes the logic for generating VLESS/VMESS nodes as follows:

  • When network is tcp, check the header.type field:
    • If header.type is empty, none, or tcp, set network to tcp
    • If header.type is http, set network to http and add the http-opts field
  • Other protocol logic remains unchanged
    This change ensures that the generated node templates are compatible with the latest Stash rules, supporting both TCP and HTTP disguise scenarios.

JxQg added 2 commits August 27, 2025 10:47
…neration rules

This change ensures that the generated node templates are compatible with the latest Stash rules, supporting both TCP and HTTP disguise scenarios.
…neration rules

This change ensures that the generated node templates are compatible with the latest Stash rules, supporting both TCP and HTTP disguise scenarios.
@JxQg JxQg changed the title Fix: Stash VLESS TCP/HTTP disguise node generation rules Fix: Stash VLESS/vmess TCP/HTTP disguise node generation rules Aug 27, 2025
@JxQg JxQg changed the title Fix: Stash VLESS/vmess TCP/HTTP disguise node generation rules Fix: Stash VLESS/VMESS TCP/HTTP disguise node generation rules Aug 27, 2025
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.

1 participant