Michael C. Toren on 25 Nov 2003 17:11:02 -0500


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

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


On Mon, Nov 24, 2003 at 01:19:22PM -0500, Ed Ravin wrote:
> 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
> "**":

There's a known problem on many BSD systems where select(2) will never
indicate data is waiting to be read on a BPF socket.  Can you tell us if
tcptraceroute functions properly when using the --no-select flag?  If so,
can you please tell us what the output of "gcc -E -dM - </dev/null" is on
your system, so that we can make --no-select the default under NetBSD?

Thanks,
-mct
_______________________________________________
tcptraceroute-dev mailing list
tcptraceroute-dev@netisland.net
http://lists.netisland.net/mailman/listinfo/tcptraceroute-dev