[openssl-users] OpenSSL behavior for NULL characters

Viktor Dukhovni openssl-users at dukhovni.org
Mon Feb 13 21:40:39 UTC 2017


> On Feb 13, 2017, at 3:53 PM, Salz, Rich <rsalz at akamai.com> wrote:
> 
> What’s the serer on the other side?  If it’s a web server, then \0 characters are generally illegal.  If it’s s_server, then it, too, really wants ASCII lines.

For binary-clean input use the "-nocommads" option to s_client.
The remaining behaviour is then up to the server, though on EBCDIC
systems, the input is still assumed to be textual and ASCII conversion
will be attempted.  The s_client(1) command is not "stunnel", it is a
diagnostic tool, not a proxy.

-- 
	Viktor.



More information about the openssl-users mailing list