Skip to content

Support for MASQUE / CONNECT-UDP over HTTP/3 to tunnel UDP traffic (e.g. WireGuard) #793

Description

@Ho3einWave

Hello 👋

First, thanks for the great project gost already covers many transports like QUIC, HTTP/2, gRPC, etc.

I was wondering about support for the new MASQUE / CONNECT-UDP protocol over HTTP/3 (see [RFC 9298](https://www.rfc-editor.org/rfc/rfc9298.html) and [draft-ietf-masque-quic-proxy](https://datatracker.ietf.org/doc/html/draft-ietf-masque-quic-proxy)).

MASQUE allows proxying arbitrary UDP traffic over HTTP/3 using extended CONNECT requests. This would make it possible to tunnel protocols like WireGuard or other UDP-based VPNs through HTTP/3 in a way that looks like normal web traffic.

At the moment gost supports QUIC forwarding (quic://) and HTTP3 transports (h3://), but I don’t see MASQUE / CONNECT-UDP support mentioned.

Questions:

  • Is MASQUE (CONNECT-UDP) on the roadmap for gost?
  • If so, do you have a rough timeline or milestone when it might land?
  • Would contributions/PRs implementing it be welcome?

This feature would be extremely useful for tunneling UDP applications (like DNS, WireGuard, or gaming traffic) through HTTP/3 while blending into normal web flows.

Thanks again for your work on gost! 🙏

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationfeature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions