3 ms·
You can't type any lines beginning with Q or R with s_client.
by tedunangst 10y ago
You can't type any lines beginning with Q or R with s_client.
- besselheim 10y agoYou can use the -quiet or -ign_eof options to disable this.
- icebraining 10y agoYou can also use socat (the multipurpose relay) to provide a bare TCP socket to which you can connect, even using telnet.
- mattstreet 10y agoThen it should also be noted that you really shouldn't use telnet to interact with HTTP or SMTP either. Telnet has issues if you send control characters, which wouldn't be used for either protocol, but might exist in embedded data you might want to send or receive. Just use netcat.
- tptacek 10y agoI guess, but it's hard to think of an HTTP request you can't reasonably make with telnet, while s_client apparently won't let you use the Referer header.