X11 proxy spike

Implementation: scratch/x11-proxy

This will be an X11 proxy written in Python. See X11Security and X11SecurityImplementation for discussion. It consists of a client/server X library based on the XCB protocol definitions.

See X11ProxyNotes for implementation notes.

Features

How to build

svn co svn://svn.gna.org/svn/plash/scratch/x11-proxy
cd x11-proxy
sudo apt-get install libx11-dev xvfb
./make.sh
python run_tests.py

Protocol monitor tool

The first half of this tool proxies an X connection, dumping the request and response streams into a single file. The dumped file can then be decoded.

Usage:

python log_proxy.py <log_file> <prog> <args>...
python decode_dump.py <log_file>
python dump_viewer.py <log_file>

Example:

python log_proxy.py log xclock
python decode_dump.py log
python dump_viewer.py log

Tasks

X protocol monitor tool:

Performance issues:

See also

X11ProxySpike (last edited 2008-03-06 19:36:59 by MarkSeaborn)