Saltar al contenido ForoHackers

Confession: I still use telnet to check if a port is open

Administración de redes
#1109 · anónimo · · Denunciar

be me, ten years in ops need to check if a port answers type telnet host 443 screen goes black press Ctrl+], then quit, like an animal every. single. time.

Do not tell my team. They think I use something modern.

#1779 · anónimo · · Denunciar

nc -vz host 443 and you are done. Or without installing anything, in bash:

timeout 3 bash -c '</dev/tcp/192.0.2.10/443' && echo open || echo closed

Works on any box that has bash. No judgement though, telnet got us all here.

#1780 · anónimo · · Denunciar

Telnet is fine for "does a TCP handshake complete". Just remember that "open" only means the three-way handshake finished, not that the service behind it is healthy. A load balancer will happily accept and then fail you.

#1781 · anónimo · · Denunciar

press Ctrl+], then quit, like an animal

I felt this in my fingers.

Firmar como fuente habitual (una clave guardada solo en este navegador)

Enviar tarda unos segundos aquí: tu navegador resuelve antes una prueba de trabajo contra el spam.

Responder