You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@trafficserver.apache.org by Ethan Lai <yz...@yahoo.com> on 2012/12/27 02:47:10 UTC

Proxing WebSocket ws:// or wss:// protocols ?

Happy Holidays folks!

I'm trying to use gateone, https://github.com/liftoff/GateOne, to simulate as ssh client on web.  Just wondering does trafficserver support proxing websocket connection or not?

Thanks,
-Ethan Lai

Re: Proxing WebSocket ws:// or wss:// protocols ?

Posted by Igor Galić <i....@brainsware.org>.
>  write a protocol plugin and use TSNetAcceptNamedProtocol() to tunnel the websocket
> protocol through the SSL NPN handler.

Can we do that in Lua?

-- 
Igor Galić

Tel: +43 (0) 664 886 22 883
Mail: i.galic@brainsware.org
URL: http://brainsware.org/
GPG: 6880 4155 74BD FD7C B515  2EA5 4B1D 9E08 A097 C9AE


Re: Proxing WebSocket ws:// or wss:// protocols ?

Posted by James Peach <jp...@apache.org>.
On 26/12/2012, at 5:47 PM, Ethan Lai <yz...@yahoo.com> wrote:

> Happy Holidays folks!
> 
> I'm trying to use gateone, https://github.com/liftoff/GateOne, to simulate as ssh client on web.  Just wondering does trafficserver support proxing websocket connection or not?

There's no currently websocket support. It should not be terribly difficult to implement, since it's really similar to the CONNECT method.

The closest you can get to websockets today is to write a protocol plugin and use TSNetAcceptNamedProtocol() to tunnel the websocket protocol through the SSL NPN handler.

J