Bug 612 - traceroute doesn't print * if other ICMP traffic exists
Summary: traceroute doesn't print * if other ICMP traffic exists
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1995-07-13 18:10 UTC by fenner
Modified: 1995-07-13 18:10 UTC (History)
0 users

See Also:


Attachments
file.diff (2.41 KB, patch)
1995-07-13 18:10 UTC, fenner
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description fenner 1995-07-13 18:10:02 UTC
	
	traceroute will not time hops out and print a * if other
	ICMP traffic is occurring (i.e. destination unreachable,
	pings, ping replies,...), which is not necessarily under
	control of the person running traceroute.  (I first
	experienced this on a busy web server which gets lots
	of 'time exceeded' and 'host unreachable' errors
	due to HTTP requests)

Fix: Make the timeout calculated from the time that the probe was sent,
instead of assuming that if select returned it returned the response
to our probe.
How-To-Repeat: 
	
	ping somehost &
	traceroute someotherhostthatwilltimeout

	the traceroute will hang at the first lost packet / unresponsive router
	and will never print a * until you kill the ping, at which point
	it will resume.
Comment 1 Andrey A. Chernov freebsd_committer freebsd_triage 1995-07-23 02:25:41 UTC
State Changed
From-To: open->closed

Fix applied in traceroute.c v1.3