[pve-devel] Execute monitor command from remote?

Alexandre DERUMIER aderumier at odiso.com
Tue Jun 3 12:11:52 CEST 2014


>>Can we do that inside pveproxy - we would need to do a fork() for each websocket connection?

Yes, I think it should work too.

we need to handle the upgrade http query from the client, then fork to handle the websocket tcp connection.

I'm a bit lost with anyevent, but I think it should be possible.



----- Mail original ----- 

De: "Dietmar Maurer" <dietmar at proxmox.com> 
À: "Alexandre DERUMIER" <aderumier at odiso.com> 
Cc: pve-devel at pve.proxmox.com, "Stefan Priebe - Profihost AG" <s.priebe at profihost.ag> 
Envoyé: Mardi 3 Juin 2014 11:39:16 
Objet: RE: [pve-devel] Execute monitor command from remote? 

> Yes, I think we should a proxy, with a fixed port, so like this, user need to accept 
> it once. 
> (could be done with a popup or an iframe, with https://proxy:port) 
> 
> for me best way, is to do something like spiceproxy. 
> listening on https, and managing wss websocket + tcp relay to vnc socket. 

Can we do that inside pveproxy - we would need to do a fork() for each websocket connection? 



More information about the pve-devel mailing list