Ed Ravin on 24 Nov 2003 13:17:02 -0500

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[tcptra-dev] tcptraceroute/NetBSD 1.54 can't see ICMP packets

On my NetBSD 1.54 box, I built tcptraceroute-1.5beta4 with libnet 1.1.0.
It almost works - the TCP packets are sent properly, the ICMP responses
return, but tcptraceroute doesn't see them!  It just sits there and
says it's timing out.

I ran "tcpdump -l" with the pcap icmp expression shown in the debug output
at the same time as  "tcptraceroute -d".  Here's what the output looks
like (the packet from the tcpdump in the background is marked with "**":

  Selected device fxp0, address, port 65042 for outgoing packets
  debug: pcap filter is:
      (tcp and src host and src port 80 and dst host
                  or ((icmp[0] == 11 or icmp[0] == 3) and dst host
  Tracing the path to yahoo.com ( on TCP port 80, 30 hops max
  debug: Generating a new batch of 512 IP ID's
  debug: Sent probe 1 of 3 for hop 1, IP ID 57843, source port 65042, SYN

**11:58:59.527158 > icmp: time exceeded in-transit [tos 0xc0]

  debug: select() timeout
  debug: timeout
  debug: displayed hop
   1  *

Any idea what might be going on, or how to fix it?

	-- Ed
tcptraceroute-dev mailing list