mxconns can be used to guard the entrance of your X
server. When an X client is told to go through it,
mxconns prompts the user, asking whether the connection
should be accepted or not.
mxconns can optionally inspect the X requests and can
prompt the user when it detects dangerous requests (like spying the
keyboard). It can also silently replace these dangerous requests by
dummy requests (NoOp).
See the man page for more information.
If you care about X security, mxconns
brings the following benefits:
You just have to start it along with your other (local) X clients.
Here is what I have in my ~/.xsession:
export XDISPLAY=`mxconns -fork -hunt -verbose -icf "c" -debug "al"`
From this point, all X clients using $XDISPLAY instead of $DISPLAY
will go through mxconns.
The flags will make mxconns:
You can get the latest version from here: mxconns-3.1.10.tgz.
You can also read its copyright and man page.
Lionel Cons, 11-Jul-2008.