[stunnel-users] PATCH: Support PostgreSQL SSL

Marko Kreen markokr at gmail.com
Tue Nov 6 17:50:04 CET 2007


PostgreSQL protocol has small handshake on connecting before
SSL can be initialized.  But that means that Stunnel cannot
be used by default as it expects the SSL initialization to be the
first thing when getting connection.

Attached patch adds PostgreSQL protocol support to Stunnel,
so that Stunnel can be used to provide SSL when either client
or server is not able to do it natively.

SSL handshake is described here:
 http://www.postgresql.org/docs/8.3/static/protocol-flow.html#AEN73013

Patch is tested and works, hopefully it can be included
in main Stunnel source.

-- 
marko
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stunnel-postgres.diff
Type: application/octet-stream
Size: 2751 bytes
Desc: not available
URL: <http://www.stunnel.org/pipermail/stunnel-users/attachments/20071106/cfda8976/attachment.obj>


More information about the stunnel-users mailing list