[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] reverse proxy


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: "Pawel Veselov" <pawel.veselov@xxxxxxxxx>
  • Date: Thu, 10 Apr 2008 16:50:01 -0700
  • Delivery-date: Thu, 10 Apr 2008 16:50:28 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=EKPi6EPAUew2GrxuyU6SSM20LFxH7QJbHtkDaEbbTbmomUaUnjqb68g41sGg5tiC96wyh1cA0YEq265V8zfd43Y2aaAc10WWJF4hrinZmRB0Md/uI3SM1RKnmpWhYhpARJ0NpIS6zV47ao58AYQ8R7FtyLPeLqye/Ujw+9jTeeo=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Hi,
 
I was looking around to find a way to connect to a serial console of a guest system. Lucky enough I've been told about hvm_serial VM configuration paramater that allows to pass arguments to "-serial" of qemu. Since one doesn't really know where will the HVM execute, a proxy is needed, so the output of the console can be sent to a proxy, and then a client can connect to the same proxy to interact with the console.
 
I've been suggested to post the source code to the OpenSource, so the code is attached. The code is somewhat tested, and only been executed on Linux, but I'll most likely continue maintaining it.
 
Please let me know if you want me to continue posting it here as it changes, or if it's gonna have it's spot, or folks would prefer just piping 'nc's together to achieve the same :)
 
Thanks,
  Pawel.
 
--
With best of best regards
Pawel S. Veselov

Attachment: reverse_proxy.c
Description: Text document

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.