xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.

Opened 9 years ago

Closed 9 years ago

Last modified 17 months ago

#474 closed task (fixed)

multiplexing a web server through the same port as the xpra server

Reported by: Antoine Martin Owned by: Smo
Priority: minor Milestone: 0.11
Component: server Version:
Keywords: Cc:


Similar to #426, but this will allow us to only intercept xpra packets, regular packets can be forwarded to a web server which can respond to regular HTTP packets.

immediate benefits:

  • a scan will show the port as belonging to the web server and xpra remains hidden
  • we can server an html5 client page (#473) through the same server port

Attachments (1)

multiplex-web.patch (10.0 KB) - added by Antoine Martin 9 years ago.
PoC patch which does the multiplexing for http get requests only in "ServerBase?"

Download all attachments as: .zip

Change History (4)

Changed 9 years ago by Antoine Martin

Attachment: multiplex-web.patch added

PoC patch which does the multiplexing for http get requests only in "ServerBase?"

comment:1 Changed 9 years ago by Antoine Martin

Owner: changed from Antoine Martin to Smo

r4948 implements this and will allow us to do #473 much more easily.

Here's how to test:

  • start a web server on port 8000:
    thttpd -p 8000
  • verify you can browse to it:
    xdg-open http://SERVERIP:8000/
  • start an xpra server with the tcp proxy option pointing to this web server we have just started:
    xpra start :10 --bind-tcp=10000 --start-child=xterm --tcp-proxy=
  • verify you can attach to this server:
    xpra attach tcp:SERVERIP:10000
  • verify you can hit the web server on this same port, ie: open your browser at:

comment:2 Changed 9 years ago by Smo

Resolution: fixed
Status: newclosed

Tested on Fedora 19 and Fedora 20 x86_64 with no issues.

comment:3 Changed 17 months ago by migration script

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/474

Note: See TracTickets for help on using tickets.