Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add meek #258

Merged
merged 10 commits into from
Aug 6, 2023
Merged

feat: add meek #258

merged 10 commits into from
Aug 6, 2023

Conversation

AkinoKaede
Copy link
Contributor

@AkinoKaede AkinoKaede commented Aug 5, 2023

Background

Meek is a censorship-resistant protocol that encodes traffic into many plain HTTP requests/responses, and make the proxy flow characteristics more obscure. This PR implment Meek transport from V2Ray.

See https://www.v2fly.org/en_US/v5/config/stream/meek.html.

Proposed link format

VMess

V2RayN-like format

Use path for the url of Meek, and tls should be set to tls.

Example:

{
    "v": "2",
    "ps": "Meek",
    "add": "1.1.1.1",
    "port": "8000",
    "id": "21f2f2a0-3c25-4dec-5e8c-afc3f190e985",
    "aid": "0",
    "net": "meek",
    "type": "none",
    "tls":"none",
    "path":"https://dae.v2raya.org:8000/"
}

Share link is vmess:// + base64_encode(json)

Standard Proposal

see v2fly/v2ray-core#2638

VLESS Standard-like format

vless://[email protected]:8000/?url=https%3A%2F%2Fdae.v2raya.org%3A8000%2F&security=tls

Checklist

@mzz2017
Copy link
Contributor

mzz2017 commented Aug 5, 2023

Feel free to convert it to formal PR once it is ready for review.

@AkinoKaede AkinoKaede marked this pull request as ready for review August 5, 2023 15:17
@AkinoKaede AkinoKaede requested review from a team as code owners August 5, 2023 15:17
@mzz2017
Copy link
Contributor

mzz2017 commented Aug 5, 2023

@yqlbu Could you please open a discussion for it?

@piyoki
Copy link
Contributor

piyoki commented Aug 5, 2023

@mzz2017 Will do tmr; this PR will be included in the next release cycle.

@dae-prow
Copy link
Contributor

dae-prow bot commented Aug 6, 2023

❌ Your branch is currently out-of-sync to main. No worry, I will fix it for you.

Copy link
Contributor

@dae-prow dae-prow bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧪 Since the PR has been fully tested, please consider merging it.

Copy link
Contributor

@mzz2017 mzz2017 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mzz2017
Copy link
Contributor

mzz2017 commented Aug 6, 2023

Brilliant code. Thank you!

@mzz2017 mzz2017 merged commit 62ca625 into main Aug 6, 2023
23 checks passed
@mzz2017 mzz2017 deleted the meek branch August 6, 2023 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants