-
Notifications
You must be signed in to change notification settings - Fork 278
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
what is the value of "--just-generate-accept" #213
Comments
let me explain more my situation. I appreciated if somebody can help to solve my issue. sorry for my poor English: I want to use Websocat to proxy my client connection to ssh server through Cloudflare proxy. the problem is when I want to use SSH VPN client like "Netmod". after somedays of searching and testing, since I am a completely noob in this realm; by watching and comparing Nginx logs of "ubuntu <---> ubuntu " and " Netmod <---> Ubuntu" I found that Netmod client don't send "sec-websocket-version" and "sec-websocket-key" which cause "HTTP/1.1 400 bad request" error in Netmod client. so I add this header to my Netmod Connection: then Netmod status first chaned to this: at the same time websocat debug generate these line: so I thought there should be a way I can ask websocat that please just accept my connection!!! which bring me to "--just-generate-accept" flag and your forum too. so could you please help me in my situation? |
Everything in
Example:
It means for This is a low-level tool to build (or debug) your own WebSocket clients of servers. |
Does it use proper WebSocket framing, not just prefix the connection with WebSocket-esque leaders to fool the firewall? If you want to start a WebSocket connection establishment, but after that continue as a plain TCP connection (just like after If you want to tunnel SSH over properly framed WebSocket, try using Websocat not just for server, but also for client (maybe in combination with netmod or something else). You can request WebSocat to do only the framing part for client like this: |
Hi
No it does not use proper WebSocket framing. netmod is exactly what you mentioned it here
I'm looking to my ubuntu(server) <---> ubuntu(client) WebSocat connection which work perfectly and found that they first do some negotiation and handshakes then "ubuntu client" send authentication data in binary data. so if it is possible to do what you mentioned here, I think it may solve this issue and opening another way to bypass governmental censorship.
so is there any way to do it? |
Hi
Sorry for my poor English
does it possible for someone to help me figure out the value of --just-generate-accept flag? I got this error when I add use it:
Thank you in advance
Regards
The text was updated successfully, but these errors were encountered: