-
Notifications
You must be signed in to change notification settings - Fork 18
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
Secure WebSockets ? #115
Comments
Current version doesn't support it because compile with old golang (1.10). It need for work in old, unsupported system. Lets proxy use standard reverse proxy for proxy http. It support websocket from go 1.12. You can compile it with new version, welcome to help with #102 or try to use https://github.com/rekby/lets-proxy2/releases/tag/v0.21.3 - this version was compiled with go 1.12 It isn't need some in config. |
I try to use 0.21.3 without success On client Accept-Encoding: gzip, deflate, br On proxy 2020-03-01T20:45:16.764+0100 debug tlslistener/tlslistenershandler.go:218 TLS Handshake {"connection_id": "dfa4d2ea-dbdb-463b-beea-1dfffc3ed6da"} On server 20:45:16 853 - [026] Started ServerClient Thread with ID 26 |
I don't do anything special for websocket. You can try download binary from latest go, when I complete #102 May be in latest it will work better. If you tell me your os/arch - I can compile test binary for you. |
I was testing letproxy2 on a windows 10. Anyway windows is pain for me :( Thank you for your help. |
I done multigo builds and you can download latest version with fresh go compiled and stdlib (with websocket). I'm not work with websocket doesn't know any details and can't help you wss specific problems :( |
I don't want to annoy you, but don't you think the TargetMap should also handle the scheme ? Not really a go version problem... I use 'go version go1.13.4 darwin/amd64' for cross-compilation. |
Yes, it is true - lets-proxy now doesn't support mixed http/https backends. Now it has workaround - create two lets-proxy process - one for http and one for https backends. You can create common config and include it from personal configs - for prevent copy-paste settings other then targetmap. I create issue for it: #122 but I don't understand how often it need and can't say you when I will do it. |
What headers you want to change? |
Does lets-proxy could support proxying of WSS.
If so, how are they setup on the config section ?
The text was updated successfully, but these errors were encountered: