Skip to content

Conversation

@reflog
Copy link
Contributor

@reflog reflog commented Nov 11, 2024

heya.
so this is an initial attempt at supporting v2ray in http-proxy-lantern.

  1. due to incompatibility between utls used by v2ray, I had to fork utls to expose the DecryptTicketWith function
  2. v2ray server doesn't give access to the net.Listener inside of it (and for some protocols there are NO net.Listeners at all) . In order to fight that, I forked v2ray https://github.com/reflog/v2ray-core/pull/1 . It's a bit hacky, but seems to work!

I've provided tests for SOCKS and VMESS protocols inside v2ray

let me know what you think!

@reflog
Copy link
Contributor Author

reflog commented Nov 14, 2024

@hwh33

I'm going to close this.
It's a) hacky b) requires full v2ray being dragged in c) requires a patched forked v2ray.

Instead I'll be submitting a PR for per-protocol support. Starting with VLESS and VMESS. Then possibly Trojan

@reflog reflog closed this Nov 14, 2024
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.

2 participants