• Adam Jackson's avatar
    dix: Extend initial connection handshake for forwarding proxies · 4f76ed19
    Adam Jackson authored
     commit 78fa121f4097d29458e5453c13473595df06e26e
     Author: Adam Jackson <ajax@redhat.com>
     Date:   Fri Jun 17 13:43:38 2011 -0400
    
        dix: Extend initial connection handshake for forwarding proxies
    
        Forwarding proxies like sshd will appear to be local, even though they
        aren't really.  This leads to weird behaviour for extensions that truly
        require running under the same OS services as the client, like MIT-SHM
        and DRI2.
    
        Add two new legal values for the initial connection's byteOrder field,
        'r' and 'R'.  These act like 'l' and 'B' respectively, but have the side
        effect of forcing the client to be treated as non-local.  Forwarding
        proxies should attempt to munge the first packet of the connection
        accordingly; older servers will reject connections thusly munged, so the
        proxy should fall back to passthrough if the munged connection attempt
        fails.
    Reviewed-by: 's avatarDaniel Stone <daniel@fooishbar.org>
    Signed-off-by: 's avatarAdam Jackson <ajax@redhat.com>
    Backported-to-NX-by: 's avatarMike Gabriel <mike.gabriel@das-netzwerkteam.de>
    4f76ed19
Name
Last commit
Last update
..
GL Loading commit data...
Xext Loading commit data...
Xi Loading commit data...
composite Loading commit data...
damageext Loading commit data...
dbe Loading commit data...
dix Loading commit data...
fb Loading commit data...
hw/nxagent Loading commit data...
include Loading commit data...
mi Loading commit data...
miext Loading commit data...
os Loading commit data...
randr Loading commit data...
record Loading commit data...
render Loading commit data...
xfixes Loading commit data...
xkb Loading commit data...
.gitignore Loading commit data...
Imakefile Loading commit data...
fix-miregion Loading commit data...
fix-miregion-private Loading commit data...
fix-region Loading commit data...