V Thu, Mar 10, 2022 at 12:35:32PM -0500, Matthew Miller napsal(a):
On Thu, Mar 10, 2022 at 11:55:39AM +0100, Alex wrote:
> I have seen in https://lwn.net/Articles/887313/
that you plan to remove the
> "telnet" protocol from curl-minimal.
> I use `curl -v telnet://....` almost every day for debugging purpose just
> because curl is in the most systems by default installed.
> I know that there are some other tools like socat, normal telnet, nmap and so
> on but this tools need to be installed which is not always possible when
> fedora is used as docker image.
Or use bash?
$ exec 3<>/dev/tcp/towel.blinkenlights.nl/23
$ cat <&3
That misses the point that telnet is a protocol which e.g. prescribes how to
encode an end of line. Specifically this feature mismatches with the shell
environement we speak about. And because telnet is an underlying layer of
many protocols like SMTP, or HTTP, your recommendation will break any
debugging of them.