New implementation of the traceroute utility for modern Linux systems.Backward compatible with the traditional traceroute.Supports both IPv4 and IPv6, additional types of trace (including TCP),allows some traces for unprivileged users.
Be the first to post a text review of Traceroute for Linux. Rate and review a project by clicking thumbs up or thumbs down in the right column.
* Use common recv_reply() routine for all modules which do recvmsg(2) call. Method-specific things go to callbacks. Pass to init methods pointer to datalen instead of the value. * Implement ICMP Extension support (rfc4884), `-e' option. Parse MPLS info (rfc4950) to be more readable (Kaj Niemi) * Implement Path MTU Discovery (similar to tracepath(1)), with `--mtu' option. Changed mtu is printed once in a form of `F=NUM' at the first probe of a hop which requires such mtu to be reached. (Actually, the correspond "frag needed" icmp message is normally sent by the previous hop). * Print the number of backward hops when it differs with forward, by `--back' option. The backward hops is guessed by a technique similar to tracepath(1), there is no reliable way to obtain such info though. * The optional second argument (packet_len) now is the full length of the packet, including IP headers. (It is obvious enough due to the nature of this feature, and this is the behaviour of the original traceroute). Particular trace methods can ignore this (fe. tcp), or increase it up to the minimal value (udp, icmp). The actual packet's size is alvays reported in the output header. * Add tracepath(1)/tracepath6(1) shell wrapper. * Allow DEF_AF to be redefined at cmdline (Teran McKinney) * Do not check the correctness of `sim_probes' value -- it is unneeded at all. This also fixes a bug when a value of sim_probes appears to be more than the total number of probes. Reported by Milos Malik. * Allow default UDP method to cross zero port boundary (Milos Malik). It is a strange corner case, but traditional traceroute behaves exactly so.
* Use new pmtudisc value "probe" instead of "do" for `-F' option (available since the kernel 2.6.22). For kernels before 2.6.22, the `-F' (dontfragment) option seems completely useless for IPv6 and partially useful for IPv4 (when a user can flush routing caches some way). * Fix installation in build system (Mike Frysinger) * Don't compute checksum for ipv6 icmp packets ourselves, the kernel overwrites it anyway by the proper values. * Don't use explicit path to traceroute in wrapper scripts
Be the first person to add a text review.
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use
Thanks for your rating!
Would you also like to write a review?