El día Friday, November 15, 2013 a las 12:58:40PM -0500, Watson, Patrick escribió:
> Traditionally, there are 2 methods that immediately come to mind. One way is > to have the SSL version of the server listen on a different port than the > plain text version. Alternatively, your protocol could include a "STARTTLS" > like command that indicates that the system wants to communicate securely. > (See http://en.wikipedia.org/wiki/STARTTLS) I was thinking more in a solution where the client reads the first 8 bytes from the socket and checks if the beginning of the GoodMorning message is there in clear text (like "220 SLNP") and if not it should handover this buffer and the socket fd for further SSL handshake... Is this possible? matthias -- Sent from my FreeBSD netbook Matthias Apitz, <g...@unixarea.de>, http://www.unixarea.de/ f: +49-170-4527211 UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5 ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org