hilbix / socklinger

Execute quick hack shell scripts connected to a socket
http://www.scylla-charybdis.com/tool.php/socklinger
GNU General Public License v2.0
0 stars 0 forks source link

add ssl wrapper #5

Open hilbix opened 1 month ago

hilbix commented 1 month ago

It looks like it is impossible to use s_server from OpenSSL with socket from stdin. This needs a solution.

Note that stunnel4 seems to be even far worse on this subject.

Either make socklinger SSL aware (I do not like this) or provide a good simple wrapper which allows to provide an SSL transport.

Either as part of socklinger, or as a separate wrapper.

Note that there is socat, but I do not want to rely on it in this case, because it is not everywhere available.