xserver-multidpi/os
Adam Jackson e2c7d70e5d 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>
2012-09-20 14:40:18 -04:00
..
.gitignore dix and os: gitignore dix.O and os.O 2011-09-23 17:14:47 -07:00
access.c dix: Pull client-is-local flag up to the ClientRec 2012-09-20 14:36:39 -04:00
auth.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
backtrace.c Print backtrace in a signal-safe manner 2012-07-02 22:34:32 -07:00
client.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
connection.c dix: Extend initial connection handshake for forwarding proxies 2012-09-20 14:40:18 -04:00
io.c Replace padlength tables with inline functions from misc.h 2012-07-09 22:52:30 -07:00
log.c os: fix typo, fsync when WIN32 is _not_ defined 2012-08-23 14:48:18 +10:00
Makefile.am Move to autoconf standard function name checks & defines 2011-12-05 14:32:45 -08:00
mitauth.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
oscolor.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
osdep.h dix: Pull client-is-local flag up to the ClientRec 2012-09-20 14:36:39 -04:00
osinit.c Reliably reset signals at server init time 2012-07-09 16:34:39 -07:00
rpcauth.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
strcasecmp.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
strcasestr.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
strlcat.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
strlcpy.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
strndup.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
utils.c Add FormatInt64 to convert signed integers in signal-safe manner 2012-08-21 07:54:07 +10:00
WaitFor.c os: make timers signal-safe 2012-05-01 11:36:35 +10:00
xdmauth.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
xdmcp.c Change lastDeviceIdleTime to be per-device 2012-03-22 13:12:56 +10:00
xprintf.c os/xprintf: add Xvscnprintf and Xscnprintf 2012-05-03 14:59:23 +10:00
xsha1.c os: Add CryptoAPI as a choice of SHA1 implementation 2012-05-04 13:13:50 -05:00
xstrans.c Introduce a consistent coding style 2012-03-21 13:54:42 -07:00