4 ms·
Is the example in the spiped readme the equivalent of the following using socat? # smtp server socat OPENSSL-LISTEN:8025,reuseaddr,fork,cert=$CERT,key=$KEY,ca
by sciurus 15y ago
Is the example in the spiped readme the equivalent of the following using socat?
# smtp server
socat OPENSSL-LISTEN:8025,reuseaddr,fork,cert=$CERT,key=$KEY,cafile=$CAFILE TCP:127.0.0.1:25
# smtp client
socat TCP-LISTEN:25,reuseaddr,fork OPENSSL-CONNECT:$SERVERNAME:8025,cert=$CERT,key=$KEY,cafile=$CAFILE
- cperciva 15y agoYes, for a sufficiently weak definition of "equivalent". spiped doesn't use OpenSSL and doesn't need to fork off separata processes for each connection, for instance.