On 2012/09/13 13:54, Matthew Dempsky wrote: > On Thu, Sep 13, 2012 at 12:02 PM, Ted Unangst <t...@tedunangst.com> 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.
traceroute allows setting the protocol (though this doesn't work for tcp yet ;) so I think it would make some sort of sense to do this in ping/ping6.