On Thu, Sep 13, 2012 at 12:02 PM, Ted Unangst <[email protected]> wrote: > This adds a -T portnum option to ping. I haven't polished the output > because I'm not sure if this is desirable or not, but I found it > useful. If it's not a "hell no, never in base" I can finish it up some.
Is there precedent for having TCP-based ping in any other OS's ping(1) utility? It seems like adding a separate tcpping(1) utility and leaving ping(1) for ICMP would be more appropriate. FWIW, nmap has a lot of TCP ping options; e.g., sending just SYN and ACK packets for pings instead of a complete TCP handshake.
