dix: Extend initial connection handshake for forwarding proxies
 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: 
Daniel Stone <daniel@fooishbar.org>
Signed-off-by: 
Adam Jackson <ajax@redhat.com>
Backported-to-NX-by: 
Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Showing
Please
register
or
sign in
to comment