gaukas / watm

WebAssembly Transport Module
GNU General Public License v3.0
1 stars 0 forks source link

⭐ new: uTLS.wasm #6

Closed gaukas closed 8 months ago

gaukas commented 8 months ago

This pull request introduces a new WebAssembly Transport Module: uTLS.wasm, which is based on refraction-networking/utls and built from a slightly modified fork.

erikziyunchi commented 8 months ago

LGTM! Thanks a lot for introducing such exciting example!!! This will be the game killer especially if we can get WATER-rs run it successfully! BTW, for the code review, would you mind pointing out which part of the x/sys repo have you patched?

gaukas commented 8 months ago

would you mind pointing out which part of the x/sys repo have you patched?

Sure. See the review comment.

gaukas commented 8 months ago

if we can get WATER-rs run it successfully

We should be if WATER-rs allows running a Dialer-only WATM. We can create PHONY Listener and Relay for it but I think in the end both WATER runtime needs to support WATMs implementing a specific role instead of all roles. It doesn't make much sense to create a TLS Client Listener anyways.

erikziyunchi commented 8 months ago

We should be if WATER-rs allows running a Dialer-only WATM.

Yeah, it actually does! I can try to give it a test later, so excited! And I totally agree with this idea.