bin/110933: [traceroute] minimal wait time should be 1 sec, not 2



Hi,

Are there any ideas why traceroute requires waittime >=2 seconds? The
only place it used is select(2) timeout.

--
Maxim Konovalov

---------- Forwarded message ----------
Date: Tue, 27 Mar 2007 19:44:54 +0400 (MSD)
From: Dmitry Marakasov <amdmi3@xxxxxxxxx>
To: FreeBSD-gnats-submit@xxxxxxxxxxx
Subject: bin/110933: [traceroute][patch] minimal wait time should be 1 sec,
not 2
Resent-Date: Tue, 27 Mar 2007 15:50:09 GMT
Resent-From: FreeBSD-gnats-submit@xxxxxxxxxxx (GNATS Filer)
Resent-To: freebsd-bugs@xxxxxxxxxxx

[...]
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:
Unformatted:
_______________________________________________
freebsd-bugs@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@xxxxxxxxxxx"
_______________________________________________
freebsd-net@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Borland IP address
    ... Dennis Passmore wrote: ... What happens when you attempt a traceroute on the ip address (or the ... Does it timeout somewhere, or does it give a 'host not found' ...
    (borland.public.delphi.non-technical)
  • Re: Caddigger saga
    ... ping www.auroragrp.com -> timeout ... whois auroragrp.com -> works ... traceroute auroragrp.com timeout after the first hopp ...
    (rec.crafts.metalworking)