From owner-freebsd-net@FreeBSD.ORG Fri Jan 16 08:04:30 2015 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3F3431F5; Fri, 16 Jan 2015 08:04:30 +0000 (UTC) Received: from forward3l.mail.yandex.net (forward3l.mail.yandex.net [IPv6:2a02:6b8:0:1819::3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "forwards.mail.yandex.net", Issuer "Certum Level IV CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id ED07CA44; Fri, 16 Jan 2015 08:04:29 +0000 (UTC) Received: from smtp12.mail.yandex.net (smtp12.mail.yandex.net [95.108.131.191]) by forward3l.mail.yandex.net (Yandex) with ESMTP id 2035A150136A; Fri, 16 Jan 2015 11:04:18 +0300 (MSK) Received: from smtp12.mail.yandex.net (localhost [127.0.0.1]) by smtp12.mail.yandex.net (Yandex) with ESMTP id 90DF016A16AF; Fri, 16 Jan 2015 11:04:17 +0300 (MSK) Received: from unknown (unknown [2a02:6b8:0:81f::114]) by smtp12.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id 2GIs16rE2U-4GmO1gFW; Fri, 16 Jan 2015 11:04:16 +0300 (using TLSv1.2 with cipher AES128-SHA (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1421395456; bh=mj5LsUvIBooQMKnb1egJbQPhR3yLRaxHsHn9jgyaYLg=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:Subject: References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=dEJ0E0guCXA7xFy8Pjl4+Xtjp9j2A+EcsVu6jEU+c/xjnMdG8Z7YA9jlDRr8fntyJ uh50O/Y8SFyvjRsPz79auAm7fO/dgLQEjZ6uHXof7KgagiN9C77sxGkJBqAPf3hTJp 4/Mg/GVsq8P9QM9NaYoScXSiskPlVqGtSSjVjHss= Authentication-Results: smtp12.mail.yandex.net; dkim=pass header.i=@yandex.ru Message-ID: <54B8C5CE.7080903@yandex.ru> Date: Fri, 16 Jan 2015 11:03:26 +0300 From: "Andrey V. Elsukov" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: Thomas Steen Rasmussen , freebsd-net@freebsd.org, hrs@freebsd.org Subject: Re: timeout option in ping6 References: <54B67405.4010203@gibfest.dk> In-Reply-To: <54B67405.4010203@gibfest.dk> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jan 2015 08:04:30 -0000 On 14.01.2015 16:49, Thomas Steen Rasmussen wrote: > Hello list, > > Can we please get a timeout option for ping6? > > There is a PR open for this: > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=183787 > > There is also a patch for ping6 by hrs@ in this other PR: > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=151023 > > I was hoping that someone(tm) would take the patch or something similar > and commit it :) ping6 already has -x and -X options: -x waittime Time in milliseconds to wait for a reply for each packet sent. If a reply arrives later, the packet is not printed as replied, but considered as replied when calculating statistics. -X timeout Specify a timeout, in seconds, before ping exits regardless of how many packets have been received. -- WBR, Andrey V. Elsukov