17 ms·
For simple poking at ports I think netcat is more common today. Especially for simple debugging and doing requests by hand.
by maxcoder4 2y ago
For simple poking at ports I think netcat is more common today. Especially for simple debugging and doing requests by hand.
- kqr 2y agoI don't know about more common, but certainly more appropriate. Netcat is made for sending and receiving bytes (or datagrams with the right flag). Telnet is made for speaking the telnet protocol. The only reason some people use telnet for other things is that most other protocols have control sequences that happen to have no effect on a telnet connection.
- Pinus 2y agoI seem to remember that at least some TELNET clients would default to "dumb byte pipe" mode if run on some other port than 23. However, I can't find anything supporting this memory, so quite possibly I'm wrong...
- teddyh 2y agoFrom inetutils-telnet(1): “When connecting to a non-standard port, telnet omits any automatic initiation of TELNET options.” <https://manpages.debian.org/bookworm/inetutils-telnet/inetutils-telnet.1.en.html https://manpages.debian.org/bookworm/inetutils-telnet/inetut...> From the manual of the old Linux NetKit telnet: “When connecting to ports other than the telnet port, telnet does not attempt telnet protocol negotiations.”