From owner-freebsd-audit Mon Sep 24 4:43:37 2001 Delivered-To: freebsd-audit@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id C9C8E37B405 for ; Mon, 24 Sep 2001 04:42:49 -0700 (PDT) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.2/8.11.2) id f8OBgMa60546; Mon, 24 Sep 2001 14:42:22 +0300 (EEST) (envelope-from ru) Date: Mon, 24 Sep 2001 14:42:22 +0300 From: Ruslan Ermilov To: Ian Dowse Cc: freebsd-audit@FreeBSD.ORG Subject: Re: ping -A Message-ID: <20010924144222.H50028@sunbay.com> References: <200109231327.aa81352@salmon.maths.tcd.ie> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200109231327.aa81352@salmon.maths.tcd.ie>; from iedowse@maths.tcd.ie on Sun, Sep 23, 2001 at 01:27:29PM +0100 Sender: owner-freebsd-audit@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Looks like a winner to me. On Sun, Sep 23, 2001 at 01:27:29PM +0100, Ian Dowse wrote: > > Some time ago, a '-A' (audible beep when packets are dropped) option > was added to ping in -current only. The logic in its implementation > isn't quite right; once one packet is dropped, it beeps after every > transmission. > > Here is a patch that should make it work in a more useful way. It > only outputs a bell when there is an increase in the maximum number > of unreceived packets. This has the benefit that for very long > round-trip times, ping -A will do the right thing after a few > inital false-positives. > > Any comments? > > Ian -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message