• 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
..
config Loading commit data...
extras/Mesa Loading commit data...
include Loading commit data...
lib Loading commit data...
programs Loading commit data...
.gitignore Loading commit data...
Imakefile Loading commit data...
Makefile Loading commit data...
x-indent-all.sh Loading commit data...
x-indent.sh Loading commit data...