xpra icon
Bug tracker and wiki

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

Opened 21 months ago

Closed 20 months ago

Last modified 5 months ago

#2424 closed enhancement (fixed)

per socket options

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: major Milestone: 4.0
Component: network Version: 3.0.x
Keywords: Cc:


Based on #1160, we can re-use the same generic socket properties to configure more obscure socket settings like TCP_NODELAY (#619) and TCP_CORK (#2130).

Change History (6)

comment:1 Changed 21 months ago by Antoine Martin

Status: newassigned

r23896 does this for TCP_CORK and TCP_NODELAY, ie:

xpra start --start=xterm :10 --bind-tcp=,auth=file:filename=password.txt,cork=0,nodelay=1

Other things we can use this for:

  • mdns=off
  • ssl upgrade options
  • limit the types of connections we can accept? (ie: info+version only)

comment:2 Changed 21 months ago by Antoine Martin

r23904 makes it possible to disable mdns on a per-socket basis, ie:

xpra start --no-daemon --bind-tcp=,mdns=no --bind-tcp=,mdns=yes

SSL wrapping is more difficult because it takes so many arguments, and we're not currently storing them but taking them from the config object directly.
So they would need to be copied as attributes in the server object so we can re-use them later.

comment:3 Changed 20 months ago by Antoine Martin

Resolution: fixed
Status: assignedclosed

Moving SSL to #2460.

Version 0, edited 20 months ago by Antoine Martin (next)

comment:4 Changed 13 months ago by Antoine Martin

For client connection strings, see #2794.

comment:5 Changed 8 months ago by Antoine Martin

As of r27656, the socket options can also be used to configure socket protocol upgrades:

xpra start --start=xterm --bind-tcp=,ssh=0,http=0,https=1,ssl=1,ssl-cert=./ssl-cert.pem

ie: this allows plain tcp and https / wss, bit not http or ssh upgrades.

comment:6 Changed 5 months ago by migration script

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

Note: See TracTickets for help on using tickets.