On Thu, Sep 13, 2012 at 13:54, Matthew Dempsky wrote:
> 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.

Don't want to overflow the filesystem. 

But since we are root, we can use a raw socket and syn ack packets. Too much 
work for a prototype, but I can look at it. Will avoid polluting log files of 
the daemon as well. Then again, conn refused also gives us a time signal. Just 
pick a port that's not in use. 

Reply via email to