Hacker News new | past | comments | ask | show | jobs | submit login

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




Yes, 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: