[e2e] TCP-based traceroute (was: Detecting middle boxes)
David G. Andersen
dga at lcs.mit.edu
Mon Feb 11 17:52:20 PST 2002
David P. Reed just mooed:
>
> I got your reply. I do indeed think it might be interesting to code it up
> and try it. If anyone does, let me know. I may get around to it sometime
> if no one else does.
>
> [ Regarding a "traceroute with TCP packets" ]
Thanks for the reminder. I wrote such a probe a while ago for use
with some of the RON measurements, and kept meaning to release it.
Seems like as good a time as any:
http://nms.lcs.mit.edu/software/ron/tcptraceroute.tar.gz
Tested under FreeBSD and Linux (Redhat 6.2, ought to work
under most versions). It's not polished software... my apologies.
1061 eep:~> tcptraceroute www.mit.edu
traceroute to www.mit.edu (18.181.0.31), some hops max, some byte packets
1 18.31.0.1 0.528 ms 0.485 ms 0.532 ms
2 18.24.10.3 1.083 ms 2.071 ms 5.183 ms
3 18.201.1.1 7.569 ms 3.165 ms 7.087 ms
4 18.168.0.21 2.343 ms 1.871 ms 1.881 ms
5 18.181.0.31 2.735 ms
You can set the port, the count, the interval, the TCP flags,
and that kind of thing, but not the packet size. Be sure to see
the -h for use on a multihomed machine; you might need to explicitly
state your hostname, and the interface to use.
If you look at the code a bit cross-eyed, it might look a lot
like a TCP-based ping utility... if anyone's interested, I'll release
that one as well.
Comments, patches, etc., welcomed.
-Dave
--
work: dga at lcs.mit.edu me: dga at pobox.com
MIT Laboratory for Computer Science http://www.angio.net/
More information about the end2end-interest
mailing list