From amdmi3@amdmi3.ru  Tue Mar 27 15:45:05 2007
Return-Path: <amdmi3@amdmi3.ru>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 1922616A405
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 27 Mar 2007 15:45:05 +0000 (UTC)
	(envelope-from amdmi3@amdmi3.ru)
Received: from cp65.agava.net (cp65.agava.net [89.108.66.215])
	by mx1.freebsd.org (Postfix) with ESMTP id BFCA813C465
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 27 Mar 2007 15:45:04 +0000 (UTC)
	(envelope-from amdmi3@amdmi3.ru)
Received: from clamav by cp65.agava.net with drweb-scanned (Exim 4.44 (FreeBSD))
	id 1HWDr4-000HWW-TK
	for FreeBSD-gnats-submit@freebsd.org; Tue, 27 Mar 2007 19:45:02 +0400
Received: from [213.148.29.33] (helo=nexii.panopticon)
	by cp65.agava.net with esmtpsa (TLSv1:AES256-SHA:256)
	(Exim 4.44 (FreeBSD))
	id 1HWDr2-000HUS-S9
	for FreeBSD-gnats-submit@freebsd.org; Tue, 27 Mar 2007 19:45:02 +0400
Received: from hades.panopticon (hades.panopticon [192.168.0.2])
	by nexii.panopticon (Postfix) with ESMTP id 8CD5617041
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 27 Mar 2007 19:44:52 +0400 (MSD)
Received: by hades.panopticon (Postfix, from userid 1000)
	id 0524C409D; Tue, 27 Mar 2007 19:44:54 +0400 (MSD)
Message-Id: <20070327154454.0524C409D@hades.panopticon>
Date: Tue, 27 Mar 2007 19:44:54 +0400 (MSD)
From: Dmitry Marakasov <amdmi3@amdmi3.ru>
Reply-To: Dmitry Marakasov <amdmi3@amdmi3.ru>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [traceroute][patch] minimal wait time should be 1 sec, not 2
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         110933
>Category:       bin
>Synopsis:       [patch] traceroute(8): minimal wait time should be 1 sec, not 2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    maxim
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 27 15:50:09 GMT 2007
>Closed-Date:    Thu May 31 14:02:25 GMT 2007
>Last-Modified:  Thu May 31 14:02:25 GMT 2007
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 6.1-RELEASE-p12 i386
>Organization:
>Environment:
System: FreeBSD hades.panopticon 6.1-RELEASE-p12 FreeBSD 6.1-RELEASE-p12 #0: Tue Jan 16 23:12:21 MSK 2007 amdmi3@hades.panopticon:/usr/obj/usr/src/sys/HADES i386


>Description:
In traceroute utility, minimal time to wait for reply is 2 seconds. That's annoying, because system administrators often need traceroute to skip hosts that do not respond faster, but when specifying obvious wait time as 1 sec, they get an error. I see no reason for minimal wait time to be 2 sec, the patch attached lowers limit to well expected 1 second.
>How-To-Repeat:
1) traceroute -w1 somehost
traceroute: wait time must be > 1
2) ?!
>Fix:

--- traceroute.patch begins here ---
--- src/contrib/traceroute/traceroute.c.orig	Tue Mar 27 19:34:53 2007
+++ src/contrib/traceroute/traceroute.c	Tue Mar 27 19:35:00 2007
@@ -608,7 +608,7 @@
 
 		case 'w':
 			waittime = str2val(optarg, "wait time",
-			    2, 24 * 60 * 60);
+			    1, 24 * 60 * 60);
 			break;
 
 		case 'z':
--- traceroute.patch ends here ---


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: remko 
State-Changed-When: Tue Mar 27 15:59:41 UTC 2007 
State-Changed-Why:  
Hello, thank you for your bug submission. Please consider poking the 
traceroute maintainers for this since this is contributed software which 
we only import every now and then. When they did fix it, please poke me 
(or someone else) so that we can do the import without changing 
contributed code. Thanks for using FreeBSD! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=110933 
State-Changed-From-To: closed->open 
State-Changed-By: remko 
State-Changed-When: Tue Mar 27 16:34:43 UTC 2007 
State-Changed-Why:  
Maxim noticed that he is being interested, reopen the ticket and 
assign it to him. Thank you very much Maxim! 


Responsible-Changed-From-To: freebsd-bugs->maxim 
Responsible-Changed-By: remko 
Responsible-Changed-When: Tue Mar 27 16:34:43 UTC 2007 
Responsible-Changed-Why:  
Assign to Maxim. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=110933 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: bin/110933: commit references a PR
Date: Mon, 30 Apr 2007 19:08:22 +0000 (UTC)

 maxim       2007-04-30 19:08:13 UTC
 
   FreeBSD src repository
 
   Modified files:
     contrib/traceroute   traceroute.c 
     usr.sbin/traceroute6 traceroute6.c 
   Log:
   o I failed to find a suitable explanation why traceroute(8) and
   traceroute6(8) force -w flag (wait time) to be > 1 sec.  Make it
   possible to use 1 sec wait time.
   
   PR:             bin/110933
   Submitted by:   Dmitry Marakasov
   Reviewed by:    freebsd-net (silence)
   MFC after:      1 month
   
   Revision  Changes    Path
   1.33      +1 -1      src/contrib/traceroute/traceroute.c
   1.18      +2 -2      src/usr.sbin/traceroute6/traceroute6.c
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->patched 
State-Changed-By: maxim 
State-Changed-When: Mon May 14 17:36:21 UTC 2007 
State-Changed-Why:  
Committed to HEAD.  Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=110933 
State-Changed-From-To: patched->closed 
State-Changed-By: maxim 
State-Changed-When: Thu May 31 14:02:08 UTC 2007 
State-Changed-Why:  
Merged to RELENG_6. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=110933 
>Unformatted:
