Hi,
I was looking for solution for tunneling a MySQL socket through encrypted IPv6. And I found this bunch of patches for stunnel http://www.exceliance.fr/download/free/patches/stunnel/unix-sockets/.
Unfortunately, there's no patch for stunnel 4.44. So I rebased it in order to make it work (I attached it to this email). FYI, I’m not the author of this patch, I just adapted it for stunnel 4.44. The author seems to be this french company http://www.exceliance.fr/en. I just glanced over it, I didn't review it.
Anyway, I think it would be a great thing to integrate it into stunnel in order to avoid rebasing the patch for every stunnel new version. Besides, it is a very useful feature.
Integrating this patch would imply updating the documentation of stunnel configuration. As far as I know it add another general option “unix-sockets-dir” which is “/var/run/” by default. All the socket path must start by a slash, and this path will be appended to “unix-sockets-dir” option.
Thank you.
Regards,