Unless you specifically need telnet protocol (inline IAC ... commands, and 
escaping them in data, and a few other oddities), netcat (nc6 is an IPv6-capable
clone port) can do most of that.

sh-3.2$ nc6 www.google.com 80
nc6: using stream socket
HEAD / HTTP/1.0

HTTP/1.0 200 OK
Date: Fri, 05 Jul 2019 10:00:27 GMT
Expires: -1
Cache-Control: private, max-age=0
Content-Type: text/html; charset=ISO-8859-1
P3P: CP="This is not a P3P policy! See g.co/p3phelp for more info."
Server: gws
X-XSS-Protection: 0
X-Frame-Options: SAMEORIGIN
Set-Cookie: 1P_JAR=2019-07-05-10; expires=Sun, 04-Aug-2019 10:00:27 GMT; 
path=/; domain=.google.com
Set-Cookie: 
NID=187=bRMcl4KM-EHmUPMGiVhwFhhjX3zFFzlJ7cB0iyJZ4zamsQ8q1vyxjJj9wp8G9XTFuB__2bBG9AOl5js8bowufSceDN_2J4yjQVHCtUhsM4lvm7rHs60u2q2DqN_8K4l7SAUHdpCGZ4PX6-RJ4fPJnpbItcpbUbiRO8sMyMAKFYI;
 expires=Sat, 04-Jan-2020 10:00:27 GMT; path=/; domain=.google.com; HttpOnly
Accept-Ranges: none
Vary: Accept-Encoding


> On Jul 5, 2019, at 05:53, Balthasar Indermuehle <[email protected]> wrote:
> 
> Telnet is a fantastic network service debugging tool, hence should always 
> remain included. Eg telnet xyz 80 to check if the web server is responding, 
> whether there’s a sensible response etc. 
> 
> But yes, using it as it’s original intent is hopefully not supported 
> anywhere. That’s what ssh is for these days. 
> 
> Cheers
> 
> Balthasar
> 
> On Fri, 5 Jul 2019 at 19:46, Richard L. Hamilton <[email protected] 
> <mailto:[email protected]>> wrote:
> Oops, inetutils can provide at least most of the daemons, if one uses the 
> non-default +server option.
> 
> -- 
> 
> Dr Balthasar Indermühle
> Inside Systems Pty Ltd
> 17 Gottenham Street
> Glebe NSW 2037, Australia
> t: +61 4 2791 2856 <>
> 

  • telnet Christoph Kukulies
    • Re: ... Dr M J Carter
      • ... Christoph Kukulies
      • ... Niels Dettenbach (Syndicat IT & Internet) via macports-users
    • Re: ... Richard L. Hamilton
      • ... Richard L. Hamilton
        • ... Balthasar Indermuehle
          • ... Richard L. Hamilton
          • ... Bill Cole
    • Re: ... Marius Schamschula

Reply via email to