Tag Archives: unix sockets

Unix Domain Sockets

One of the new features in 0.22 is Unix domain sockets. Originally this came up as an idea to provide more fine-grained restrictions on who can use the control socket, but the control socket and the “main” socket are created by mostly the same code, so now it is possible to make Apache answer on a Unix domain socket, something which Apache cannot do by itself:

pen ./websocket localhost:80

Or for ssh:

pen ./sshd localhost:22

Now you just need a web browser and an ssh client which can connect to the local socket.

Facebooktwittergoogle_plusredditpinterestlinkedinmail