3 ms·
You can't send a line containing only (make that beginning with) the letter R with s_client because that does a renegotiation.
by tedunangst 3y ago
You can't send a line containing only (make that beginning with) the letter R with s_client because that does a renegotiation.
- codetrotter 3y agoThat’s pretty interesting but also, how often do you find yourself needing to send a single capital “R” in practice? I mean, I assume at least once since you know about it. But for me, I don’t think I’ve ever typed a singular capital R anywhere on purpose.
- tedunangst 3y agoIt's actually any line starting with R, like Referrer: yahoo.com. Also any line starting with Q, like Quiet, will disconnect, because you obviously meant Quit.
- codetrotter 3y agoOof :/
- jandrese 3y agoTry the -nocommands option to disable that bit of braindamage.
- juped 3y agoif only someone were to add tls support to nc(1) or something
- koolba 3y agoYou can use socat. It’s like nc on steroids. TLS, Unix sockets, and just about anything else that involves a digital cable connecting two streams of data. When in doubt, just add more forking and socat!
- somat 3y agoOpenbsd nc supports tls, note the -c option http://man.openbsd.org/nc http://man.openbsd.org/nc
- JdeBP 3y agoThis thread includes Ted Unangst and juped. They already know.