[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20110415215700.GA9300@hoth.dk>
Date: Fri, 15 Apr 2011 23:57:01 +0200
From: Martin Topholm <mph@...h.dk>
To: Christian Boltz <netdev-vger-kernel.org@...ltz.de>
Cc: netdev@...r.kernel.org
Subject: Re: Feature request: "inverted" ping -a (beep on failure)
On Fri, 15 Apr 2011, Christian Boltz wrote:
> I'd like to have the exact opposite of it: beep when pinging fails.
I too have missed this feature (from the BSDs ping). Also I needed
adhoc tracking of multiple hosts. So I experimented with libevent2 and
some code from the BSD ping...
You can see the result here http://hoth.dk/xping/screenshot.jpeg
or http://hoth.dk/xping/xping-20110415.tar.gz .
> I understand that this is slightly difficult because "ping success" is
> easier to detect (incoming package) than "ping failure" (no incoming
> package or firewall reject)
I used the transmit interval for timeout. There's propably a lot of
corner cases I haven't thought about, but it works fairly well.
Regards, Martin
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists